OK. I'll try to summarize this clearly. I'm completely stumped at what I did wrong or what factor I'm not aware of missing.
I'm working on an evaluation program that is not yet live. It is in my Sandbox library.
As it is being tested, I originally set it up to update two files within my Sandbox, one taking snapshots of before and after data of accounts evaluated for review (larger file maybe 80 records avg added per evaluation run)and the other as a numerical tally of the scenarios found (so all numbers - 1 record added per evaluation run).
Originally inside the Live Process:
Then to start preparing for moving the evaluation program live:
After a little while, I realized I was still getting comparison record data in the file in my own sandbox, but no longer getting the statistical breakdown logging in SPEVALOG in the Live FILE.
I don't run the process ever that hits this process, but I watched their log files yesterday and today and found this in their JobLog:
Since the process is run a few times a day, I kept increasing Authority to the SPEVALOG for Public and finally gave every user that runs this process *ALL authority and gave PUBLIC *USE authority by the end of the day.
Today's user's job log had the same messages though in her job log. She has *ALL authority to the file, so I'm completely stumped at what to try next. Or even where to look for more information.
Please help! I don't know what to even search for anymore!
Thank you!
Elizabeth
I'm working on an evaluation program that is not yet live. It is in my Sandbox library.
As it is being tested, I originally set it up to update two files within my Sandbox, one taking snapshots of before and after data of accounts evaluated for review (larger file maybe 80 records avg added per evaluation run)and the other as a numerical tally of the scenarios found (so all numbers - 1 record added per evaluation run).
Originally inside the Live Process:
- OPM Procedure is called
- At the very end, I tacked on a call to CL wrapper pgm I created.
- The wrapper adds my Sandbox to the user's Library List, but not as the primary library
- OVRDBF is used for the live files being evaluated to be sure they are looking at the Live library
- My SQLRPGLE program is called.
- The Program has an embedded SQL INSERT statement to update both logging files.
- Two other new files are referenced within the Sandbox with SELECT statements only.
- When the program is done, DLTOVR is used, the Sandbox library is removed.
Then to start preparing for moving the evaluation program live:
- I created the numerical log file (SPEVALOG), and the two reference files, ZIPA & ZIPB (for a generic naming). I cannot remember if I used CPYF for these on the iSeries or if I used SQL create statements through SQuirreL, which may be part of the problem.
- I added an OVRDBF statement to the CL wrapper so SPEVALOG would be looking at the Live Library instead of the Sandbox library.
After a little while, I realized I was still getting comparison record data in the file in my own sandbox, but no longer getting the statistical breakdown logging in SPEVALOG in the Live FILE.
I don't run the process ever that hits this process, but I watched their log files yesterday and today and found this in their JobLog:
Code:
Job started. Buffer length longer than record for member SPEVALOG. Not authorized to object SPEVALOG in QS36F type *FILE. Not authorized to object SPEVALOG in QS36F type *FILE. DSPLY SQLPGM read 237 orders. 17 new method. Job ended.
Today's user's job log had the same messages though in her job log. She has *ALL authority to the file, so I'm completely stumped at what to try next. Or even where to look for more information.
Please help! I don't know what to even search for anymore!
Thank you!
Elizabeth
Comment