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
Are you comfortable in cobol or jcl?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
how do you reference the ksds vsam file formats from cobol programs
Name the sections present in data division.
i want a program using by if, evaluate , string, unstring, perform, occurs?
What is static and dynamic call in cobol?
Difference between cobol and cobol-ii?
What is the usage of comp fields in cobol?
) How do u handle errors in BMS macro
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
When is inspect verb is used in cobol?
how to access the file from prodution from changeman tool and to submit a file to production
What are the different data types in cobol?
Explain about different table spaces.
What is the difference between goback, stop run and exit program in cobol?