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


Please Help Members By Posting Answers For Below Questions

How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

5088


How you can read the file from bottom?

880


Give some examples of command terminators?

951


input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?

2095


What is a SSRANGE and NOSSRANGE?

1125


What is cobol?

952


What are the different data types in cobol?

1055


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1756


What is Pic 9v99 Indicates in COBOL?

939


What is the LINKAGE SECTION used in COBOL?

1212


What are the different rules to perform a Search?

821


In which area will you utilize 88 level items in cobol?

897


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

854


What are the different rules of SORT operation?

904


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

1863