1. You can get job information by calling function "BP_JOB_READ".
If you pass the value btc_read_jobhead_only defined in LBTCHDEF, it will only return the job header info into the export parameter JOB_READ_JOBHEAD.
The job status is set in JOB_READ_JOBHEAD-STATUS.

 

2. Alternatively, you can just lookup table TBTCO, the status is in TBTCO-STATUS.

The values in STATUS are defined in LBTCHDEF as follows;


DATA:
BTC_RUNNING LIKE TBTCO-STATUS VALUE 'R',

BTC_READY LIKE TBTCO-STATUS VALUE 'Y',

BTC_SCHEDULED LIKE TBTCO-STATUS VALUE 'P',

BTC_RELEASED LIKE TBTCO-STATUS VALUE 'S',

BTC_ABORTED LIKE TBTCO-STATUS VALUE 'A',

BTC_FINISHED LIKE TBTCO-STATUS VALUE 'F',

BTC_PUT_ACTIVE LIKE TBTCO-STATUS VALUE 'Z',

BTC_UNKNOWN_STATE LIKE TBTCO-STATUS VALUE 'X'.

相关文章:

  • 2022-12-23
  • 2021-12-18
  • 2022-02-12
  • 2021-10-17
  • 2022-02-06
  • 2022-12-23
  • 2022-02-07
  • 2021-09-28
猜你喜欢
  • 2022-12-23
  • 2021-08-09
  • 2021-12-02
  • 2021-08-27
  • 2022-12-23
  • 2021-12-02
  • 2021-05-26
相关资源
相似解决方案