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
What are declaratives and what are their uses in cobol?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
Define cobol?
Give some examples of command terminators?
Write some characteristics of cobol as means of business language.
What is perform what is varying?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
) How do u handle errors in BMS macro
What are different data types in cobol?
What is the use of intialize verb?
Can we change the password using ALTER? anyone tried and changed?
how do you reference the variable unblock file formats from cobol programs
explain sorting techniques in cobol program?
what is the difference between COBOL2 AND COBOL390?
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)