MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Extract all the dataset names under one HLQ in to a dataset

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
krisprems
Beginner


Joined: 13 Dec 2006
Posts: 101
Topics: 4
Location: india

PostPosted: Tue Nov 13, 2007 11:45 am    Post subject: Extract all the dataset names under one HLQ in to a dataset Reply with quote

Is there a way to Extract all the dataset names under one High Level Qualifier in to a dataset?
_________________
cHEERs
krisprems
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12382
Topics: 75
Location: San Jose

PostPosted: Tue Nov 13, 2007 1:00 pm    Post subject: Reply with quote

krisprems,

option 1:

1.In 3.4 just give the high level qualifier and hit enter
2.Once you get the list of Dsn's type "save list" at the command prompt and hit enter.
3. The dataset listing is saved as "userid.list.datasets'

Option 2:

Run Listcat in batch mode with Level option ex: tso listcat level('HLQ') and parse the output to get the dsn names

Hope this helps...
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
krisprems
Beginner


Joined: 13 Dec 2006
Posts: 101
Topics: 4
Location: india

PostPosted: Tue Nov 13, 2007 9:30 pm    Post subject: Reply with quote

kolusu,
OPTION 1 worked easily, but only thing is i had to give
Quote:

USERID.**
instead of just giving
Quote:

USERID
.
Is that i have to make any settings change in my ISPF to get the list by just giving the USERID?

OPTION2:
i have no much idea as to how to run the listcat in batch mode and also the OPTION1 worked so i left this OPTION.

Thanks for your help.
_________________
cHEERs
krisprems
Back to top
View user's profile Send private message
Terry_Heinze
Supermod


Joined: 31 May 2004
Posts: 391
Topics: 4
Location: Richfield, MN, USA

PostPosted: Tue Nov 13, 2007 11:36 pm    Post subject: Reply with quote

This question was asked on 9/27 in the JCL Forum.
_________________
....Terry
Back to top
View user's profile Send private message Send e-mail
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Wed Nov 14, 2007 2:12 pm    Post subject: Reply with quote

LISTCAT in batch? Just read the ACCESS METHODS SERVICES manual available via Quick Manuals link
_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group