Hi Guys, I've asked you this before in emails, hoping maybe someone else on forum might have ideas. The issue is using SQL to read the files versus RPG I/O. RPG closes any file locks when processing LR and closing. SQL does not seem to play by those rules. These files stay locked until the CGI job itself is killed. I don't mean update locks, I mean read locks, they are "open".
This has become more problematic now that I have setup a test system. I have job that copies live to test every night, now some files fail because CGI jobs still holding locks from testing in test system.
Isn't there anyway to change this behavior? We are 24/7 operation, so ending the CGI jobs isn't really an option. Well, I don't think. The same CGI jobs run both prod and test sessions.
Any advice appreciated from anyone. Thanks!
This has become more problematic now that I have setup a test system. I have job that copies live to test every night, now some files fail because CGI jobs still holding locks from testing in test system.
Isn't there anyway to change this behavior? We are 24/7 operation, so ending the CGI jobs isn't really an option. Well, I don't think. The same CGI jobs run both prod and test sessions.
Any advice appreciated from anyone. Thanks!
Comment