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
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
Explain the configuration section of a cobol program with examples of syntax.
What is rmode(any) ?
What is the local-storage section?
What is static and dynamic call in cobol?
How many sections are there in data division in COBOL?
how do you reference the ksds vsam file formats from cobol programs
how do you reference the variable unblock file formats from cobol programs
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
What is the usage of comp fields in cobol?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
Define cobol?
What are the pertinent COBOL
Can we change the password using ALTER? anyone tried and changed?
How do you differentiate between cobol and cobol-ii?