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
 

 

VSAM or NON-VSAM

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

New User


Joined: 19 Sep 2005
Posts: 13

PostPosted: Thu Sep 22, 2005 5:58 pm    Post subject: VSAM or NON-VSAM
Reply with quote

Hi

How would a pgm know that the file using is VSAM
or non-VSAM?

Thanks

Vani
Back to top
View user's profile Send private message

nitin4.a

New User


Joined: 16 Aug 2005
Posts: 26

PostPosted: Thu Sep 22, 2005 7:01 pm    Post subject: Re: JCL
Reply with quote

Hi

For programs containg the VSAM files the select statement in file control will have oragnisation -index and most important there will be a key used to access it in the statement

which is not there for other files


hope this will help you and correct if i am wrong
regds
nitin
Back to top
View user's profile Send private message
ikumar

New User


Joined: 02 Aug 2005
Posts: 81

PostPosted: Thu Sep 22, 2005 7:21 pm    Post subject: Re: VSAM or NON-VSAM
Reply with quote

Adding to the above answer, if you want to differentiate VSAM-ESDS with NON-VSAM, AS- will be pre-fixed to the DDNAME provided in the SELECT clause for ESDS VSAM file.

For KSDS/RRDS, program recognize using ORGANIZATION IS INDEXED/RELATIVE and RECORD KEY IS.....coded in the SELECT clause of ENVIRONMENT DIVISION.

I haven't worked with LDS...please experts let us know how program recognizes LDS datasets.
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 how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts Underlying DB2 VSAM LDS - SMF recording vasanthz All Other Mainframe Topics 6 Thu Jan 05, 2017 4:20 am
No new posts BWO option in VSAM blayek CICS 3 Sat Nov 05, 2016 10:47 am
No new posts VSAM define for large file jerryte JCL & VSAM 9 Wed Oct 05, 2016 1:51 am
No new posts CICS VSAM RLS READ akodakka CICS 3 Tue Oct 04, 2016 3:09 pm


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