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 is a Generation Data Group (GDG)?
How to find the number of duplicates in a file using Sort?
can any one plzzzzzz tell the jcl code for creating ps using idcams
what is the function of iebcompr?....is it compare record length or characteristics of a dataset?...pls explain with examples.......
I have 5 generations in my GDG. How do I code in the JCL to consider all the 5 versions of the GDG ?
Differentiate between addressing mode and run mode.
how can we pass parameters from JCL to cobol subprogram...my requirement is i should not get data from mainprogram but i need it from JCL directly
consider the following progrm statements MOVE 0 TO SW.NO.OF.REC PERFORM PRI-OUT UNTIL SW=1 DISPALY NO.OF.REC STOP RUN PRE-OUT READ IN-FILE AT END MOVE 1 TO SW WRITE OUO-REC FROM IN-REC ADD 1 TO NO.OF REC if the IN-FILE contains 1000 records what value will be displayed after the PERFORM is over? assume that N0.OF.REC has PIC 9(4) a.1000 b.1001 c.1 d.none of the above
I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one
What u mean by include statement in JCL ?
what is the purpose of coding class parameter in job statement?
GDGs can be CREATED (not COPIED) only on DASD and NOT on tape drives ? Is it True ?