Welcome Guest ( Log In | Register )


 
Reply to this topicNew Topic
Usage of Command object
narendra
post Jun 24 2010, 11:20 AM
Post #1


Visitor
*

Group: Members
Posts: 5
Joined: 10-June 10
Member No.: 1,363


Hi,
I was trying to use the command object for a particular requriement, I have used the same as below. This action did not perform any activity and did not deschedule the job that it has to. I was checking the opsp log in the server and could notice that this returned as an error.

Command used: opscmd object -obj <[JOB_NAME]> -inst <INST_NAME> -action f_desched

Error on the server:
10/06/24 12:03:56 E (18493) 45.ThreadExecCommand: Execution command 'opscmd object -obj JOB_NAME -inst INST_NAME -action f_desched': ret '32512'

Can someone help me if I have done something wrong here...

Regards,
Narendra.
Go to the top of the page
 
+Quote Post
pascal
post Jun 25 2010, 08:24 AM
Post #2


Contributor
**

Group: Members
Posts: 12
Joined: 12-March 09
Member No.: 392


Hello Narendra,

It's better to use a job and inside the script do the 'opscmd object',
because the 'command object' don't return the errors.


Regards
Pascal


--------------------
Pascal DEGERINE
R&D - Synchrony Automator
www.axway.com
Go to the top of the page
 
+Quote Post
narendra
post Jul 7 2010, 10:45 AM
Post #3


Visitor
*

Group: Members
Posts: 5
Joined: 10-June 10
Member No.: 1,363


Hi Pascal,
That helped.. Thanks alot. But when the timer is descheduled, the job following the same also got descheduled. Is there any way that we can avoid the same and just get the timer descheduled?
Or alternatively, what can be used for terminating the timer instead of descheduling ? f_term ??

Appreciate your response. Many Thanks.. biggrin.gif

Regards,
Narendra.
Go to the top of the page
 
+Quote Post
pascal
post Jul 12 2010, 08:11 AM
Post #4


Contributor
**

Group: Members
Posts: 12
Joined: 12-March 09
Member No.: 392


For the job following you must consult the link evaluation table.
(I attach it)

Attached File(s)
Attached File  links.JPG ( 73.56K ) Number of downloads: 2
 


--------------------
Pascal DEGERINE
R&D - Synchrony Automator
www.axway.com
Go to the top of the page
 
+Quote Post

Reply to this topicNew Topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Skin designed by IPB Forum Skins