Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    DATETIME Stamps returned from AS400
Go
New
Search
Notify
Tools
Reply
  
DATETIME Stamps returned from AS400
 Login/Join
 
Member
posted
Hello,

We're using ETL 5.1.2 to extract data from an AS400 production system via SQLODBC and loading to FOCUS.

The difficulty I'm having is the interpretation of DATETIME fields. "Create Synonym" interprets the DateTime field as A26, which is not using the HYYMDm functionality. Converting this A26 field to HYYMDm is proving to be a hurdle.

Any ideas??

Cheers

Andrew W
 
Posts: 27 | Location: Sydney, Australia | Registered: May 27, 2003Reply With QuoteReport This Post
Expert
posted Hide Post
Just as smart dates are number of days elapsed since the beginning of the last century,
these datetimes are milliseconds elapsed since the epoch date(the epoch date being the start of 1970); there's an article on focal point called "zulu time" (under the 'focus on developers' section) that will definitely explain toyou how to take that A36 field, and transform it into human time, two ways. First by "hand", doing the calculations yourself, and then using focus functions. The thing that this article points out is that the base date for the epoch is in greenwhich mean time, or 'zulu time'
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    DATETIME Stamps returned from AS400

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.