StringDecode
Moderators: chulett, rschirm, roy
More information...The reason I ask is; in place of using a fileset, I would like to convert the following. Code 1 = 'APR', 2='MAY', 3='JUN', 4='JUL' etc. What is the recomended way to implement this. I wanted to create a routine and call it but I am not a C++ programmer and I am not sure if there another way.
Thanks,
Thanks,
Jim Stewart
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 612
- Joined: Thu May 03, 2007 4:59 am
- Location: Melbourne
Code: Select all
OutputCol = lookup_string_from_int16[{default_string ='UNKNOWN'} ( 'APR'=1; 'MAY'=2; 'JUN'=3; 'JUL'=4;) ] (InputCol)
Joshy George
<a href="http://www.linkedin.com/in/joshygeorge1" ><img src="http://www.linkedin.com/img/webpromo/bt ... _80x15.gif" width="80" height="15" border="0"></a>
<a href="http://www.linkedin.com/in/joshygeorge1" ><img src="http://www.linkedin.com/img/webpromo/bt ... _80x15.gif" width="80" height="15" border="0"></a>