Not sure I see the issue here.
If your program needs special authorities and you're writing this for a
customer simply explain why it needs special authorities. Not sure about
the *SECADM part though :-)
Customers are reasonable as long as they see the ROI of what you are
doing.
JT400 or JTOpen should work fine.
Regards,
Richard Schoen
RJS Software Systems Inc.
"Get the information you need. Now!"
Document Management, Workflow, Report Delivery, Forms and Business
Intelligence
Email: richard@xxxxxxxxxxxxxxx
Web Site:
http://www.rjssoftware.com
Tel: (952) 736-5800
Fax: (952) 736-5801
Toll Free: (888) RJSSOFT
-----Original Message-----
------------------------------
message: 5
date: Wed, 4 Mar 2009 09:18:35 -0600
from: "Blalock, Bill" <Bill.Blalock@xxxxxxxx>
subject: Running an i5 program from Java which needs special
authorities
I need some advice before I get too far into coding.
I am designing i5 programs, CLLE or RPGLE, to be called from Java.
The i5 program will use APIs which require
special authority: *ALLOBJ and *SECADM
file authority: *OBJOPR, *READ
I'd like some suggestions on how to approach this problem. Warnings
about pitfalls to avoid would be appreciated.
I'll be using V5R4 on the i5. For Java JT-Open 6.3 or 6.4 and Java 6
will be used. I want to be able to call the programs from Java running
both on the i5 and on a Windows server.
Thanks all
As an Amazon Associate we earn from qualifying purchases.