|
When you run interative all the file/pgms are in one job stream and program adoption can take place. Which is what I think is happening. The adopt authority on the pgm objects is so you can adopted authority from previous program levels. If you are using program adopt for the security, a SBMJOB stops that as it is a new job. Make sure that the program you are submitting has the correct authority (owner, adopt,etc) and it should be okay. ---------------------original message---- message: 2 date: Fri, 23 Jan 2004 11:21:54 -0600 from: "Malchow, Grizzly" <GMalchow@xxxxxxxxxxxxxxxxxxxxx> subject: Losing Authority to a file in Batch I think I've seen this before but I can't remember what the solution is. I have a program that is accessing a file for input only. When the program is run interactively it works fine, but when it is submitted to batch I receive errors that the user is not authorized to the file. Can anyone tell me what causes this? Marty Winkler mwinkler@xxxxxxxxx 517-546-5400 ext 1387 Thanks
As an Amazon Associate we earn from qualifying purchases.
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.