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 get the last record in vsam file in cluster? And how can u get the ksds file records into cobol program?
How to rename one vsam file as well as it's index?
what is a base cluster in vsam?
Explain the meaning and syntax for the START command. ?
What is the difference between CI( Control Interval)and CA (Control Area)?
what is the meaning of each of the values in shareopts(2 3)?
Suppose 3 generations of a GDG exist. How would you reference the 1st generation in the JCL?
What is SHAREOPTS ?
Using alternate indexes in batch program?
What does a file status of 02 on a VSAM indicate?
What are the three levels of definition for the VSAM DEFINE?
How many Alternate Indexes you can have on a dataset?