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
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u
Brief description of inline procedure of jcl.
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
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) ?
What is the function of a dd statement?
how you can direct the data to spool using SYSOUT option?
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.
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
What is use of restart and how to use it?
What are the rules employed while naming the steps in a job?
What is the function of the dd dcb keyword?
How can an in-stream dataset be terminated?