- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- EBCDIC to ASCII excluding packed fields; help in i...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2003 02:00 AM
тАО10-20-2003 02:00 AM
EBCDIC to ASCII excluding packed fields; help in installing fcopy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2003 08:38 AM
тАО10-21-2003 08:38 AM
Re: EBCDIC to ASCII excluding packed fields; help in installing fcopy
dd if=vmfile.txt of=ascii.txt file conv=ascii
In a previous life I have used
dd if=vmfile.txt of=ascii.txt conf=ibm
man on dd will help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2003 09:09 AM
тАО10-21-2003 09:09 AM
Re: EBCDIC to ASCII excluding packed fields; help in installing fcopy
I don't know nothing about no fcopy but I did make one forum customer happy with a Perl solution. There is also a reference to a commercial utility called "FilePort" but Perl's Convert::EBCDIC makes this rather easy.
http://forums1.itrc.hp.com/service/forums/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0xefcfd7d96cbad711900a0090279cd0f9%2C00.html&admit=716493758+1066770268199+28353475
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2003 09:28 AM
тАО10-21-2003 09:28 AM
Re: EBCDIC to ASCII excluding packed fields; help in installing fcopy
It looks like when the Forums were migrated to the new Oracle/HP-UX environment my square brackets were mangled. I copied it back down and fixed the strange characters. I'll attach the Perl example script; that will also have the desired effect of preserving formatting so that the code is more readable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-22-2003 09:39 AM
тАО10-22-2003 09:39 AM
Re: EBCDIC to ASCII excluding packed fields; help in installing fcopy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-22-2003 01:22 PM
тАО10-22-2003 01:22 PM
Re: EBCDIC to ASCII excluding packed fields; help in installing fcopy
The mainframe and commercial opsystem world (like MPE) are very different. There are fixed record and blocking factors like 80x10, EBCDIC, packed decimal, ASCII header formats, and the list gets really long. Generally, few mainframe file formats are portable even among other mainframes.
So you'll need an exact definition for all the records on the media (tape, LAN, ftp, etc) including headers and trailers, then write a program that can read the raw data, break up the fields and exclude the ones you don't want and output the result in a format useful on HP-UX.
Bill Hassell, sysadmin