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 identify wether the dataset is a PS or VSAM in RUNJCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
Md.yunus

New User


Joined: 02 Mar 2007
Posts: 1
Location: chennai

PostPosted: Wed May 09, 2007 3:39 pm    Post subject: How to identify wether the dataset is a PS or VSAM in RUNJCL
Reply with quote

Hi,

In my interview he asked me how will you identify if the Dataset is
a PS or VSAM by viewing the JCL. I told him we could found out by
dataset naming convention, he said. no. Could you help me out.

Regards,
yunus
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Wed May 09, 2007 3:51 pm    Post subject:
Reply with quote

IDCAMS LISTCAT will tell you if it is VSAM or NONVSAM, and a lot more information as well.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu May 10, 2007 12:20 am    Post subject:
Reply with quote

Hello,

From only the execute jcl, you may not be able to tell if a file is VSAM or PS. Something named HLQ.SOME.PAYDATA could be either.

Some places have standards that require one of the nodes of the dataset name be VSAM, but even that does not gurarntee the file really is vsam.
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 -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 6 Fri Mar 24, 2017 2:24 pm
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts Updating a VSAM file with DISP=OLD sheersh JCL & VSAM 8 Tue Mar 14, 2017 6:14 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts VSAM RLS=NRI while doing IDCAMS sheersh JCL & VSAM 1 Tue Mar 07, 2017 1:55 pm


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