The Natural statement
DOWNLOAD PC FILE with the
COMMAND clause can be used to send Entire Connection commands from
Natural to the PC. See the Natural documentation for detailed information on
This document covers the following topics:
See the section Commands for descriptions of all Entire Connection commands.
Asynchronous processing is started when you issue the
DOWNLOAD PC FILE statement as follows:
DOWNLOAD PC FILE work-file-number COMMAND command-name
where command-name can be any command which can also be entered in the command line of Entire Connection.
Processing on the host continues when the command has been recognized as being valid and when it has been started.
This feature is available starting with Natural Version 4.1 for Mainframes and Natural Version 6.1 for UNIX.
Synchronous processing is started when you issue the
DOWNLOAD PC FILE statement with the
DOWNLOAD PC FILE work-file-number COMMAND command-name SYNC
Processing on the host is not continued until the command has been completely executed on the PC.
DOWNLOAD PC FILE statement is used to
execute a procedure file in synchronous mode, the following commands - when
defined in the procedure file - cannot be executed since they require
communication with the host:
SET (with the parameters listed
TOGGLE (with the parameters
The following parameters of the commands
TOGGLE cannot be
used in synchronous mode:
In addition, commands which use
*SCREEN cannot be
used in synchronous mode.
An error message occurs when one of the above commands or parameters is detected.
During the execution of a command or procedure file, the
SYNC option can only be used in conjunction with the command
SET PCFILE. See
File Name Using the SET Command.