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 |
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?
What is the catalog?
Name some common VSAM error conditions and codes. ?
what are s0c1, s0c4, s0c5, s0c7 abends?
what is meant by s0c-07 system abend codes?
explain in brief why do vsam take more disk space than other utilities?
Can we copy Vsam files from a Vsam file in Iebgener step?
4 Answers iGate, Tech Mahindra,
how yo view the vsam file?
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?
What is the purpose of the FILE STATUS clause in the SELECT statement?
can i see how many records does a vsam file have without browsing or without using file-aid? and same for ps file?