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

Explain the function of the dd dcb keyword?

1182


Explain how can return codes be tested before execution of a job step?

1278


In sms datasets, what is the function of the dd mgmtclas keyword?

1339


Does jcl support automatic restart?

1176


How jcl work to handle various input output file operations?

1090


What is jcl in mainframe?

1139


Explain the purpose of the dd keylen parameter?

1098


I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?

1128


Explain in DD statement what is the use of DCB parameter?

1081


How to run cobol program using jcl?

1155


How does jcl specify the job to the operating system?

1183


What is the function of //jcllib statement?

1265


How can a fb file convert to vb file using sort program?

1289


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

1164


have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file

1455