Type a list.
The TYPE command will type out the various list sections that can be associated with a job definition.
Windows/OpenVMS Format:
type/job job_name [/qualifiers]
UNIX/Linux Format:
more job_name [-qualifiers]
/[no]log or -[no]log
/[no]confirm or -[no]confirm
/node or -node = target_node
/commands or -commands (default)
/prerequisites or -prerequisites
/initiates or -initiates
/distribution or -distribution
/notices or -notices
/holds_up or -holds_up
/activated_by or -activated_by
/resources or -resources [/check, /resources, /full]
/endactions or -endactions
/all or -all
/symbol or symbol [=prefix_string,format](default = sd,sp,si,sn,st,sh,sa)
Windows:
Schedule> type/job \pclark\incremental /prerequisites
\pclark\inca
\pclark\incb
OpenVMS:
Schedule> type /resources [seven]wait
[seven]wait.resources
If $time .gt. $p2 then suppress_run ! Abort run if time elaspe
If file_not_found $p1 then wait ! Wait for a file
UNIX/Linux:
Schedule> more -commands /cache_expect_examples/expect_ftp
/expect/expect_ftp.commands
# Open an ftp session to a remote server, and wait for a username prompt.
spawn ftp $remote_server
expect "username:"
# Send the username, and then wait for a password prompt.
send "$my_user_id\r"
expect "password:"
/activated_by or -activated_by
The "ACTIVATED_BY list" is the list of jobs that activate the job being edited.
/all or -all
The ALL qualifier selects that all the lists are to be type out. That is the command, prerequisite, initiates, distribution, notices, holds_up and activated_by lists.
/batchlog or -batchlog
The batchlog qualifier types out the log file for the job. The location of the log file is designated by the log file location Use in conjunction with /tail=n to set the number of lines from the bottom of the log file to display, /head=n to set the number of lines from the top of the log file to display /maximum=n to set the maximum size of the log. The /file=n qualifier will designate the version of the log to be viewed, 0 equalling the curreent version and 1...n equalling each version previous.
/commands or -commands
The COMMANDS qualifier is the list of commands that will be submitted in the form of a command file.
/[no]confirm or -[no]confirm
CONFIRM requests that the user be prompted prior to any operation to verify that the selected entry is the correct one.
/hostname or -node =hostname
The qualifier specifies what node (either local or remote) you want the operation performed on.
/distribution or -distribution
The "DISTRIBUTION list" is a list of PRINT commands to be issued. The idea is to provide a central mechanism for maintaining the how many, where to, and what printer information in a common location separate from the job command stream.
/endactions or -endactions
The ENDACTIONS listing is a list of resource adjustments that are to be run upon completion of the job.
/holds_up or -holds_up
The "HOLDS_UP list" is a list of jobs that are held up by the job being edited.
/initiates or -initiates
The "INITIATES list" is the list of other jobs to start up when this one completes successfully.
/[no]log or -[no]log
The LOG qualifier causes each completed operation to issue a note to the user.
/[no]check or -[no]check
The NOCHECK qualifier disables the CHECK whether or not a provided prerequisite or initiate list makes references to any non-existent jobs.
/notices or -notices
The "NOTICES list" is a free format text entry that is used by the NOTIFICATION procedure to augment the various messages that it sends.
/prerequisites or -prerequisites
The "PREREQUISITES list" is the list of other jobs that must be successfully completed before this one is started.
/resources or -resources
Edits a list of generalized resources. The resource list is where the bulk of advanced job programming occurs. Here IF-THEN or SET statements are processed that can check or alter the value of a variable, supress a job run or cause a wait to occur.
The CHECK qualifier performs a syntax check on the resource list to ensure the correct IF-THEN and set statements can take effect. The EXPANDED qualifier used in conjunction with CHECK will display expanded information about the current status of the resource list. The FULL qualifier will give a complete listing of resource information.
/runtimes or -runtimes
The RUNTIMES qualifier types out future run times for the job. The default number of run times is 5. To modify the number of run times displayed use the /repeat=n qualifier.
/symbol or -symbol[=prefix_string]
The SYMBOL command requests that all job information be output to environmental variables. The environmental variable is constructed by prefixing the field name with the provided string. If none is provided a default value of SC is used. To display the environmental variables output from the /symbol qualifier use:
set prefix_string
/tail or -tail
The tail qualifier determines how many lines of the bottom of the log file will be generated using the /batchlog qualifier. The default is 40. It can also be used with /head=n and /maximum=n .