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
name the utility program closely associated with vsam?
What are the distinctive features of a ksda, key sequenced dataset?
What are the different dataset organizations used in vsam?
How to get the last record in vsam file in cluster? And how can u get the ksds file records into cobol program?
What is a vsam dataset?
what are the codes returned by the ams (access method services) command during the execution in vsam?
what do you mean by define model parameter?
What is the main function of key-sequenced data set?
Would you specify freespace ce for an esds?
Define free space?
what is the meaning of each of the values in shareopts(2 3)?
differentiate between sequential files and esds files in vsam?
what do you mean by idcams? Explain its purpose?
Explain the device independent method to indicate where a record is stored?
we can define the ksds cluster by two ways by using the file-aid or by using the idcams utility. Explain them.