User's Manual Part 3

PERFORMING DOWNLOADS
Omni 3600 Download Differences
O
MNI 3600 REFERENCE MANUAL 67
In the following example, GID1 is selected as the target group for the download.
The download list loads FOO.OUT into Group 1 RAM, GOO.OUT into GID2, and
the shared library, COMN.LIB, into GID15. When the terminal restarts after the
download, the file authentication module is invoked for all three files, based on the
certificate data that authorizes them to be stored in their respective file groups.
If FOO.OUT is authenticated, the GID1 application, FOO.OUT, executes, as
specified by the *GO variable, when the terminal restarts following successful file
authentication. The function library stored in GID15 can be shared by both
applications, as both Group 1 and Group 2 applications can access Group 15:
FOO.OUT
FOO.P7S
*GO=FOO.OUT
SETGROUP.2
GOO.OUT
GOO.P7S
SETGROUP.15
COMN.LIB
COMN.P7S
Using DDL.EXE to Automatically Redirect Files
The version of DDL.EXE included in the Omni 3600 SDK allows you to change the
default drive and file group for a direct download by preceding the filename(s) on
the DDL command line with a special filename. The syntax is as follows:
SETDRIVE.<drive letter>
where, drive letter is I: (RAM, default) or F: (flash), and/or
SETGROUP.<group number>
where, group number is 1–15.
For example, the following command-line entry:
DDL SETDRIVE.F cardco.lib SETDRIVE.I SETGROUP.15 card.dat
downloads the executable file cardco.lib into the flash of the selected target
group and the data file card.dat into Group 15 RAM. (Because drive or group
settings apply to all files that follow in the list, it is necessary to use SETDRIVE.x
to reset the drive from F: back to I:.)
If you are using this DDL.EXE method, zero-length SETDRIVE.x and
SETGROUP.n files do not need to exist as files on the download computer.
NOTE
You can only use zero-length SETGROUP.x files for batch application downloads,
either direct or telephone, and only using the Download Manager or ZonTalk 2000
download tools (not DDL.EXE). You cannot use this special file convention for
operating system downloads or back-to-back application downloads.