I'm creating a processflow to monitor Batch jobs completion.
Using SQL node to query "GEN" table QUEUEDJOB.
When testing query, field STATUS returns values like [B@f106b0
First, is this correct table to monitor batch jobs?
If yes, how can we determine if job went to recovery or completed successfully when
STATUS has values like [B@f106b0 ? What am I missing?
Below job PA102 completed successfully but STATUS returns unknown value [B@1bc6b3a
What does [B@1bc6b3a mean?
Here's our test SQL looking for job PA102 with SQL results:
Success executing SQL: SELECT USERNAME, JOBNAME, R_STATUS FROM GEN.QUEUEDJOB WHERE JOBNAME = 'PA102'
Number of rows returned: 1
Thanks for your replies and assistance.
We have a flow that does this. but, we are using the Lawson query node and not SQL.
PROD=GEN&FILE=QUEUEDJOB&FIELD=JOBNUMBER;STATUS;JOBNAME;USERNAME;JOBQUEUE;TOKEN;ACTSTARTDATE;ACTSTARTTIME&SELECT=STATUS=34|STATUS=35&OUT=CSV&DELIM=~