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 / mdvasanth86
SOC 7 only when you do some arithmetic operation on it...
Displaying it will probably only give you unpredictable results.
HTH
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How do get the result of your program directly on your pc?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
Write down the divisions of cobol program?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
how do you reference the ksds vsam file formats from cobol programs
What are the pertinent COBOL commands?
What is the difference between structured cobol programming and object alternativelyiented cobol?
What is the difference between binary search and sequential search?
What is the difference between Global and External Variables?
Define cobol?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
i want a program using by if, evaluate , string, unstring, perform, occurs?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
What is the default value(s) for an initialize and what keyword allows for an override of the default?