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



On 09 May 2012 12:22, Stone, Joel wrote:
On the command line, I key: MMAIL/EMLSTMF2
Then F4 shows the info below.

Where does the command magically get my email address? Can I use a
RTV type command to grab this myself?

E-mail stream files (EMLSTMF2)
<<SNIP>>

'Sender's e-mail address' . . . 'Joel.Stone@xxxxxxxxxx'


The request to DSPCMD MMAIL/EMLSTMF2 will presumably show that there is a "Prompt override program" (PMTOVRPGM parameter; on CRTCMD and CHGCMD) defined for that *CMD object.

Whatever that named program does, is how the value is provided for the pre-filled "Sender's e-mail address" parameter. That program may obtain the information in the "directory" (WRKDIRE) information. Perhaps using the following:

Search System Directory (QOKSCHD) API
http://publib.boulder.ibm.com/infocenter/iseries/v6r1m0/topic/apis/QOKSCHD.htm

To obtain what the command's prompt override program will effect, rather than doing the work [perhaps based on an assumption of what] that Prompt Override Program would do, then perhaps using the following:

Retrieve Prompt Override (QPTRTVPO) API
http://publib.boulder.ibm.com/infocenter/iseries/v6r1m0/topic/apis/qptrtvpo.htm

Regards, Chuck

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.