Interpret the onpload -d and -f options together

The argument of the -d option gives the name of the data source. You can specify the device type of the data source with flags of the -f option, as follows:
  • If the command line does not specify a device type, onpload treats the data source as the path name of a cooked file on disk. Because no device type is specified, the following onpload command treats filename as the name of a file:
    onpload -m mapname -d filename
  • The -fd option in the following command causes onpload to treat /dev/rmt/rst11b as the name of a tape device:
    onpload -m mapname -d /dev/rmt/rst11b -fd

    The tape device name must be Berkeley Software Distribution (BSD) compliant.

  • The -fa option in the following command causes onpload to treat tapearray3 as the name of a device array. The device array is described in the onpload database.
    onpload -m mapname -d tapearray3 -fa
  • In an UNIX environment, the -fp option in the following command causes onpload to treat apipename as the name of a pipe. When onpload starts executing, it causes the pipe process to start executing.
    onpload -m mapname -d apipename -fp 
The same semantics apply for an unload job. If you use the u flag of the -f option to indicate an unload job, the interpretation of the data-source name is as described previously. For example, the following command specifies that onpload should unload data to the device /dev/rmt/rst11:
onpload -m mapname -d /dev/rmt/rst11 -fdu

Copyright© 2018 HCL Technologies Limited