Using COPY_A on a substring

Infosphere's Quality Product

Moderators: chulett, rschirm

Post Reply
tcj
Premium Member
Premium Member
Posts: 98
Joined: Tue Sep 07, 2004 6:57 pm
Location: QLD, Australia
Contact:

Using COPY_A on a substring

Post by tcj »

Morning all,

Has anyone had success on doing a COPY_A on a substring in a token?

Looking at the pattern matching documentation it says that I should be able to do a COPY_A on a substring. (Doesn't given an example tho :roll: )

If I try the code below for testing purposes I don't get a result in the {DE} dictionary field.

Code: Select all

< [ {} LEN = 3] | **
COPY_A [1](1:2) {DE}
If I try the code below just using a COPY rather than a COPY_A then I get a result in the {DE} dictionary field.

Code: Select all

< [ {} LEN = 3] | **
COPY [1](1:2) {DE}
Anyone had success at doing something like this?

Cheers

Tim
Post Reply