I have field on map and on some conditional i need to call HELP1 and on another conditional HELP2 helproutine. Is this possible? I’ve tried call from assigned to field MAINHELP call another helproutine by INPUT #F (HE=‘HELP1’) but it shows input… Any idea?
I’m a bit rusty on HELPROUTINES, and not currently on a mainframe, but I saw an old tip about using a variable name to dynamically assign the desired HELPROUTINE name.
I think it would work like this, but no guarantees.
1 #HELPRTN (A8 )
IF condition 1 is true
MOVE ‘HELP1’ TO #HELPRTN
ELSE
MOVE ‘HELP2’ TO #HELPRTN
END-IF
INPUT #FLD1 (HE=#HELPRTN) /* No quotes means its a variable name, not a HELPROUTINE name.
Hope that helps,
George
Finally i converted my helproutines to subroutines