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
if the submitter of a job wants to inform another user about the job completion, how can it be done?
How to alter the parameters for the existing gdg?
What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?
Explain dfsort utility?
Name the statement which can be used to send data to another mvs jes3 node?
What is the motivation behind coding class parameter in job statement?
How do you overcome this limitation ?
is there any way to execute more than one proc in the same exec statement at the same time..?
how to do automated restart when a job abends?
How would you understand error(execution phase)?
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
What are the rules employed while naming the steps in a job?
Can we call instream to catalog and catalog to instream?
what is DD statement is used in JCL?
how you can access an uncataloged dataset in a JCL?