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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the function of job statement in jcl?

1075


Is it possible to code instream data in a PROC?

1308


What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?

1087


which utility is used a dummy utility?

1446


Define concatenating?

1086


which utility is used to sort a file in jcl?

1201


what is JCL?

1142


Explain the jcl exec statement?

1132


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

1467


What is NOTCAT ?

1299


For what purpose steplib and joblib are used ?

1123


When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?

1442


Explain how can values be passed from the job stream to an executable program?

1194


We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?

2212


how can the same proc be re-used and called by many jobs?

1485