Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

ID: E7213289001

Logic:
SET IFIDpattern = '''%' || SUBSTRING(IFID FROM 3 FOR 6) || '%''';
SET queryTemp = 'SELECT IE110_IN_IF_ID,IE110_OUT_IF_ID from IAF002.T_IE110 WHERE
IE110_OUT_IF_ID LIKE '|| '%213289%';
SET Environment.T110.T110AllData[] = PASSTHRU(queryTemp);

select * from iaf001.t_ie110 where ie110_in_if_id like '%213289%';

E7213289000 E7213289102
E7213289001 E7213289102

E213876000 -> E213876501 -> E213876101


E213876000 -> E213876102
E213876001 -> E213876102

E213876000 E213876501
E213876501 E213876101
E213876000 E213876102
E213876001 E213876102

Deletion: E213876102

Select * from 110 where '%213876%';

E213876000 E213876501
E213876501 E213876101
E213876000 E213876102

1) Trying to identify starting IF

E213876000

2) Trying to frame the next IF

Flow1: E213876000 -> E213876501 -> E213876101.


Flow2: E213876000 -> E213876102.
Flow3: E213876001 -> E213876102.

3)
Find Flow1(E213876102)

Unmatch:
Flow1: E213876000 -> E213876501 -> E213876101.

Match:
Flow2: E213876000 -> E213876102.
Flow3: E213876001 -> E213876102.

4) Flow2(E213876001 ) value is present in Unmatch records or not.

You might also like