×
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

Jobs

How to map the whole incard data to a field in a out card

How to map the whole incard data to a field in a out card

How to map the whole incard data to a field in a out card

(OP)
I am having a strange issue here at my work,

I have to check if the transaction fails through the map. If it fails, then I have to identify the transaction and map the complete incard data in to a field in the out card.

In simple terms, whole data to be mapped to a single field in the out card if there is any error in the map.

RE: How to map the whole incard data to a field in a out card

You need an output card with a field occurring s with no max size and use the REJECT function.

RE: How to map the whole incard data to a field in a out card

Hi there,
in case that you want to map a complex data structure in one field/item then you can use the PACKAGE function.

Best regards,
lOGotee

RE: How to map the whole incard data to a field in a out card

You may use the CONTAINSERROR() function.

Examples
*********************************************************
Msg(s)=IF(CONTAINSERRORS(Msg:MailBag)&Type:Msg:MailBag="PRIORITY", Msg:MailBag,NONE)

In this example, if Msg:MailBag contains any object in error and Type:Msg:MailBag has a value of PRIORITY, Msg:MailBag is mapped; otherwise NONE is returned for this occurrence of Msg. This map rule returns all valid Msg’s that contain errors with a Type of PRIORITY.

*********************************************************

In the above example, you may need to change the ordering of the components within the IF clause.

In addition, you may have to set the restart attribute in the element that you are checking the transaction failure against.

Note:The main group(against which CONTAINSERROR is being applied)  should be valid though.


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