|
OK. Problem solved. I did not have user profiles matching on the target and source systems. ----- Original Message ----- From: "Mike Silvers" <msilvers@xxxxxxxxxxx> To: <rpg400-l@xxxxxxxxxxxx> Sent: Tuesday, June 08, 2004 7:07 AM Subject: Problems using a DDM file > I have a program that calls a program on another system using the rexec() > API. The program on Box1 calls the program on Box2. The program on Box2 > uses a DDM file to lookup information on Box1. This is required because > additional information is required during runtime. > > When I test this process on Box1, everything works well. When I run this > process as it was designed, with the calling program on Box1 and the called > program on Box2, it fails. I receive the error: > > Authorization failure on DDM TCP/IP connection attempt. > Cannot open DDM file LQPLCUS034 in SHPWLS. > Error message CPF4207 appeared during OPEN for file LQPLCUS034. > > In an effort to track down the problem, I wrote a program on Box2 to call > the calling program on Box2. This was to check the runtime use of the DDM > files. When I run this process interactively on Box2, there is no error. > > I tried to compile the program on Box2 with the user profile set to *OWNER > and compiled the program with the same user profile in which I ran the > tests. I receive the same error. > > Any ideas? > > Thanks > > Mike > > > ======================================= > Mike Silvers > Senior Programmer/Analyst > iSeries Websphere Certified > Hainey Business Systems > Main Office: (717) 718-9601 ext 237 > Branch Office: (410) 397-8739 > http://www.hbs-inc.com > AIM: IBMJavaMan > ======================================= > > > -- > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list > To post a message email: RPG400-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/rpg400-l > or email: RPG400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/rpg400-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.