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

Create an header with current time of execution


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
surendra_giddaluru

New User


Joined: 17 May 2007
Posts: 8
Location: chennai

PostPosted: Fri Sep 07, 2007 12:14 am
Reply with quote

Hi,

I need to create an header with current time of execution. My output header should be of the following form:
Code:
 _________________________________________                             AAAAAAAAA
 |  Total All Brokers        12.38.39    |                             AAAAAAAAB
 |_______________________________________|                             AAAAAAAAC
where 12.38.39 is the time of job execution, and is in the form HH.MM.SS. Please help me in writing this SYNCSORT.

Thanks,
Surendra.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Fri Sep 07, 2007 1:04 am
Reply with quote

Have you looked at the DFSort manual and noticed that "current time" is available in headers?
TIME
specifies that the current time is to appear in the report record in the form 'hh:mm:ss', where hh represents the hour (00-23), mm represents the minutes (00-59), and ss represents the seconds (00-59).

Since I cannot access a Syncsort book, this is from their PDF:
Quote:
&TIME
The &TIME subparameter specifies the current time of day and
requires 8 bytes to display hh:mm:ss, where hh is in 24-hour format.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts To get the the current time DFSORT/ICETOOL 13
No new posts RC query -Time column CA Products 3
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts Capturing Job Execution Information All Other Mainframe Topics 3
No new posts C Compile time time stamps Java & MQSeries 10
Search our Forums:

Back to Top