Passing the parameter list from the mvsprsd daemon to the shell script

The InfoPrint mvsprsd daemon passes a parameter list for each data set it receives to the InfoPrint Manager MVS Download Receiver shell script. The parameter list contains this information:

  1. The name of the downloaded data set in the format:
    • For Download for z/OS:

      MVS_system_name.job_name.dataset_name.forms_name.yyddd.hhmmsstABCD.PRD

      where:
      MVS_system_name
      Specifies the name of the MVS system that downloaded the data set.
      job_name
      Specifies the name of the job containing the data set.
      dataset_name
      Specifies the name of the data set.
      forms_name
      Specifies the name of the form identified with the MVS FORMS parameter.
      yyddd
      Specifies the year followed by the number of the day of the year.
      hhmmsstABCD
      Specifies the time the data set was received in hours, minutes, seconds, tenths of a second, hundreds of a second, thousands of a second, and hundred thousands of a second.
      PRD
      Specifies the type of file that contains print data. PRD is the suffix used by PSF for AIX, InfoPrint Manager for AIX, InfoPrint Manager for Linux or InfoPrint Manager for Windows servers to identify the data file received and other information needed to create the final print job.
    • For AFP Download Plus:
      AFPDP.MVS_system_name.fsa_name.userid.jobid.job_name.step_name.dd_name.
        forms_name.ccyyddd.hhmmsstABCD.PRD
      where:
      MVS_system_name
      Specifies the name of the MVS system that downloaded the data.
      fsa_name
      Specifies the name of the FSA that processed the data set.
      userid
      Specifies the userid of the user who submitted the job.
      jobid
      Specifies the job identifier that was assigned by the z/OS system.
      job_name
      Specifies the name of the job containing the data set.
      step_name
      Specifies the name of the step in the job.
      dd_name
      Specifies the DD name in the step.
      forms_name
      Specifies the name of the form identified with the MVS FORMS parameter.
      ccyyddd
      Specifies the century and year followed by the number of the day of the year.
      hhmmsstABCD
      Specifies the time the data set was received in hours, minutes, seconds, tenths of a second, hundreds of a second, thousands of a second, and hundred thousands of a second.
      PRD
      Specifies the type of file that contains print data. PRD is the suffix used by PSF for AIX, InfoPrint Manager for AIX, InfoPrint Manager for Linux or InfoPrint Manager for Windows servers to identify the data file received and other information needed to create the final print job.
  2. The print-options string, which is a series of options and values. See Print options passed to InfoPrint Manager MVS Download Receiver shell script for the list of options. When you specify the -k flag with the mvsprsd command, InfoPrint also stores the options in a file whose name is in this format:
    • For Download for z/OS:
      MVS_system_name.job_name.dataset_name.forms_name.yyddd.hhmmsstABCD.JCL
    • For AFP Download Plus:
      AFPDP.MVS_system_name.fsa_name.userid.jobid.job_name.step_name.dd_name.
        forms_name.ccyyddd.hhmmsstABCD.JCL
    where all the qualifiers in the name are the same as those for the name of the data set, except for JCL. The -k flag specifies that the file contains print options.
  3. The logical printer name, which was specified with the -q flag of the InfoPrint mvsprsd command when the daemon was started.
  4. An empty string.
  5. An empty string.
  6. The port number that was specified with the -p flag of the InfoPrint mvsprsd command when the daemon was started.
  7. The additional script parameters that were specified with the -X flag of the InfoPrint mvsprsd command when the daemon was started.
  8. A non-zero value, if the -t flag was specified on the mvsprsd command; or a value of zero, if the -t flag was not specified.