To list the contents of the container “e.g.“ the following command should be entered:
cadsmcmd jobContainer action=listJobs name=e.g.
CA IT Client Manager r12 ITCM Command Line Version 12.8.0.xxxx Copyright (c) 2014 CA. All rights reserved. Connecting to manager "wwwww01b" as user "<default user>" ...OK. ------------------------------------------------------------------------------- Job list of job container “e.g.“ ------------------------------------------------------------------------------- Job name...............................: prod 1 1.0:inst ..Task.................................: install ..Overall state........................: WAITING ..Job order number.....................: 1 Job name...............................: prod 3 1.0:inst ..Task.................................: install ..Overall state........................: WAITING ..Job order number.....................: 2 Job name...............................: prod 2 1.0:delivery proc ..Task.................................: deliver ..Overall state........................: WAITING ..Job order number.....................: 3 ------------------------------------------------------------------------------- Number of jobs read: 3 Number of jobs listed: 3 sdcmd<a000000>: OK
The previous list is shown, when the job container is not sealed. After sealing, you may receive the following list:
CA IT Client Manager r12 ITCM Command Line Version 12.8.0.xxxx Copyright (c) 2014 CA. All rights reserved. Connecting to manager "wwwww01b" as user "<default user>" ...OK. ------------------------------------------------------------------------------- Job list of job container “e.g.“ ------------------------------------------------------------------------------- Job name...............................: prod 1 1.0:inst ..Task.................................: install ..Overall state........................: OK ..Job order number.....................: 1 ..Target...............................: KKKKK01A ....Job state..........................: EXECUTION_OK ..Target...............................: KKKKK01B ....Job state..........................: EXECUTION_OK Job name...............................: prod 3 1.0:inst ..Task.................................: install ..Overall state........................: ERROR ..Job order number.....................: 2 ..Target...............................: KKKKK01A ....Job state..........................: EXECUTION_OK ..Target...............................: KKKKK01B ....Job state..........................: EXECUTION_ERROR Job name...............................: prod 2 1.0:delivery proc ..Task.................................: deliver ..Overall state........................: OK ..Job order number.....................: 3 ..Target...............................: KKKKK01B ....Job state..........................: DELIVERY_OK ------------------------------------------------------------------------------- Number of jobs read: 3 Number of jobs listed: 3 sdcmd<a000000>: OK
This list is a job-oriented list. To retrieve a target oriented list enter the following command:
cadsmcmd jobContainer action=listJobs name=“e.g.“ TV
CA IT Client Manager r12 ITCM Command Line Version 12.8.0.xxxx Copyright (c) 2014 CA. All rights reserved. Connecting to manager "wwwww01b" as user "<default user>" ...OK. ------------------------------------------------------------------------------- Job list of job container “e.g.“ (TV) ------------------------------------------------------------------------------- Target.................................: KKKKK01A ..Job overall state....................: OK ..Job name.............................: prod 1 1.0:inst ....Task...............................: install ....Job state..........................: EXECUTION_OK ..Job name.............................: prod 3 1.0:inst ....Task...............................: install ....Job state..........................: EXECUTION_OK Target.................................: KKKKK01B ..Job overall state....................: ERROR ..Job name.............................: prod 1 1.0:inst ....Task...............................: install ....Job state..........................: EXECUTION_OK ..Job name.............................: prod 3 1.0:inst ....Task...............................: install ....Job state..........................: EXECUTION_ERROR ..Job name.............................: prod 2 1.0:delivery proc ....Task...............................: deliver ....Job state..........................: DELIVERY_OK ------------------------------------------------------------------------------- Number of jobs read: 5 Number of jobs listed: 5 sdcmd<A000000>: OK
When the following is invoked
cadsmcmd jobContainer action=listJobs name=“e.g.“ TV alt then the returned list might look as follows:
CA IT Client Manager r12 ITCM Command Line Version 12.8.0.xxxx Copyright (c) 2014 CA. All rights reserved. Trace mode: Off Connecting to manager "<default manager>" as user "<default user>" ...OK. Manager: mgr_1 Domain: mgr-1 Domain type: Domain Supporting: CO CCNF USD OSIM ------------------------------------------------------------------------------- Job list of items for job container "e.g." ------------------------------------------------------------------------------- Target.................................: KKKKK01 ..Job name.............................: prod 1 1.0:inst ..Job identifier.......................: 27B1661D-ED2D-DB01-B402-000F1F7090E6 ..Item name............................: prod 1 ..Item version.........................: 1.0 ..Procedure name.......................: inst ..Task.................................: install ..User parameters......................: ..Job state............................: EXECUTION_ERROR ..Error code...........................: 228001 ..Error message........................: 1 ..Creation date........................: 2006-08-17 ..Creation time........................: 14:37 ..Activation date......................: 2006-08-17 ..Activation time......................: 14:36 ..Completion date......................: 2006-08-17 ..Completion time......................: 14:37
To list Jobs that are with overall state 'ok', enter the following command:
cadsmcmd jobcontainer action=listjobs name=e.g. filter=”Overall state=OK”
The returned list is as follows:
Job name...............................: prod 1 1.0:inst ..Task.................................: install ..Overall state........................: OK ..Job order number.....................: 1 ..Target...............................: KKKKK01A ....Job state..........................: EXECUTION_OK ..Target...............................: KKKKK01B ....Job state..........................: EXECUTION_OK Job name...............................: prod 2 1.0:delivery proc ..Task.................................: deliver ..Overall state........................: OK ..Job order number.....................: 3 ..Target...............................: KKKKK01B ....Job state..........................: DELIVERY_OK Number of jobs read: 3 Number of jobs listed: 2 sdcmd<a000000>: OK
Copyright © 2014 CA Technologies.
All rights reserved.
|
|