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 / dev
ABEND=S000 U4038 REASON=00000001. I have tested the program.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
Write down the divisions of cobol program?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
Difference between array and sub-script ?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
What are the various section in data division and briefly explain them.
Write the code implementing the perform … varying.
Name the sections present in data division.
What is the difference between comp and comp-3?
Which mode is used to operate the sequential file?
HOw can I get the negative sign while deduct high value from low value
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
Are you comfortable in cobol or jcl?
Have you used comp and comp-3 in your project? And how?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there