I am getting S00F abend when i try to compare two variable
of different pic class,one variable is of 9(09) and another
is S9(09) comp-3.
First i moved the data from S9(09) comp-3 to 9(09), but no
luck. So i tried to move the data from S9(09) comp-3 to X
(09) and move to 9(09). I am getting same error message,
Please help me to find solution for this ptoblem.
ERROR MESSAGE - "The system or user abend S00F R=NULL
was issued."
Answer / eugene
You can't use move when doing math operations with
different data types / presentations.
Try compute statement to convert one of the numbers to the
same presentation as another one and then compare.
Like, A - pic
B - comp-3
Define W as comp-3
Compute W = A
compare W and B
| Is This Answer Correct ? | 0 Yes | 0 No |
Please let me know how the Eject verb works for page break.. I want to know the code, how it is used.
We are using the searching a table which is indexed, once the key is found, how can we get the occurance at which the key was found.
What is the difference between working storage copybook and linkage section copybook?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
What are options have been removed in COBOL 11?
How do you reference the following file formats from cobol programs?
Write the code implementing the perform … varying.
If a sub program is called from mainprogram.I have opened cursor in main program and Fetch the result in subprogram ,Is it possible ?If yes please tell me the reason.
What is the difference between SEARCH and SEARCH ALL?
Explain about different table spaces.
What is the Purpose of Pointer in the string?
select TURE Statement(s) aboUt eject statemenet in cobol? a)The eject statememnt must be the only statement on the line b.It causes the program to edit abnormally c. eject statement can be written in either area A or area B d. specifies that the next source statement is to be printed at Top of the next page e.The EJECTstatement has no effect on the compilation of the source program itself