|
Interesting. When did the type thing come in to play ?
------------------------------
message: 4
date: Tue, 19 Nov 2024 16:19:10 -0500
from: Buck Calabro <kc2hiz@xxxxxxxxx>
subject: Re: How do I pass a packed numeric valid into a called RPG
program?
On 11/19/2024 3:50 PM, James H. H. Lampert via RPG400-L wrote:
On 11/19/24 12:49 PM,
dfreinkel@xxxxxxxxxxxxxxxxx wrote:
I have seen it done but never used it. How would I call a RPG program
passing packed numerics from the command line?
I'm not *absolutely* certain of this, but I *think* you have to create
a *CMD object that will pass your parameter as packed.
Far and away, this is the easiest!!!
Nowadays, if I'm in a pinch, all I need to do is CALL PGM(mypgmn)
PARM((60609 (*DEC 5 0)))
As an Amazon Associate we earn from qualifying purchases.
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.