Re: ISPF Question - browsing variable length records

2019-08-14 Thread Paul Gilmartin
On Wed, 14 Aug 2019 17:17:01 +, Seymour J Metz wrote: >None of those will do what the OP asked for, although there are nonstandard >3270 simulators that will allow him to fake it. > Actually, no, because ISPF conceals from the emulator the number of characters counted by the RDW >_

Re: ISPF Question - browsing variable length records

2019-08-14 Thread Seymour J Metz
: Wednesday, August 14, 2019 12:20 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: ISPF Question - browsing variable length records https://secure-web.cisco.com/1Vdi35Xrq1vk2pXi0XGMY0t_9CfdL8t9vGkiy0t9rpr3M1BwwRibFt9w63EX6f2oULrnP5q9GIZkIfLk22Ow9EZjRaMBP7Pl_fFk5lir6CmMNdNP0pv12xgMTwHNxWfufQWqgx2e

Re: ISPF Question - browsing variable length records

2019-08-14 Thread Mike Schwab
> > From: IBM Mainframe Discussion List on behalf of > Paul Gilmartin <000433f07816-dmarc-requ...@listserv.ua.edu> > Sent: Tuesday, August 13, 2019 4:44 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: ISPF Question - browsing

Re: ISPF Question - browsing variable length records

2019-08-14 Thread Seymour J Metz
marc-requ...@listserv.ua.edu> Sent: Tuesday, August 13, 2019 4:44 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: ISPF Question - browsing variable length records On Tue, 13 Aug 2019 19:55:19 +, Seymour J Metz wrote: >> When I care, I set NULLS OFF, or use the spacebar. > >That&#

Re: ISPF Question - browsing variable length records

2019-08-13 Thread Paul Gilmartin
On Tue, 13 Aug 2019 19:55:19 +, Seymour J Metz wrote: >> When I care, I set NULLS OFF, or use the spacebar. > >That's the right answer to the wrong question. You were asking about the >ability to insert a blank in the middle of a string of nulls. > No, I asked about adding a blank at the en

Re: ISPF Question - browsing variable length records

2019-08-13 Thread Seymour J Metz
IBM Mainframe Discussion List on behalf of Paul Gilmartin <000433f07816-dmarc-requ...@listserv.ua.edu> Sent: Tuesday, August 13, 2019 3:39 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: ISPF Question - browsing variable length records On Tue, 13 Aug 2019 18:53:37 +, Seymour J Metz wrote

Re: ISPF Question - browsing variable length records

2019-08-13 Thread Paul Gilmartin
On Tue, 13 Aug 2019 18:53:37 +, Seymour J Metz wrote: >> Does it matter? > >Not if you don't care whether the text is in the right column in your previous >request. > When I care, I set NULLS OFF, or use the spacebar. Usually it doesn't matter to me -- Rexx, C, shell script, ... >> I accep

Re: ISPF Question - browsing variable length records

2019-08-13 Thread Seymour J Metz
16-dmarc-requ...@listserv.ua.edu> Sent: Tuesday, August 13, 2019 2:09 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: ISPF Question - browsing variable length records On Tue, 13 Aug 2019 17:39:09 +, Seymour J Metz wrote: >> Why not? The host should transmit characters counted by th

Re: ISPF Question - browsing variable length records

2019-08-13 Thread Paul Gilmartin
On Tue, 13 Aug 2019 17:39:09 +, Seymour J Metz wrote: >> Why not? The host should transmit characters counted by the RDW, then NULs >> to the end >> of the field. Characters typed over those NULs would be returned to the >> host on Read >> Modified; the NULs ignored. > >Yes, ignored, not t

Re: ISPF Question - browsing variable length records

2019-08-13 Thread Seymour J Metz
4:45 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: ISPF Question - browsing variable length records On Mon, 12 Aug 2019 17:59:45 +, Seymour J Metz wrote: >> It should be intuitive: add blanks by positioning the cursor at the end of >> the >> line and pressing the spacebar. &g

Re: ISPF Question - browsing variable length records

2019-08-12 Thread Paul Gilmartin
On Mon, 12 Aug 2019 17:59:45 +, Seymour J Metz wrote: >> It should be intuitive: add blanks by positioning the cursor at the end of >> the >> line and pressing the spacebar. > >Be careful what you ask for; you might get it. At which point IBM will get >mobs armed with pitchforks and torches.

Re: ISPF Question - browsing variable length records

2019-08-12 Thread Seymour J Metz
edu/~smetz3 From: IBM Mainframe Discussion List on behalf of Paul Gilmartin <000433f07816-dmarc-requ...@listserv.ua.edu> Sent: Saturday, August 10, 2019 7:00 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: ISPF Question - browsing variable length r

Re: ISPF Question - browsing variable length records

2019-08-11 Thread Steve Smith
On Sat, Aug 10, 2019 at 7:01 PM Paul Gilmartin < 000433f07816-dmarc-requ...@listserv.ua.edu> wrote: > On Fri, 9 Aug 2019 14:46:20 -0400, Steve Smith wrote: > > >Trying out Relson-style replying today: > > > It has been the classical recommendation for decades. > Ah well, I'm pretty lazy when i

