> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
> Behalf Of SUBSCRIBE IBM-MAIN Jim
> Sent: Wednesday, July 09, 2008 3:44 PM
> To: [email protected]
> Subject: Re: wildcard utilities
> 
> I have to move on to some other things for now, but want to try
> Barry's idea.

Do you need something as simple as this?

//LISTDS   EXEC PGM=IKJEFT1B         
//SYSTSPRT DD SYSOUT=*               
//SYSTSIN  DD *                      
 EXEC 'SYS1.SAMPLIB(IGGCSIRX)' EXEC  
SYS*.*SAMP*                          
//*                                  

That will print the names of all the datasets beginning with SYS* and
containing SAMP in the second qualifier to the SYSTSPRT DD.  You can
also use the .** suffix to get other datasets with longer names, like
this:

//LISTDS   EXEC PGM=IKJEFT1B       
//SYSTSPRT DD SYSOUT=*             
//SYSTSIN  DD *                    
 EXEC 'SYS1.SAMPLIB(IGGCSIRX)' EXEC
SYS2.**                            
//*                                

HTH

Peter
This message and any attachments are intended only for the use of the addressee 
and
may contain information that is privileged and confidential. If the reader of 
the 
message is not the intended recipient or an authorized representative of the
intended recipient, you are hereby notified that any dissemination of this
communication is strictly prohibited. If you have received this communication in
error, please notify us immediately by e-mail and delete the message and any
attachments from your system.


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to