Can we use empty VSAM as input?
Answer Posted / anantha dhanush kodi
Sorry, We can't use Empty VSAM as input. . .
As it contains no records, open will fail with some
filestatus code.
But We can use Empty vsam as output.
During first run open the file in output mode.
In consecutive runs change the mode to extend.
Sample :
open output esdsfilename.
If (filestatus = 35 or filestatus = 37 ) then
open extend esdsfilename
end-if.
| Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
what is use of dcb parameter in dd statement?
What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file
Explain the purpose of the dd keylen parameter?
how to compare two datasets without using superce because output is limited to 133 bytes
Is automatic restart possible in jcl?
how you can access an uncataloged dataset in a JCL?
What do you understand by jcl?
What are the parameters that are used in creating a gdg?
What is the difference between the positional and keyword parameters? Give examples.
In job processing, what happens in execution stage?
Can I send output of job to my remote device careerride123?
How to do automated restart when a job abend?
how to do automated restart when a job abends?
what is SOC4 error?