Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to determine if dataset is Sequential?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
anjali_tcs

New User


Joined: 09 Jun 2008
Posts: 10
Location: GGN

PostPosted: Mon Aug 24, 2009 10:33 am    Post subject: How to determine if dataset is Sequential?
Reply with quote

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
View user's profile Send private message

prino

Senior Member


Joined: 07 Feb 2009
Posts: 1060
Location: Oostende, Belgium

PostPosted: Mon Aug 24, 2009 10:45 am    Post subject:
Reply with quote

Use LISTDSI
Back to top
View user's profile Send private message
anjali_tcs

New User


Joined: 09 Jun 2008
Posts: 10
Location: GGN

PostPosted: Mon Aug 24, 2009 11:06 am    Post subject: Thanks
Reply with quote

LISTDSI Works perfectly fine. Thank you!
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Mon Aug 24, 2009 11:08 am    Post subject:
Reply with quote

Hi,

as mentioned in a previous thread, for LISTDSI the dataset has to reside on a direct access storage device.


Gerry
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us