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 / velu
Exactly maha!!!!......actually we won't move the pic x(3)
to pic 9(3)(that's we can't move the alphabet to numeric
data type).....it should shows the abed...
Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
Why did you choose to work with ibm mainframe cobol programming?
What are the pertinent COBOL commands?
example for sub strings ? and refernce modifications whit output pls
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
how do you reference the fixed unblock file formats from cobol programs
For rewrite, why is it mandatory that file needs to be opened?
what is difference between cobol and cobol/400
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
What is the use of intialize verb?
How you can read the file from bottom?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
What is the difference between perform … with test after and perform … with test before?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
Mention the guidelines to write a structured cobol program?