I'm doing a simple test using uopy to write some data to the 'UP' file.
with uopy.connect(host=...', user='...', password='...', account='...', encoding='cp1252',
service=uopy.UV_SERVICE, port=31438) as session:
codigo_subrutina = [
"SUBROUTINE PRUEBA.ENV(XINPUT,XOUTPUT)",
"*",
"* Programa Universe de prueba. Test tildes: á, é, Ã, ó, ú.",
"*",
" XOUTPUT=""Salida del programa""",
"RETURN"]
nombre_subrutina = 'PRUEBA.ENV'
with uopy.File('UP') as up_file:
up_file.write('PRUEBA.ENV', DynArray(codigo_subrutina))
print(up_file.status)​
I'm getting the value -2 in up_file.status.
What does this mean? Is there some documentation about this status values?
