Hi Everyone,
I'm putting together a set of /INCLUDE members that contains the Prototypes for IBM i APIs.
The C language has these in the H file in QSYSINC but for 30 years IBM has failed to add them to QCPYSRC (or even QRPGLESRC) in QSYSINC.
Over the last 30 years, I've been prototyping the ones I've used and now I am, as needed, converting them to the free format RPG syntax.
I'm trying to figure out if I should just post them on my website for download or if there's a public place that IBM sponsors where everyone can get into it without being a member of this club or group or a customer of company xyz?
I've got most of the commonly used APIs already prototyped and many have been converted to free format. I am currently working on the more complex Message QMH* APIs.
I see this as a living document until everything that people actually use has been published.
As an example, here's the correct QCMDEXC prototype in free format:
/IF NOT DEFINED(QCMDEXC)
/DEFINE QCMDEXC
dcl-pr qcmdexc extpgm('QCMDEXC');
cmdString char(32702) Const OPTIONS(*VARSIZE);
cmdLength packed(15:5) Const;
IGC char(3) Const OPTIONS(*NOPASS);
end-pr;
/ENDIF
-Bob Cozzi