You are here: Development Standards > Routines > General Routines > GENGETOP.PUB

# GENGETOP.PUB

GENGETOP.PUB is a public program that returns the options string for the application you specify.

`0030 ENTER APP$,MSG$,OPT$`

Variable | Description
APP$ | The 2-character application ID whose options you want returned
MSG$ | A message returned by GENGETOP.PUB if the options table or tables file is missing for the requested application
OPT$ | The application’s option string

Exit Points | Explanation
EXIT | GENGETOP.PUB does not normally return an error.
EXIT ERR | GENGETOP.PUB returns an error if one occurs.