Page 1 of 1

converting unisys binary files to ascii

Posted: 02 Mar 2006, 19:39
by Enrique Rozo
Please advise if your product will enable us to convert Unisys Mainframe files to ASCII.
We curently have flat files with numeric (comp) fields and alphanumeric fields, which need to be converted to ascii for processing in a Windows environment.
Thank you

Posted: 02 Mar 2006, 19:47
by Jan Rysavy
Do you have idea which encoding does Unisys Mainframe use?

Servant Salamander supports the IBM EBCDIC encoding (from the mainframe world). We can easily support other encodings if we will know specification.

Posted: 02 Mar 2006, 20:11
by Enrique Rozo
The file in question is EBCDIC (please see details below)
i am waiting for an answer from Unisys concerning the "encoding"
type.
Thanks

. . . TALLEY : DATA ALTERDATE=07/01/2000 06:35:47 EDT
AREALENGTH=74880 (1170 RECORDS) AREAS=196 AREASECTORS=417
AREASINUSE=187 ATTMODIFYDATE=03/02/2006 12:33:39 EST
BACKUPDATE=06/30/2000 23:45:47 EDT BLOCKSIZE=24960
BLOCKSTRUCTURE=FIXED COPYDESTDATE=03/02/2006 12:33:39 EST
COPYSOURCEDATE=06/30/2000 23:45:47 EDT
CREATIONDATE=06/30/2000 23:45:47 EDT CYCLE=1
EXECUTEDATE=06/30/2000 23:45:47 EDT EXTMODE=EBCDIC
FILECLASS=RECORDORIENTED FILELENGTH=13949440
FILEORGANIZATION=NOTRESTRICTED FILESTRUCTURE=ALIGNED180 (BY DEFAULT)
FRAMESIZE=8 LASTACCESSDATE=02/08/2006 14:46:48 EST
LASTRECORD=217959 MAXRECSIZE=64 MINRECSIZE=0
READDATE=02/08/2006 14:46:48 EST SAVEFACTOR=0
SECURITY=OWNER DP:RWX, GROUP <none>:NO, OTHER:NO PRIVATE (I/O)
TIMESTAMP=02/08/2006 09:07:48 TOTALSECTORS=77979 VERSION=0

Re: converting unisys binary files to ascii

Posted: 02 Mar 2006, 20:24
by Jan Rysavy
Enrique Rozo wrote:We curently have flat files with numeric (comp) fields and alphanumeric fields, which need to be converted to ascii for processing in a Windows environment.
Are the "numeric (comp) fields" represented in the binary form or as text numbers? If your files are in the binary/mixed format, I'm afraid you will need to convert them into the plain text first (before EBCDIC->ASCII conversion). Otherwise binary fields will be destroyed by conversion.

Is the file format known? Is it exported from your (or some standard) application?

Posted: 02 Mar 2006, 20:49
by Enrique Rozo
the numeric (comp) fields are represented in binary form.
the encoding is described by unisys as 8-bit with EBCDIC character set also refered as ASERIESEBCDIC
Thank you for the information