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
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
what is the use of outrecord?
Explain what you understand by passing by value.
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
how can i see junk values in dclgen or in hostvariable of comp ?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
In COBOL programming, what is PERFORM? What is VARYING?
What is the difference between structured cobol programming and object alternativelyiented cobol?
What is link edit in cobol?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
Explain about different table spaces.
Differentiate between structured cobol programming and object-oriented cobol programming.