View previous topic :: View next topic
|
Author |
Message |
surya_pathaus
Active User
Joined: 28 Aug 2006 Posts: 110
|
|
|
|
Hi,
Few of my jobs are scheduled in CA-7. I want to write the runtime into an output using a special job.
Can anybody let me know how I can read the run time of a job in CA7.
By using LPRRN,JOB=JOBNAME will show the last run of the job. But
how can I use this command in Batch JCL? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
By asking your peers or reading the manual and finding out how to execute CA7 commands in batch mode.
Probably best to ask your peers as some parm values may be site specific, such as the capabilities of different batch terminal id's.
Easy enough, I have done it thousands of times. |
|
Back to top |
|
|
surya_pathaus
Active User
Joined: 28 Aug 2006 Posts: 110
|
|
|
|
Thanks Expat.
I got it using Batch JCL. But thru LPRRN, I need to format the output for Runtime(because I need only complete time). Is there any other way to get the job complete time only? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
You need to feed the output through a SAS or REXX or whatever program to format the output as you want it. |
|
Back to top |
|
|
softwareengineer
New User
Joined: 24 Aug 2005 Posts: 24 Location: Hyderabad
|
|
|
|
Hi,
Pls post the batch jcl used to write job details like execution time, CPU cycles, CC, etc.
Thanks in advance.
Softwareengineer |
|
Back to top |
|
|
|