Ashish Kulkarni wrote:
I have a java program which calls a RPG program on
AS400 using PCML and programCall,
This java program is outside of AS400,
If i call this java program is called by User ID ABC,
can the RPG program swap it to User id XYZ, provided
they have proper authority,
I know program swap does not work in java program if
the java program is running outside of AS400.

Since you're running off the System i ... can you just connect to the
system with the user id you would normally swap to?

Although I haven't played around with swaping profiles in Java, perhaps
the ProfileTokenCredential object would be of use


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by 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.