How to print the Output to SPOOL using MSGCLASS and SYSOUT ?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how can return codes be tested before execution of a job step?

819


What is use of restart and how to use it?

766


what is “Cond= even” and “Cond=only”?

737


Is it possible to left uncode disp? If yes, how?

704


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






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

857


which utility is used a dummy utility?

787


What is the function of a dd statement?

702


how can you check if a file is empty using jcl?

812


How do you create a temporary dataset?

660


What methodology can be adapted to transfer data to a program that is coded using the exec statement?

604


in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?

816


What are s0c1, s0c4, s0c5, s0c7 and socb?

697


how do you access an uncataloged dataset in a jcl?

827


Explain the function of dd name parameter with a 2 part structure; audit.report?

891