Re: ISPF Question - browsing variable length records

2019-08-10 Thread Paul Gilmartin
On Sat, 10 Aug 2019 23:46:59 +, Edward Finnell wrote: > https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.1.0/com.ibm.zos.v2r1.f54em00/nulls.htm > That appears to be describing output to an unprotected field, not input to Edit. I've found Edit to generally strip trailing blanks If ther

Re: ISPF Question - browsing variable length records

2019-08-10 Thread Edward Finnell
https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.1.0/com.ibm.zos.v2r1.f54em00/nulls.htm In a message dated 8/10/2019 6:40:39 PM Central Standard Time, 000433f07816-dmarc-requ...@listserv.ua.edu writes: Don't keep me in suspense.  What's the trick? -

Re: ISPF Question - browsing variable length records

2019-08-10 Thread Paul Gilmartin
On Fri, 9 Aug 2019 14:46:20 -0400, Steve Smith wrote: >Trying out Relson-style replying today: > It has been the classical recommendation for decades. >>"...how can I append trailing blanks to a record in an existing file ..." >> >Adding blanks to the end of a VB line is admittedly onerous (yet I

Re: ISPF Question - browsing variable length records

2019-08-09 Thread Edward Finnell
For some reason I got pulled into a battle between keypunch supervisor and operations manager over 'numerous key errors'. Ended up programming a 3-drum 029 solution that would tab and verify to the correct fields. Happy campers for a long time 'til somebody lost one of the drums.  In a message

Re: ISPF Question - browsing variable length records

2019-08-09 Thread Steve Thompson
crypt like everyone is.’ -Original Message- From: IBM Mainframe Discussion List On Behalf Of Seymour J Metz Sent: 09 August 2019 18:59 To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: [IBM-MAIN] ISPF Question - browsing variable length records Il va sans dire. The point remains that for file

Re: ISPF Question - browsing variable length records

2019-08-09 Thread Lennie Dymoke-Bradshaw
Behalf Of Seymour J Metz Sent: 09 August 2019 18:59 To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: [IBM-MAIN] ISPF Question - browsing variable length records Il va sans dire. The point remains that for file types with no wird-in restrictions on line length, F is an abomination and only VB is user

Re: ISPF Question - browsing variable length records

2019-08-09 Thread Steve Smith
Trying out Relson-style replying today: >"...how can I append trailing blanks to a record in an existing file ..." Adding blanks to the end of a VB line is admittedly onerous (yet I figured it out in 2 minutes), but as no one ever needs to do that, it hardly matters. >"... the editor saves change

Re: ISPF Question - browsing variable length records

2019-08-09 Thread Seymour J Metz
metz3 From: IBM Mainframe Discussion List on behalf of Mike Schwab Sent: Friday, August 9, 2019 1:38 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: ISPF Question - browsing variable length records Well, the editor saves changes in progress to a temporary file

Re: ISPF Question - browsing variable length records

2019-08-09 Thread Mike Schwab
gt; Paul Gilmartin <000433f07816-dmarc-requ...@listserv.ua.edu> > Sent: Thursday, August 8, 2019 3:56 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: ISPF Question - browsing variable length records > > On Thu, 8 Aug 2019 15:08:09 -0400, Tom Conley wrote: > > > >

Re: ISPF Question - browsing variable length records

2019-08-09 Thread Seymour J Metz
equ...@listserv.ua.edu> Sent: Thursday, August 8, 2019 3:56 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: ISPF Question - browsing variable length records On Thu, 8 Aug 2019 15:08:09 -0400, Tom Conley wrote: > >PRESERVE ON/OFF controls what the editor does with trailing blanks in a >VB record. P

Re: ISPF Question - browsing variable length records

2019-08-08 Thread Edward Finnell
ISPF was Nulls On/Off STD. Had a couple of hot-shot programmers who found they could change some variable in ISPPROF to let them do admin things in QMF. Worked 'til they went in with Nulls on. The ISPPROF members are tagged with length to next variable and produced spaghettios.   In a message d

Re: ISPF Question - browsing variable length records

2019-08-08 Thread Paul Gilmartin
On Thu, 8 Aug 2019 15:08:09 -0400, Tom Conley wrote: > >PRESERVE ON/OFF controls what the editor does with trailing blanks in a >VB record. PRESERVE ON will preserve any REAL trailing blanks (based on >RDW), PRESERVE OFF will truncate any trailing blanks. I'm good with >PRESERVE OFF. Isn't that

Re: ISPF Question - browsing variable length records

2019-08-08 Thread CM Poncelet
I was explaining how to change option 1's displaying VIEW back to displaying the original BROWSE panel.    EDIT is ISPF main panel option 2 (and VIEW uses EDIT panels ISREDDE2/3/4/5, unless you copy/alias original panel ISREDDE as ISREDDE2/3/4/5 above them in the ISPPLIB concat.)   On 08/08/2019 1

Re: ISPF Question - browsing variable length records

2019-08-08 Thread Tom Conley
On 8/8/2019 2:35 PM, Paul Gilmartin wrote: On Thu, 8 Aug 2019 18:15:10 +0100, CM Poncelet wrote: ...     1,'PGM(ISRBRO) PARM(ISRBRO01)'   *< Change it to this in your ISR@PRIM panel to use BROWSE instead of VIEW as default* ... Are you saying that making that change wil

Re: ISPF Question - browsing variable length records

2019-08-08 Thread Steve Smith
Wrong. On Thu, Aug 8, 2019 at 12:37 PM Paul Gilmartin < 000433f07816-dmarc-requ...@listserv.ua.edu> wrote: > On Thu, 8 Aug 2019 08:46:02 -0400, Steve Smith wrote: > ... However, Edit will trim trailing > >blanks from all records on save, unless you prevent it from doing so. > > > ... and ther

Re: ISPF Question - browsing variable length records

2019-08-08 Thread Paul Gilmartin
On Thu, 8 Aug 2019 18:15:10 +0100, CM Poncelet wrote: >... >    1,'PGM(ISRBRO) PARM(ISRBRO01)'   *< Change it to >this in your ISR@PRIM panel to use BROWSE instead of VIEW as default* >... Are you saying that making that change will prevent Edit's trimming trailing blanks on

Re: ISPF Question - browsing variable length records

2019-08-08 Thread CM Poncelet
%---  ISPF/PDF PRIMARY OPTION MENU  %OPTION  ===>_ZCMD + %   +USERID   - &ZUSER %   0 +ISPF PARMS  - Specify terminal and user parameters 

Re: ISPF Question - browsing variable length records

2019-08-08 Thread Paul Gilmartin
On Thu, 8 Aug 2019 08:46:02 -0400, Steve Smith wrote: >Option 1 defaults to "View" mode, which is like Edit. You can force it to >Browse mode on the entry screen, which will be what you get with the "B" >operator. > >View. like Edit, shows blanks all the way to the maximum LRECL, even if >they're

Re: ISPF Question - browsing variable length records

2019-08-08 Thread Chris Hoelscher
Discussion List On Behalf Of Steve Smith Sent: Thursday, August 8, 2019 11:25 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: [IBM-MAIN] ISPF Question - browsing variable length records The apparent trailing blanks are an illusion. Whether the lines on the screen have trailing blanks or nulls is an

Re: ISPF Question - browsing variable length records

2019-08-08 Thread Steve Smith
The apparent trailing blanks are an illusion. Whether the lines on the screen have trailing blanks or nulls is an option you or your installation set. I suspect if the file actually has trailing blanks, those will be on the screen, but I have no reason or desire to test it. It's useful to think

Re: ISPF Question - browsing variable length records

2019-08-08 Thread Steve Thompson
If it doesn’t pad out the lines, how would you write into those records, after the last character (defined by the RDW)? This would be why, in my best guess, it is done like that with edit. Sent from my iPhone — small keyboarf, fat fungrs, stupd spell manglr. Expct mistaks > On Aug 8, 2019,

Re: ISPF Question - browsing variable length records

2019-08-08 Thread Seymour J Metz
Subject: ISPF Question - browsing variable length records Good morning folks Nothing urgent, but a question that has been nagging me for some time. If I browse a variable length file using ISPF Option #1, and view with HEX ON, I see the record appears to be padded out to the maximum record length

Re: ISPF Question - browsing variable length records

2019-08-08 Thread Greg Price
On 2019-08-08 10:46 PM, Steve Smith wrote: View. like Edit, shows blanks all the way to the maximum LRECL, even if they're not there. I don't know why. Steve, I'd genuinely be surprised if you don't know why. Surely the simplest editor design is to provide an area as large as the record can

Re: ISPF Question - browsing variable length records

2019-08-08 Thread Cameron Conacher
Well, I'll be darned! Yep, selected Browse, and voila no trailing spaces. Thanks On Thu, Aug 8, 2019 at 8:46 AM Steve Smith wrote: > Option 1 defaults to "View" mode, which is like Edit. You can force it to > Browse mode on the entry screen, which will be what you get with the "B" > operat

Re: ISPF Question - browsing variable length records

2019-08-08 Thread Steve Smith
Option 1 defaults to "View" mode, which is like Edit. You can force it to Browse mode on the entry screen, which will be what you get with the "B" operator. View. like Edit, shows blanks all the way to the maximum LRECL, even if they're not there. I don't know why. However, Edit will trim trail

ISPF Question - browsing variable length records

2019-08-08 Thread Cameron Conacher
Good morning folks Nothing urgent, but a question that has been nagging me for some time. If I browse a variable length file using ISPF Option #1, and view with HEX ON, I see the record appears to be padded out to the maximum record length with spaces. However, if I browse the file by selecting it