Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

! - Switch to BS2000 or POSIX command mode

&pagelevel(4)&pagelevel

Switching to the BS2000 command mode (BS2000-FTP)

The ! command enables you to enter BS2000 commands during an FTP session. If no operand is specified, the system switches to BS2000 command mode. You can return to FTP by issuing the BS2000 command RESUME. Alternatively, if you specify ! with a BS2000 command as the operand, you will be automatically returned to the FTP client after execution of the command.

It is not possible to switch to POSIX command mode. However, POSIX commands can be entered by switching beforehand to the POSIX directory using the "lcd %POSIX" command.

!

[<bs2000-command>]


<bs2000-command>

Any BS2000 command, except for the commands LOAD, EXEC, LOGOFF and ABEND, which may not be entered either directly or indirectly, since they would terminate FTP or the task in which FTP is running.
To avoid inconsistencies in the catalog, please make sure that you always use the FTP command file instead of the BS2000 FILE command.


Example

Issue the BS2000 command sta p from FTP:


! sta p 
NAME TSN TYPE SIZE CURR-CMD PROGRAM-NAME 
PETER 1447 3 DIALOG 87 EXECUTE :5:$TSOS.FTP 
ftp>
! 
x%BKPT AT xxxxxx 
/sta p 
NAME TSN TYPE SIZE CURR-CMD PROGRAM-NAME 
PETER 1447 3 DIALOG 87 EXECUTE :5:$TSOS.FTP
/
resume 
ftp>


Switching to POSIX command modem (POSIX-FTP)

Entering the ! command enables you to enter POSIX commands during an FTP session. If no operand is specified, the system switches to POSIX command mode and subsequently returns to FTP by issuing the POSIX command exit. If you enter ! with a POSIX command as the operand, you will automatically be returned to the FTP client after execution of the command.

!

[<POSIX-command>]


<posix-command>

Any POSIX command.