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 are ISOLATION LEVELS? Where do we need to specify them in compiling JCL (Exactly which statement and what is syntax for it)?
What is Control Break processing ?
01 a pic x(6) value is abcdef 01 b pic x(3) move a to b wht will be the value in b ?
Can a Search can be done on a table with or without Index?
can we write paragraph in area B .....
I have one column say 'X' defined as VARCHAR Can anyone tell me What are the different ways to update this column thru COBOL-DB2 program?
can we redefine 77 level item is it possible
can we use full outer join with cursors declared in cobol program?
can any one help -s806
how to transfer the file from pc to mainframe??
What will happen if a variable is declared as below.. Explain with an example? Working storage section:- 01 WS-VARX PIC X(9) VALUE SPACES. 01 WS-VARN REDEFINES WS-VARX PIC 9(9).
Hi, My interviewer ask A calls B and C calls B, a and b are static c and b are dynamic.what happens if they compile and execute at same time.