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 VSAM Space Allocation mrgnndhmk JCL & VSAM 7 Sat Apr 22, 2017 12:42 am
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
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm


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