Resources

This section describes the operation commands on resources. The resource must have been condition-checked with quotas before being able to execute one of the uxhld, uxrls or uxshw commands. Also refer to section "Resources" for setting commands.

The command uxhld RES enables total or partial allocation of a resource. If the resource contains one or more of the following variable elements !SOC!, !MU! (or !UG!) or !DTRAIT!, quota allocated will take into account the value of these elements in the command. If the resource contains none of the variable elements !SOC!, !MU! (or !UG!) or !DTRAIT!, any values provided for these elements in the command will be ignored.

Its syntax is as follows:

uxhld RES RES=resource LOCK QT1=quota1 QT2=quota2 [MU=mu] [PDATE=date] [ESP=X|S|I|A|*|" "] [TSOC=company]

The command uxrls RES enables total or partial de-allocation of a resource. The uxrls res command invokes the I/O servers of all areas and can be time consuming. In order to optimize the performance, the node setting U_RES_AVAIL_AREAS (Advanced Settings category) should be set to the area code of the active areas. Refer to the Univiewer User Guide.

Its syntax is as follows:

uxrls RES RES=resource CLEAR QT1=quota1 QT2=quota2 [MU=mu] [PDATE=date] [ESP=X|S|I|A|*|" "] [TSOC=company]

Note: The OS/400 command UXRLSRES frees a resource from the command line. The F4 key allows the user to enter each parameter individually. The F11 key displays the name of each parameter.

The command uxshw RES displays details of the definition and allocation of a resource. Its syntax is as follows:

uxshw RES RES=resource [MU=mu] [PDATE=date] [ESP=X|S|I|A|*|" "] [TSOC=company] [INF|FULL|RSV] [OUTPUT=filename]

The command uxrsv RES enables a resource to be reserved for a task so as to define a scheduling priority. Its syntax is as follows:

uxrsv RES RES=resource [TSK=task] UPR=uproc [VUPR=version] [SES=session] [VSES=version] MU=mu [QT1=quota1] [QT2=quota2] [PDATE=date] [ESP=X|S|I|A|*|" "] [TSOC=company]

The command uxcnr RES enables reservation of a resource via the command uxrsv to be deleted. Its syntax is as follows:

uxcnr RES RES=resource [TSK=task] UPR=uproc [VUPR=version] [SES=session] [VSES=version] MU=mu [PDATE=date] [ESP=X|S|I|A|*|" "] [TSOC=company]

The command uxpre RES deletes the event resources for which the quotas have been released (!UG!, !PDATE!, !SOC! or !ESP! can be used to variabilize the resource). Its syntax is as follows:

uxpre RES RES=resource [MU=mu] [PDATE=date] [ESP=X|S|I|A|*|" "] [TSOC=company]

Description of Items

Examples