STATUS Command

The STATUS command changes the status of a member in the library.
capan146
The STATUS command changes the status of a member in the library.
Syntax
              {,ACTIVE  }               {,INACTIVE} ++STATUS name {,ENABLE  }               {,DISABLE }               {,PROD    }
Parameters
Both parameters are required.
  • name
    The name of the member you want to change.
  • ACTIVE | INACTIVE | ENABLE | DISABLE | PROD
    These parameters designate the new status of the member. Every member in the library is described as either PRODuction or TEST, and either ENABLEd or DISABLEd, or ACTIVE or INACTIVE status.
    Members originally enter the library in TEST, ACTIVE, and ENABLE status. You can place members in PRODuction status for protection against unauthorized modification. You can use the COPY command to create a TEST copy of a PRODuction member. You cannot restore a PRODuction member to TEST status. You can make any member DISABLEd or INACTIVE.
    • ,ACTIVE reverses the effect of a prior INACTIVE.
    • ,INACTIVE marks a member for removal from the library to a protection file when requested.
    • ,ENABLE is used for all members except those to be deleted from the library. This parameter reverses the effect of a prior DISABLE.
    • ,DISABLE marks a member for deletion from the library. You can DISABLE programs in PRODuction status. You cannot update a DISABLEd program.
    • ,PROD is used for production members. A member in PRODuction status is protected and you cannot modify it.