Re: return() and retain job log

Patrik Schindler <[email protected]> Sat, 3 Jan 2026 12:22:25 +0100
Newsgroups gmane.comp.lang.as400.c
Message-ID <[email protected]>
Hello Robert,

Am 02.01.2026 um 04:04 schrieb rob-VGj5NKMg/[email protected]:

> I'm not a C programmer so I can't give an example in C, I just follow this forum as every so often there's some interesting uses of APIs.

Thanks for that clarification!

I have in fact found some example code on GitHub and I'm working forward towards success.

If you want to have a look, see here. Note: It's not yet stable. There's currently an issue with my approach of stripping away excess blanks for command parameters. I presume there is a difference between using command positional parameters and named parameters. Using positional parameters works.

https://github.com/PoC-dev/chkhibpwnd

:wq! PoC


-- 
This is the Bare Metal Programming IBM i (AS/400 and iSeries) (C400-L) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/c400-l
or email: [email protected]
Before posting, please take a moment to review the archives
at https://archive.midrange.com/c400-l.