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



Unless something has changed in the later releases of the operating system,
the answer is no it can't.

To get the same results I code a field on the PRTF record and then use a
sub-procedure to retrieve the message text and populate the field within my
program. To make things even easier, I have written a utility that will
look for specific keywords entered as comments that contain the Message ID
and message file and generate the RPG specs needed to load the fields.

For example:

A RPTTITLE 108 13
A* AUKCON(CMW0103 CMSMSGF *CENTRE)

Which then generates:

C* Load the text constants required by the message file...
C Eval RPTTITLE = Centre(RtvMsg('CMW0103' :
C 'CMSMSGF') : %Size(RPTTITLE))

If you'd like a copy of the utility let me know and I'll make a copy
available for download.

All the best

Jonathan


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Premnath N.
Sent: 06 September 2007 08:16
To: midrange-l@xxxxxxxxxxxx
Subject: MSGID in PRTF?

Is it possible to use MSGID (message identifier) in PRTF?


DISCLAIMER:
This message (including attachment if any) is confidential and may be
privileged. Before opening attachments please check them for viruses and
defects. MindTree Consulting Limited (MindTree) will not be responsible for
any viruses or defects or any forwarded attachments emanating either from
within MindTree or outside. If you have received this message by mistake
please notify the sender by return e-mail and delete this message from your
system. Any unauthorized use or dissemination of this message in whole or in
part is strictly prohibited.Please note that e-mails are susceptible to
change and MindTree shall not be liable for any improper, untimely or
incomplete transmission.
E-mail may contain viruses. Before opening attachments please check them for
viruses and defects. While MindTree Consulting Limited (MindTree) has put in
place checks to minimize the risks, MindTree will not be responsible for any
viruses or defects or any forwarded attachments emanating either from within
MindTree or outside.

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.