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 

Issue with the LISTDS Function

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


Joined: 28 Sep 2005
Posts: 98
Topics: 33

PostPosted: Thu Mar 29, 2007 11:24 am    Post subject: Issue with the LISTDS Function Reply with quote

Hi,

1)I am using the LISTDS function to retrieve the dataset names.When i give the below file with the wild card,it retrieves the dataset name which matches.But when there is a large number of datasets,the LISTDS function is giving a ERROR CODE OF 80A-10 --->Not enough virtual storage.How to solve this problem?

For example:(File)
P001.TEST.R01.*.P900


Code:
X=OUTTRAP(VAR1.)
"LISTDS 'P001.TEST.R01.*.P900' "
X=OUTTRAP(OFF)
"EXECIO * DISKW OUTDD(STEM VAR1." -->datasetnames are written in this file


Output file(OUTDD)
P001.TEST.R01.D01.P900
P001.TEST.R01.D02.P900
P001.TEST.R01.D03.P900
P001.TEST.R01.D04.P900
P001.TEST.R01.D05.P900


2)Is there is any other way apart from using the LISTDS function to retrieve the dataset names by giving in wildcard format using REXX?



Thanks,
VJ
Back to top
View user's profile Send private message
Mickeyd
Beginner


Joined: 02 Jan 2003
Posts: 27
Topics: 0

PostPosted: Thu Mar 29, 2007 5:03 pm    Post subject: Reply with quote

you may want to look at LMDINIT
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Fri Mar 30, 2007 2:34 am    Post subject: Reply with quote

listcat
LMDLIST
'SYS1.SAMPLIB(IGGCSIRX)'
Back to top
View user's profile Send private message Visit poster's website
vjkumk
Beginner


Joined: 28 Sep 2005
Posts: 98
Topics: 33

PostPosted: Fri Mar 30, 2007 9:16 pm    Post subject: Reply with quote

Hi,
i tried with LISTCAT function and this satisfies my requirement and worked fine without giving any virtual storage issues
"LISTCAT ENTRIES('P001.TEST.R01.*.P900')"

cheers,
VJ
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