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


Please Help Members By Posting Answers For Below Questions

what is s000 u4087 error? please give the all error codes in cobol,jcl.

17054


What is redefines clause in COBOL?

851


What is difference between static and dynamic call in cobol?

781


Which mode is used to operate the sequential file?

671


What are the access modes of START statement?

719






INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

427


What is the compute verb? How is it used?

666


How you can read the file from bottom?

660


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.

934


What are the rules of the move verb?

710


What are the different rules to perform a Search?

619


What is the problem of ordered sequential files access?

704


What is the difference between perform … with test after and perform … with test before?

885


What the difference is between continue and next sentence?

665


What are various search techniques in cobol? Explain.

650