IBM MAINFRAME HELP & SUPPORT FORUMS
Technical Forums for IBM Mainframe Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7&11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
 

VSAM Interview questions

THIS IS AN ARCHIVE FORUM: CLICK HERE TO GO TO THE ORIGINAL TOPIC

 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> Interview Questions
View previous topic :: View next topic  
Author Message
sivatechdrive



Joined: 17 Oct 2004
Posts: 168
Location: hyderabad

Posted: Mon Feb 14, 2005 5:02 pm    Post subject: VSAM Interview questions  

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  
rick



Joined: 18 Jun 2004
Posts: 61
Location: Kuzhithurai

Posted: Thu Feb 17, 2005 2:32 pm    Post subject:  

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  
kingofmf



Joined: 02 Mar 2005
Posts: 13
Location: Bangalore

Posted: Sun Mar 13, 2005 3:10 pm    Post subject:  

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  
srividya.srinivasan



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

Posted: Thu May 05, 2005 4:47 pm    Post subject: 10,00 records in a ESDS file  

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  
 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> Interview Questions
Page 1 of 1
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM