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 COMP-1? COMP-2?
Move Zeroes to I move 5 to j perform para1 varying I from 10 by -2 until I = 0 display j. para1. Add 5 to j. What’ll be the value after execution of display stmt. A) 35 B) 40 C) 30 D) 25 please explain how?
if we have a 10 steps how to override the 4th step in jcl?
for an INITIALIZE and what keyword allows for an override of the default.
What are subroutines ? and how do we pass data to the sub routines?
can I copy book which contain db2 statment in procedure divion?
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
how to transfer the file from pc to mainframe??
How to find whether a Flat file is empty or not without Reading a file in COBOL Program. (not using JCL)
Whtz the specialty of 77 level number ?
What is SET TO TRUE all about, anyway?
What is difference between static and dynamic call in cobol?