Hi
I am tasked with converting some Assembler programs to Enterprise COBOL. One such Assembler program has a table with program names,
and the the program does a LOAD with ERRRET for each program in the table and handles the 'not found' error. The table will be used by
another program.
I have written a replacement COBOL program SPSINIT, which performs the load of each program in the table using the following ENTRY statement
IF WS-VCON-TAB-PGM-ADDR(WS-VCON-TAB-NDX) EQUAL NULL
SET WS-VCON-TAB-PGM-ADDR(WS-VCON-TAB-NDX) TO ENTRY
WS-VCON-TAB-PGM-ID(WS-VCON-TAB-NDX)
However if the ENTRY program is not found, the SPSINIT program abends with S806.
I need to be able to trap this error in the SPSINIT program and perform some other action.
Thanks
Ron
------------------------------
Ron Mascarenhas
------------------------------