com.ibm.jtopenlite.command.program.workmgmt

Class RetrieveSystemStatus

  • java.lang.Object
    • com.ibm.jtopenlite.command.program.workmgmt.RetrieveSystemStatus
  • All Implemented Interfaces:
    Program


    public class RetrieveSystemStatus
    extends java.lang.Object
    implements Program
    QWCRSSTS This class fully implements the V5R4 specification of QWCRSSTS.
    • Constructor Detail

      • RetrieveSystemStatus

        public RetrieveSystemStatus(int format,
                            boolean resetStatistics)
    • Method Detail

      • getTempDataBuffer

        public final byte[] getTempDataBuffer()
        Description copied from interface: Program
        The implementor can create their own temp byte array for the output parameter size and reuse it each time a call is performed, or for more than one parameter on the same call. The implementor can choose to ignore this, and simply return null. The command connection checks to see if the buffer returned by this method is not null and large enough to accommodate the output parameter size.
        Specified by:
        getTempDataBuffer in interface Program
      • getProgramName

        public java.lang.String getProgramName()
        Description copied from interface: Program
        Returns the name of the program object.
        Specified by:
        getProgramName in interface Program
      • getProgramLibrary

        public java.lang.String getProgramLibrary()
        Description copied from interface: Program
        Returns the library of the program object.
        Specified by:
        getProgramLibrary in interface Program
      • newCall

        public void newCall()
        Description copied from interface: Program
        Invoked before any other methods on this interface by CommandConnection whenever this Program is called.
        Specified by:
        newCall in interface Program
      • getNumberOfParameters

        public int getNumberOfParameters()
        Description copied from interface: Program
        Returns the number of parameters for this program.
        Specified by:
        getNumberOfParameters in interface Program
      • getLengthOfReceiverVariable

        public int getLengthOfReceiverVariable()
      • setLengthOfReceiverVariable

        public void setLengthOfReceiverVariable(int length)
      • setFormat

        public void setFormat(int format)
      • setResetStatistics

        public void setResetStatistics(boolean resetStatistics)
      • getBytesAvailable

        public int getBytesAvailable()
      • getBytesReturned

        public int getBytesReturned()
      • getSystemName

        public java.lang.String getSystemName()
        All formats.
      • getCurrentDateAndTime

        public long getCurrentDateAndTime()
        All formats.
      • getUsersCurrentlySignedOn

        public int getUsersCurrentlySignedOn()
        FORMAT_SSTS0100.
      • getUsersTemporarilySignedOff

        public int getUsersTemporarilySignedOff()
        FORMAT_SSTS0100.
      • getUsersSuspendedBySystemRequest

        public int getUsersSuspendedBySystemRequest()
        FORMAT_SSTS0100.
      • getUsersSuspendedByGroupJobs

        public int getUsersSuspendedByGroupJobs()
        FORMAT_SSTS0100.
      • getUsersSignedOffWithPrinterOutputWaitingToPrint

        public int getUsersSignedOffWithPrinterOutputWaitingToPrint()
        FORMAT_SSTS0100.
      • getBatchJobsWaitingForMessages

        public int getBatchJobsWaitingForMessages()
        FORMAT_SSTS0100.
      • getBatchJobsRunning

        public int getBatchJobsRunning()
        FORMAT_SSTS0100.
      • getBatchJobsHeldWhileRunning

        public int getBatchJobsHeldWhileRunning()
        FORMAT_SSTS0100.
      • getBatchJobsEnding

        public int getBatchJobsEnding()
        FORMAT_SSTS0100.
      • getBatchJobsWaitingToRunOrAlreadyScheduled

        public int getBatchJobsWaitingToRunOrAlreadyScheduled()
        FORMAT_SSTS0100.
      • getBatchJobsHeldOnAJobQueue

        public int getBatchJobsHeldOnAJobQueue()
        FORMAT_SSTS0100.
      • getBatchJobsOnAHeldJobQueue

        public int getBatchJobsOnAHeldJobQueue()
        FORMAT_SSTS0100.
      • getBatchJobsOnAnUnassignedJobQueue

        public int getBatchJobsOnAnUnassignedJobQueue()
        FORMAT_SSTS0100.
      • getBatchJobsEndedWithPrinterOutputWaitingToPrint

        public int getBatchJobsEndedWithPrinterOutputWaitingToPrint()
        FORMAT_SSTS0100.
      • getElapsedTime

        public java.lang.String getElapsedTime()
        FORMAT_SSTS0200, FORMAT_SSTS0300.
      • getPercentProcessingUnitUsed

        public int getPercentProcessingUnitUsed()
        FORMAT_SSTS0200.
      • getJobsInSystem

        public int getJobsInSystem()
        FORMAT_SSTS0200.
      • getPercentPermanentAddresses

        public int getPercentPermanentAddresses()
        FORMAT_SSTS0200.
      • getPercentTemporaryAddresses

        public int getPercentTemporaryAddresses()
        FORMAT_SSTS0200.
      • getSystemASP

        public int getSystemASP()
        FORMAT_SSTS0200.
      • getPercentSystemASPUsed

        public int getPercentSystemASPUsed()
        FORMAT_SSTS0200.
      • getTotalAuxiliaryStorage

        public int getTotalAuxiliaryStorage()
        FORMAT_SSTS0200.
      • getCurrentUnprotectedStorageUsed

        public int getCurrentUnprotectedStorageUsed()
        FORMAT_SSTS0200.
      • getMaximumUnprotectedStorageUsed

        public int getMaximumUnprotectedStorageUsed()
        FORMAT_SSTS0200.
      • getPercentDBCapability

        public int getPercentDBCapability()
        FORMAT_SSTS0200.
      • getMainStorageSize

        public int getMainStorageSize()
        FORMAT_SSTS0200, FORMAT_SSTS0400.
      • getNumberOfPartitions

        public int getNumberOfPartitions()
        FORMAT_SSTS0200.
      • getPartitionIdentifier

        public int getPartitionIdentifier()
        FORMAT_SSTS0200.
      • getCurrentProcessingCapacity

        public int getCurrentProcessingCapacity()
        FORMAT_SSTS0200.
      • getProcessorSharingAttribute

        public byte getProcessorSharingAttribute()
        FORMAT_SSTS0200.
      • getNumberOfProcessors

        public int getNumberOfProcessors()
        FORMAT_SSTS0200.
      • getActiveJobsInSystem

        public int getActiveJobsInSystem()
        FORMAT_SSTS0200.
      • getActiveThreadsInSystem

        public int getActiveThreadsInSystem()
        FORMAT_SSTS0200.
      • getMaximumJobsInSystem

        public int getMaximumJobsInSystem()
        FORMAT_SSTS0200.
      • getPercentTemporary256MBSegmentsUsed

        public int getPercentTemporary256MBSegmentsUsed()
        FORMAT_SSTS0200.
      • getPercentTemporary4GBSegmentsUsed

        public int getPercentTemporary4GBSegmentsUsed()
        FORMAT_SSTS0200.
      • getPercentPermanent256MBSegmentsUsed

        public int getPercentPermanent256MBSegmentsUsed()
        FORMAT_SSTS0200.
      • getPercentPermanent4GBSegmentsUsed

        public int getPercentPermanent4GBSegmentsUsed()
        FORMAT_SSTS0200.
      • getPercentCurrentInteractivePerformance

        public int getPercentCurrentInteractivePerformance()
        FORMAT_SSTS0200.
      • getPercentUncappedCPUCapacityUsed

        public int getPercentUncappedCPUCapacityUsed()
        FORMAT_SSTS0200.
      • getPercentSharedProcessorPoolUsed

        public int getPercentSharedProcessorPoolUsed()
        FORMAT_SSTS0200.
      • getMainStorageSizeLong

        public long getMainStorageSizeLong()
        FORMAT_SSTS0200, FORMAT_SSTS0400.
      • getNumberOfPools

        public int getNumberOfPools()
        FORMAT_SSTS0300, FORMAT_SSTS0400.
      • getMinimumMachinePoolSize

        public int getMinimumMachinePoolSize()
        FORMAT_SSTS0400.
      • getMinimumBasePoolSize

        public int getMinimumBasePoolSize()
        FORMAT_SSTS0400.
      • getNumberOfSubsystemsAvailable

        public int getNumberOfSubsystemsAvailable()
        FORMAT_SSTS0500.
      • getNumberOfSubsystemsReturned

        public int getNumberOfSubsystemsReturned()
        FORMAT_SSTS0500.
      • setPoolSelectionInformation

        public void setPoolSelectionInformation(java.lang.String typeOfPool,
                                       java.lang.String sharedPoolName,
                                       int systemPoolIdentifier)
        FORMAT_SSTS0400, FORMAT_SSTS0500.
      • getParameterInputLength

        public int getParameterInputLength(int parmIndex)
        Description copied from interface: Program
        Returns the input length of the parameter at the specified index.
        Specified by:
        getParameterInputLength in interface Program
      • getParameterOutputLength

        public int getParameterOutputLength(int parmIndex)
        Description copied from interface: Program
        Returns the output length of the parameter at the specified index.
        Specified by:
        getParameterOutputLength in interface Program
      • getParameterType

        public int getParameterType(int parmIndex)
        Description copied from interface: Program
        Returns the type of parameter at the specified index.
        Specified by:
        getParameterType in interface Program
        See Also:
        Parameter
      • getParameterInputData

        public byte[] getParameterInputData(int parmIndex)
        Description copied from interface: Program
        Returns the input data of the parameter at the specified index.
        Specified by:
        getParameterInputData in interface Program
      • setParameterOutputData

        public void setParameterOutputData(int parmIndex,
                                  byte[] data,
                                  int maxLength)
        Description copied from interface: Program
        Sets the output data for the parameter at the specified index.
        Specified by:
        setParameterOutputData in interface Program