View previous topic :: View next topic
|
Author |
Message |
arunshankar
New User
Joined: 22 Aug 2006 Posts: 5
|
|
|
|
Hi,
Is there is anyways to write the name of the member of a PDS to PS.
For ex, let WORK.EXAMPLE.LIB be a PDS consisting of 100 members.
My query is to write all the members name in to a PS.
thx,
Arun.. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
In TSO, there's the LISTDS command:
TSO LISTDS 'WORK.EXAMPLE.LIB' MEMBERS
In ISPF, Using the Library Management (LM) Services, the LMMLIST service will create a member list.
Of course, you can always use the PX (PRINT INDEX) command when viewing the PDS in ISPF OPTION 3.4 (DSLIST). |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
You can also use the SAVE command from within 3.4
O. |
|
Back to top |
|
|
Selvamani
New User
Joined: 19 Dec 2006 Posts: 21 Location: California
|
|
|
|
Hi,
PX is not working in my system. May be I dont know how to use it. Could you elaborate on it? |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
PX is part of ISPF, and is well documented in the fine manual.
O. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Also, according to the ISPF User's Guide, PX in DSLIST (ISPF 3.4) is the same function as X in Library (ISPF 3.1). |
|
Back to top |
|
|
Selvamani
New User
Joined: 19 Dec 2006 Posts: 21 Location: California
|
|
|
|
When I put PX againt the dataset , it says "Index Printed". Where can I see the details? |
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
Hi Selvamani,
After giving PX it will show you
Code: |
WORK.EXAMPLE.LIB Index Printed |
press f3 it will show you
Code: |
Command ===>
List Data Set (TBH2.SPF4.LIST) Disposition:
Process Option . . . . 1. Print data set and delete
2. Delete data set without printing
3. Keep data set - Same
(allocate same data set in next session)
4. Keep data set - New
(allocate new data set in next session)
Batch SYSOUT class . . B
Local printer ID or
writer-name . . . . .
Local SYSOUT class . . |
select 1 it will give you datset name that contain the details in this case it is TBH2.SPF4.LIST.
Hope it will helpful |
|
Back to top |
|
|
arunshankar
New User
Joined: 22 Aug 2006 Posts: 5
|
|
|
|
hi all,
still i could not able to write the name of the members in to a PS.
After giving PX (Index printed), though i pressed f3 i was not able to the
see the screen which u have pasted.
Is ther is any another way???
thanks,
arun.
-----------
the glorry of victory is not in never fallin but raising everytime we fall.. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
I'm not sure why you're having a problem doing a simple task that most ISPF users do day-in and day-out.
On top of the LISTDS TSO command already mentioned, you can also try using the PRINTDS TSO command:
Code: |
TSO PRINTDS DATASET('THE.PDS') TODATASET('THE.PDS.DIR') DIRECTORY
|
|
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
To use this, i'd recommend going to TSO =6 (command). There is more room to type - many places have long dataset names. |
|
Back to top |
|
|
arunshankar
New User
Joined: 22 Aug 2006 Posts: 5
|
|
|
|
thx everyone... cracked solved out.. |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
I haven't done this one in a while, but I think it goes like this (just chime in if I get it wrong):
Display the members you want via 3.4
In the cmd line enter: SAVE my100 (use any 1 to 8 char name)
A dataset containing the contents of the ISPF display screen is created w/the name "yrtsoid.my100.member" (or members?)
You can do the same thing with a 3.4 dataset list except the last node of the DSN is .dataset |
|
Back to top |
|
|
|