Új hozzászólás Aktív témák

  • Iginotus

    őstag

    válasz Apollo17hu #2888 üzenetére

    Nem egyetlen sajnos.
    Ez lesz a megoldás, csak még ki kell googlizzam hogy is viszem be ezt db2 őbe..
    (Egy barátom segített...)

    define finIdents as varchar[2000]
    define inPayLoad as boolean

    quere_result is
    select * from XXX.scito
    where mand_id = 'VALAMI'
    and scito_tst_ab > current timestamp -1 hour
    and operationname = 'sendDelivMgtExec'
    order by sub_row_id

    inPayLoad = 0

    for row in query_result
    do

    if (finIdents == '' and exists(row.daten, '<finIdentDetailsList>'))
    then
    finIdents = replace(row.daten, '%<finIdentDetailsList>', '<finIdentDetailsList>')
    inPayLoad = 1
    continue
    end

    if (inPayLoad == 1)
    then
    if (exists(row.daten, '</finIdentDetailsList>'))
    then
    finIdents = concatenate(finIdents, replace(row.daten, '</finIdentDetailsList>%', '</finIdentDetailsList>'))
    break
    else
    finIdents = concatenate(finIdents, row.daten)
    end
    end
    end

    echo finIdents

    [ Szerkesztve ]

    Plug and Pray... :)

Új hozzászólás Aktív témák