count-rep MONK function produces incorrect results (Doc ID 1027975.1)

Last updated on SEPTEMBER 13, 2004

Applies to:

Sun SeeBeyond e*Gate - Version: 4.5.2 and later
HP-UX Itanium

Symptoms

count-rep MONK function produces incorrect results:

(load 'dreeb.ssc')

(define input ($make-event-map dreeb-delm dreeb-struct))

;demonstrates problem
(define string 'EDI_DC40\nEDI_DC40')

;works ok
;(define string 'EDI_DC40\nE2IDKU6\nEDI_DC40')

($event-parse input string)
(display (count-rep ~input%dreeb.IT4_PEXR2002))

(display ~input%dreeb.IT4_PEXR2002[0].GROUP_7.SEGMENT_E2IDKU6)

($event-parse input string)
(display (count-rep ~input%dreeb.IT4_PEXR2002))

Running above code using stctrans, it returned:
12

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms