If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Dataset Type

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-21-10, 09:10
Peter1984 Peter1984 is offline
Registered User
 
Join Date: May 2010
Posts: 2
Dataset Type

Is there any command or list of commands available that can help identify the dataset type e.g. whether it is a VSAM file or Sequential File or GDG or a PDS definition. I require it within my CLIST to identify the dataset type and take corresponding action. Any help will be much appreciated?
Reply With Quote
  #2 (permalink)  
Old 05-21-10, 14:58
schintala schintala is offline
Registered User
 
Join Date: Apr 2005
Location: USA
Posts: 119
You can make out on TSO 3.4 option whether it VSAM, PO or PS. On listing for VSAM datasets it shows VSAM on vloume column. If you want to know about PO or PS type I against the dataset on left. It gives details info.
Reply With Quote
  #3 (permalink)  
Old 05-21-10, 15:30
Peter1984 Peter1984 is offline
Registered User
 
Join Date: May 2010
Posts: 2
schintala

Thanks for reply i am familiar with the mainframe utility commands but i was more looking in lines of a command that can be used in a languages like clist or rexx which can automatically determine the type of dataset. hope i am clear
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On