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 Posted / 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 |
Post New Answer View All Answers
Differentiate between structured cobol programming and object-oriented cobol programming.
Are you comfortable in cobol or jcl?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
What type of SDLC u followed? Why?
What are the different data types in cobol?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
What is the difference between comp and comp-3?
how do you reference the rrds file formats from cobol programs
Difference between array and sub-script ?
What the difference is between continue and next sentence?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
What are the different open modes available in cobol?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
What is cobol?
Whats the difference between search & search ALL?