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 / dharma

U will not get SOC7 . but u will get unpredicatble results

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the difference between COBOL2 AND COBOL390?

2455


In COBOL programming, what is PERFORM? What is VARYING?

672


What is comp-1 and comp-2?

766


What is the difference between binary search and sequential search?

643


What are literals?

632






if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

5695


How do you reference the fixed block file formats from cobol programs

709


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1846


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

1616


For rewrite, why is it mandatory that file needs to be opened?

623


) how do u code after getting data?

1582


What is the problem of ordered sequential files access?

704


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

678


i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

1000


what is difference between cobol and cobol/400

21571