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 |
Is a delete operation possible in an ESDS?B. Is rewrite operation possible in ESDS ?
How many buffers are allotted to VSAM KSDS and ESDS?
What is FREESPACE ?
In vsam why we use export-import utility?
What is Base Cluster ?
How do you define an ALTINDX ? How do you use ALTINDXs in batch, CICS pgm?s ?
Explain the process in which flat files are converted into vsam files?
if not using the 'commit' when closing VSAM file,what will happend
How many Alternate Indexes you can have on a dataset?
is delete operation supported in an esds? Is rewrite operation possible in esds?
Define a path?
Is it slower if you access a record through ALT INDEX as compared to Primary INDEX? Why?