CL Command Reference - STRS36

CL Command List > STRS36 Reference

Description:

The Start System/36 (STRS36) command starts a System/36 environment session (if one is not active already). Even if the System/36 environment is active, this command allows the user to show a menu or run a program or procedure before showing a menu.

When the command ends, the System/36 environment returns to the active or inactive state from which this command is issued.

Restrictions: This command cannot be used if a System/36 procedure is already in process. This command cannot be placed in a procedure or in a program that is started by a procedure.


Examples:

STRS36 MENU(USER) CURLIB(MYLIB) PRC(INITPROC)

This command starts a System/36 environment session. This command:
. Displays the USER menu
. Changes the current library to MYLIB
. Runs procedure INITPROC before showing the USER menu