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

how to code instream data in procedure?

3 Answers  


How do you send the output of a COBOL program to a member of a PDS?

7 Answers  


How do you submit JCL via a Cobol program?

2 Answers   Cap Gemini,


In SPACE,what is directory,RLSE

6 Answers   TCS,


wht r different types of sort fields in jcl ?

1 Answers   IBM,


how can i code cond parameter in procedures ? i have a jclk calling a proc which has 10 steps i want to execute from step 5 to step 10 where can i code restrat parameter or cond parameter for ths

4 Answers   IBM,


Suppose your program is reading a Sequential Vsam file. The file contains 10 records. How will you code the JCL to read only 2nd, 5th, 7th,and 10th record?

1 Answers   Thomson,


Explain the function of //jcllib statement?

0 Answers  


what is full form of AIX

3 Answers   Accenture,


How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY

0 Answers  


How many days does a job remain in spool

7 Answers   Syntel,


How to test thru JCL if any file(PS or VSAM) is empty or not. I do not want to use any COBOL prog or Ezytrieve and want to do using utility.

10 Answers   Lehman Brothers,


Categories