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



Hi Dennis,

If I code ...

DTST500R PR ExtPgm('TST500R')
D 10
D LikeDS(Test) Dim(2)

DTST500R PI
D Key 10
D Result LikeDS(Test) Dim(2)

DTest DS Qualified
D First 255
D Last 255

... and don't specify a name for the second parameter on the prototype,
I get an RNF3378 (Keyword LIKEDS or LIKEREC is not allowed when a length
has been specified) in SEU. I agree that it isn't important what I put
in there, but it does require me to enter something (maybe that it
compiles if I ignore the SEU error, but I haven't tried that).

Kind regards,
Paul

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Dennis Lovelady
Sent: dinsdag 12 januari 2010 13:35
To: 'RPG programming on the IBM i / System i'
Subject: RE: confused over this prototype definition


I'm afraid Birgitta is correct, Paul. A prototype is nothing more than
its
name implies.

(I thought I had sent this from "home," but it didn't seem to come
through.
Apologies if it's a duplicate.)

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
"Income tax returns are the most imaginative fiction being written
today."
-- Herman Wouk




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.