Hi, One option is to do an ISPF 3.4 dslist and then enter - SAVE MYFILE on the command line. This will create a disk file named 'userid.myfile.datasets' that contains all the info and can be edited and sorted as needed. Or try:
//STEP1 EXEC PGM=IKJEFT01,DYNAMNBR=20 //SYSTSPRT DD SYSOUT=* CAN CHANGE TO A PS FIL //SYSPRINT DD SYSOUT=* //SYSUDUMP DD SYSOUT=* //SYSTSIN DD * LISTDS 'GRT.GIOIDXM.JCL' MEMBERS /* OUTPUT GRT.GIOIDXM.JCL --RECFM-LRECL-BLKSIZE-DSORG FB 80 27920 PO --VOLUMES-- NTE042 --MEMBERS-- $$TEST $TRAPWTO #ASCII Or //LISTDS JOB (24186),'LIST MEMBERS ',CLASS=P,MSGCLASS=O, // MSGLEVEL=(1,1),NOTIFY=&SYSUID //STEP10 EXEC PGM=IKJEFT01 //SYSTSPRT DD DSN=GRT.GIOIDXM.DATELIST.LISTING, // DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(1,1),RLSE), // UNIT=SYSDA, // DCB=(RECFM=FB,LRECL=80,BLKSIZE=0) //SYSPRINT DD SYSOUT=* //SYSIN DD DUMMY //SYSTSIN DD * LISTDS 'TST.GIOIDXM.JCL' MEMBERS LISTDS 'TST.GIOIDXM.JCL' HIST LISTDS 'PRD.PGDMASP.DATA.DOCUDTL.SORTED.G1948V00' HIST LISTDS 'PRD.PGDMASP.DATA.DOCUDTL.SORTED.*' HIST /* David L. Mingee Principal Systems Administrator Indianapolis Production Control Data Center Operations / Operations Technical Support Work Ext 782-6460 Work Direct Dial 317 581-6460 Home 317 598-0919 / Cell 317 341-0885 -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Lenz, Joseph Sent: Monday, October 10, 2011 7:23 PM To: IBM-MAIN@bama.ua.edu Subject: DSLIST-like output for Non-VSAM Files in Batch Greetings, I want to generate DSLIST-like output from a batch job similar to what is displayed in ISPF 3.4 with the Space option for non-VSAM (flat files) defined on my system. Command - Enter "/" to select action Tracks %Used XT ------------------------------------------------------------------------------- XXXX XXXX.XXXXXXX.XXX 3 50 1 XXXX.XXXXXXX.XXX 5 80 1 Is there a JCL utility program that will generate this output? I have looked, and have not found one. Thank you in advance for your help. Regards, Joseph Lenz TTI, Inc. Fort Worth, TX ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html