Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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

Active Member


Joined: 07 Feb 2009
Posts: 989
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 FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
No new posts To trim spaces in a pipe delimited da... Nish84 COBOL Programming 16 Mon Oct 10, 2016 1:54 pm
No new posts Allocate dataset withour BLKSIZE Susanta CLIST & REXX 2 Thu Sep 22, 2016 11:51 am
No new posts dataset copy question - REPRO or some... atulxp TSO/ISPF 2 Wed Aug 03, 2016 10:56 pm
No new posts FTOPEN TEMP is failing due to dataset... mbenaud TSO/ISPF 7 Thu Jul 28, 2016 4:28 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us