View previous topic :: View next topic |
Author |
Message |
vjkumk Beginner
Joined: 28 Sep 2005 Posts: 98 Topics: 33
|
Posted: Thu Mar 29, 2007 11:24 am Post subject: Issue with the LISTDS Function |
|
|
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 |
|
|
Mickeyd Beginner
Joined: 02 Jan 2003 Posts: 27 Topics: 0
|
Posted: Thu Mar 29, 2007 5:03 pm Post subject: |
|
|
you may want to look at LMDINIT |
|
Back to top |
|
|
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Fri Mar 30, 2007 2:34 am Post subject: |
|
|
listcat
LMDLIST
'SYS1.SAMPLIB(IGGCSIRX)' |
|
Back to top |
|
|
vjkumk Beginner
Joined: 28 Sep 2005 Posts: 98 Topics: 33
|
Posted: Fri Mar 30, 2007 9:16 pm Post subject: |
|
|
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 |
|
|
|
|