There is RPGLE code for the EIM apis here. I've had good success with it.
http://ibm.co/2m3jfbE
Lorne
--
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Steinmetz, Paul
Sent: Wednesday, March 22, 2017 5:28 PM
To: 'Midrange Systems Technical Discussion' <midrange-l@xxxxxxxxxxxx>
Subject: RE: SSO - creating EIM source associations in batch
I've identified the EIM API needed to do this.
eimAddAssociation()--Add EIM Association
https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_71/apis/eimaddassociation.htm
This cannot be called directly, since it is a service program.
Service Program Name: QSYS/QSYEIM
I've never worked with service programs, and we only use a few here.
I'm looking for an example for this API, either CL or RPGLE.
Paul
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Vernon Hamberg
Sent: Monday, March 20, 2017 12:23 AM
To: Midrange Systems Technical Discussion
Subject: Re: SSO - creating EIM source associations in batch
There are APIs for EIM that can do all the stuff you want - I think someone gave you the path through Knowledge Center to get to them.
On 3/18/2017 8:35 PM, Steinmetz, Paul wrote:
I've discovered how to create the EIM identifier and target association in batch.
CHGUSRPRF USRPRF(PAULS) EIMASSOC('Paul Steinmetz' *TARGET *ADD
*CRTEIMID)
I'm looking for a method to also create the *source association.
Thank You
_____
Paul Steinmetz
IBM i Systems Administrator
Pencor Services, Inc.
462 Delaware Ave
Palmerton Pa 18071
610-826-9117 work
610-826-9188 fax
610-349-0913 cell
610-377-6012 home
psteinmetz@xxxxxxxxxx
http://www.pencor.com/
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
http://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
http://amzn.to/2dEadiD
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
http://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
http://amzn.to/2dEadiD
As an Amazon Associate we earn from qualifying purchases.