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 

Display Timestamp in one of the Mapfield

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
venu
Beginner


Joined: 11 Nov 2005
Posts: 6
Topics: 4

PostPosted: Mon Dec 05, 2005 7:28 am    Post subject: Display Timestamp in one of the Mapfield Reply with quote

I have to display the Timestamp in one of the Map fields
i coded
EXEC CICS
ASKTIME
ABSTIME (820-TIMESTAMP)
END-EXEC.

EXEC CICS
FORMATTIME
ABSTIME (820-TIMESTAMP)
END-EXEC.

Here 820-timestamp is declared as s9(15) comp-3.

i dont need datesep and timesep
please tell me how to display the timestamp as it is
i tried the above code and i'm getting irrelevant 3 letters in it
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Mon Dec 05, 2005 2:54 pm    Post subject: Reply with quote

Map fields are not numeric. No conversions are done on output. Save it to a displayable character variable and display that.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware 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