Hi all, (I'm using DI Studio 4.901) I'm trying to split a column of data i process with a file reader based on a delimiter into 2 new columns. In EG this is easy to accomplish, but I cant seem to get this to convert over to my DIS transformation without an error. my input column (web_atlas_ord_nbr) is a char20 with a pipe delimiter my 2 new result columns are char20 as well. my expression code is: SCAN(web_atlas_ord_nbr, 1) for new result column1 and SCAN(web_atlas_ord_nbr, -1) for new result column 2. it passes the validate expression check, but when I run it... I get a syntax error: 500 (SCAN (web_atlas_ord_nbr, 1)) as web# length = 20 _ 22 200 ERROR 22-322: Syntax error, expecting one of the following: a quoted string, ',', AS, FORMAT, FROM, INFORMAT, INTO, LABEL, LEN, LENGTH, TRANSCODE. ERROR 200-322: The symbol is not recognized and will be ignored. I have attached some shots of the actual code and error. Any help to understand what I'm doing worng would be greatly appreciated.
... View more