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...


How can I write the joblog in the spool on normal end of a
job step and direct the joblog to a dataset only if the step
abends?

Answers were Sorted based on User's Feedback



How can I write the joblog in the spool on normal end of a job step and direct the joblog to a data..

Answer / venkat

If you have a sysabend or sysudump dd name in the job then
it captures the Job log upon abnormal termination in to the
dataset... Else will route it to spool or sar according to
the msgclass given.. If msgclass=o then it will route to
spool if msgclass=d it will route to sar

Is This Answer Correct ?    4 Yes 1 No

How can I write the joblog in the spool on normal end of a job step and direct the joblog to a data..

Answer / devang

ONE HAS TO ENTER MSGCLASS=(,0) IN THE JOBCARD TO OBTAIN THE
DESIRED OUTCOME

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More JCL Interview Questions

What are steplib and joblib? What for they are used?

0 Answers  


the command to open a dataset directly from the JCL instead of opening it separately using 3.4 option.

7 Answers   IBM,


What is QSAM error usually when it is occurs?

1 Answers  


what is the default region size if I dont specify region parametre in my job card ( I know that if I specify region=0k or 0M, then the job will occupy all he available resources at the time of job execution), but I want to know the defult value for "region" paramatre.

5 Answers   BirlaSoft, Infosys,


describe the exec statement,its meaning ,syntax and keywords?

3 Answers  


What will happen if you attempt to restart a job in the middle of a JCL // IF .... // ENDIF?

4 Answers  


Which statement is used to identify the private libraries in job?

0 Answers  


In my JCL 10 Steps Will Be there Now i want to execute step05 And step06. How to Give the Cond?

2 Answers   IBM,


what is inrec fields and outrec fields in sorting

3 Answers   Fidelity,


Can we have a JOBSTEP without any EXEC ?

6 Answers   IBM,


How gdg are concatenated?

0 Answers  


i want to restart frm step 2, previously i coded cond parameter on step2 wht happens at tht time ?

4 Answers   Infosys,


Categories