How did you refresh a VSAM file and how frequently you do
it ?
Answers were Sorted based on User's Feedback
Answer / mahesh
Depends , refresh can be done dialy/weekly/monthy.
Refresh means just DELETE/DEFINE the VSAM file
i.e this done in two steps
STEP1 : deleting the Existing vsam file;
IF LASTCC =8 ; SET MAXCC=0
STEP2 : DEFINE VSAM-FILE(COND=(0,LT,STEP1)
Note: we will get Return-code=8; when the file we are
trying the delete doen't exist.
Thanks & Regards,
Mahesh.
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / joseph
thru VERIFY command
in TSO
Verify vsam file name
thanks
joseph
| Is This Answer Correct ? | 2 Yes | 2 No |
how to see the last records in vsam dataset??
Explain the index set?
What is the meaning of VSAM RETURN-CODE 28?
What is the purpose of control intervals in vsam?
Do primary key values have to be unique? Do alternate key values have to be unique?
is it slower if you access a record through alternative index as compared to primary index?
Differentiate between ci split and ca split?
What is the difference between shroptions(2 3) and shroptions (4 3) in the Def CLUSTER ??
Explain the device independent method to indicate where a record is stored?
what is the concept of AIX in vsam ????
How do you define an ALTINDX ? How do you use ALTINDXs in batch, CICS pgm?s ?
What is the procedure for running the batch job in mainframe?