Answer Posted / choot singh
Based on utility.
1.when we use system defined utility.
sysprint- it'l give system defined utility messages.
2.when we use user defined utility.
sysout- it'l give user defined utility messages.
Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375
What is the function of //cntl statement?
When space is allocated for an output dataset, what units can be used?
how do you code a null statement?
What are the parameters that are used in creating a gdg?
What is the function of dd disp parameter?
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
I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?
What are steplib and joblib?
WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move
What is the purpose of dd dummy statement?
What are some jcl statements that are not allowed in procedures?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
How can unused space allocation be returned to the system when a dataset is closed?
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