Need to access data from one IBMi system to the other using 3 part SQL. Both systems are in same server, but different LPARs.
The user profile from source system is expected to exist in target system also. As there are many user ids (1000+) from source system missing in target system, 3 part SQL is failing.
Sample SQL executed in an SQLRPGLE program from Source system:
Select '1' Into :WkVariable From TrgetSvr/DataLib/GrpTable Where Grp = :wkGrp With UR
Is there a way to execute 3 part SQL under a specific/common user, so not each user had to exist in the target system?
Errors received:
Message . . . . : Authorization failure on DRDA/DDM connection attempt. (CPF9190)
Cause . . . . . : A connection attempt failed with reason code 6. (User ID not valid. For an IBM i application server this could mean a damaged user profile or PASSWORD(*NONE).)
SQ30082 Authorization failure on distributed database connection attempt
Thanks!
------------------------------
Prakash Shanmugam
------------------------------
#SQL