Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Create an header with current time of execution

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Create an header with current time of execution
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: 3158
Location: Tucson AZ

PostPosted: Fri Sep 07, 2007 1:04 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Fetching data from JHS as per the cur... arunsoods All Other Mainframe Topics 4 Wed Nov 22, 2017 1:54 pm
No new posts How to create issuer certificate? :'( vasanthz All Other Mainframe Topics 1 Sat Nov 18, 2017 5:14 am
No new posts Comparision with current time arunsoods DFSORT/ICETOOL 5 Thu Nov 09, 2017 10:37 am
No new posts ROSCOE RPF execution via JCL balimanja CA Products 2 Tue Nov 07, 2017 2:13 am
This topic is locked: you cannot edit posts or make replies. Comparing current time with the time ... arunsoods SYNCSORT 1 Mon Oct 30, 2017 4:07 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us