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 Interview questions

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

Active User


Joined: 17 Oct 2004
Posts: 190
Location: hyderabad

PostPosted: Mon Feb 14, 2005 5:02 pm    Post subject: VSAM Interview questions
Reply with quote

Hi all

i was asked the following questions in Capgemini interviews,but i was unable to answer properly,plz do reply

1. how to copy a VSAM file without using Repro

2.Suppose i have 10,00 records in a ESDS file,and 1 record is currupted,what is the quick way to identify the currupted record.


3.what happens when you open and read an empty VSAM file


Thanks
Siva
Back to top
View user's profile Send private message

rick

New User


Joined: 18 Jun 2004
Posts: 59
Location: Chennai

PostPosted: Thu Feb 17, 2005 2:32 pm    Post subject:
Reply with quote

Hi,

1) you can use Tools such as FILE-AID , DATA-EXPERT to copy the records to a VSAM file.

3) When u try to read an empty VSAM file it shoots up an error. An EMPTY file cannot be read.

Rick
frederick.tybalt@anewcon.com
Back to top
View user's profile Send private message
kingofmf

New User


Joined: 02 Mar 2005
Posts: 13
Location: Bangalore

PostPosted: Sun Mar 13, 2005 3:10 pm    Post subject:
Reply with quote

to make one exact copy of a VSAM there is a key LIKE=source dataset
i dont know the actual syntax how to use.
Back to top
View user's profile Send private message
srividya.srinivasan

New User


Joined: 30 Mar 2005
Posts: 11
Location: Pune, India

PostPosted: Thu May 05, 2005 4:47 pm    Post subject: 10,00 records in a ESDS file
Reply with quote

Hi,

If u have more records, and the Job abended you can do two things,

(i) First of all catalogue the new file on to which you are writing, with new, catlg , catlg option so that even though the job abends all the records processed would be written into the new file and you can hence find the Record which is corrupt.

(ii) The other method is with the help of the Offset value, which is much easier.

pls let me know if i am wrong.


thanks

Vidya
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 Viewing executing process in NDM .. q... Debb.Brant IBM Tools 0 Wed Dec 14, 2016 10:55 pm
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


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