R
Rick Mattern
Guest
I am trying to create a script that will work with ADEXL's job
policies and the script needs to build
the command line.
Whats the correct syntax to put the 2 two togther?
This will get the command field
axlGetAttachedJobPolicy()->jobsubmitcommand
and lets say it has the following:
-J newJob
This line will replace the jobsubmitcommand:
axlSetJobPolicyProperty( "ADEXL_mmsim_m" "jobsubmitcommand" "nc run -D
-C mmsim_m_2 " )
I need it to look like this:
axlSetJobPolicyProperty( "ADEXL_mmsim_m" "jobsubmitcommand" "nc run -D
-C mmsim_m_2 -J newJob " )
so how can I put the 2 togther? strcat or something? It looks
like axlSetJobPolicyProperty() will not evaluate any variable .
Thanks
policies and the script needs to build
the command line.
Whats the correct syntax to put the 2 two togther?
This will get the command field
axlGetAttachedJobPolicy()->jobsubmitcommand
and lets say it has the following:
-J newJob
This line will replace the jobsubmitcommand:
axlSetJobPolicyProperty( "ADEXL_mmsim_m" "jobsubmitcommand" "nc run -D
-C mmsim_m_2 " )
I need it to look like this:
axlSetJobPolicyProperty( "ADEXL_mmsim_m" "jobsubmitcommand" "nc run -D
-C mmsim_m_2 -J newJob " )
so how can I put the 2 togther? strcat or something? It looks
like axlSetJobPolicyProperty() will not evaluate any variable .
Thanks