Project and Portfolio Management Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

How do you get object type command to halt when not connected to a server?

Highlighted
bzdafro
Collector

How do you get object type command to halt when not connected to a server?

Hi,

 

Super dumb question... but How do you get object type command to halt during execution when not connected to a server?

 

I can add a [1 -eq 0] etc in my object type commands if I am connected to a server.  However, if I am running ksc_itg_run_sql  etc I cannot include unix exit commands.   If I add [ 1 -eq 0 ] without being inside a ksc_connect  PPM throws error before anything is run.  

 

 

Thanks

 

2 REPLIES
Mohit_Agrawal
Frequent Visitor

Re: How do you get object type command to halt when not connected to a server?

Did you try to use KSC_EXIT commmand. This marks the end of ksc_connect commands.

bzdafro
Collector

Re: How do you get object type command to halt when not connected to a server?

I would not be connected to a server, so ksc_exit will not work.  I did figure it out though.   Just issue a ksc_local_exit  [ 1 -eq 0 ]  etc  and it will pass the PPM pre-deployment checks... and will halt when needed.  

//Add this to "OnDomLoad" event