A file has dta in S9(09) COMP format. How do I move the
data into a character field X(10)?
Answer Posted / dineshj
you do redefine for S9(09) COMP format
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Explain dd statement in jcl?
What are the parameters that are used in creating a gdg?
Is their any limit for data sets?
Explain the function of //cntl statement?
how do you access an uncataloged dataset in a jcl?
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
Explain how can the attributes of one sms dataset be copied to another dataset?
I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?
What is notcat 2 - gs?
Name the parameters which can be used to limit the number of records written to a sysout dataset?
what is a jcl?
How can a fb file convert to vb file using sort program?
How to submit jcl through a cobol program?
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
which utility is used to run a cobol-db2 program?