How did you refresh a VSAM file and how frequently you do
it ?

Answers were Sorted based on User's Feedback



How did you refresh a VSAM file and how frequently you do it ?..

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

How did you refresh a VSAM file and how frequently you do it ?..

Answer / joseph

thru VERIFY command

in TSO

Verify vsam file name


thanks
joseph

Is This Answer Correct ?    2 Yes 2 No

How did you refresh a VSAM file and how frequently you do it ?..

Answer / joseph

I agree with joseph

Is This Answer Correct ?    1 Yes 4 No

Post New Answer

More VSAM Interview Questions

Under idcams, multiple functions can be executed, each of which returns a condition code. What will be the condition code returned to the operating system?

0 Answers  


What is the catalog?

1 Answers  


Name some common VSAM error conditions and codes. ?

1 Answers   IBM,


what are s0c1, s0c4, s0c5, s0c7 abends?

0 Answers   IBM,


what is meant by s0c-07 system abend codes?

0 Answers   IBM,






explain in brief why do vsam take more disk space than other utilities?

0 Answers   IBM,


Can we copy Vsam files from a Vsam file in Iebgener step?

4 Answers   iGate, Tech Mahindra,


how yo view the vsam file?

5 Answers   DSRC, TCS,


By looking into the Jcl can we identify the dataset is VSAM?

5 Answers   Cognizant, Keane India Ltd,


How many Alternate Indexes you can have on a dataset?

2 Answers   AB Inc,


What is the purpose of the FILE STATUS clause in the SELECT statement?

1 Answers  


can i see how many records does a vsam file have without browsing or without using file-aid? and same for ps file?

3 Answers   Tech Mahindra,


Categories