Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Filtering OBX Segment

2 posts in General Discussion Last posting was on 2010-04-06 14:56:01.0Z
Aftab Posted on 2010-04-05 21:46:05.0Z
Sender: 575b.4bba55ea.1804289383@sybase.com
From: Aftab
Newsgroups: sybase.public.impact
Subject: Filtering OBX Segment
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4bba5a1d.57e4.1681692777@sybase.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 5 Apr 2010 14:46:05 -0700
X-Trace: forums-1-dub 1270503965 10.22.241.41 (5 Apr 2010 14:46:05 -0700)
X-Original-Trace: 5 Apr 2010 14:46:05 -0700, 10.22.241.41
Lines: 30
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.impact:2233
Article PK: 230309

Hi,

I have input result messages which has multiple OBX segments
(nested group). I want to filter (not include) OBX segment
in my output message if OBX field 9 has some value. Here are
some input message examples

First Example

MSH, PID, PV1, ORC, OBR, OBX, OBX, …, OBX


Second Example

MSH, PID, PV1, ORC, OBR, OBR, OBX, OBX, …, OBX

Third Example

MSH, PID, PV1, ORC, OBR, OBX, OBX, …, OBX, OBR, OBX,
OBX…, OBX, OBR….


I tried to put a qualification on OBX segment output rule
but it did not work.
Can some help me to resolve my issue? Do anyone have sample
project to share.

Thanks

Aftab


chris Posted on 2010-04-06 14:56:01.0Z
Sender: a90.4bbb48a8.1804289383@sybase.com
From: Chris
Newsgroups: sybase.public.impact
Subject: Re: Filtering OBX Segment
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4bbb4b81.b54.1681692777@sybase.com>
References: <4bba5a1d.57e4.1681692777@sybase.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 6 Apr 2010 07:56:01 -0700
X-Trace: forums-1-dub 1270565761 10.22.241.41 (6 Apr 2010 07:56:01 -0700)
X-Original-Trace: 6 Apr 2010 07:56:01 -0700, 10.22.241.41
Lines: 55
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.impact:2234
Article PK: 230311

Without seeing your code - or actual transactions
my usual solution for this is to NOT use a qualifier ..

Instead generate everything you need
and use a post-filter to remove the extra part you wanted to
eliminate
either filter on the segment as it is built or wait till the
end
--
of course you can "stage" it - so it is easier to take out

If you send me your code and sample data I can set it up for
you
(and let me know which items you want removed)
--

celm
at
first choice professionals
dot
com

> Hi,
>
> I have input result messages which has multiple OBX
> segments (nested group). I want to filter (not include)
> OBX segment in my output message if OBX field 9 has some
> value. Here are some input message examples
>
> First Example
>
> MSH, PID, PV1, ORC, OBR, OBX, OBX, …, OBX
>
>
> Second Example
>
> MSH, PID, PV1, ORC, OBR, OBR, OBX, OBX, …, OBX
>
> Third Example
>

> MSH, PID, PV1, ORC, OBR, OBX, OBX, …, OBX, OBR, OBX,
> OBX…, OBX, OBR….
>
>
> I tried to put a qualification on OBX segment output rule
> but it did not work.
> Can some help me to resolve my issue? Do anyone have
> sample project to share.
>
> Thanks
>
> Aftab