Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 WRITE to VSAM giving duplicate RC picus_mf CICS 1 Fri Feb 23, 2018 2:52 pm
No new posts Where to get sample for processing RM... vice_versa PL/I & Assembler 2 Tue Jan 16, 2018 2:03 pm
No new posts VSAM dataset not found abdulrafi JCL & VSAM 5 Fri Jan 12, 2018 11:19 am
No new posts ISSUE IN copying Sequential file reco... thesumitk JCL & VSAM 2 Wed Dec 13, 2017 3:07 pm
No new posts Compare VSAM files using DFSORT pshongal DFSORT/ICETOOL 5 Thu Nov 23, 2017 10:24 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us