Look at the second level message text for the CPDB053 message which was issued to your job and post the values shown for error class and error code.
- sjl

"Versfelt, Charles" wrote in message news:mailman.6394.1350395215.2683.midrange-l@xxxxxxxxxxxx...

I'm having a problem with error CPDB053 when my program accesses a QNTC subfolder. I am using the SWAPUSRPRF program with *NOPWD to switch to a user profile that has access to QNTC and its subfolders.

We have two iSeries. My program is working on one iSeries, but not the other. Both iSeries have the same user profiles set up with the same name, and presumably, both user profiles are identical. Our operations group spent some time trying to see what's different in the authorities between the two systems to no avail. Our network group says that there should be no access problems to the network folders.

I tried putting my program in debug on each of the two systems, with a breakpoint after the SWAPUSRPRF and then, go to a command line and do a WRKLNK on QNTC. On the iSeries where the process is working, I can open the subfolder and I can find the file I'm trying to reach. On the iSeries where the process is not working, I can WRKLNK QNTC and no error, but when I open the subfolder I get the CPDB053 on the subfolder and it shows as empty.

Obviously there's something not the same between the two iSeries security to those folders in QNTC. What do you suggest to find the problem?

Charlie Versfelt
Myron Corp.

This email message has been delivered safely and archived online by Mimecast. For more information please visit http://www.mimecast.com

Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2015 by MIDRANGE dot 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 here. If you have questions about this, please contact