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
What is notcat 2 - gs?
can any one plzzzzzz tell the jcl code for creating ps using idcams
How gdg are concatenated?
Explain the function of the steplib dd statement?
Explain dd statement in jcl?
Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed
Explain how can the attributes of one sms dataset be copied to another dataset?
Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?
How do you submit a job for execution?
List the different jcl statements that are not permitted in the procedures?
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
Where & How Do You Code Identifier In Jcl?
Which statement is used to identify the private libraries in job?
Explain the job statement in jcl?