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
What are the pertinent COBOL commands?
Write down the divisions of cobol program?
What is the compute verb? How is it used?
Are you comfortable in cobol or jcl?
When is inspect verb is used in cobol?
Write some characteristics of cobol as means of business language.
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
how do you reference the rrds file formats from cobol programs
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
What is a SSRANGE and NOSSRANGE?
What is difference between static and dynamic call in cobol?
For rewrite, why is it mandatory that file needs to be opened?