On 4/21/2013 7:41 AM, R.S. wrote:
My "BTDT" experience was limited to DISP=NEW in first step, and several
further steps. It was enough to understand that LRECL should be the same
for all members.
I haven't studied all possible cases of (mis)use of PDS.

I've had some time to think about this, and the OP's requirements can be satisfied:

1) At most one output file is open at a time (routine PDS restriction), and each file has explicit DCB parameters. If a program needs to write more than one file, those could be stored in a temporary DS, then copied with IEBGENER in additional steps.

2) Any number of input files could be open in the same step, but each would need to use explicit DCB parameters (JCL or forced in CoBOL).

3) The file could not be used as a PDS, unless the format was changed to RECFM=U, with the largest block size (or half track). That change would allow support for IEBCOPY, ADRDSSU, etc., but not for ISPF functions.

If the major consideration is to shorten ISPF displays, I'd suggest using a naming scheme that includes a date, time, or similar index level.

Gerhard Postpischil
Bradford, Vermont

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

Reply via email to