Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Using LISTC of IDCAMS to list all datasets

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
babujini

New User


Joined: 14 Apr 2004
Posts: 7
Location: Chennai

PostPosted: Wed May 26, 2004 12:08 pm    Post subject: Using LISTC of IDCAMS to list all datasets
Reply with quote

Hi,

I am using LISTC of IDCAMS to list all datasets.

Example,
I have to list the following datasets using LISTC in a job.
i.e S.SIT.**.AG

S.SIT.CSF038DP.R050.AG
S.SIT.CSF066DP.R050.AG
S.SIT.CSF067DP.R050.AG
S.SIT.CSF068DP.R070.AG
S.SIT.CSF070DP.R080.AG
S.SIT.CSF071DP.R090.AG

How to put in LISTC command?

LISTC ENTRIES('?') ALL

Please let me know..


Thanks and Regards,
Babu M

Back to top
View user's profile Send private message

bluebird

Active User


Joined: 03 Feb 2004
Posts: 127

PostPosted: Wed May 26, 2004 5:54 pm    Post subject:
Reply with quote

here is part of the soloution : use listc level instead of listc ent:

"listc level('test01.old)"

will list all datasets starting with test01.old....

from there on u could create a list and do a sort on it (in jcl of course).

hope it helps.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts member list compare jzhardy TSO/ISPF 6 Fri May 12, 2017 3:18 pm
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm
No new posts Edit large number of datasets (QSAM) zh_lad TSO/ISPF 3 Tue Apr 04, 2017 6:08 pm
No new posts VSAM RLS=NRI while doing IDCAMS sheersh JCL & VSAM 1 Tue Mar 07, 2017 1:55 pm
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us