Control-M Job vs Windows process id

Tools and several solutions to manage Control-M products
Post Reply
User avatar
Alain_bou
Nouveau
Nouveau
Posts: 3
Joined: 31 Jan 2009 12:00

Control-M Job vs Windows process id

Post by Alain_bou » 11 Sep 2009 5:43

Hi,

Is it possible to know what is the exact process id (on Wondows server) corresponding to a job execution in Control-m?

NB My COntrol-m server version 6.3. I have agent at version 6.3.01, 6.1.03 and 2.24.

Thank you very much
Alain

User avatar
Walty
Nouveau
Nouveau
Posts: 473
Joined: 20 Jan 2006 12:00

Post by Walty » 15 Sep 2009 5:05

Hi,

This is only a suggestion.

When a job is submitted, a temporary file is created in the agent directory.

Unix: $CONTROLM_AGENT/ctm/status/<OrderID> _ <runcount>. Dsect
Windows: C:\Program Files\BMC Software\CONTROL-M Agent\<agent_name>\ STATUS\<OrderID>_ <run count>. Dsect

This file is removed when the job is finished.
In this file you have some informations such as:

- Name the job executed <JOBNAME>
- The process ID for the job running on the agent <PROCID>
- The order ID for the job <ORDERNO>
- .....

Example:

DSECT_HEADER_KEY_VERSION 06
DSECT_HEADER_KEY_APPID CM
DSECT_HEADER_KEY_SID X
DSECT_HEADER_KEY_MID R
DSECT_HEADER_KEY_LAST T
DSECT_HEADER_KEY_CTMS_HOSTNAME labctm01
DSECT_HEADER_KEY_TASK_CLASS
DSECT_HEADER_KEY_APPL_TYPE WIN
DSECT_HEADER_KEY_APPL_VERSION
DSECT_TYPE 11
MEMNAME test
JOBNAME test
TASKTYPE C
CMDLINE sleep 60
MEMLIB
OVERLIB
OWNER labag01
ORDERNO 0d15i
RUNNO 00002
DSECT_ON_COUNT 000
START_TIME 20090915162520
JOBSTATUS 4
REQTYPE TRACK
PROCID 375400
Best regards
Walty

User avatar
Alain_bou
Nouveau
Nouveau
Posts: 3
Joined: 31 Jan 2009 12:00

Post by Alain_bou » 18 Sep 2009 4:09

Hi Walty,

Thank you very much for your suggestion. I think It is what I need...

Thanks again.

Post Reply