MC Press Web Site Staff
This is a discussion about [B>TechTip: V5R3\'s New SQL BIFs, Part 3[/b>.

Click here for the article.

Guest.Visitor
When I try the examples from this article, I get the token not valid message when using the pipe. What am I missing? Kyle
H.Rea
When using the concatenation pipe symbol, you will need 2 of them with no spaces separating them ¦¦
Guest.Visitor
Thanks but I did have two. See SQL statement below. select dayname(current date) ¦¦ \', \' ¦¦ monthname(current date) ¦¦ \' \' ¦¦ day(current date) ¦¦ \', \' ¦¦ year(current date) as LongDate from sysibm/sysdummy1 And this is the error. Token ¦ was not valid. Valid tokens: + - AS . Kyle
jaycos@cacorp.com
Kyle, I copied your code into STRSQL and I get the same error as you. I then replace your concatenation character with the concatenation character on my keyboard and it works fine. The problem is with your keyboard or with your keyboard mapping. Jay
Guest.Visitor
Thanks but I did have two. See SQL statement below. select dayname(current date) ¦¦ \', \' ¦¦ monthname(current date) ¦¦ \' \' ¦¦ day(current date) ¦¦ \', \' ¦¦ year(current date) as LongDate from sysibm/sysdummy1 And this is the error. Token ¦ was not valid. Valid tokens: + - AS . Kyle
Guest.Visitor
Thanks! The keyboard mapping was a little whacked. That took care of the problem. Kyle
Please login to make comments.
User Rating: / 1
PoorBest 

WHITE PAPERS

The following White Papers can be found at the MC White Paper Center

 

 


   MC-STORE.COM