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



Kurt

I agree on it being a bug - I also found that subprocedures seem generally to work OK.

As Stuart pointed out, this is for the main procedure.

I don't have access to submitting PMRs - would have to go through our system admin, so maybe someone else can.

And yea, it probably shoulda gone to the WDSC list!! But hey, it IS RPG, right?

Cheers
Vern

On 4/10/2015 10:07 AM, Kurt Anderson wrote:
That's right, I wasn't in that mindset. I've been using freeformat for so long now I forgot what it was like doing a fixed format program.

It seems like this should be a PMR.

Kurt Anderson
Sr. Programmer/Analyst - Application Development, Service Delivery Platform

-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Stuart Rowe
Sent: Friday, April 10, 2015 10:23 AM
To: RPG programming on the IBM i (AS/400 and iSeries)
Subject: Re: Content assist and parameters question

Yup I get the same result, never noticed it before. Works great in regular local procedures (surrounded by a set of P-specs).

Kurt, you forego the P specs when the interface is for a program (i.e. it takes the place of the *ENTRY PLIST).

Stu

On Fri, Apr 10, 2015 at 8:04 AM, Kurt Anderson <Kurt.Anderson@xxxxxxxxxxxx>
wrote:

Hi Vern, was this meant for the WDSCi-L list?

It took me a second to go back t this fixed format thing you're using,
but, it looks like CA doesn't list the parameters unless you have the
following wrapped around your procedure.
P ChkRqs B
P ChkRqs E

I wasn't aware you could forego using the P specs.

Kurt Anderson
Sr. Programmer/Analyst - Application Development, Service Delivery
Platform

-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of
Vernon Hamberg
Sent: Thursday, April 09, 2015 10:16 AM
To: RPG programming on the IBM i / System i
Subject: Content assist and parameters question

Hi all

I don't know if this has been covered - I have a main prototype like
this in an SQLRPGLE source member -

//--------------------------------------------------
// Procedure name: ChkRqs
// Parameter: pFromAddr => From address
// Parameter: pSubject => Subject
// Parameter: pRequest => Request info to send back
//--------------------------------------------------
D ChkRqs PR
D pFromAddr 150A
D pSubject 150A
D pRequest likeds(request_t)

//--------------------------------------------------
// Procedure name: ChkRqs
// Parameter: pFromAddr => From address
// Parameter: pSubject => Subject
// Parameter: pRequest => Request info to send back
//--------------------------------------------------
D ChkRqs PI
D pFromAddr 150A
D pSubject 150A
D pRequest likeds(request_t)

I'm at the latest of RDi. In free form, when I type "pre" and then
type Ctrl-Enter, it lists only the PREPARE SQL function.

In an RPGLE member, the behavior is similar - parameters names are not
available through content assist.

Anyone else seen this? Is there a workaround or solution?

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

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


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



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.