Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Rexx for getting list of null-datasets

Status
Not open for further replies.

17621978

Technical User
Dec 22, 2005
2
CZ
Hi,I would like to put together Rexx-jcl to make list of empty datasets with mask for example rim.kl* and then deleted it.
Thank you for your reply.
 
I would suggest a small PROC which invokes IDCAMS to COPY COUNT(1). The return code will tell you that there either was or wasn't one record to copy. Step 2 can then delete the dataset based on the return code.

Frank Clarke
Tampa Area REXX Programmers' Alliance
REXX Language Assn Listmaster
 
I´d needed same examle.For examle rexx to delete all empty datasets in system with mask rim.kl*.

Thank you














 
You're going to write code to do what you could do entirely with IBM type-I utilities?

Or is it your intent that we should write the code?


Frank Clarke
Tampa Area REXX Programmers' Alliance
REXX Language Assn Listmaster
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top