I am using Micro Focus on a Win2k PC. For the life of me, I cannot figure out why these errors are coming up. Any help would be great!
1. This is in the procedure division:
The first error I get on this is "Operand should be numeric" with the cursor blinking on (X1).
What should I look for to find out why this is happening?
The second is "WHEN phrase missing from SEARCH statement". Am I missing something in the Search statement?
1. This is in the procedure division:
Code:
SET X1 TO 1
SEARCH TABLE-ENTRIES
WHEN DEPT-NUM-T (X1) = DEPT-NUM-IN
MOVE DEPT-NAME-T TO W30-DEPT-NAME-DTL-1
END-SEARCH
The first error I get on this is "Operand should be numeric" with the cursor blinking on (X1).
What should I look for to find out why this is happening?
The second is "WHEN phrase missing from SEARCH statement". Am I missing something in the Search statement?