Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 / squid

Just my thought -
You can set a code in your cobol program that writes the
report file to set a certain "return code" in the RETURN-
CODE field before exiting the program.
Depending on that return code from the program, you can
code IF END IF in your JCL.
Please let me know if that is wrong.

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?

1284


Matching Logic in Jcl not in cobol.Could any one please answer this question

4226


What methodology can be adapted to transfer data to a program that is coded using the exec statement?

1269


why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.

2498


What is condition checking in jcl? Is this possible?

1158


What is Cataloged Procedures?

1203


what is the difference between JES3 and JES2?

1191


if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?

2350


How does jcl act on a cobol code?

1233


When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?

1261


How is the record format of an output dataset specified?

1200


What is concatenating?

1139


Is it possible to define dd statements as you want?

1161


What is the function of the dd mgmtclas keyword in sms datasets?

1294


What happens if both JOBLIB & STEPLIB is specified ?

1204