steve-myers
Active Member
Joined: 30 Nov 2013 Posts: 917 Location: The Universe
|
|
|
|
Rather than continue a 4 year old topic, I'll start a new topic, though with a valid subject.
IDCAMS cannot test for a valid "file." The only "file" in z/OS is the data on a magnetic tape between the beginning of the tape and a "tape mark," or the data between 2 "tape marks."
Everyone (including the 4 year old TS) are over complicating the JCL.
Something like this works fine regardless of your z/OS.
Code: |
// SET XDSN='SYS1.PROCLIB'
//A EXEC PGM=IKJEFT1A,PARM='LISTCAT ENT(''&XDSN'')'
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD DUMMY |
|
|