Does anybody remember how user switching was done two decades ago in OS/400?
According to my V2R3 API manual, chapter 53, it would be done using QSYGETPH and QWTSETP, both of which are OPM APIs, called as programs.
Since they didn't change the user portion of the qualified job name, or the user under which the job appeared in WRKACTJOB, we didn't use them; we simply spawned off jobs under the desired user profile.
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.