Is there a way to check for an empty file in JCL other than
using IEBCOMPR and the command PRINT COUNT(1)?
Answer Posted / nbohr02
By adding an ICETOOL (DFSORT) step you can force a return
code on empty with the COUNT (dd) EMPTY this will set RC to
12 so your Batch scheduler may not like it.
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
What are the parameters that are used in creating a gdg?
A dd statement consists of 4 fields. Name them?
Explain how can the submitting users racf authority be overridden in a job stream?
What is the function of the dd mgmtclas keyword in sms datasets?
How dummy is used in jcl?
a dd statement has 2 types of parameters. Name them?
What is the function of the steplib dd statement?
what is use of space parameter in dd statement?
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
is there any way to execute more than one proc in the same exec statement at the same time..?
How does the jcl specify the job to os?
Is it possible to define dd statements as you want?
how you will the direct the data to spool using sysout option?
How to alter the parameters for the existing gdg?