How to print the Output to SPOOL using MSGCLASS and SYSOUT ?
Answers were Sorted based on User's Feedback
Answer / gaurav singh pawar
give msgclass = 0
and then give//DDNAME DD sysout = *
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / vinay sonar
i dont know about MSGCLASS
For sysout use following syntax
//SYSUT1 DD DSN=PMAP391.NEW.PS,DISP=SHR
//SYSUT2 DD SYSOUT=*
Here sysout=* means SPOOL area.Keep it in mind.It has being
asked in many interviews
| Is This Answer Correct ? | 4 Yes | 3 No |
What happens if both JOBLIB & STEPLIB is specified ?
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
Which statement is used to identify the private libraries in job?
Explain how can values be passed from the job stream to an executable program?
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
how many types of sorts are there in jcl?
In sms datasets, what is the function of the dd mgmtclas keyword?
how can u understand ps and pds from their names ?
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?
What do you understand by the terms: joblib and steplib?
what is a MODELDSCB?
. What is the difference between the following statements : I) step#1 exec PGM=accpay ii) step#1 exec tbalance