os_command
Optional. Follow the exclamation point with a valid operating
command to execute a single command.
If omitted, ODXSQL will switch to the operating system prompt
where you can execute a series of operating system commands.
Enter 'exit' at the operating system prompt to return to ODXSQL.
The operating system prompt is governed by the SHELL environment
variable. This defaults to DOS on a Windows machine, /bin/sh
on Unix, ci.pub.sys on MPE/XL, and lib$spawn on VMS.
The ls and pwd commands executed in OdxSQL:
> !ls
ord.env
ord.in
ord.src
3 files in 1 directory 3722 bytes
> !pwd
/disc/orders
The ls and pwd commands executed from the operating system
prompt reached through the ! command in OdxSQL:
> !
/disc/orders$ ls
ord.env ord.in ord.src
/disc/orders$ pwd
/disc/orders
/disc/orders$ exit
>
top
|