Work with QIBM_QNPS_SPLF exit point to detect that a Spool file war released.

pts.
Tags:
IBM iSeries
Hello, I’m trying to implement an exit program to associate with the exit point QIBM_QNPS_SPLF. In the exit program it was defined two parameters, &STATUS with 1A and &REQUEST with 2000A. The program is very simple, and only writes a new entry in a specific file each time that it is invoked. The prestart job was initiated, but the fact is that each time I release a spool file nothing happens with the exit program. What could I be doing wrong? Thanks in advance.

Answer Wiki

Thanks. We'll let you know when a new response is added.

You might want to look at the following URL.

http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/rzalu/rzalunpsf.htm

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.

Tom

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TozesRamas
    Hello, Yes, that's true, but according with the following examples to implement an 'exit program' that’s only necessary two parameters. You can then based in those parameters obtain the information that's associated with the format SPLF0100, that is the format that are associated with this 'exit point'. http://as400bks.rochester.ibm.com/iseries/v5r1/ic2924/index.htm?info/rzaii/rzaiimstsmpcl.HTM http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/rzaik/userexitex1.htm
    0 pointsBadges:
    report
  • TozesRamas
    Hello, Yes, that's true, but according with the following examples to implement an 'exit program' that’s only necessary two parameters. You can then based in those parameters obtain the information that's associated with the format SPLF0100, that is the format that are associated with this 'exit point'. http://as400bks.rochester.ibm.com/iseries/v5r1/ic2924/index.htm?info/rzaii/rzaiimstsmpcl.HTM http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/rzaik/userexitex1.htm
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following