IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Using LISTC of IDCAMS to list all datasets


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts Build dataset list with properties us... PL/I & Assembler 4
No new posts Merging 2 datasets into one DFSORT/ICETOOL 1
No new posts LISTC in REXX CLIST & REXX 4
No new posts list pds members name starting with xyz CLIST & REXX 11
Search our Forums:

Back to Top