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



On 11/19/2024 5:22 PM, Richard Schoen wrote:
Interesting. When did the type thing come in to play ?

7.4

I always felt that CL enhancements didn't get enough 'press'.

https://www.ibm.com/docs/en/i/7.4?topic=language-whats-new-i-74

7.3 was quiet, but 7.2 had some string handling enhancements: https://www.ibm.com/docs/en/i/7.2?topic=language-whats-new-i-72

I don't recall when it was added, but CALLSUBR and friends make CL programming fun again.
--buck

------------------------------

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