1826421 Members
3287 Online
109692 Solutions
New Discussion

Tapes with ANSI Header

 
SOLVED
Go to solution
MaSa_3
Advisor

Tapes with ANSI Header

How can I create DDS Tapes with an ANSI haeder and what haeder informations have to be included to store files with a fixed record length with standard HP-UX Tools.
I was told be a customer to format data according to german DIN66029 to be processed on an BS2000 system. I think that is called "ANSI labled" in the rest of the word.

3 REPLIES 3
Steve Steel
Honored Contributor

Re: Tapes with ANSI Header

Hi


Fbackup writes an ansi format tape header.

Read the man for fbackup and frecover and try it.

You can use a disc file as output device and backup a single directory to test.


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Paula J Frazer-Campbell
Honored Contributor

Re: Tapes with ANSI Header

Hi

Document on DIN is available here:-

http://www2.din.de/index.php?lang=en

Have to pay for it.


Paula
If you can spell SysAdmin then you is one - anon
Bill Hassell
Honored Contributor
Solution

Re: Tapes with ANSI Header

It's going to be complicated to provide ANSI standard labels and fixed record lengths. This is quite common on commercial machines like the HP3000 or Unisys or other mainframes. However, there is nothing native in HP-UX to easily create these formats.

The minimum necessary is a VOL1, HDR1 and HDR2 label (3 separate 80 character records) followed by a file mark, followed by the file, followed by a similar ending label. fbackup uses an ANSI label but it is not user-definable as far as file type.

Although not the actual ANSI standard, this document fairly well explains the header and trailer records:

http://www.loc.gov/marc/specifications/specexchtape1.html

The data file(s) will have to be run though dd using the ASCII and CBS options.



Bill Hassell, sysadmin