ID API
The ID API will return the current Help ID (the current major Application program running in Elliott):
MOVE "ID" TO SCREEN-PARAMETERS.
PERFORM SCREEN-ROUTINE.
MOVE SCREEN-ALPHA-FIELD TO MY-LOCAL-HELP-ID.
In certain situations, like during printing, the System Layer overrides the application Help ID temporarily and restores it when done. The ID API has been enhanced to provide the prior Application Layer Help ID instead of the current Help ID:
MOVE "ID,99" TO SCREEN-PARAMETERS.
PERFORM SCREEN-ROUTINE.
MOVE SCREEN-ALPHA-FIELD TO MY-LOCAL-HELP-ID.
Using this new option, if there is no prior Application Help ID available. It will return the current Help ID, just like the basic ID API.
JEG
NWSMSCRN