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
is it required that primary key values have to be unique? Do alternate key values have to be unique?
what do you mean by gdg in vsam?
what do you mean by recovery and speed parameters in define cluster command?
what is meant by dirty read in vsam?
Explain the device independent method to indicate where a record is stored?
What are the distinctive features of a ksda, key sequenced dataset?
How do you calculate record size of an alternate cluster?
what do you mean by idcams? Explain its purpose?
What are the different versions of gdg named?
explain how can you initialize a vsam file before any operation?
What is a lds (linear data set) and what is it used for?
Explain the biggest disadvantage of using a vsam dataset?
What is a base cluste?
what do you mean by a shareoptions parameter (shr) in define cluster command?
what is the probability of a complete system distortion under high end low performing multiprocessor job?