The -f option lets you set the type of source data and the type of mode. Possible modes are: express load, deluxe load, deluxe load without replication, or unload.
Setting the Run Mode: .-l--+---+-. | '-c-' | |-- -f--+---+--+----------+--+---+------------------------------| +-d-+ '-u--------' +-n-+ +-p-+ +-q-+ '-a-' +-v-+ +-M-+ '-N-'
Element | Purpose | Key Considerations |
---|---|---|
M | Displays the program module or line number in messages. | Restrictions: This flag
is available only from the command line.
Additional Information: This flag is used for debugging. |
N | Allows deluxe mode load without replication | Restrictions: This flag works only if the -j job argument, which specifies a session table job to run, is left blank. |
a | Treats data source as a device-array. | Additional Information: The definition of the device array is extracted from the onpload database. To use ipload, see Device Arrays. |
c | Sets mode to deluxe mode. | Additional Information: If this flag is not set, onpload uses express mode. To use ipload, see Modes. |
d | Treats data source as a device (tape or file). | Additional Information: To set this option using ipload, see Device Arrays. |
l | Loads data into database. | Additional Information: This is the default flag, as opposed to u, which unloads data from the database. To use ipload, see Components of the Load Job. |
n | Specifies that onpload does not need to perform data conversion. |
Restrictions: The target table for the load must have the same schema as the table from which the data is extracted. Additional Information: If onpload generated the input data file as an Informix format data file, you do not need to perform data conversion when you reload data. To use ipload, see Using the No Conversion Job Option. |
p | Treats data source as a program to execute and reads interface to the program by way of a pipe (on UNIX only). | Additional Information: To use ipload, see Device Arrays. |
q | Tells onpload not to generate status messages while a job is running. | None. |
u | Unloads data from database. | Additional Information: If this flag is not set, onpload loads data into the database. To use ipload, see Components of the Unload Job. |
v | Tells onpload not to generate violations records. | Restrictions: This flag is available only from the command line, and is not supported with deluxe mode load. |