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 / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

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

674


How do you overcome this limitation ?

693


Can we call instream to catalog and catalog to instream?

681


What is jcl in mainframe?

688


I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?

705






What is the purpose of dd?

724


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

689


I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.

1947


What is the maximum length of a single line of jcl?

825


IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C

1625


What is timing concept in mainframe?

1658


How is a type of file defined in the jcl that executes the cobol program?

709


Name a few IBM utility programs, and explain its function.

4433


Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC

583


Explain how can a stopped job be started again?

636