×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Also why are you not using the LIKE keyword on the logfile name definition? It is also unlilkely to be varchar I suspect.

Did you use a tool to do this? It is built into Code for i and there is also the Cozzi plug-in which has larger scope. Don't attempt to do it by hand it is a waste of time and, as you have demonstrated, error prone.


Jon Paris
Jon.Paris@xxxxxxxxxxxxxx



On Mar 19, 2026, at 4:18 PM, eric bothes <iseriesstuff@xxxxxxxxx> wrote:

Just wanted to check with the group to see if this conversion is correct

this

Dinit PROEXTPROC(*JAVA:'Mail4RPG2':*CONSTRUCTOR)
D ssluser 30a CONST
D sslpass 30a CONST
D key 10a CONST
D logfile LIKE(filename) CONST

becomes

dcl-pr init object(*JAVA:'Mail4RPG2') extproc(*JAVA:'Mail4RPG2':*CONSTRUCTOR);
ssluser varchar(30) CONST;
sslpass varchar(30) CONST;
key varchar(10) CONST;
logfile varchar(512) CONST;
end-pr;

--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.



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