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 is the use of KSDS,LDS,ESDS,RRDS??what is VRRDS?? How are all these useful in realtime scenario??Plz helpme out...Its a recent question in IGATE..
How do I declare the KSDS vsam so that I can store a reocrd with variable length?.
What does the keyranges parameter in define cluster command do?
What's a LDS (Linear Data Set) and what's it used for?
Describe SHAREOPTIONS parameter (SHR) in Define Cluster command.?
name a few common vsam status codes?
In a file(PS), we dont know how many records are there. requirement is divide half n half the records n insert into 2 another files(PS).
should a AIX should be a unique value?
How do you initialize a VSAM file before any operation? a VSAM with alternate index?
What is a VSAM split?
what do you mean by the repro command?
Do all versions of the GDG have to be of the same record length ? is it possible to ovverride the dcb of the model dataset?