Editing the aopstart EXEC

The aopstart command is a REXX EXEC that sets environment variables that Infoprint Server daemons use. It also starts the Printer Inventory daemon and any other daemons that are specified in the start-daemons attribute in the Infoprint Server configuration file (aopd.conf).

Note: Start of changeWhen dynamic configuration is enabled and the Operating mode field is set to z/OS 2.2 on the System Configuration panel, aopstart EXEC is not used. Instead, you can specify environment variables in an envar file for the aopdemon command. See Creating an environment variables file (envar).End of change

The aopstart EXEC provided with Infoprint Server is suitable for most installations. However, you must edit the aopstart EXEC if you need to specify certain environment variables. For security reasons, Infoprint Server uses some environment variables only if they are set in the aopstart EXEC. Infoprint Server does not use the same variables set in the /etc/profile file. See Environment variables for a summary of the environment variables that you must set in the aopstart EXEC.

In the aopstart EXEC, you can:
  • Set a new environment variable that uses this format:
    n=n+1;env.n=’environment_variable=value
    Specify all environment variables before this statement in the EXEC:
    env.0=n
    Example:
    n=n+1;env.n='AOPTRACEDIR=/mydirectory/trace'
    env.0=n
  • Change the value of any environment variable that is set in the EXEC.
  • Change the name of the directory where Infoprint Server files are installed by editing this statement:
    install_path=’/usr/lpp/Printsrv’
Rule: The owner of the aopstart file must be UID 0. Also, only users with a UID of 0 can be authorized to write the file.