Buenos días,  tengo este tipo de coneccion:

AS400 = {
    'default': {
        'ENGINE'  : 'ibm_db_django',
        'NAME'    : 'RORIVENTAA.IVARET',
        'USER'    : 'USERGRAL',
        'PASSWORD': 'USERGRAL',
        'HOST'    : '192.1.1.2',   #'localhost',
        'PORT'    : '5000',
        'PCONNECT': True,  # Optional property. It is true by default

    }
}

y me el siguiente error:

*AttributeError: module 'ibm_db_dbi' has no attribute 'BOOLEAN'*

y no me deja conectarme con los archivos dentro del AS/400

Por favor me puedes corregir donde estoy cometiendo el error?

Muchas gracias por tu tiempo.


El mié, 27 de ene. de 2021 a la(s) 13:25, Miguel Ángel Cumpa Ascuña (
miguel.cumpa.asc...@gmail.com) escribió:

> Hola, no puedes acceder a un archivo o no puedes acceder a una tabla en
> DB2 <https://es.wikipedia.org/wiki/DB2>/400 de tu AS/400?
>
> El mié, 27 ene 2021 a las 12:20, EDWARD A. LUGO A. (<lugoe...@gmail.com>)
> escribió:
>
>> Buenos días, soy nuevo en Django y no he podido conectarme a un archivo
>> que tengo dentro de un AS/400. La Librería se llama: RORIVENTAA y el
>> archivo se llama: IVARET por favor si me pueden dar una mano, muchas
>> gracias de antemano.
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/e5b77eb9-9d79-4ebe-9b67-0a269c008965n%40googlegroups.com
>> <https://groups.google.com/d/msgid/django-users/e5b77eb9-9d79-4ebe-9b67-0a269c008965n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAOZHYKOcKeqV%2BqB8DyZDRA56pmjhWykesiHBDN0b8ndfTSASLg%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAOZHYKOcKeqV%2BqB8DyZDRA56pmjhWykesiHBDN0b8ndfTSASLg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CA%2Bjd%3D4AZF4Nbz7afw9ju1QhuUxVQN-h2A4M-ipOb2-euAw1GkA%40mail.gmail.com.

Reply via email to