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 link edit in cobol?
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
Define static linking and dynamic linking.
What is a report item?
What is a scope terminator give example?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
how do you reference the printer file formats from cobol programs
What is the difference between binary search and sequential search?
what is the difference between COBOL2 AND COBOL390?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
Describe the cobol database components?
What is the problem of ordered sequential files access?
What is the local-storage section?