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 Not able to export the VSAM cluster sandeep kumar302 JCL & VSAM 5 Fri May 04, 2018 12:42 pm
No new posts IDCAMS RENAMING VSAM FILE ALONG WITH ... upendrasri JCL & VSAM 11 Tue Apr 17, 2018 10:42 pm
No new posts VSAM file NOT Found error while proce... SumaReva CICS 5 Wed Apr 11, 2018 9:54 pm
No new posts VSAM - Accessing beyond record size Benchwarmer JCL & VSAM 6 Wed Apr 11, 2018 9:20 pm
No new posts VSAM File free space sancraig16 JCL & VSAM 13 Fri Mar 30, 2018 1:02 am

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