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    Data Migrator Date conversion
Go
New
Search
Notify
Tools
Reply
  
Data Migrator Date conversion
 Login/Join
 
Member
posted
I have, what I hope, is an easy question. I am using Data Migrator to move data from our transactional system (Unidata) into our warehouse (MS SQL). I want to concatenate two items, the current system date and an alphanumeric field. I have been playing with the date functions can can not seem to come up with the correct combination that will not give me an error.

The goal is take today's system date and concatenate it with an asterisk and a term value.

For example,

Today's date: 5/14/2010
Term (A5 value): 10/WI

I would like to have it look like (alpha fixed): 20100514*10WI

Any suggestions from the group?
Thank you!
Gayle DeGennaro
Franklin University
 
Posts: 5 | Location: Columbus Ohio | Registered: June 18, 2009Reply With QuoteReport This Post
Expert
posted Hide Post
NEW_VAL/A14 = '&YYMD.EVAL' || '*' || EDIT(TERM,'99$99);


Tom Flynn
WebFOCUS 7.7.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1946 | Location: Parker, CO | Registered: January 31, 2006Reply With QuoteReport This Post
Member
posted Hide Post
Wow that was a quick response!!

That worked great!! Thank you so much. I was trying all kinds of date conversion functions which I obviously didn't need.

Thank you again!
Gayle DeGennaro
 
Posts: 5 | Location: Columbus Ohio | Registered: June 18, 2009Reply With QuoteReport This Post
Expert
posted Hide Post
Hi Gayle,

Welcome! Glad it worked for you, even though my example is missing the last quote on the EDIT piece...which YOU fixed...

Tom


Tom Flynn
WebFOCUS 7.7.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1946 | Location: Parker, CO | Registered: January 31, 2006Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    Data Migrator Date conversion

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