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

how to display the time in the format of 12:36:12.


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
treddy

New User


Joined: 01 Jun 2005
Posts: 7

PostPosted: Thu Jun 09, 2005 7:22 pm
Reply with quote

who to display the time on the screen in the format of 12:36:12. and also
we need to increase the seconds automatically on the screen. with out press the enter also.(like in the open systems).
Back to top
View user's profile Send private message
dbelton

New User


Joined: 10 Jun 2005
Posts: 15

PostPosted: Fri Jun 10, 2005 4:53 pm
Reply with quote

treddy wrote:
who to display the time on the screen in the format of 12:36:12. and also
we need to increase the seconds automatically on the screen. with out press the enter also.(like in the open systems).


Not any way to increase the seconds automatically, unless you want to tie up system resources by making your program conversational and continually send maps to the screen.
Back to top
View user's profile Send private message
treddy

New User


Joined: 01 Jun 2005
Posts: 7

PostPosted: Tue Jun 14, 2005 7:43 pm
Reply with quote

Thanks for reply....please tell me.........how i can through the map continuously??????. Please explain.....there is any EIB things is there..
Back to top
View user's profile Send private message
senthilkumar selvaraju

New User


Joined: 30 May 2005
Posts: 16

PostPosted: Wed Jun 15, 2005 11:06 am
Reply with quote

you should get the current timestamp value continuously by using asktime command.
Back to top
View user's profile Send private message
dbelton

New User


Joined: 10 Jun 2005
Posts: 15

PostPosted: Thu Jun 16, 2005 9:53 am
Reply with quote

senthilkumar selvaraju wrote:
you should get the current timestamp value continuously by using asktime command.


You get the current timestamp with the asktime command, but not continuously. You get it only once. When you want the time updated, you must issue the command again.
Back to top
View user's profile Send private message
dbelton

New User


Joined: 10 Jun 2005
Posts: 15

PostPosted: Thu Jun 16, 2005 9:55 am
Reply with quote

senthilkumar selvaraju wrote:
you should get the current timestamp value continuously by using asktime command.


Also, remember that your task actually ends while the screen is displayed waiting for input if you write your program to be pseudoconversational. If you write it as conversational, you would eat up all the system resources in a very short time period.
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 -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Populate last day of the Month in MMD... SYNCSORT 2
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
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 Need to convert date format DFSORT/ICETOOL 20
Search our Forums:

Back to Top