Using the mvsprsd command to start the daemon

To start the mvsprsd daemon whenever the InfoPrint system starts, you can include the mvsprsd command in the /etc/rc.mvsd.daemons file. This file is executed when the Linux operating system is initialized.

Use this procedure to start the mvsprsd daemon when the system starts:

  1. Use a text editor to open the /etc/rc.mvsd.daemons file and find these lines:
    # List of MVS Download daemons to be started by rc.mvsd
    #
    # The syntax of mvsprsd follows:
    #
    # mvsprsd  [-p port] [-d file_system] [-n 1] [-x shell_script]\
              [-X additional_exit_parameters] [-q destination]
    #         [-k] [-B] [-H host_code_page] [-L local_code_page] [-t] [-w] [-e]
    #
    # This file may be edited directly, but the automatic starting and configuring
    # of MVS Download daemons is best controlled through
    # the InfoPrint Manager Management Interface. Consult documentation
    # for more information.
    #
  2. Add lines similar to these to this file:
    # This is a comment to document that the following command
    # starts the mvsprsd daemon automatically at system startup
    /usr/lpp/psf/bin/mvsprsd -p 5400 -d /files1 -d /files2 \
    -x /usr/lpp/pd/bin/mvsprpsm.sh -q serv2-lp
    Note that this example uses the default shell script (mvsprpsm.sh) and specifies the serv2–lp InfoPrint Manager server.
  3. Save and close the file.
If the daemon stops for some reason or you want to restart it using different start-up options, you can use the InfoPrint mvsprsd command to start the InfoPrint mvsprsd daemon. With the command, you specify a file system in which to store downloaded data sets, a shell script name, a logical printer name, and whether print-option information is stored in a file. You start the daemon on the server that has InfoPrint Manager installed. Once the mvsprsd daemon is operational, you can use Download for z/OS to submit a job toInfoPrint Manager where the InfoPrint Manager MVS Download Receiver shell script translates the JCL keywords and values to InfoPrint Manager attributes and values and issues a pdpr command.

For the syntax and flags of the mvsprsd command, and for examples of its use, see InfoPrint Manager: Reference or the mvsprsd man page.

Note: Only a person with root user authority or the InfoPrint Manager user can run this command.