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
How can a jobs execution priority be modified?
What is the use of disp parameter?
what is use of space parameter in dd statement?
Explain how can a stopped job be started again?
How can a fb file convert to vb file using sort program?
how JCL works?
What dd statement is used to supply the name of a dataset?
Can we call instream to catalog and catalog to instream?
What parameter directs the output of the job log dataset?
How jcl work to handle various input output file operations?
what are the types of abends that occur on job failure? And explain the possible causes of these
Name a few IBM utility programs, and explain its function.
How to override loadlib?
Explain how can the submitting users racf authority be overridden in a job stream?
Can an individual step be restricted from using all the jobs allowed cpu time?