You might want to look at the following URL.
According to this the exit point program requires 4 parameters.
The exit program does only take two arguments. The four ‘parameters’ are really just separate structures within the second argument. In that aspect, the documentation is confusing.
<i>The prestart job was initiated…</i>
The prestarts are first initiated when the subsystem starts or later when STRPJ is executed for them. These are the QNPSERVS jobs and won’t actually do anything until the daemon job, QNPSERVD, is started with STRHOSTSVR *NETPRT (and it can be ended with ENDHOSTSVR *NETPRT.)
If printing works when that host server has been ended, then the printing is not being handled by the Network Print server. That might be the first thing to verify.
Next, we need to see something of the program code. The parms, the initialization and the first element of logging or tracing might be enough.