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 are all the ways we can create datasets?
What is the difference between PS file and VSAM file?
7 Answers IBM, Infosys, Verizon,
write a program to read from a VSAM file , there will be a 5 records to create name. empno. resignation and address to update in a db2 table and call another program using dynamic call to find the matching fields in program 1 to update in db2 table. anybody pls send de program for dis ? thanks in advance...
What is a VSAM slot?
How to createing new version of GDG with out loosing the data in preaves GDG version?
explain how can you initialize a vsam file before any operation?
can we create PS file using IDCAMS utility?
On which dataset you can have alt index?
Yes. Because the alternate key would first locate the primary key, which in turn locates the actual record. Needs twice the number of I/Os.
Syntax of AMS modal commands ?
Using Alternate Indexes in Batch pgms: ?
what is the concept of IMPORT in vsam??