The ideal place to send your message would be the message subfile at the bottom of the SEU display, unfortunately you can’t send a message there until SEU is in the call stack.

It may be possible, I haven’t tried, to use the QIBM_QSU_LCMD exit point for the SEU User Defined Line Commands and write a program that sends a message to the program message queue from there. Scan Google (or the archives) for references to the exit point.

When SEU is loaded there is a copyright message showing at the bottom of the display. If you can find where the message is held you could always change that to the details of your own message (although the copyright text could be generic and used by other applications).

Depending on exactly what you want to achieve by displaying a message to the user, does the message have to be on the SEU screen? If it is simply a policy type warning message along the lines of “Only authorised programmers are aloud to use SEU” then I would suggest putting the call to SEU inside your own wrapper program and using either SNDPGMMSG MSG(‘text’) TOPGMQ(*EXT) before the call to SEU or design a screen display and allow the user the chance to back out from loading SEU.

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

Processing your response...

Discuss This Question: 3 &nbspReplies

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

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

How about simply putting the message as comment(s) at the top of your source?
Or am I missing the point?
Maybe you want a changeable message, in which case the wrapper program seems to be the way to go...
Gaz

There is (apparently) no way to make this happen, nor does there seem to be any reason to think it might be possible. This is not especially different from asking how make any other program do something from the outside. It'd be easier just to write a program that did whatever SEU is expected to be doing.
Tom

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

Processing your reply...

Ask a Question

Free Guide: Managing storage for virtual environments

Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!

To follow this tag...

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