Page 2 of 2
Posted: Tue Sep 06, 2016 4:36 pm
by ray.wurlod
wuruima wrote:DSSetParm to set parm to this system parm.
Try using DSSetParam(). There is no DSSetParm() function.
Posted: Thu Sep 08, 2016 8:52 am
by roy
Am I missing something?
The error implied that you are trying to set a job parameter that doesn't exists in the attached job.
so do you have that parameter as an actual parameter in the job you want to run?
Posted: Fri Sep 09, 2016 12:33 am
by chulett
Allegedly yes, as noted near the end of the first page.
Posted: Sat Sep 10, 2016 4:25 am
by ArndW
add the following code to your routine:
Code: Select all
Dummy = DSGetJobInfo(job2,DSJ.PARAMLIST)
CALL DSLogInfo("Parameters in job are: "':Dummy:'".','TestProgram')
Then check to make sure the parameter you want to set is actually in that list.