Our QUERY subsystem has a lockword assigned to it. We are running a process in batch that will invoke QUERY to do some database updates. Does anyone remembers how to pass a file lockword thru a JCL (batch)? If we run QUERY on-line and type the lockword, it just works fine; however if we use the lockword in a JCL, we get this error: :COMMENT :QUERY The specified LOCKWORD does not match the LOCKWORD associated with the file; this is a LOCKWORD violation. (FILE OPEN ERROR -469) File System message 469 HPFOPEN failed. (LDRERR 56) Native mode loader message 56 Unable to load program to be run. (CIERR 625). Can anyone of our fellow listers give us some Holidays help?