Is there a way to check for an empty file in JCL other than
using IEBCOMPR and the command PRINT COUNT(1)?
Answer Posted / saikat
By using a simple selcopy we can determine whether the file
is empty or not. IF file is empty then we can set the
return code of the step in the selcopy code.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Define concatenating?
How jcl work to handle various input output file operations?
Describe the various parameters utilized in the creation of a gdg?
What is the function of a dd statement?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
how JCL works?
Explain the purpose of dd * statement in jcl?
Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC
I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?
what are the types of abends that occur on job failure? And explain the possible causes of these
What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?
what sort card you will use to copy the data from one dataset to another dataset?
How to submit jcl through a cobol program?
Can an individual step be restricted from using all the jobs allowed cpu time?
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?