Re: java prototype fixed to free

"stefan-6HgPSzB/[email protected]" <stefan-6HgPSzB/[email protected]> Thu, 19 Mar 2026 20:22:59 +0000
Newsgroups gmane.comp.lang.as400.rpg
Message-ID <AS8PR08MB9119241A78CB4C467C66933BFF4FA@AS8PR08MB9119.eurprd08.prod.outlook.com>
In the fixed format definition the parameters are not varchar ( or varying ).
So char() seems more appropriate.


Best regards



Stefan



--

No trees were killed in the sending of this message, but a large number of electrons were terribly upset.



Stefan Tageson

+46 732 369934

stefan-6HgPSzB/[email protected]<mailto:stefan-6HgPSzB/[email protected]>



________________________________
From: RPG400-L <rpg400-l-bounces-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org> on behalf of eric bothes <[email protected]>
Sent: Thursday, March 19, 2026 21:18
To: Midrange-RPG <[email protected]>
Subject: java prototype fixed to free

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: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support-FMtJrHiV//lnDLsaKlm4mFaTQe2KTcn/@public.gmane.org for any subscription related questions.

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

Please contact support-FMtJrHiV//lnDLsaKlm4mFaTQe2KTcn/@public.gmane.org for any subscription related questions.