×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

New to informatica, need help with expression transformations

New to informatica, need help with expression transformations

New to informatica, need help with expression transformations

(OP)
Hi,

I'm new to using informatica, I am able to do simple mappings. Now I'm having trouble with the following scenario:

So I have 2 columns in my source data, that I need to take the Number part and plug it into new columns that I have created in my target.

con_app (column name)
[AP000001] APP-Database
[AP000002] Tomcat
[AP000003] PATS

con_grp
ABC [111]
XYZ [123]
Workspace [345]

Need to store into target as follows:

con_app
APP-Database
Tomcat
PATS

app_id
AP000001
AP000002
AP000003

con_grp
ABC
XYZ
Workspace

grp_id
111
123
345

I created the exprssion tranformation and taking con_app as input, and created two new rows, 1) con_app & 2) app_id as output which would map to target table.

I'm struggling with how to separate the string between [] and put that into app_id, and remove everything till it hits ] in con_app, and put it into con_app in target.
Same issue for the con_grp, separate the string between [] and put that into grp_id, and the remove everything in con_grp after it [ including [ in and put that into con_grp.

Any help is appreciated.

Thank you!!!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close