Class i5OSPTF

  • All Implemented Interfaces:
    OSHostable, Referenceable

    public final class i5OSPTF
    extends Action
    implements OSHostable
    This action saves an i5/OS program temporary fix (PTF) from the i5/OS build system and then loads and applies the PTF during the installation. At build time, this action copies (CPYPTF) and saves (SAVLIB) the PTF. At install time, this action restores the PTF library on the target machine, loads (LODPTF) the PTF, and applies it (APYPTF).
    • Constructor Detail

      • i5OSPTF

        public i5OSPTF()
    • Method Detail

      • setProductId

        public void setProductId​(java.lang.String Product)
        Defines the seven-character identifier of the product for which the PTFs are saved.
      • getProductId

        public java.lang.String getProductId()
        Returns the seven-character identifier of the product for which the PTFs are saved.
      • setReleaseLvl

        public void setReleaseLvl​(java.lang.String Release)
        Defines the release level of the licensed program for which the PTFs are saved. Use *ONLY when only one release of the program is installed or supported. Otherwise, specify the release level in the format VxRxMx, where x is a digit (0-9). Default: *ONLY.
      • getReleaseLvl

        public java.lang.String getReleaseLvl()
        Returns the release level of the licensed program for which the PTFs are saved. Use *ONLY when only one release of the program is installed or supported. Otherwise, specify the release level in the format VxRxMx, where x is a digit (0-9). Default: *ONLY.
      • setPtfID

        public void setPtfID​(java.lang.String delString)
        Defines which PTFs are saved. (Each PTF ID value must be seven-characters or less.)
      • getPtfID

        public java.lang.String getPtfID()
        Returns which PTFs are saved. (Each PTF ID value must be seven-characters or less.)
      • setDelayApply

        public void setDelayApply​(java.lang.String delayApply)
        Defines whether immediate PTFs are applied at install time or whether immediate and delayed PTFs are applied during the next unattended IPL. Use *NO to apply all immediate PTFs at install time and ignore delayed PTFs. Use *YES to apply all PTFs during the next unattended IPL. Use *IMMDLY to apply all immediate PTFs at install time and all delayed PTFs during the next unattended IPL. Default: *NO.
      • getDelayApply

        public java.lang.String getDelayApply()
        Returns whether immediate PTFs are applied at install time or whether immediate and delayed PTFs are applied during the next unattended IPL. Use *NO to apply all immediate PTFs at install time and ignore delayed PTFs. Use *YES to apply all PTFs during the next unattended IPL. Use *IMMDLY to apply all immediate PTFs at install time and all delayed PTFs during the next unattended IPL. Default: *NO.
      • 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 apply the PTFs. This value must be *CURRENT, *PRV, or a six-character release value in the format VxRxMx, where x is a digit (0-9). Default: *CURRENT.
      • getTargetRelease

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

        public java.lang.String getAdditionalRestoreParms()
        Returns the additional parameters to pass to the RSTLIB command at install time.
      • setAdditionalRestoreParms

        public void setAdditionalRestoreParms​(java.lang.String additionalRestoreParms)
        Defines the additional parameters to pass to the RSTLIB command at install time.
      • getAdditionalSaveParms

        public java.lang.String getAdditionalSaveParms()
        Returns the additional parameters to pass to the SAVLIB command at build time.
      • setAdditionalSaveParms

        public void setAdditionalSaveParms​(java.lang.String additionalSaveParms)
        Defines the additional parameters to pass to the SAVLIB command at build time.