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);

Greg

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

Thanks!

Steve Ferrell
w. www.helpsystems.com



-----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);
end-pr;

[Logo]<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.totalbizfulfillment.com%2F&amp;data=05%7C01%7Csteve.ferrell%40helpsystems.com%7C3bbe3542550648cea55f08da29e8e89c%7Cca81e23b350945eea9983e346acf274d%7C0%7C0%7C637868377567142743%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=AKvJarshleqYbnxNfuCfNYx9eIzg2xoLyDFteKhdUlY%3D&amp;reserved=0> Greg Wilburn
Director of IT
301.895.3792 ext. 1231
301.895.3895 direct
gwilburn@xxxxxxxxxxxxxxxxxxxxxxx<mailto:gwilburn@xxxxxxxxxxxxxxxxxxxxxxx>
1 Corporate Dr
Grantsville, MD 21536
https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.totalbizfulfillment.com%2F&amp;data=05%7C01%7Csteve.ferrell%40helpsystems.com%7C3bbe3542550648cea55f08da29e8e89c%7Cca81e23b350945eea9983e346acf274d%7C0%7C0%7C637868377567142743%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=JMx3EhJgBDnbEmrKuVMioImcH6Vhl%2BmdvwGN94R3JDU%3D&amp;reserved=0<https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.totalbizfulfillment.com%2F&amp;data=05%7C01%7Csteve.ferrell%40helpsystems.com%7C3bbe3542550648cea55f08da29e8e89c%7Cca81e23b350945eea9983e346acf274d%7C0%7C0%7C637868377567142743%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;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,
visit: https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.midrange.com%2Fmailman%2Flistinfo%2Fwdsci-l&amp;data=05%7C01%7Csteve.ferrell%40helpsystems.com%7C3bbe3542550648cea55f08da29e8e89c%7Cca81e23b350945eea9983e346acf274d%7C0%7C0%7C637868377567142743%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=y%2F2M3OH5zdYpR%2FGebvY8d%2BKIf%2FzvHx3osplin5LjBps%3D&amp;reserved=0
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchive.midrange.com%2Fwdsci-l&amp;data=05%7C01%7Csteve.ferrell%40helpsystems.com%7C3bbe3542550648cea55f08da29e8e89c%7Cca81e23b350945eea9983e346acf274d%7C0%7C0%7C637868377567142743%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=cRfeMIuVSmaaAsRepJalz6mhqfm0mt0a%2BMox5rAaXX0%3D&amp;reserved=0.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Famazon.midrange.com%2F&amp;data=05%7C01%7Csteve.ferrell%40helpsystems.com%7C3bbe3542550648cea55f08da29e8e89c%7Cca81e23b350945eea9983e346acf274d%7C0%7C0%7C637868377567142743%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=UKsITrBLbeYKFaisY98Y3xgHXvFknx4MW9evqAwFSQM%3D&amp;reserved=0

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