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.
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?
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.
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