Skip to content

Search found 2 matches

How/When GA locks files

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?

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. ??