× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi,
I have a scenario where I am attempting to submit a job (from within an RPG
pgm using QCMDEXC) under a specified user profile.  The user profile comes
from a table.

Here's the flow.

User#1 calls PgmA.
>From within PgmA, PgmB is submitted (using QCMDEXC) under user profile
User#2.

Originally I got an error stating that User#1 does not have authority to
User#2 profile and thus the job didnt submit.  So, instead of messing around
with the user profiles, I changed the attributes of PgmA to be
Owner=QSECOFR, User Profile=*OWNER and Use Adopted Authority=*YES.  I
figured this would work.  So now when it runs, the PgmA does not crash, but,
PgmB never seems to get submitted.
Anyone have any ideas on how to make this work?  I may be way off base with
my approach so any ideas would be appreciated.

Thanks


Doug Hodder
MIS Department
Fishery Products International
(709) 570-0404
dhodder@xxxxxxxx


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.