|
|
| Author |
Message |
vamskrish Warnings : 1 New User
Joined: 31 Jan 2007 Posts: 24 Location: virginia
|
|
|
|
hi,
how can i save the list of "dataset names" available to a dataset.
lets say i have 1000's of files with the name A.S*.*
using ispf option 3.4 i can list all of those but i would like to have that list written to a dataset. i tried option 'P' in 3.4 but i dont understand where exactly the list is printed. kindly suggest what needs to be done.
vamshi |
|
| Back to top |
|
 |
References
|
|
 |
superk
Moderator Team Head
Joined: 26 Apr 2004 Posts: 3304 Location: Charlotte,NC USA
|
|
|
|
See number 2 here.
Then, see here to determine the name and/or status of the LIST dataset. |
|
| Back to top |
|
 |
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 1959 Location: Israel
|
|
|
|
Try the SAVE command.
O. |
|
| Back to top |
|
 |
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1506
|
|
|
|
Enter on cmd line:
SAVE ax
where: a is any alpha char and x is any 0 to 7 A/N char string.
The list will be stored in a PS dataset named: yrTSOid.ax.datasets
To save PDS member lists do the same, changing "datasets" to "members". |
|
| Back to top |
|
 |
vamskrish Warnings : 1 New User
Joined: 31 Jan 2007 Posts: 24 Location: virginia
|
|
|
|
| thanks all, 'SAVE AX' worked. |
|
| Back to top |
|
 |
vishabus
New User
Joined: 25 Oct 2006 Posts: 24 Location: Noida
|
|
|
|
Hi,
Can we do this in batch? We need to have a batch job which needs the member list for a given dataset and no manual intervention is required. |
|
| Back to top |
|
 |
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 1959 Location: Israel
|
|
|
|
You can use the ISPF service LMMLIST/LMDLIST with OPTION(SAVE) in batch.
O. |
|
| Back to top |
|
 |
vishabus
New User
Joined: 25 Oct 2006 Posts: 24 Location: Noida
|
|
|
|
It seems we don't have this facility at our site
Any alternatives ?? |
|
| Back to top |
|
 |
enrico-sorichetti
Global Moderator
Joined: 14 Mar 2007 Posts: 3168 Location: italy
|
|
|
|
| Quote: |
| It seems we don't have this facility at our site |
odd, if You have ispf then You can write a rexx using the ispf services...
LMMLIST and friends are not ready made things
are just services to be invoked by a ... script ( rexx,clist) or a program |
|
| Back to top |
|
 |
Anuj D.
Global Moderator
Joined: 22 Apr 2006 Posts: 2222 Location: Phoenix, AZ
|
|
|
|
| By the way if you need a list starting with
as asked in very first post, might be you can use IDCAMS in batch. I assume "A" is HLQ here. |
|
| Back to top |
|
 |
|
|