View previous topic :: View next topic
|
Author |
Message |
anjali_tcs
New User
Joined: 09 Jun 2008 Posts: 10 Location: GGN
|
|
|
|
Hey all,
I am using following ISPF service to determine if my dataset is Sequential
Code: |
ADDRESS ISPEXEC "LMDLIST LISTID("DTPDS") DATASET(DS) OPTION(LIST) STATS(YES)"
IF ZDLDSNTP = ' ' THEN SAY 'It is a sequential dataset'
|
Manual says that ZDLDSNTP can have value of PDS, LIBRARY, or ’ ’. I checked value of ZDLDSNTP for a sequential dataset and it was space.
Can i safely assume that value of space in ZDLDSNTP will mean a Sequential dataset? It is not explicitly mentioned anywhere. Also if there is any other ISPF service that can sort out my problem then please advise. |
|
Back to top |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1306 Location: Vilnius, Lithuania
|
|
Back to top |
|
|
anjali_tcs
New User
Joined: 09 Jun 2008 Posts: 10 Location: GGN
|
|
|
|
LISTDSI Works perfectly fine. Thank you! |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
as mentioned in a previous thread, for LISTDSI the dataset has to reside on a direct access storage device.
Gerry |
|
Back to top |
|
|
|