That, Victor, could still require "IS RECURSIVE" on the PROGRAM-ID to avoid the abend with the IGZ0064S message (because the "handler" is invoked from the same program), depending the linkedit/binder RENT/REUS values. So it doesn't make it any simpler at the level of the mechanics.
Also, when entered as a "handler", you have no choice about what appears as "parameters", so arranging something distinguishable may be an issue. Generally, a program which previously used ENTRY statements would be rewritten with "control data" in the USING if it shared WORKING-STORAGE, and as two programs if there was no sharing of WORKING-STORAGE (why did it use an ENTRY in the first place?). ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
