Sponsored Content
Operating Systems Solaris EBCDIC to ASCII Binary conversion issue on Solaris i-series Unix Post 302471214 by methyl on Friday 12th of November 2010 08:55:28 AM
Old 11-12-2010
What computer creates the EBCDIC files? Is it an IBM mainframe?

How are the EBCDIC files transferred to the unix server?

What is the process on the Sparc server which works?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

ascii to ebcdic conversion

Hello, I need a program for ascii to ebsdic conversion. If anybody can help, it'll be greatly appreciated. Thanks. (1 Reply)
Discussion started by: er_ashu
1 Replies

2. UNIX for Dummies Questions & Answers

Conversion from EBCDIC to ASCII

when i try to convert a mainframe EBCDIC file to ASCII ,i dont see correct file this is the source file ... (3 Replies)
Discussion started by: venkatvelpula
3 Replies

3. Shell Programming and Scripting

binary to ascii conversion

Hi, I have got a library file, created by compiling C code. The file information with "file" command, gives it a "application/x-archive" type file. I want to extract the release string of my software from this file, so that i can know which version of C files were used to create the lib. Can... (3 Replies)
Discussion started by: atulmt
3 Replies

4. UNIX for Advanced & Expert Users

Conversion of data - ebcdic to ascii

Hi, I want to convert ebcdic values to ascii values. Are there anyany specific c++ libraries with g++ compiler, which can do it ? gcc version 4.1.2 20080704 (Red Hat 4.1.2-54) (0 Replies)
Discussion started by: tostay2003
0 Replies

5. UNIX for Dummies Questions & Answers

EBCDIC TO ASCII Conversion through UNIX Command

Hi All , I have a mainframe file which contains the data in EBCDIC unreadable format.I have downloaded this raw unreadable file from mainframe system to windows in text format then I pushed to Unix system.Now I want to convert this file to ASCII readable format file in unix.Can anyone advise me... (2 Replies)
Discussion started by: STCET22
2 Replies

6. Shell Programming and Scripting

File conversion from Binary to ASCII though UNIX command

Hi All , I have a mainframe file which contains the data in EBCDIC format.I have downloaded this file from mainframe to windows in binary format(unreadable raw data).Now I want convert this file to ASCII format(readable format data) through Unix command.I have tried iconv but that is not working... (2 Replies)
Discussion started by: STCET22
2 Replies

7. UNIX for Advanced & Expert Users

Conversion from EBCDIC to Ascii OR unicode

I have a file in my Unix ( SOLARIS ) with EBCDIC format...I want this file to read in ASCII OR unicode...Is it possible with UNIX to convert this file on ASCII OR UNICODE format from EBCDIC format? I was searching through web and found only conversion table :( Request Rejected Below is... (16 Replies)
Discussion started by: joshilalit2004
16 Replies

8. Shell Programming and Scripting

Need help for EBCDIC TO ASCII conversion through UNIX

Hi All , We have a mainframe file which is in EBCDIC format.We dont have direct access to mainframe ,client has provided us the mainframe file in unix box.The mainframe file is containing pact data(COMP1 ,COMP2 etc) which are unreadble.Can anyone suggest me how to convert this kind of ebcdic... (7 Replies)
Discussion started by: STCET22
7 Replies

9. UNIX for Advanced & Expert Users

EBCDIC to ASCII conversion

Hi, I have a input file which is EBCIDIC and it has packed decimals. Can anyone help me to convert EBCIDIC file to ASCII(Need to convert even Packed decimal values also to normal format). Thanks swapna (12 Replies)
Discussion started by: swapna_1990
12 Replies

10. UNIX for Advanced & Expert Users

EBCDIC to ASCII conversion

Hi, We have a mainframe file which is in EBCDIC format.We dont have direct access to mainframe ,client has provided us the mainframe file.The mainframe file is containing pact data(COMP1 ,COMP2 etc) which are unreadble.Can anyone suggest me how to convert this kind of ebcdic file to ascii... (11 Replies)
Discussion started by: swapna_1990
11 Replies
uuencode(5)							File Formats Manual						       uuencode(5)

NAME
uuencode file format DESCRIPTION
The command generates files in a format that allows them to be successfully transferred by systems which strip the high bit from an 8-bit byte. decodes uuencoded files. The uuencode file format consists of three sections: header, body, and trailer. The header is a line is of the form: begin 644 "filename.ext" where "644" is a -format permissions byte for the file and "filename.ext" is the name of the encoded file. The body section is the encoded representation of the source file. Three bytes of input file data are encoded into four bytes of output data. The 24 input bits are divided up into four pieces of six bits each. The integer value 32 (the ASCII value for the space character) is added to each of these pieces to move them outside of the range of control characters. To avoid using the space character in the encoding, pieces with value zero are encoded using backquote (ASCII value 96) instead of zero. The resulting character is one of the this set (ASCII values 96,33-95): A line itself contains three segments: a length character (encoded using the "add a space" algorithm described above), the body of the line, typically (although not required to be) 60 output characters long, representing 45 input bytes, and (of course) a linefeed. The length character specifies the number of valid input bytes on the line (so, for a line which is 60 encoded bytes, the length value would be 45). Decoding programs should decode no further than the specified length on a single line. The trailer, which must exist, consists of a single backquote ("`", ASCII 96) character on a line by itself, directly followed by on a line by itself. is the canonical filename extension for uuencoded files. BUGS
uudecode does not read all permutations of the file format described in this man page. Ancient versions of uuencode used a space character (ASCII 32) in the encoding to represent zero. Many (arguably broken) mailers and trans- port agents stripped, rewrapped, or otherwise mangled this format, so the space was later changed to the backquote, ASCII 96. Decoders may attempt to read the older format if they wish, though it's unlikely to be encountered in practice at this point in time. The uuencode encoding method is highly ASCII-centric. In particular, the character set used doesn't work well on EBCDIC-based systems. (EBCDIC, generally used by IBM mainframes, is an old alternative character encoding; most computers use ASCII instead). Many variants of uuencode on various platforms generate different forms of line checksums, using to represent the checksum one or more encoded characters after the last counted character in a line. Because these formats are different and impossible to distinguish (with certainty), such characters should be ignored by decoding implementations. The uuencode encoding format has no provisions for segmented files. Writers of segmenting utilities should be careful to avoid using char- acter sequences that may naturally occur in the encoding (such as sequences of dashes ("---")) to divide sections. SEE ALSO
The MIME Base64 encoding (documented in RFC 2045) is a consistent, cross-platform-savvy message encoding which should be used in place of UUEncode wherever possible. The Unix-Hater's Handbook (IDG, 1994) identifies the folly of the older zero-encoded-as-space versions of uuencode. Apple Computer, Inc. May, 2001 uuencode(5)
All times are GMT -4. The time now is 05:14 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy