The POSIX command bs2cmd executes a BS2000 command.
Syntax
bs2cmd [ -h] cmd |
Displays the command syntax and explains the options.
BS2000 command: Special characters in the BS2000 command (e.g. $, *) must be escaped by a backslash ('\'). Alternatively, the entire cmd string must be enclosed in quotes. The command name, operands and operand values are converted to uppercase letters. For commands in the ISP format, only the command name is converted to uppercase. |
Hint
The bs2cmd command is also supported with rlogin and telnet accesses to POSIX. SYSFILE environment: BS2000 commands that need the SYSFILE environment for execution can be currently executed only in the base shell, since the SYSFILE environment is not fully initialized in a subshell. Unloading the shell: When bs2cmd is called from the base shell, the unloading of the shell is prevented by specifying a corresponding BS2000 command (e.g. START-PROGRAM or a user-defined command whose CALL procedure terminates the running program). bs2cmd issues a message (SDP0250), and the BS2000 command is not executed. The unloading of the base shell cannot be currently prevented on calling bs2cmd from a subshell. |
Example
The following command shows the catalog entries of the SYSRME files on the BS2000 ID $QM212:
|
See also
bs2cp, bs2file |