MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

System Time Option in Easytrieve

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
nbdtrjk
Beginner


Joined: 08 Mar 2006
Posts: 17
Topics: 11

PostPosted: Thu May 25, 2006 1:29 pm    Post subject: System Time Option in Easytrieve Reply with quote

Hi

I want get system Time through Easytrieve. i got my system date like this
%GETDATE CURR-DATE..Can i use same way for time parameter(%GETTIME CURR-TIME).
Give me ur suggestion.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Thu May 25, 2006 1:33 pm    Post subject: Reply with quote

nbdtrjk,

Code:
                                                         
 DEFINE WS-CURR-DATE                  W  10  A           
 DEFINE WS-CURR-TIME                  W  08  A           
                                                         
 JOB INPUT NULL                                           
                                                         
     WS-CURR-DATE   = SYSDATE-LONG                       
     WS-CURR-TIME   = SYSTIME                             
     DISPLAY 'THE CURRENT DATE IS : ' WS-CURR-DATE       
     DISPLAY 'THE CURRENT TIME IS : ' WS-CURR-TIME       
     STOP                                                 

_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
smpattan
Beginner


Joined: 19 Oct 2005
Posts: 1
Topics: 0

PostPosted: Wed May 31, 2006 8:10 pm    Post subject: Reply with quote

Thanks Kolusu, this was a quick help. I had searched the manual, and it did not have anything for this. Very Happy
_________________
Thank you
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group