I am trying to imagine what a variable length punched card looks like😉.

Lennie Dymoke-Bradshaw | Security Lead | RSM Partners Ltd  
Web:              www.rsmpartners.com
‘Dance like no one is watching. Encrypt like everyone is.’

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
Seymour J Metz
Sent: 09 August 2019 18:59
To: [email protected]
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 friendly. 
IBM's decision to not distributed CLIST and REXX routines in VB is unfortunate.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of 
Mike Schwab <[email protected]>
Sent: Friday, August 9, 2019 1:38 PM
To: [email protected]
Subject: Re: ISPF Question - browsing variable length records

Well, the editor saves changes in progress to a temporary file every time you 
press enter.  When you exit and save the changes, the temporary file is copied 
over the existing PS VB file or STOWed at the end of the PDS or somewhere 
inside the PDSe.

On Fri, Aug 9, 2019 at 11:21 AM Seymour J Metz <[email protected]> wrote:
>
> And I thought that the Devil invented FB for storing, e.g.,  CLIST, PLI, 
> REXX, SCRIPT.
>
>
> --
> Shmuel (Seymour J.) Metz
> http://mason.gmu.edu/~smetz3
>
> ________________________________________
> From: IBM Mainframe Discussion List <[email protected]> on 
> behalf of Paul Gilmartin 
> <[email protected]>
> Sent: Thursday, August 8, 2019 3:56 PM
> To: [email protected]
> 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.  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 why God invented VB?
> >
> I thought the Devil invented VB.
>
> OK, but how can I append trailing blanks to a record in an existing 
> file, as I can with any good desktop editor, or even a poor one such as 
> Notepad?
>
> And with PRESERVE ON, if I insert characters in a line containing 
> trailing blanks it truncates trailing blanks equal to the characters I 
> inserted.
> PRESERVE ON doesn't "preserve any REAL trailing blanks"; rather, it 
> attempts to preserve the RDW.
>
> I wonder what the RFE resulting in PRESERVE asked for?
>
> I know neither the history nor the internals, but I suspect that an 
> early predecessor of ISPF Edit supported only RECFM=FB, and when the 
> RFE for VB support appeared, indolent developers chose to pad records 
> to fixed length on input to avoid most changes to existing code, and 
> assume they could repair the damage by stripping trailing blanks on output.
>
> -- gil
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions, send 
> email to [email protected] with the message: INFO IBM-MAIN
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions, send 
> email to [email protected] with the message: INFO IBM-MAIN



--
Mike A Schwab, Springfield IL USA
Where do Forest Rangers go to get away from it all?

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to