Anthony -
Unfortunately, there is no "else" construct in the TLE mapper prior to EV5.
I don't know if Peregrine upgraded the mapper to handle "else" in EV5 or
not.
I would approach your situation in the following manner with TLE:
1) Store my_info into ICD07
2) If ICD07 is equal to 'ZZ'
map ICD07 to TCD Segment
map ICD36 to TCD Segment
3) If ICD07 is NOT equal to 'ZZ'
map ICD07 to TCD04
I know it's kind of hokey, but the only way to do it as TLE exists now.
Another tip -- stringing multiple "If" statements together is the equivalent
of an AND between them. There is no OR available for "If" statements.
Alice Raia
EDI Consultant
Pegasus Systems
----- Original Message -----
From: "Anthony Whitehead" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 08, 2001 12:28 PM
Subject: Harbinger TLE
> I am a good Mercator mapper and but a novice Harbinger mapper. I am having
to
> update some Harbinger maps. my problem is I have an "if statement and I
need
> to to an "else" statement. How is that done? In Mercator I can do an IF
> Present command with a "," as an else command. I dont see anything like
that
> in the Harbinger mapping workbench.
>
> my map is like this...
>
>
> Store my_info into ICD07
> If ICD07 is equal to 'ZZ'
> map ICD07 to TCD Segment
> map ICD36 to TCD Segment
>
> else map ICD07 to TCD04 (I need this move to happen if the 'ZZ' is not
passed
> in the ICD07)
>
> Thank you in advance for your help!
>
> Anthony Whitehead
> Technology Enablement
> accenture
>
> =======================================================================
> To contact the list owner: mailto:[EMAIL PROTECTED]
> Archives at http://www.mail-archive.com/edi-l%40listserv.ucop.edu/
=======================================================================
To contact the list owner: mailto:[EMAIL PROTECTED]
Archives at http://www.mail-archive.com/edi-l%40listserv.ucop.edu/