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

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

4 Answers   iGate, Tech Mahindra,


What is the use Free space in CI ?

4 Answers  


What is the meaning of dynamic processing?

2 Answers  


In vsam why we use export-import utility?

3 Answers  


explain the information contained in ci

0 Answers   IBM,






How to open VSAM file from 3.4? i have millions of records and i dont want to use the print ch ids(/) command bcz it takes to much time. so if you have any another command to open this plz tell me.

2 Answers   HSBC,


Is it slower if you access a record through ALT INDEX as compared to Primary INDEX? Why?

1 Answers  


What is the base cluster?

1 Answers   CGI,


Define free space?

0 Answers  


can alternate index use in ESDS since it does not contain primary index? if yes can you explain?

3 Answers   Temenos,


What is IDCAMS ?

2 Answers  


Tell about the ams used in vsam?

0 Answers  


Categories