IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

writing job execution time into output file


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
surya_pathaus

Active User


Joined: 28 Aug 2006
Posts: 110

PostPosted: Tue Dec 30, 2008 1:10 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Dec 30, 2008 1:31 pm
Reply with quote

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
View user's profile Send private message
surya_pathaus

Active User


Joined: 28 Aug 2006
Posts: 110

PostPosted: Tue Dec 30, 2008 1:35 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Dec 30, 2008 1:42 pm
Reply with quote

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
View user's profile Send private message
softwareengineer

New User


Joined: 24 Aug 2005
Posts: 24
Location: Hyderabad

PostPosted: Thu Jan 01, 2009 3:08 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts TRIM everything from input, output co... DFSORT/ICETOOL 1
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
Search our Forums:

Back to Top