OLQ 094015 08 Command or qfile definition not found in OLQBATCH
search cancel

OLQ 094015 08 Command or qfile definition not found in OLQBATCH

book

Article ID: 217355

calendar_today

Updated On:

Products

IDMS

Issue/Introduction

An OLQBATCH job step gets this error:

OLQ 094015 08  Command or qfile definition not found

Environment

Release : All supported releases.
Component : CA OLQ.

Cause

Missing continuation character in an OLQ SELECT command.

Resolution

The input being used was as follows:

SELECT DEPT-ID-0410, EMP-ID-0415 FROM DEPARTMENT, EMPLOYEE      -
WHERE DEPT-EMPLOYEE                                              
OUTPUT OUTFILE                                                   

Note that in this OLQBATCH input, the OUTPUT text is a clause of the SELECT statement and therefore a continuation character, - (as is present in the first line) is also required at the end of the second line:

SELECT DEPT-ID-0410, EMP-ID-0415 FROM DEPARTMENT, EMPLOYEE      -
WHERE DEPT-EMPLOYEE                                             -
OUTPUT OUTFILE                                                   

Without the continuation character in the second line, OLQBATCH assumes that the text "OUTPUT OUTFILE" is a new statement.

Note that in the QFILE command, the text "QFILE" is optional, so the parser assumes that the word OUTPUT (not an otherwise valid OLQ command) is the name of a QFILE.

There is no QFILE called OUTPUT so the 094015 error is issued.