QRG7090

*LOCK is specified in Factor 1 of an IN or OUT operation with an LDA specified in Factor 2 or an IN operation with a PDA specified in Factor 2. These data areas cannot be locked. Defaults to blanks in Factor 1.

Remove Factor 1 or change Factor 2 to a data area name that can be locked. Recompile.