- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Making a copy of a tape made on an MPE system ...
Operating System - HP-UX
1753789
Members
7874
Online
108799
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО06-12-2003 09:18 AM
тАО06-12-2003 09:18 AM
I have tapes that were created on an MPE system. I don't have that system anymore. I only have HPUX systems now. Is there a way to make copies of these tapes using an HPUX system?
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2003 10:04 AM
тАО06-12-2003 10:04 AM
Re: Making a copy of a tape made on an MPE system using an HPUX system!
If you want to copy tapes, then "dd" is the command. Do a "man dd" for more info.
You will have to take in account that tape formats are dependant on what generated them. If a cobol program used IBM standards, then you will have a tape header and a tape trailer. Also if the tape is EBCDIC, then "dd" does have an option for EBCDIC to ASCII. Also in cobol the records can be fixed or variable. This can be specified on dd also.
If the tape was generated with a backup utility on MPE, then you will have to know the layout of the tape to copy each block of data that is terminated by a tape EOF marker. You will have to be sure to use the "norewind" option of the tape device to keep the drives positioned correctly after each copy using dd.
But then only the backup utility that generated the tape would be able to restore.
My 2 cents.
Good Luck
-- Rod Hills
You will have to take in account that tape formats are dependant on what generated them. If a cobol program used IBM standards, then you will have a tape header and a tape trailer. Also if the tape is EBCDIC, then "dd" does have an option for EBCDIC to ASCII. Also in cobol the records can be fixed or variable. This can be specified on dd also.
If the tape was generated with a backup utility on MPE, then you will have to know the layout of the tape to copy each block of data that is terminated by a tape EOF marker. You will have to be sure to use the "norewind" option of the tape device to keep the drives positioned correctly after each copy using dd.
But then only the backup utility that generated the tape would be able to restore.
My 2 cents.
Good Luck
-- Rod Hills
There be dragons...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2003 10:50 AM
тАО06-12-2003 10:50 AM
Solution
Yes, you do need to know what format was used. Most MPE tapes are variable length records, 80byte records for the headers, data records in a variety of lengths and formats, and trailer of end-of-file records. This is a typical ANSI style tape format. As mentioned, the tape might be in a backup format, or it could be in fcopy format, ANSI format with ASCII or EBCDIC records, etc.
The problem is that dd expects a stream of data and tapes are unit record devices. So a true copy of a tape with variable data records will not be possible with dd. Only a program that is smart enough to reserve a maximum record length area, perform a read and check for the actual length, then write that same record length out, will work. Unfortunately, there is nothing native to HP-UX to perform this task.
Bill Hassell, sysadmin
The problem is that dd expects a stream of data and tapes are unit record devices. So a true copy of a tape with variable data records will not be possible with dd. Only a program that is smart enough to reserve a maximum record length area, perform a read and check for the actual length, then write that same record length out, will work. Unfortunately, there is nothing native to HP-UX to perform this task.
Bill Hassell, sysadmin
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP