IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

VSAM Interview questions


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sivatechdrive

Active User


Joined: 17 Oct 2004
Posts: 191
Location: hyderabad

PostPosted: Mon Feb 14, 2005 5:02 pm
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts CVDA value for RRDS VSAM dataset. CICS 2
No new posts VSAM return code 23 - for a Random read COBOL Programming 4
No new posts Open VSAM File in IMS DC Region - DFS... IMS DB/DC 0
Search our Forums:

Back to Top