Did you create the program also? If not, the program may be using the authority of the user that created it. Using DSPPGM <program name>, check the "User profile" and "Use adopted authority" parameters. If it's adopting the authority of the *OWNER and the owner has no rights to your file, that is your problem. Hope that helps. Donald R. Fisher, III Project Manager The Roomstore Furniture Company (804) 784-7600 ext. 2124 DFisher@roomstoreeast.com <clip> I created a file. If I clear the file (clrpfm) from the command line, all is well. If I call a program from a command line that clears this file, I get an error message saying that I am not authorized. <clip>
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.