converting unisys binary files to ascii

We welcome any suggestions for new features or improvements in Altap Salamander. Please post one suggestion per report.
Enrique Rozo
Posts: 3
Joined: 02 Mar 2006, 19:33
Location: New Jersey USA

converting unisys binary files to ascii

Post 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
Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5231
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Post 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.
Enrique Rozo
Posts: 3
Joined: 02 Mar 2006, 19:33
Location: New Jersey USA

Post 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
Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5231
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Re: converting unisys binary files to ascii

Post 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?
Enrique Rozo
Posts: 3
Joined: 02 Mar 2006, 19:33
Location: New Jersey USA

Post 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
Post Reply