Command to give a total number of jobs run in the AJF
Command to give a total number of jobs run in the AJF
Is there a way to run a command in a Control M job that will give me a total number of jobs run in the AJF before new day starts. I have Control M 6.2.01 for distributed systems running on Unix Solaris 8.
Thanks,
Travo
Thanks,
Travo
Command to give a total number of jobs run in the AJF
That gave me a list of what I was looking for, great! To take it one step further what do I need to add to the command to get a total number of jobs run on that same report?I tried -total and I didn't see a total.
ctmpsm -LISTJOB Executing %%PARM1 0700 %%ODATE 0659
Thanks,
Travo
ctmpsm -LISTJOB Executing %%PARM1 0700 %%ODATE 0659
Thanks,
Travo
Hi
If you want all detail about ctmpsm type ctmpsm -h
In your case you must use SQL command.
You can find some examples in script existing in that Download Part
If you want all detail about ctmpsm type ctmpsm -h
In your case you must use SQL command.
You can find some examples in script existing in that Download Part
Command to give a total number of jobs run in the AJF
Thanks, for some reason when I use
ctmpsm -LISTJOB Executing %%PARM1 0700 %%ODATE 0659
I get a list of 6 or 7 jobs when we process over 400 jobs nightly. Do you see something wrong in the command I have listed above?
I am aware of the total at the bottom of the AJF, however I need a report sent to an outlook folder with a total number of jobs in the AJF before new day everyday.
Thanks,
Travo
ctmpsm -LISTJOB Executing %%PARM1 0700 %%ODATE 0659
I get a list of 6 or 7 jobs when we process over 400 jobs nightly. Do you see something wrong in the command I have listed above?
I am aware of the total at the bottom of the AJF, however I need a report sent to an outlook folder with a total number of jobs in the AJF before new day everyday.
Thanks,
Travo
Hi TRAVO
The result is normal.
"ctmpsm" utility don't give you number of execution during the Day(Odat).
It only give you result in progress when you launched your command.
In addition here is the syntax for ctmpsm and LISTJOB parameter.
ctmpsm -LISTJOB (OK|NOTOK|EXECUTING|CYCLIC|WAITTIME|WAITCONFIRM) [-SORT (ORDERID|JOBNAME)]
The result is normal.
"ctmpsm" utility don't give you number of execution during the Day(Odat).
It only give you result in progress when you launched your command.
In addition here is the syntax for ctmpsm and LISTJOB parameter.
ctmpsm -LISTJOB (OK|NOTOK|EXECUTING|CYCLIC|WAITTIME|WAITCONFIRM) [-SORT (ORDERID|JOBNAME)]
- philmalmaison
- Nouveau
- Posts: 1148
- Joined: 08 Jun 2007 12:00
- Location: Ile de France
Command to give a total number of jobs run in the AJF
if you want to have this kind of informations, use the ctmruninf as follow:
ctmruninf -list <fromtime> <untiltime> [<filter>] [-total]
ctmruninf -delete <fromtime> <untiltime>
ctmruninf -purge
fromtime, untiltime : YYYYMMDDHHMMSS
filters : -JOBNAME <jobname>
-MEMNAME <memname>
-MEMLIB <memlib>
-NODEID <nodeid>
-ORDERID <orderid>
The <filter> parameter is optional.
-total : Prints number of records, total CPU & ELAPSED times
Example:
ctmruninf -list 19970121100000 19970121101900
ctmruninf -list "*"
ctmruninf -list <fromtime> <untiltime> [<filter>] [-total]
ctmruninf -delete <fromtime> <untiltime>
ctmruninf -purge
fromtime, untiltime : YYYYMMDDHHMMSS
filters : -JOBNAME <jobname>
-MEMNAME <memname>
-MEMLIB <memlib>
-NODEID <nodeid>
-ORDERID <orderid>
The <filter> parameter is optional.
-total : Prints number of records, total CPU & ELAPSED times
Example:
ctmruninf -list 19970121100000 19970121101900
ctmruninf -list "*"