|
Hi Rob, The user ID for a SEP is the user id which will run the job where your application will be running. By default, the assumption is that the user id runs the job will be the same as the user id who set the SEP. But if your application is going to run under a different user id, you need to set SEP on that user ID, and you need to have *USE authority for that user profile. It seems to me that user id SSAS2 did not have enough authority to access to those system object. Could you please check if that is the case? I may need more details about how you invoke your application when debugging and not debugging, so I could see what is the different between them. Thanks, Xuan Chen, Problem Determination Tools for iSeries (905) 413-3769 T/L 969-3769 xuanchen@xxxxxxxxxx rob@xxxxxxxxx Sent by: wdsci-l-bounces@m To idrange.com wdsci-l@xxxxxxxxxxxx cc 05/31/2006 11:08 Subject AM [WDSCI-L] (no subject) Please respond to Websphere Development Studio Client for iSeries <wdsci-l@midrange .com> I have a job that I am trying to resolve using wdsc and service entry points. It seems to behave differently when I debug it. RPGLE (no java, etc). I have to change the SEP to look for user SSA52 instead of my user id. When stepping over the line C If 0 <> SystemCmd(Cmd) I start receiving a bunch of messages in the joblog that do not appear otherwise. These are all MCH1001-Attempt to use permanent system object &1 without authority. They are repeated for a plethora of objects: QCANPARS, QCADRV2, QCARULE, QCAPOS, QCAFLD, QCATRS, QCLRSLV, QCADRV, QCAIFLD, QMHSNSTA, QSYRTVUP, QLIMROIR, QSYEXGRM, QSZGTPRD, QSZEXPRD, QSYIEXIT, QMHPDEH, QSYEXTSL, QCLCNVNC, QCAFSCAN, QCLCLCPR, QCLCLNUP, QCAIEXIT v5r3 of i5/os. MCH1001 Escape 40 05/31/06 08:51:11.927952 #auexcpt 000B80 QQDAPROC QSYS 05E4 Message . . . . : Attempt to use permanent system object QCANPARS without authority. Cause . . . . . : You tried to use the permanent system object QCANPARS without having the correct authority. C Eval Cmd = 'SNDEMAIL ADDRESSEE((' + C %Trim(eTAdr) + ' ' + Apos + C %Trim(eTNam) + Apos + ')) ' + C 'SENDER(' + C %Trim(eFAdr) + ' ' + C Apos + %Trim(eFNam) + Apos + ') ' + C 'SUBJECT(' + Apos + C %Trim(eSubj) + Apos + ') ' + C 'MESSAGE(' + Apos + C %Trim(Text) + Apos + ') ' + C 'FILENAME(' + Apos + C %Trim(Attach) + Apos + ')' C ExSr $System ... C $System BegSr C Eval ErrorCPF = *Blanks C If 0 <> SystemCmd(Cmd) C Move Failed Result 1 C Else C Move Okay Result C EndIf C #SystemZ EndSr Object . . . . . . . : QCANPARS Owner . . . . . . . : QSYS Library . . . . . : QSYS Primary group . . . : *NONE Object type . . . . : *PGM ASP device . . . . . : *SYSBAS Object secured by authorization list . . . . . . . . . . . . : *NONE Object User Group Authority *PUBLIC *EXCLUDE QSYS *ALL QSRV *CHANGE Rob Berendt -- Group Dekko Services, LLC Dept 01.073 PO Box 2000 Dock 108 6928N 400E Kendallville, IN 46755 http://www.dekko.com -- This is the Websphere Development Studio Client for iSeries (WDSCI-L) mailing list To post a message email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/wdsci-l or email: WDSCI-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/wdsci-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.