× 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.



Of course I forgot to tell you the MSGID should have your security code
and since it changes daily you can use the CHGMSGD CLLE command to change
your daily message id with the security code number that you need to
display.

On Wed, Oct 12, 2016 at 12:20 PM, Jose Perez <joseenocperez.jp@xxxxxxxxx>
wrote:

As Paul said your best ally for this is the MSGID keyword, For example
define a field like this

Add a character field to your screen exactly where you want the msg to
appear, Define the lenght of this field
when using SSDA design there is a keyword
Message ID (MSGID) . . . . . . . Output or Both select this with Y
on this keyword use this
Message prefix . . . . . . . .
Message identifier . . . . . .

and this
Message file . . . . . . . . .

Example
MSGFLD 40A O 1 18MSGID(L01 9301 SSAZ03

In this example that I gave you the MSGID is using Prefix L01 and the msg
id 9301 from the message file SSZA03
you can even specify the complete msg id without prefix which in this case
would be L019301 and you just put that in Message identifier Field without
prefix.
I hope this help you.


On Wed, Oct 12, 2016 at 10:39 AM, Paul Therrien <
paultherrien@xxxxxxxxxxxxxxxxxx> wrote:

The DDS Menu paradigm might not be your best bet, but you can use the
MSGID keyword and an output field on your display file to display the
value of a message in a message file.

You can set the message text of the message to be the security code
value you want to display.

I tested this and found that i needed to edit and create the display
file separately from the SDA create menu process because SDA was not
keeping the field that I was attempting to add.

---

Paul Therrien Andeco Software, LLC

paultherrien@xxxxxxxxxxxxxxxxxx

225-229-2491

On 2016-10-12 09:30, roper steve wrote:

Hi my menus are generate in PDM using SDA with source members MNUSRC and
MNUSRCQQ in OS V5R4M0

I have been asked to show a Variable on the menu that changes each day,
it is
actually a security code

the users need to validate a ticket issued by an automated console. I
cannot get
the variable to show on

the menu, I have tried via a database file and a message file both do
not work
database does not show and message

only shows message at compile time and does not update when message file
changes, any advise would be greatly

received.

I can do it on a display screen such as a subfile screen or a data
entry screen
because I can chain to the file and retrieve

the code but not on a menu screen

--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.




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-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.