Daniel1878
Programmer
Morning,
Can someone please shed some light on why the following is not working. It may be that you can't use level 88 with inspect.
I have the following part of code in my program but fails to work.
V2.58 03 WS-BAD-NAMES PIC X(10) VALUE SPACES.
v2.58 88 WS-CUST-BAD-NAMES VALUE 'occupie' 'occupant'
'a n other' 'household'
'homeowner' 'billpayer'
'landlord'.
INSPECT WS-LAST-NAME-LOWER TALLYING WS-OCCBILL
FOR ALL WS-CUST-BAD-NAMES
Thanks
Can someone please shed some light on why the following is not working. It may be that you can't use level 88 with inspect.
I have the following part of code in my program but fails to work.
V2.58 03 WS-BAD-NAMES PIC X(10) VALUE SPACES.
v2.58 88 WS-CUST-BAD-NAMES VALUE 'occupie' 'occupant'
'a n other' 'household'
'homeowner' 'billpayer'
'landlord'.
INSPECT WS-LAST-NAME-LOWER TALLYING WS-OCCBILL
FOR ALL WS-CUST-BAD-NAMES
Thanks