Henrik asked:
>Using QWTSEP does not change the job name but by default creates
>spoolfiles for job nnnnnn/another_user_profile/QPRTJOB.
>
>Is it possible to retrieve the fully qualified
>nnnnnn/another_user_profile/QPRTJOB jobname?

There are two possible solutions. If you are on V5R2, the best solution
would probably be to use the new Retrieve Identity of Last Spooled File
Created (QSPRILSP) API.

You could also use the QIBM_NOTIFY_CRTSPLF environment variable to identify
a data queue that is updated when a spooled file is created. Record type 02
on that data queue will contain the name of the job that owns the spooled
file and the name of the job that created it. You can find more information
about this solution in Chapter 3 of the Printer Device Programming book.

Ed Fishel,
edfishel@xxxxxxxxxx


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.