WORKING-STORAGE SECTION.
01 A PIC X(3) VALUE 'ABC'
01 B PIC 9(3).
PROCEDURE DIVISION.
MOVE A TO B.
STOP RUN.
OUTPUT IS: AB3
WHY AND HOW THIS IS HAPPENING.
Answer Posted / mahe
You won't get AB3 as Output,Job will abend with SOC7 as you
r moving Character to Numeric variable
| Is This Answer Correct ? | 22 Yes | 4 No |
Post New Answer View All Answers
How many sections are there in data division in COBOL?
How do you define a variable of comp-1 and comp-2?
How you can characterize tables in cobol?
What is the usage of comp fields in cobol?
Explain the configuration section of a cobol program with examples of syntax.
What is a report item?
Can we change the password using ALTER? anyone tried and changed?
how do you reference the fixed unblock file formats from cobol programs
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
What is rmode(24)
Can you please let me know the centre name of INS certification in Kolkata.
how do you reference the variable block file formats from cobol programs
Difference between cobol and cobol-ii?
What are 77 levels used for?
i need a small 3d program using inline and outline.