How did you refresh a VSAM file and how frequently you do
it ?
Answer Posted / 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 |
Post New Answer View All Answers
explain the differences between vsam and non-vsam files
is it necessary that all versions of the gdg have to be of the same record length?
Why is it required to have a keyed directed retrieval?
what is buffering and how does it apply to vsam files ?
Explain about the file objects in vsam?
What is the main purpose of having user catalog in vsam?
What is the use of KSDS,LDS,ESDS,RRDS??what is VRRDS?? How are all these useful in realtime scenario??Plz helpme out...Its a recent question in IGATE..
how do you create an alternate index ?
Define base cluster?
What are the common vsam error conditions and codes?
Define a path?
difference between vsam and database tables
What are the different commands used in idcams for vsam?
What is a ci split? What is a ca split?
Using alternate indexes in batch program?