Professional Documents
Culture Documents
C H A P T E R 22
Common parameters
The following parameters are available for most commands, where indicated.
Include this
To parameter Abbreviation
Substitution variables
The following attributes of the queue entry currently being processed are available
to the server as substitution variables.
%%
Text defined by the user, as specified by the -ALIAS option. If the alias is a file,
value is the file name (not including the path).
%ALIAS_PATH
Text defined by the user, as specified by the -ALIAS option. If the alias is a file,
the value is the file’s full path.
%ATTACHMENTS
The number of attempts that have been made to process the entry.
%BROWSE_PATH
The value of the parameter called text from current server’s configuration file,
config.tab. The name of the current server is given by the %SERVER variable.
See also ‘Configuration files with multiple parameters with the same name’
below.
%CHAIN
The number of another entry, which must be processed before this entry.
%CHARS
For a master entry: How many of its child entries have finished processing.
For a master entry: How many of its child entries have failed.
%CHILDREN_OKAY
For a master entry: How many of its child entries have completed.
%CHILDREN_WAIT
For a master entry: How many of its child entries are waiting to be processed.
%DATE(date_format)
The current date: see ‘Date and time formats’ on page 610 and ‘Date and time
arithmetic’ on page 611.
%DATE_CREATED(date_format)
The date and time when the entry was added to the pending queue: see ‘Date
and time formats’ on page 610 and ‘Date and time arithmetic’ on page 611.
%DESTINATION
%EXIT
(Used only with the dispatcher server.) The exit status of the most recent
COMMAND action.
%FIRST_DATE(date_format)
The data and time of the first attempt to process this entry: see ‘Date and time
formats’ on page 610 and ‘Date and time arithmetic’ on page 611.
%FONT
For entries that have been transferred from another instance: the entry’s
number in the original instance. The number has zeroes in front of it to make it
7 digits long (for example: 0004321).
%FULL_UID
The entry’s number. The number has zeroes in front of it to make it 7 digits
long (for example: 0004321).
%HOPPER
The destination of the job: the name of the computer that the instance is on,
and the name of the instance (for example, myhost:Print1).
To get only the host name, use %HOST_NAME(HOST).
To get only the instance name, use %HOST_NAME(INST) or
%HOST_NAME(INSTANCE).
%INSTANCE
The name of the computer that the current instance is on, and the name of the
instance (for example, myhost:Print1).
To get only the host name, use %INSTANCE(HOST).
To get only the instance name, use %INSTANCE(INST) or
%INSTANCE(INSTANCE).
%LATEST_DATE(date_format)
The date and time of the most recent attempt to process this entry: see ‘Date
and time formats’ on page 610 and ‘Date and time arithmetic’ on page 611.
%LINES
%MEDIUM
The data and time of the next attempt to process this entry: see ‘Date and time
formats’ on page 610 and ‘Date and time arithmetic’ on page 611.
%NL
The number of pages in the source document (based on one of: %LINES /
%PAGE_LEN, a count of formfeeds, or analysis of the PCL/PostScript).
%PAGES_PRINT
%PAPER
See also ‘Configuring the connection to the remote hosts’ on page 114.
%PARAM2
The host that a printer is on. This substitution variable is used only within a
printer’s configuration table.
%PRIORITY
More information about the entry: either the name of a file containing the
information, or the information itself.
%REMFILE(number)
The minimum number of days that the entry is to be retained in the completed
queue.
%SEC_GROUP
%SERVER_INFO
The name of the computer and instance on which the entry originated (for
example, myhost:Print1).
To get only the host name, use %SOURCE_HOST(HOST).
To get only the instance name, use %SOURCE_HOST(INST) or
%SOURCE_HOST(INSTANCE).
%STATUS
The current time: see ‘Date and time formats’ on page 610 and ‘Date and time
arithmetic’ on page 611.
%TO_PAGE
The number of the last page of the source document to be sent to the
destination.
%UID
Replace:
■
name with the name of the variable.
■
file with the full path and name of the variables file.
The value of the parameter called text in the current entry’s requirements file
(xnnnnnnn.req). See also ‘Configuration files with multiple parameters with
the same name’ below.
%XSTAT(text)
The value of the parameter called text in the current server’s xstatus.tab
file. See also ‘Configuration files with multiple parameters with the same name’
below.
Code Value
Code Value
Examples
For an event at 4:27 in the afternoon of 17th March 2012, some possible formats
are:
DD/MM/YY 17/03/12
MM/DD/YEAR 03/17/2012
DD MONTH YEAR 17 March 2012 (substitution variables only)
DAY DDMONYY Fri 17Mar12
HH:MI 16:27
HX:MI AP 04:27 PM (substitution variables only)
Examples
If it is currently 4:27 in the afternoon of 17th March 2012, some possible formats
are:
%DATE+1d 18 Mar 12
%DATE+2m(MM/DD/YEAR) 05/17/2012
%DATE+3y(DD MONTH YEAR) 17 March 2015
%DATE-1d(DAY DDMONYY) Thu 16Mar12
%TIME+5h 21:27:00
%TIME-300s(HX:MI AP) 04:22 PM
User variables
uqvar: Maintain Columbus OM variables
The uqvar command:
■ displays the value of Columbus OM variables
■
changes the value of Columbus OM variables
■ creates variable files.
The uqvar command can be used with both the standard Columbus OM variables
file (%UNIQDIR%\config\uqvar.tab), and local variables files for use with the
dispatcher server.
Syntax
uqvar [-g|-l|-s|-i] [-f [filename]] [-qn instance] [nb]
Parameters