LISTDS in batch mode



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

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


//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                
//*                                                  
 
samb01
 
Posts: 427
Joined: Mon Nov 16, 2009 7:24 pm
Has thanked: 1 time
Been thanked: 0 time

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.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post