|
I did this many years ago, but that was then there was no USEOPTBLK or COMPACT. Then the record length was 32760 bytes, so I could process the data in a program, and IBM publishes their compression algorithm. IBM does not publish their compaction algorithms (to my knowledge), and the default of USEOPTBLK makes the record length 262144. What I did was to take the tapes (then reel) to a 370 architecture system, and overwrite the header with a utility product called DITTO. Then I was able to read the data files from the tape, and copy the data portion to a PF from tape with CPYF and overrides, or CPYFRMTAP if it existed them. I don't remember. Back them the largest file that I could read was 9999, so I created a physical file with four records: A 8000 B 8000 C 8000 D 8760 I then created unkeyed logicals of the PF with one field each. For the sake or argument, I called the appropriate files: FILEA FILEB FILEC FILED I then processed them in RPG III as follows: FILEA IP FILEB IC FILEC IC FILED IC This was a lot of work, and took many hundreds of hours to do, but otherwise the client was going to go bankrupt. You could do the same kind of thing today, but I am unsure of what limitations you would run into. ILE languages support files up to 32766 bytes, but as to the subtleties of COMPACT, you are on your own. I apologize if my recollections are vague, but I did this work 16 years ago. Al Al Barsa, Jr. Barsa Consulting Group, LLC 400>390 914-251-1234 914-251-9406 fax http://www.barsaconsulting.com http://www.taatool.com Chris Whisonant <chris.whisonant@comp To: midrange-l@midrange.com orium.com> cc: Sent by: Subject: Recovering Data midrange-l-admin@midr ange.com 04/02/02 07:41 AM Please respond to midrange-l OK, I've never seen this done and I may just be really hopeful here, but is there any way to "uninitialize" a tape or retreive the data. The 3590 tape has been initialized with CLEAR(*NO). Is there ANY way to get back to the data? Here's hoping... Chris _______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l or email: MIDRANGE-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.