User to release & print spool file belonging to operator

5 pts.
Tags:
AS/400
Spool files
In my environment, the AS400 operator runs the AS400 batch jobs generating reports. Hence, the spool files will be owned by AS400 operator. I need these reports owned by the AS400 operator to be released and printed by the user of the reports at a printer in the user's overseas location instead of at the AS400 operator location. How can I achieve this without having to give the users special authority like the spool file authority (*SPLCTL) and the job control authority (*JOBCTL)?

Answer Wiki

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

In your CL can you either hard code an OVRPRTF to go to a different output queue or soft code it by putting entries in a table and retrieveing them with the CL an do the OVRPRTF?

Discuss This Question: 3  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
  • DanD
    If there is only one user receiving the reports, you can specify an outqueue in the sbmjob.
    2,865 pointsBadges:
    report
  • TomLiotta
    It's hard to certain without knowing something about your environment. In particular what is your OS VRM level? In recent releases, spool file ownership has been changing. The OVRPRTF SPLFOWN() parameter is supplied in order to help control ownership. You might have the job run OVRPRTF to set the desired owner before calling the program that is currently called. The output location may be set at the same time. With appropriate ownership, special authorities for users shouldn't be an issue. Tom
    125,585 pointsBadges:
    report
  • Splat
    We got around that issue (admittedly on a smaller scale) by building a report distribution program that runs every hour. All reports from nightly runs are directed to a hold output queue - the program reads a data queue attached to the output queue and, using a file to control direction, uses SNDTCPSPLF to effect the distribution.
    7,235 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