|
Hrishikesh,
If you have a fairly controlled environment and decent user security you
can run the following command on a mapics file library to grant read
authority. There are a million ways to skin this cat tho, I agree that
AMAPICS should not be a group authority, it is way to dangerous! And
configuring client access odbc under a powerful profile is dangerous as
well.
Note you do need to have everyone out of MAPICS to run this since it
needs and exclusive lock over the files it changes!
GRTOBJAUT OBJ(AMFLIBT/*ALL)
OBJTYPE(*FILE)
USER(*PUBLIC)
AUT(*USE)
Regards
Konrad
-----Original Message-----
From: hrishikesh kotwal [mailto:hdkotwal@xxxxxxxxxxx]
Sent: Friday, June 06, 2003 10:10 AM
To: MAPICS-L@xxxxxxxxxxxx
Subject: Authority to Mapics Files from PC programs
Hi all:
We have started developing many PC programs that access Mapics Files
via
ODBC & SQL. The users who use these PC programs are also Mapics
Users.
Therefore, they already have atleast 'Read' access to Popular Mapics
files. But when the same users are trying to access the files from PC
programs, they get the following error message:
*** START ***
General SQL error.
[IBM][Client Access Express ODBC Driver [32-bit][DB2/400 SQL]SQL0551
- Not
authorized to object ITEMASA in AMFLIBQ type *FILE.
***END***
How to deal with this problem?
Thanks in advance.
Regards,
Hrishikesh Kotwal
----------------------------------------------------------------------
It's magic. It's a whole new world. It's the Windows XP experience.
_______________________________________________
This is the MAPICS ERP System Discussion (MAPICS-L) mailing list To post
a message email: MAPICS-L@xxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit: http://lists.midrange.com/mailman/listinfo/mapics-l
or email: MAPICS-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/mapics-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com 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.