suche 36x36
  • Admin-Scout-small-Banner
           

    CURSOR Admin-Scout

    get the ultimate tool for Informix

    pfeil  
Latest versionsfixlist
14.10.xC10 FixList
12.10.xC16.X5 FixList
11.70.xC9.XB FixList
11.50.xC9.X2 FixList
11.10.xC3.W5 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

Informix - Problem description

Problem IT21878 Status: Closed

768: INTERNAL ERROR IN ROUTINE OPJOIN() IN QUERY WITH MULTIPLE JOINS

product:
INFORMIX SERVER / 5725A3900 / B70 - IDS 11.70
Problem description:
A Query like:
select {+ORDERED} distinct di.label, case when c.suporte_vida
then 'SV'
    when tce.nome is not null then 'C' || tce.nome end as tipo
from
    alimentador a  join alimentador_visao av on a.id_alimentador
=
    av.id_alimentador  join tipo_visao tv on av.id_tipo_visao =
    tv.id_tipo_visao  join alimentador_vertice ave on
av.id_alimentador =
    ave.id_alimentador  join equipamento_vertice ev on
ave.id_vertice =
    ev.id_vertice  join dispositivo di on ev.id_dispositivo =
    di.id_dispositivo  join (SELECT iem.id_malha,
iem.id_tipo_visao,
    max(iem.id_equipamento) as id_equipamento FROM
equipamento_malha iem inner
    join equipamento_vertice iev on iem.id_equipamento =
iev.id_dispositivo
    inner join alimentador_vertice iav on iev.id_vertice =
iav.id_vertice
    inner join alimentador ia on iav.id_alimentador =
ia.id_alimentador inner
    join tipo_visao itv on iem.id_tipo_visao = itv.id_tipo_visao
where ia.nome
    in ('BHGT20') and itv.nome = 'OPERADA' group by 1, 2) em on
    di.id_dispositivo = em.id_equipamento  and em.id_tipo_visao
=
    tv.id_tipo_visao join malha_cliente mc on em.id_malha =
mc.id_malha and
    mc.id_tipo_visao = em.id_tipo_visao join cliente c on
mc.id_cliente =
    c.id_cliente  left join cliente_especial ce on c.id_cliente
=
    ce.id_cliente  left join tipo_cliente_especial tce on
    ce.id_tipo_cliente_especial = tce.id_tipo_cliente_especial
where a.nome
    in ('BHGT20') and tv.nome = 'OPERADA' and (c.suporte_vida or
    ce.id_tipo_cliente_especial is not null)

Errors out with 768: Internal error in routine opjoin()
Problem Summary:
Local Fix:
Solution
Workaround
not known / see Local fix
Comment
This APAR is a duplicate of IT27585
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
07.08.2017
25.09.2019
26.10.2019
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
Informix EditionsInformix Editions
Informix Editions
DocumentationDocumentation
Documentation
IBM NewsletterIBM Newsletter
IBM Newsletter
Current BugsCurrent Bugs
Current Bugs
Bug ResearchBug Research
Bug Research
Bug FixlistsBug Fixlists
Bug Fixlists
Release NotesRelease Notes
Release Notes
Machine NotesMachine Notes
Machine Notes
Release NewsRelease News
Release News
Product LifecycleProduct Lifecycle
Lifecycle
Media DownloadMedia Download
Media Download