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
How are the next sentence and continue different from each other?
What are the different rules of SORT operation?
Can we change the password using ALTER? anyone tried and changed?
Explain the configuration section of a cobol program with examples of syntax.
What is Pic 9v99 Indicates in COBOL?
What is amode(24)?
In which area will you utilize 88 level items in cobol?
What rules are followed by the search verb.
How to print 10 to 1 if the input have only 10 digit number?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
What is the compute verb? How is it used?
Difference between array and sub-script ?
Why did you choose to work with ibm mainframe cobol programming?
how do you reference the variable block file formats from cobol programs