uxhld /uxrls res command in error-> No resource is selected for the operation. command in error!!

Document ID : KB000086621
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
The error displayed on the command line is:

No resource is selected for the operation.
command in error!!

The return code of the command is: 
255

Patch level detected:Dollar Universe 6.1.00
Product Version: Dollar.Universe 6.1.0

Description :One of the following commands may throw the error: "No resource is selected for the operation."
uxhld res res=XX lock
uxrls res res=XX clear
uxshw res res=XX full

Examples:


[root@vmstlce63sup1 bin]# ${UNI_DIR_EXEC}/uxhld RES res=RESLOG_LOCK2 lock
Command : uxhld res res=RESLOG_LOCK2 lock

No resource is selected for the operation.
command in error!!
[root@vmstlce63sup1 bin]# ${UNI_DIR_EXEC}/uxrls RES res=RESLOG_LOCK2 clear
Command : uxrls res res=RESLOG_LOCK2 clear

No resource is selected for the operation.
command in error!!
[root@vmstlce63sup1 bin]# ${UNI_DIR_EXEC}/uxshw RES res=RESLOG_LOCK2 full
Command : uxshw res res=RESLOG_LOCK2 full esp=* mu=* pdate=* tsoc=* partage

No resource is selected for the operation.
command in error!!
 
Environment:
OS: All
 
Cause:
Cause type:
By design
Root Cause: The following prerequisite was not fullfilled:
 
Resolution:
Before trying to hold / release a logical resource, please check that this prerequisite has been satisfied:
Extracted from the documentation of the command line, section 3.1.1.1:

#######################################################################################################

The resource must have been condition-checked with quotas before being able to execute one of the uxhld, uxrls or uxshw commands.

#######################################################################################################

You can check that for example via the command uxshw res res=XXX full, in case it throws an error, the job event must be first created.


Else, in case the resource event already exists, you should check first that the resource is not already held, you can do that via the command uxrls res res=XX clear

Fix Status: Released

Fix Version(s):
Component: Application.Server
Version: Dollar.Universe 6.1.41
 
Additional Information:
Workaround :
N/A