Run a job

The following diagram illustrates the syntax to run a job and display the job progress or send it to a log file.

Figure 1. Running a job

1  onpladm run job  jobname?  -p  projectname  -f
1 l
1 u
1+ 
1  -l  logfilename
1  -S  servername
1  -Z
Element Purpose Key considerations
-f Flags to specify the type of job The default is load job.
l Specifies a load job None
u Specifies an unload job None
jobname Names a load or unload job from the onpload database None
-l logname Sets the path for a log file where job progress is recorded None
-p projectname Identifies the project where the format and map are stored None
-S servername Sets the onpload database server The default is the value of the INFORMIXSERVER environment variable.
-Z Enables writing to or reading from a tape until the end of the device. The onpladm utility prompts you for additional tapes until the load or unload is completed. If you use this feature, you must use it for both load and unload jobs. Otherwise, the unloaded data might not match the loaded data.

If the -Z option is not set, the onpladm uses the tape size specified with the -M option of the create job command. If the -Z option is set, it supersedes the tape size information provided.