View previous topic :: View next topic
|
Author |
Message |
Ashok09
New User
Joined: 29 Mar 2009 Posts: 20 Location: Chennai
|
|
|
|
Hi,
How to check the given dataset is VSAM or PS file thru jcl. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
you could always do a listcat on the file and call it vsam.
if the job runs ok, it is vsam.
if the job has a non-zero return code, you know that it is not vsam (or you spelled the dsn incorrectly, or a million other reasons)
since it is so easy to look at a 3.4 panel and derive the info,
if you would state your purpose - is a follow-on step/job dependent on the info? |
|
Back to top |
|
|
Ashok09
New User
Joined: 29 Mar 2009 Posts: 20 Location: Chennai
|
|
|
|
Its working now i used LISTCAT LVL in IDCAMS utility. checked with return code. returns vsam-0 nonvsam-4.
thanks Dick Brenholtz |
|
Back to top |
|
|
|