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
What is the difference between lds and esds?
how do you define an altindx ? How do you use altindxs in batch, cics programs?
What are the different versions of gdg named?
difference between vsam and database tables
what how do you initialize a vsam file before any operation? A vsam with alternate index?
explain how many ways you can load data in a vsam cluster?
How do you define an altindx?
What is the purpose of having vsam data space?
if you wish to use the rewrite command how must the vsam file be opened?
what is buffering and how does it apply to vsam files ?
Explain the function of entry-sequenced data set?
Explain the difference between lds and esds?
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 is record management performed in vsam?
in a cobol select statement for a ksds can you tell me what are the 3 possibilities for access?