ID DIVISION.
PROGRAM-ID. PLO.
DATA DIVISION.
WORKING-STORAGE SECTION.
01 VAR1 PIC 9(2).
01 VAR2 PIC X(2).
PROCEDURE DIVISION.
ACCEPT VAR2.
MOVE VAR2 TO VAR1.
STOP RUN.
if i give 'PI' in var2 then what will b output of progr.
any abend?????
Answer Posted / mdvasanth86
SOC 7 only when you do some arithmetic operation on it...
Displaying it will probably only give you unpredictable results.
HTH
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What do you understand by psb and acb?
Define static linking and dynamic linking.
What guidelines should be followed to write a structured cobol prgm?
What are the different data types in cobol?
What is perform what is varying?
Write the code to count the sum of n natural numbers.
What is amode(31)
explain sorting techniques in cobol program?
What is redefines clause in COBOL?
) what is the difference between AID and HANDLE AID?
How do you reference the fixed block file formats from cobol programs
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
Which mode is used to operate the sequential file?
What is the difference between PIC 9.99 and PIC9v99?
How to know whether the module is dynamical or statistical?