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


Please Help Members By Posting Answers For Below Questions

is it required that primary key values have to be unique? Do alternate key values have to be unique?

595


what do you mean by gdg in vsam?

712


what do you mean by recovery and speed parameters in define cluster command?

576


what is meant by dirty read in vsam?

834


Explain the device independent method to indicate where a record is stored?

468






What are the distinctive features of a ksda, key sequenced dataset?

521


How do you calculate record size of an alternate cluster?

658


what do you mean by idcams? Explain its purpose?

535


What are the different versions of gdg named?

556


explain how can you initialize a vsam file before any operation?

649


What is a lds (linear data set) and what is it used for?

515


Explain the biggest disadvantage of using a vsam dataset?

574


What is a base cluste?

597


what do you mean by a shareoptions parameter (shr) in define cluster command?

590


what is the probability of a complete system distortion under high end low performing multiprocessor job?

2018