GI11-9492-01

x2afpd daemon command syntax

You specify the Infoprint XT x2afpd daemon command on the required start-command attribute of the transform entry. Include the complete path to the command. The values of the options follow standard shell rules:

start-command = "daemon [ option ]... "
The name of the transform daemon and options. Enclose the value in single or double quotation marks if you specify an option. This attribute is required.
daemon
The name of the transform daemon, for example, x2afpd. If the transform daemon is not in a directory identified in the PATH environment variable in the aopstart EXEC, specify the full directory path name of the daemon.
option
One or more options supported by the transform daemon.
Therefore, depending on the strings specified in the individual parts, you might need to use quotation marks around the four-part values for both the -D and the -L options. You can also include options that let you capture problem determination and listing information, as described in this information:
/usr/lpp/pdxt/V3R1M0/bin/x2afpd
  [-D error:Pattern:Directory:Minutes | all:Pattern:Directory:Minutes | none ] 
  [-L error:Pattern:Directory:Minutes | all:Pattern:Directory:Minutes | none ]
-D error:Pattern:Directory:Minutes | all:Pattern:Directory:Minutes | none
This option specifies how Infoprint XT processes problem determination output from the transform when you specify the -d transform directive; the transform only generates output that x2afpd can process when you specify the -d transform directive. See Transform directives and syntax. The value for the -D option has four parts, each separated by a colon. If you do not use one or more of the values, you must still include the colon for the position that you omit:
error | all | none
The first part of the value specifies whether x2afpd keeps the output, where:
error
Specifies that x2afpd keeps the output if the transform completes with a non-zero return code.
all
Specifies that x2afpd always keeps the output from the transform.
none
Specifies that x2afpd never keeps the output from the transform.
:Pattern
The second part of the value specifies one or more pattern-matching strings that limit the criteria set when you specify either error or all as the first part of the -D value. See Specifying pattern strings with x2afpd.
:Directory
The third part of the value specifies the directory where x2afpd stores the output. The default is /var/pdxt/x2afpd. The output file has a specific naming convention; see x2afpd naming conventions for output files.
:Minutes
The fourth part of the value specifies how long x2afpd stores the output. A value of 0 instructs Infoprint XT to never delete the output. The default is 60 minutes.
-L error:Pattern:Directory:Minutes | all:Pattern:Directory:Minutes | none
This option specifies how Infoprint XT handles listing output from the transform. The value for the -L option has four parts, each separated by a colon. If you do not use one or more of the values, you must still include the colon for the position that you omit:
error | all | none
The first part of the value specifies whether x2afpd keeps the listing output, where:
error
Specifies that x2afpd keeps the output if the daemon completes with a non-zero return code.
all
Specifies that x2afpd always keeps the output from the daemon.
none
Specifies that x2afpd never keeps the output from the daemon.
:Pattern
The second part of the value specifies one or more pattern-matching strings that limit the criteria set when you specify either error or all as the first part of the -L value. See Specifying pattern strings with x2afpd.
:Directory
The third part of the value specifies the directory where x2afpd stores the output. The default is /var/pdxt/x2afpd. The output file has a specific naming convention; see x2afpd naming conventions for output files.
:Minutes
The fourth part of the value specifies how long x2afpd stores the output. A value of 0 instructs Infoprint XT to never delete the output. The default is 60 minutes.