FUNCTION QUERY statement syntax

The FUNCTION QUERY control statement must follow certain syntactic specifications.

The syntax of the FUNCTION QUERY control statement is:

Start of change
Read syntax diagramSkip visual syntax diagram FUNCTION QUERY AGE= nnnnnnnn,AGEUNITS=DAYS,AGEUNITS=SECONDS,AREA=(, choose one or moreALLGLOBALLOCALOVERFLOWQSN),QUEUETYPE=(, choose one or moreALLAPPCLONGLTERMDEADQOTMAREMOTESHORTSERIALSUSPENDTRANSACTION),SBMPxx,1RCT= Y,TOPAM= nn,TOPLA= nn,TOPLM= nn,TOPSM= nn
Notes:
  • 1 Required for all jobs that are started because a threshold was crossed.
End of change