Re: Controlling proc RC
Posted: Thu Mar 24, 2011 10:57 pm
I doubt it - most processes do not write to the console - the operators would be snowed under! It is probably the program writing to the console.
Mainframe Technical Support Forums
https://www.ibmmainframeforum.com/
NicC wrote:I doubt it - most processes do not write to the console - the operators would be snowed under! It is probably the program writing to the console.
steve-myers wrote:Many sites use the IEFACTRT exit routine to write a step return code to the operator console, or at least the SYSLOG and the job's JESMSGLG. I agree with NicC; user code should not be writing messages to the operator unless there is no better alternative, or the user code must report something to the operator.
Is there any way to force the job completion code to a different value? In my case, when the ftp fails, the proc sleeps a few seconds then executes the ftp a second time and it succeeds. If it were to fail the second time, the completion code would and should be 166, but if the second attempt succeeds, I want the completion code to be 0.
enrico-sorichetti wrote:You must change the process ( scripting it ) or using the TWS approach
I'm sorry, but I have no idea what any of that means.
Does anyone know if it's possible to force a job completion code to 0?