Understanding GA locks:
I am doing a simple SELECT count(*) FROM lib/file
if no records, then I exit.
if records are found, I want to ALCOBJ the file, but get an error saying it is already allocated.
Did GA lock it?
Search found 2 matches
- Mon Jul 23, 2012 8:14 am
- Forum: Community Forum
- Topic: How/When GA locks files
- Replies: 0
- Views: 4582
- Fri Jul 20, 2012 12:42 pm
- Forum: Community Forum
- Topic: Explain how GA file lock logic.
- Replies: 1
- Views: 7503
Explain how GA file lock logic.
I would like to understand GA lock logic. I do a sql select to count number of records on a file, and if we do not have records i just exit. But when we have records, I try and do a ALCOBJ on the file, and GA gives me a error saying file is already locked. ??