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
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
What is link edit in cobol?
Write the code implementing the perform … varying.
What is the difference between external and global variables in COBOL?
What is difference between static and dynamic call in cobol?
What is the difference between PIC 9.99 and PIC9v99?
For rewrite, why is it mandatory that file needs to be opened?
how to access the file from prodution from changeman tool and to submit a file to production
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
What is comp-1 and comp-2?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
What are the pertinent COBOL commands?
What is rmode(any) ?