How to read files written with COBOL

Batista, Facundo FBatista at uniFON.com.ar
Mon May 10 16:29:22 EDT 2004


[John Roth]

#- What's the OS for the two languages? COBOL from mainframe
#- to X86ish is very different from some flavor of Windows or Unix
#- COBOL.

COBOL RM-85 for x86 under SCO.


#- Also, are we talking fixed or variable length records? And if
#- variable, how are they structured?

There're a lot of different structures, there're a lot of files. I was
thinking of a function where I tell the COBOL file structure and it
translates it to me.


#- In either case, I think the struct module (under String Services)
#- is what you're looking for.

I think that if I must *build* the module that I'm looking for, I'll use the
struct module. But that I can not use it directly without a lot of effort
(that I'm willing to avoid: that's why I'm searching for something already
done, :)

.	Facundo





. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
ADVERTENCIA  

La información contenida en este mensaje y cualquier archivo anexo al mismo,
son para uso exclusivo del destinatario y pueden contener información
confidencial o propietaria, cuya divulgación es sancionada por la ley. 

Si Ud. No es uno de los destinatarios consignados o la persona responsable
de hacer llegar este mensaje a los destinatarios consignados, no está
autorizado a divulgar, copiar, distribuir o retener información (o parte de
ella) contenida en este mensaje. Por favor notifíquenos respondiendo al
remitente, borre el mensaje original y borre las copias (impresas o grabadas
en cualquier medio magnético) que pueda haber realizado del mismo. 

Todas las opiniones contenidas en este mail son propias del autor del
mensaje y no necesariamente coinciden con las de Telefónica Comunicaciones
Personales S.A. o alguna empresa asociada. 

Los mensajes electrónicos pueden ser alterados, motivo por el cual
Telefónica Comunicaciones Personales S.A. no aceptará ninguna obligación
cualquiera sea el resultante de este mensaje. 

Muchas Gracias.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20040510/3edceac9/attachment.html>


More information about the Python-list mailing list