Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

GO-TO - Branch to specified mask

&pagelevel(5)&pagelevel

The //GO-TO statement is available only in menu mode.

This statement allows the user to deviate from the path set out by MSGMAKER (mask overview) and call any mask directly.
The //GO-TO statement can be entered in the command area of any mask and is initiated by pressing DUE. GO-TO is executed immediately, aborting the function of the current screen mask. Any data entered in this mask is lost.

Exception: MENU Mask

If a message file is entered in the MENU mask and not confirmed with DUE, the message file is still opened first and then the routine branches to the mask specified by GO-TO.

Format (operands in menu mode)

GO-TO / GOTO                                                                                                                                             

PANEL-ID = *MENU / *MSG-FILE-ATTRIBUTES / *ADD-MSG / *MODIFY-MSG / *DELETE-MSG /

*COPY / *MOVE / *SHOW / *ADD-DOCUMENTATION / *MODIFY-DOCUMENTATION /

*DELETE-DOCUMENTATION

Operands

PANEL-ID = *MENU / *MSG-FILE-ATTRIBUTES / *ADD-MSG / MODIFY-MSG / *DELETE-MSG / *COPY /
*MOVE / *SHOW / *ADD-DOCUMENTATION /*MODIFY-DOCUMENTATION / *DELETE-DOCUMENTATION

Name of the mask to which the user wishes to branch. The name can be abbreviated in accordance with SDF conventions.

Restriction

The //GO-TO statement cannot be used to branch to the MSG-TEXT,
MEANING/RESPONSE or INSERT-ATTRIBUTES mask.

Example

GO-TO add-msg corresponds to GO-TO a-m