On Wed, 30 Oct 2013 09:10:03 -0500, Shmuel Metz (Seymour J.) wrote:
>
>>ISPF statistics are only maintained by ISPF and some other
>>utilities (like PDSMAN and ISPF OPT 3.5). RECFM=U libraries are
>>MVS load libraries (not ISPF ones)
>
>While that is by far the most common use for RECFM=U, it is not the
>only one. However, in practice using RECFM=U for text data is so
>inefficient that I have rarely seen it done.
>
"rarely"+1. I created DSORG=PO,DSNTYPE=PDS,RECFM=U, into which
I copied (IEBGENER) a text file and linked a load module. ISPF member
lists show load module-like column headers, and an attempt to
reset the statistics for the data member fails with: "Invalid record
format"; "RECFM=U is not allowed for this function." OK. So the
only clue that ISPF has that the member is a load module is the
RECFM. Sometimes it guesses wrong.
Then, DSORG=PO,DSNTYPE=LIBRARY,RECFM=U. The data member copied
successfully; ISPF still shows program object style headers. The link edit
failed with:
IEW2776S D60A MEMBER MEM2 COULD NOT BE SAVED TO DATA SET INDICATED BY
DDNAME SYSLMOD BECAUSE THE DATA SET CONTAINS DATA MEMBERS.
I deleted the data member and tried again. Same error message, now incorrect.
But the distinction between data and program object is stored somewhere.
DSCB? Catalog? ISPF might use this information to format the headers of
the member list. Apparently it doesn't care to.
I have overridden to RECFM=U when I wanted to read a tape and process the
BDW/RDWs myself. PITA. Rexx won't read RECFM=U (coming in 2.1). ISPF LM
is RECFM=U savvy (after IBM fixed my APAR), but won't read tapes. So:
REPRO from tape to a temporary DS.
Override to RECFM=U and use LMGET.
Ugh.
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN