Skip to Content
Custom Search

JCL to list all datasets starting with

 

LISTING ALL DATASETS STARTING WITH A PARTICULCAR FIRST LEVEL QUALIFIER
 
This JCL will search for all the Data sets starting with "USERID" as the first level qualifier The results will be written to spool (in SYSTSPRT).  
 
It will also show the status (active / migrated) and other information.
 
 
//LISTDSN  JOB (XXXXXXXX,,,,,XXXX),'         ',            
//             CLASS=J,MSGCLASS=T,NOTIFY=&SYSUID,          
//             REGION=0M                                   
//*                                                        
//LISTDS   EXEC PGM=IKJEFT1B                               
//SYSTSPRT DD SYSOUT=*                                     
//SYSTSIN  DD *                                            
 EXEC 'SYS1.SAMPLIB(IGGCSIRX)' EXEC                        
USERID.**                                                 
//*                                                        
 

Comments

No list is displayed

No list . . .

If you want help, you need to post the output from the run . . .

'SYS1.SAMPLIB(IGGCSIRX)' i cant find this lib or member in any

I dont have this 'SYS1.SAMPLIB(IGGCSIRX)' so could you please provide this ..

Post new comment

  • Allowed HTML tags: <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.

Click the +1 button  below to share it with your friends and colleagues

 

Share this if you liked it!

 

Disclaimer



Who's online

There are currently 0 users and 25 guests online.
Dr. Radut | page