![Adam Taylor-Williams Profile](https://pbs.twimg.com/profile_images/1110585723005124610/YjRIrKeZ_x96.png)
Adam Taylor-Williams
@adam_on_i
Followers
275
Following
786
Statuses
799
@KatoIntegration IBM i dev. #ibmi enthusiast, PASE aficionado, ILE fan. @GatewayTech grad. He/Him. 🏳️🌈
Wisconsin, USA
Joined February 2017
@notesofbarry I think this has to be right - I tried using _NPMPARMLISTADDR and was able to get the full parameter list regardless of the prototype, and access the unprototyped parm values.
0
0
3
@ImRickyT I'd forgotten they added these BIFs! I don't think I can do anything with them inside of the "OldProc" though b/c they'll hit a compile error due to no second parm to reference, but this does give me an idea of something different to test!
0
0
0
@kadlerio So far it doesn't look like ARGOPT(*YES) makes a difference, at least not for the test cases I've tried so far. Also tried with OPTIMIZE(*FULL) for good measure in case that would have an impact.
0
0
0
@AlexanderStix Pretty much yeah, the compiler injects another subproc at compile-time in place of the on-exit.
0
0
0
@OSSJesseG That's impressive, thanks! I'd been contemplating building out a Python script to do something like this, but this is way easier.
0
0
0
@richardschoen Honestly fascinating! Do you remember how long ago that was? Kind of curious if it's something that might have gotten fixed via a PTF or if it's still buggy and something I could open a case on.
1
0
0
@richardschoen Thanks for pointing me at those! I'd been looking at an older fork of QSHONI which didn't have the SRVPGM. Just curious, is there a reason why QSHONI programs are all OPM?
1
0
0