There are two steps in a JCl, the first one generates a
report while the second step send an email saying the
report has been generated, but the second steps should only
be executed when the report file is non-empty. How can it
be acheived. We may include steps in between.
Answer Posted / madhan
Use IEBPTPCH utility to verify the records in the input
file. if you get other than zero return code (2 or 4), then
there is no records in the input file(input file is empty).
based on the return code from the step1, step2 will execute
otherwise skip step2.
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
Name a few IBM utility programs, and explain its function.
How does jcl act on code(if you take a cobol program)?
How can values be passed from the job stream to an executable program?
List in order the hierarchical levels of jcl?
when can a job time-out occur? How to overcome that?
Explain the purpose of dd * statement in jcl?
what operation is performed by job statement?
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
How would you understand error(execution phase)?
Immediate Job opening for mainframe professionals in Keane Bangalore. Please find the below details: Organization: Keane India Location: Bangalore Skill: COBOL, JCL,VSAM,DB2,CICS,IMS,REXX,CLIST Exp: 1 to 4 years only Employment Type: Permenant Employee Note: If you have attended keane interview in past 6 months please ignore this job opening. Please respond to email id keanemfjob@gmail.com OR keanemfjob@yahoo.in with your latest resume and following details, We will contact you within 24 hours: Total IT Exp: Exp in Mainframe: Current CTC: Expected CTC: Notice Period:
Give the syntax of job specifying jcl statement.
What is the function of //cntl statement?
what is a jcl?
How can the attributes of one sms dataset be copied to another dataset?
Why block size is multiple of lrecl in jcl?