LISTDS in batch mode

JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...
samb01
Posts: 431
Joined: Mon Nov 16, 2009 7:24 pm
Skillset: quite good
Referer: by web

LISTDS in batch mode

Postby samb01 » Tue Mar 31, 2020 3:53 pm

Heelo, i would like the DSLIST in the batch mode to get all informations we have by doing 3.4 in ISPF panel (number of traks, extent DCB etc...)

I used the IDCAMS program, but i can't have the number of extent.

And the result is not like a real 3.4 in ISPF panel.

Is it to do it not using REXX ?

Thank's for your help

Code: Select all


//JOBLIS JOB (S),MSGCLASS=X,CLASS=I,NOTIFY=&SYSUID  
//LISTE  EXEC PGM=IDCAMS                              
//SYSPRINT DD DISP=SHR,DSN=OUTPUT.FIC      
//SYSIN DD *                                          
  LISTCAT CAT(X) ENTRIES(X.DATA.*) ALL                
//*                                                  
 

steve-myers
Global moderator
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Skillset: Assembler, JCL, utilities
Referer: zos.efglobe.com

Re: LISTDS in batch mode

Postby steve-myers » Wed Apr 01, 2020 5:19 pm

I think it could be done in Rexx using some combination of IGGCSI and LISTDSI, but it would be awfully large and rather slow. I don't know if SYSUSEDEXTENTS would be populated for VSAM data sets.

I sort of recall someone asking essentially the same question several years ago.


  • Similar Topics
    Replies
    Views
    Last post