Class i5OSProgram

  • All Implemented Interfaces:
    OSHostable, Referenceable

    public final class i5OSProgram
    extends Action
    implements OSHostable
    This action saves an i5/OS program (*PGM) object from the i5/OS build system and then restores and calls the program during the installation. The program is saved using the Save Object (SAVOBJ) command. At install time, the program is restored into the QTEMP library by the Restore Object (RSTOBJ) command, and then called by the CALL command.
    • Constructor Detail

      • i5OSProgram

        public i5OSProgram()
    • Method Detail

      • setProgramName

        public void setProgramName​(java.lang.String programName)
        Defines the name of the *PGM object to save.
      • getProgramName

        public java.lang.String getProgramName()
        Returns the name of the *PGM object to save.
      • setProgramLibrary

        public void setProgramLibrary​(java.lang.String library)
        Defines the library that contains the *PGM object.
      • getProgramLibrary

        public java.lang.String getProgramLibrary()
        Returns the library that contains the *PGM object.
      • getTargetRelease

        public java.lang.String getTargetRelease()
        Returns the minimum supported release level of the operating system on which you intend to restore and call the program. This value must be *CURRENT, *PRV, or a six-character release value in the format VxRxMx, where x is a digit (0-9).
      • setTargetRelease

        public void setTargetRelease​(java.lang.String targetRelease)
        Defines the minimum supported release level of the operating system on which you intend to restore and call the program. This value must be *CURRENT, *PRV, or a six-character release value in the format VxRxMx, where x is a digit (0-9).
      • getParameterList

        public java.lang.String getParameterList()
        Returns the parameters to pass to the CALL command.
      • setParameterList

        public void setParameterList​(java.lang.String parameters)
        Defines the parameters to pass to the CALL command.