Am trying to extract a parameter value from the last time a server job was ran using ....
JobHandle = DSAttachJob(JobName,DSJ.ERRNONE)
ParamVal = DSGetParamInfo(JobHandle, pCLEANSEDFILE, DSJ.ParamValue)
I then output both the job name and parameter value (for param pCLEANSEDFILE) but whereas I get the correct job name I get '-5' returned instead of the param value I expected.
I have substituted for other DSGetParamInfo and get the same '-5'. I assume this must be some sort of error code but because I know the parameter value exists from the last run I am not sure why I am getting it or how to extract more information about it.
Any help appreciated.
Problem with DSGetParamInfo & DSJ.ParamValue
Moderators: chulett, rschirm, roy