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 SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
No new posts DUMP DATASETS VS TRACE DATASETS! lind sh CICS 4 Tue Dec 06, 2016 11:31 pm
No new posts Cobol list of programs being called biswajit.dattagupta COBOL Programming 5 Tue Nov 01, 2016 2:10 am
No new posts Single COPY CICS TS datasets and when... Kyle Carroll CICS 2 Tue Oct 11, 2016 9:47 pm
No new posts reorder screeNS using SWAP LIST? mrsidhu12 TSO/ISPF 5 Thu Sep 01, 2016 2:19 pm


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