Thanks Steve!

I did notice that this only applies to the prototype at the "top" of the /copy member. The prototypes below are fine.

Interestingly, if I add a line of "real code" above the first prototype (see below), then the comments appear on hover.

dcl-s dummyVar char(1);


-----Original Message-----
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Steve Ferrell via WDSCI-L
Sent: Monday, May 2, 2022 12:22 PM
To: Rational Developer for IBM i <wdsci-l@xxxxxxxxxxxxxxxxxx>
Cc: Steve Ferrell <Steve.Ferrell@xxxxxxxxxxxxxxx>
Subject: Re: [WDSCI-L] Hover to see prototype comments

Hi Greg,

We confirmed that the prototype is missing the hover text when in a /copy file. And it should NOT be. Fields in a /copy file DO include comments.

I've added an internal defect for this, but if you want to contact IBM support to add an APAR, please fee free to do so.


Steve Ferrell

-----Original Message-----
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Greg Wilburn
Sent: Friday, April 29, 2022 8:59 AM
To: Rational Developer for IBM i <wdsci-l@xxxxxxxxxxxxxxxxxx>
Subject: [WDSCI-L] Hover to see prototype comments

External: Pause and review the sender's email address, any URLs before clicking links, opening attachments, or following requests. When in doubt, contact the Service Desk.

When hovering over a service program procedure, I expect to see the comments that immediately precede the prototype in the /copy source. I have a situation where the hover is simply showing the PI parameters - none of the comments that I have in the /copy prototype.

Its very weird...

/copy prototype looks something like this

// Eml_Stmf: Email an IFS streamfile
// pcom# = (input) From Company and/or Cust Type
// psubject = (input) Subject Line Text
// pstmf = (input) Streamfile name(s) (wildcards allowed)
// ptoaddr = (input) TO email address or Mailtool Dist List (*name)
// pccaddr = (input/omit) CC email address
// pmessage = (input/omit) Message Body (Text, *ATT or *MULTI)
// pbdyct = (input/omit) Body Content ('text/html' default if omitted)
// Returns 0 on success, -1 if email not sent
// Requirements:
// 1. Com# must be setup in 7065
// 2. IFS file must exist
// Notes:
// Attachments: Up to 50 attachments may be specified.
// If the value *ATT was specified for the message body, the first
// attachment listed here will be used as the message body. All
// subsequent attachments will be treated as normal attachments.
// If the value *MULTI was specified for the message body, the first
// attachment listed here will be used as the TEXT message body. The
// 2nd attachment will be used as the HTML body. All subsequent
// attachments will be treated as normal attachments.
// Wildcards may be used as attachment file names in the form of
// *filename, filename* or file*name. This will cause all matches in the
// specified directory to be emailed as attachments.
// Examples of specifying wildcards:
// /myfiles/*.pdf /myfiles/invoice*.pdf /myfiles/invoice* /myfiles/*

dcl-pr Eml_Stmf int(10) ExtProc('Eml_Stmf');
pcom# char(6) const options(*varsize);
psubject char(100) const options(*varsize);
pstmf char(1024) const options(*varsize);
ptoaddr char(50) const options(*varsize);
pccaddr char(50) const options(*nopass:*varsize);
pmessage char(1024) const options(*nopass:*varsize);
pbdyct char(80) const options(*nopass:*varsize);

[Logo]<;;sdata=AKvJarshleqYbnxNfuCfNYx9eIzg2xoLyDFteKhdUlY%3D&amp;reserved=0> Greg Wilburn
Director of IT
301.895.3792 ext. 1231
301.895.3895 direct
1 Corporate Dr
Grantsville, MD 21536;;sdata=JMx3EhJgBDnbEmrKuVMioImcH6Vhl%2BmdvwGN94R3JDU%3D&amp;reserved=0<;;sdata=JMx3EhJgBDnbEmrKuVMioImcH6Vhl%2BmdvwGN94R3JDU%3D&amp;reserved=0>
This is the Rational Developer for IBM i (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at;;sdata=cRfeMIuVSmaaAsRepJalz6mhqfm0mt0a%2BMox5rAaXX0%3D&amp;reserved=0.

Help support by shopping at with our affiliate

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