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 are the parameter we cannot use in procedure? How many instream we can write in single jcl?
Can we call instream to catalog and catalog to instream?
What are the 2 types of parameters in dd statement?
What is the format of comment statement?
When space is allocated for an output dataset, what units can be used?
What are the parameter we cannot use in procedure?
what is use of disp parameter in dd statement?
I need exexution process for JCL programs
How to pass data to a program that is coded in an exec statement?
Is it possible to left uncode disp?
I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK
what is “Cond= even” and “Cond=only”?
What are the parameters that are used in creating a gdg?
which utility is used a dummy utility?
Explain the function of //jcllib statement?