Calling display file program in batch job

85 pts.
Tags:
AS/400
QSYSOPR
QSYSOPR Message
hi,
 i want to call display file program in batch mode. and want to fetch messages which are needing reply in "QSYSOPR". how can i do this?? is their any specific command or code ?? and also i want to send option (like '5' for display ) programmatically. please help me out guys. thank you :)

Answer Wiki

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

You CANNOT call a program in batch mode and use a DSPF as I/O.
Please see your rephrased question to get a solution to this question.

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
  • philpl1jb

    If you change the F-spec for the display file to USROPN.  and Open that file when you're in interactive mode then you can do it. 

    I don't think that you would be able to write to the records of the display file.

    49,600 pointsBadges:
    report
  • Kaisersosa
    At the place I previously worked we had a process that did what philpl1jb describes above.
    275 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