Attempts to execute the IDB2 DISTRIB IQL report in batch via the NSIGHTRW program fails with:
'DBG01014E MISSPELLED RESERVED WORD OR LITERAL' and 'DBG02018E INVALID FIELD SPECIFICATION' error messages.
Release : 20.0
Component : CA SYSVIEW Performance Management Option for DB2 for z/OS
Missing Global Declare Statements
When converting data collector requests to batch you must always concatenate the global DECLARE statements ahead of the request you intend to run.
//DBGIN DD DISP=SHR,DSN=Highlevel.CDBATREQ(DCL$A$D)
// DD DISP=SHR,DSN=Highlevel.CDBATREQ(DCL$E$P)
// DD DISP=SHR,DSN=Highlevel.CDBATREQ(DCL$Q$Z)
// DD DISP=SHR,DSN=Highlevel.CDBATREQ(DISTRIB)