ewilts%Ins.MRC.AdhocNet.CA@UNCAEDU.BITNET (Ed Wilts) (06/16/88)
To solve your problem, you need to do the following: CALL LIB$ESTABLISH (LIB$SIG_TO_RET) ! Establish condition handler STATUS = CLI$DCL_PARSE (.......) ! Do your parsing CALL LIB$REVERT ! Revert to normal What this does is establish a condition handler that will trap all attempts to signal errors and return the status code to the calling routine. You can then safely have CLI$DCL_PARSE generate whatever errors it wants and you can handle them appropriately. Don't forget to revert the condition handler so that other failures dump normally. Works for me.... .../Ed