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 / giri12
SOC7
| Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
How arrays can be defined in COBOL?
What is the compute verb? How is it used?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
Explain about different table spaces.
Give some examples of command terminators?
What is the difference between binary search and sequential search?
What is redefines clause in COBOL?
What do you understand by psb and acb?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
In COBOL, what is the different between index and subscript?
Explain how you can characterize tables in cobol?
Write a cobol program making use of the redefine clause.
What is the LINKAGE SECTION used in COBOL?
Write the code implementing the perform … varying.