|
On 12/21/2013 2:44 PM, CRPence wrote:
-snip-
The C language has a capability to effect an open using the
"process large object fields specified in the program" for the
UFCB. That is of no help directly to the RPG unless the same
capability is exposed via the RPG as well, because a shared open
would still fail, just like the full open, but with the error msg
CPF417C RC6 instead of the CPF428A. And deferring the work to the C
vs to the SQL is probably not necessarily any better as a solution.
And obviously, if the capability is [were to be] exposed via the
RPG, then no reason to defer to the C [for its _Ropen lobptrs=Y
capability].
http://archive.midrange.com/c400-l/201111/msg00013.html
-snip-
Just as a wild toss - since almost all the C functions can be run in
RPG, they could be used for RLA instead of F-specs. That is something
I was considering to update an old utility by a fellow named
Monypenny for generic file handling - his stuff didn't handle
null-capability, etc.
Granted, C-level RLA is not as much fun as native RPG, but it does
work. And I'd like to think we can call those routines in RPG, just
as we can for everything else we can do.
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.