Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

Macro Command Language Processor macros

&pagelevel(3)&pagelevel

The Macro Command Language Processor (MCLP) allows (system) commands to be entered without exiting the program mode. The macro CMD is used to invoke the MCLP (with SVC 5816) and to communicate the command name and operands. The MCLP carries out a syntax check before branching to the actual command processing routine itself. After the command has been executed, the program is resumed.

Some of the commands which can be invoked will terminate the calling program (see table 12 (CMD - Call command)). The calling program is also terminated if (user-specific) commands defined using SDF-A and implemented by command procedures are called.

In addition to SDF commands, ISP commands may also be invoked. Input errors in SDF command names may be corrected in interactive mode.

Some of the BS2000 commands contained in the system syntax file of BS2000 cannot be called via the CMD macro, see table 11 (CMD - Call command).

Some of the commands have own macros. The following table compares these macros with the corresponding commands (macros described in the appendix are not included):

Macro

Command

Function

CDUMP2

CREATE-DUMP

Generate dump

CHKPRV

SHOW-PRIVILEGE

Query own job privileges

ENTER

ENTER-JOB

Submit a job

LGOFF

EXIT-JOB

Terminate job

MSGSHOW

SHOW-MSG-FILE-ASSIGNMENT

Output information on system or taskspecific message files

MSGSINIT

MODIFY-MSG-FILE-ASSIGNMENT

Lock message file or add message file to message system

MSGSMOD

MODIFY-MSG-FILE-ASSIGNMENT

Lock message file or add message file to message system

NKDINF

SHOW-DEVICE-DEPOT
SHOW-DEVICE-CONFIGURATION
SHOW-DEVICE-STATUS
SHOW-DISK-DEFAULTS
SHOW-DISK-STATUS
SHOW-MOUNT-PARAMETERS
SHOW-RESOURCE-ALLOCATION
SHOW-RESOURCE-REQUEST
SHOW-TAPE-STATUS

Output information on the allocation and availability status of configuration and mounted volumes

NSIINF

SHOW-SYSTEM-INFORMATION

Output system information

NSIOPT

SHOW-SYSTEM-PARAMETERS

Output system parameters

RDUID

SHOW-JOB-STATUS

Read user ID

SINF

SHOW-SYSTEM-INFORMATION
SHOW-SYSTEM-PARAMETERS

Output system information and system parameters

SRMUINF

SHOW-USER-ATTRIBUTES

Output information from user catalog

STAMCE

SHOW-MASTER-CATALOG-ENTRY

Output MRSCAT entries

SHOW-PUBSET-PARAMETERS

Output pubset information

SWITCH

MODIFY-JOB-SWITCHES

Set job switches

MODIFY-USER-SWITCHES

Set user switches

SHOW-JOB-SWITCHES

Query job switches

SHOW-USER-SWITCHES

Query user switches

SYSFL

ASSIGN-SYSDTA
ASSIGN-SYSLST
ASSIGN-SYSOUT
REMOVE-TASKLIB
SET-TASKLIB

Assign system files

SYSTA

SHOW-SYSTEM-FILE-ASSIGNMENTS

Output system file assignments

TCHNG

MODIFY-TERMINAL-OPTIONS

Modify terminal attributes