× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



If you want to display the message AFTER signon, another option could be
that you tailor a CL/RPG program that could be called precisely just after
that.
One big disadvantage to this is that you would have to update ALL user
profiles to have the INLPGM parameter to point to that program. By
appropriately setting a few parameters in an ad-hoc table, you could turn
on or off the showing of a welcome screen that would have several lines
that you can fill in with any message. Then it would just go on with the
usual command line.

I did that once and it's still running on a production system.

JS

El mar, 8 nov 2022 a las 11:29, Patrik Schindler (<poc@xxxxxxxxxx>)
escribió:

Hello Marc,

Am 08.11.2022 um 17:59 schrieb Marc Rauzier <marc.rauzier@xxxxxxxxx>:

I am not aware of such a system driven capability. In the past, I used a
data-area to store MOTD and a display file inside users initial program to
show the content of this data-area and request the user to hit Enter to
continue. This is not exactly the behavior of MOTD on Unix/Linux based
systems but it was accepted. You have also to have a small tool to update
the data-area content. You can include some message validity date/time
window as well.

Thanks, this is a helpful hint: To know there's no such thing. I strongly
want to have this message display as unobtrusive as possible, just a mere
replacement of the usual copyright message in the INLMNU after signon. But
still be visible. And it should be done without tweaking user profiles. If
a user already has an initial startup program, things will quickly become…
hairy to handle.

So I'll re-read https://ibmdocs.pocnet.net/SC41-5715-00.pdf (Application
Display Programming). PDF Page 303 mentions "Program menus". I guess, I
need to dig into this topic to achieve my goal. I hope it's possible to
read the message from a message file, because I'd expect that a user then
can place the cursor on the text and press F1 to get the second level text,
if he desires so.

Some details are revealed starting page 312. The example shown is very
generic and to mimic the IBM provided menus easily created though SDA, or
or panel group menus (command line!) might be challenging when done "by
hand".

Oof. :-)

:wq! PoC

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

This mailing list archive is Copyright 1997-2024 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.