schmid@jellosub.luftfahrt.uni-stuttgart.de (Georg Schmid) (09/13/90)
At the ISD we have a Solid Modelling and Structural Analysis package called I-DEAS from SDRC. This package ususally creates output files of really ridiculous size (average 30 to 50 MB, 100 MB and more easily achievable). To save some disk space I told the I-DEAS users to compress their output files (now they're after me). compress works really fine for the ASCII (Universal-) Files, they get compressed up to factor 8. When compressing/uncompressing binary output files, I-DEAS fails to read the uncompressed files (Wrong type). Before compressing, /usr/bin/file shows, that the files are of type 'rec'. After compressing/uncompressing, the files areof type 'unstruct data'. I-DEAS doesn't seem to like unstructured data. The same thing happens when using wbak/rbak, so I couldn't restore the files from the latest backup tape. At the german support center of HP/Apollo, I was told that the file type 'rec' is obsolete at SR10 (we are running SR10.2.p), and that there is no tool to convert from type 'unstruct data' to type 'rec'. At the german support center of SDRC, we were told that they knew about the problem. The tool '/com/cvt_rec_uasc' failed with 'Only disk files may be converted' ?????? Does anybody know a way to restore the 'unstruct' files to type'rec' ? I guess there must be a way to open a file of type 'rec', probably by an AEGIS system call, because that seems to be exactly what I-DEAS is doing. Perhaps it would be possible to copy the 'unstruct' files to newly created 'rec'-files? Unfortunately I'm not an AEGIS-programmer... Any hints appreciated -- georg _________________________________________________________________ Georg Schmid, ISD University of Stuttgart, W.-Germany email: schmid@asterix.luftfahrt.uni-stuttgart.de (129.69.110.2) voice: +49 711-685-2053 fax: +49 711-685-3706 _________________________________________________________________
rees@pisa.ifs.umich.edu (Jim Rees) (09/18/90)
I tried to mail this but it bounced. Since it may be of general interest I
decided to post it here.
To: schmid@jellosub.luftfahrt.uni-stuttgart.de (Georg Schmid)
Subject: Re: compress and 'rec'-files
In article <1990Sep12.190007@jellosub.luftfahrt.uni-stuttgart.de> you write:
I guess there must be a way to open a file of type 'rec',
probably by an AEGIS system call, because that seems to be
exactly what I-DEAS is doing. Perhaps it would be possible
to copy the 'unstruct' files to newly created 'rec'-files?
Unfortunately I'm not an AEGIS-programmer...
You can change file types with the 'obty' command. It will not do anything
about the contents of the file, so simply changing your unstruct files to
rec probably won't work.
I don't think Apollo would recommend it, but you might try this. First,
change the file type to unstruct, using 'obty'. Then compress. After you
uncompress, change the type back to rec.