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 |
What does a file status of 02 on a VSAM indicate?
In the COBOL SELECT statement for a KSDS what are the three possibilities for ACCESS?
In vsam why we use export-import utility?
What is the use of VSAM files? How to read this ?
What is recovery parameters in define cluster command?
How do you initialize a VSAM file before any operation? a VSAM with alternate index?
What is the meaning of each of the values in SHAREOPTS(2 ?
What is the procedure for running the batch job in mainframe?
What more info you should give in the DD statement while defining the next generation of a GDG?
what is meant by dirty read in vsam?
What is a lds (linear data set)?
if you wish to use the rewrite command how must the vsam file be opened?