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 |
what is rediffine clause?in what situation it can use?give me real time example?
How can you add a particular field in copybook?
what is lrec=f,what is difference between f,fb,v,vb?what is default value?how do we came to know that records are in f,fb,v,vb?
Can printer files (having 133 characters) be of variable length?
What is the point of the REPLACING option of a copy statement?
How is sign stored in Packed Decimal fields and Zoned Decimal fields?
In a COBOL II PERFORM statement, when is the conditional tested, before or after the perform execution?
how do you reference the esds vsam file formats from cobol programs
What is the difference between static call & Dynamic call?
Can we use goto statement in inline_perform ?
What is SET TO TRUE all about, anyway?
Explain about level numbers?