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
What is perform what is varying?
Can a Search can be done on a table with or without Index?
How do you reference the following file formats from cobol programs?
how do you reference the rrds file formats from cobol programs
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
How many bytes S(8) comp field occupy and its maximum value?
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
Explain the configuration section of a cobol program with examples of syntax.
What are the pertinent COBOL
How do get the result of your program directly on your pc?
Define cobol?
what are decleratives in cobol?
What are the different rules for performing sort operation?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?