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
what is the difference between COBOL2 AND COBOL390?
In COBOL programming, what is PERFORM? What is VARYING?
What is comp-1 and comp-2?
What is the difference between binary search and sequential search?
What are literals?
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.
How do you reference the fixed block file formats from cobol programs
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
For rewrite, why is it mandatory that file needs to be opened?
) how do u code after getting data?
What is the problem of ordered sequential files access?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
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
what is difference between cobol and cobol/400