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 / piyush mani
i know soc7 abend should b the result but if i display var1 then program is running without any abend and output of program is absurd so i asked this question..
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
what is s000 u4087 error? please give the all error codes in cobol,jcl.
What is redefines clause in COBOL?
What is difference between static and dynamic call in cobol?
Which mode is used to operate the sequential file?
What are the access modes of START statement?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
What is the compute verb? How is it used?
How you can read the file from bottom?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
What are the rules of the move verb?
What are the different rules to perform a Search?
What is the problem of ordered sequential files access?
What is the difference between perform … with test after and perform … with test before?
What the difference is between continue and next sentence?
What are various search techniques in cobol? Explain.