Re: [U2] Filepeek usage to find internal file version
I have a vague recollection that there are two additional, undocumented, fields in the dynamic array returned by the STATUS statement, and that one of these is the internal version number. Certainly you can recover it with the newer parts of FILEINFO() function, where the file header can be recovered and decoded. The filepeek command is intended to be used interactively, though you could script it. You need to read the first 4 bytes only - however this is not possible with filepeek, which displays sixteen bytes per line. The following script will return 16 bytes; you can inspect the first four bytes to determine (a) the byte order, (b) the internal revision number, and (c) whether 32-bit or 64-bit addressing is in effect. filepeek filename EOC sw 10 0 q EOC --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2] Filepeek usage to find internal file version
I would like to find the internal version of a Universe Dynamic file. Can someone give me the correct syntax of the filepeek command (or any other command that would work) to find this information. Is there also a table of the different versions and any changes made to the file version? Where I'm going with this is that I have a customer that is experiencing frequent broken files. Most of their files are Dynamic. They're running AIX 4.3.3, Universe 10.1.12. I'm fairly sure that they've been upgraded over the years, but the files have not been resized or rebuild since any upgrade, so I suspect that the files are an older vintage. I'm hoping that this is contributing to their file corruption, but I'd like to build a script to find the version of all of the files on their system and report on it. Thanks in advance... C. Michael Pflugfelder | Systems Integrator | Keystone Information Systems | 856-722-0700 | [EMAIL PROTECTED] outbind://24/[EMAIL PROTECTED] --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] Filepeek usage to find internal file version
Mike, any chance someone is running non Universe programs over those files I have had this happen to me a number of times with dynamic files with xcopy or virus checker or explorer copies being the suspect. In some cases fixtool couldnt log the groups in error and i had to go back to uvfixfile If you have any doco on filepeek i would be interested jak - Original Message - From: Mike Pflugfelder [EMAIL PROTECTED] To: u2-users u2-users@listserver.u2ug.org Sent: Thursday, June 22, 2006 7:32 AM Subject: [U2] Filepeek usage to find internal file version I would like to find the internal version of a Universe Dynamic file. Can someone give me the correct syntax of the filepeek command (or any other command that would work) to find this information. Is there also a table of the different versions and any changes made to the file version? Where I'm going with this is that I have a customer that is experiencing frequent broken files. Most of their files are Dynamic. They're running AIX 4.3.3, Universe 10.1.12. I'm fairly sure that they've been upgraded over the years, but the files have not been resized or rebuild since any upgrade, so I suspect that the files are an older vintage. I'm hoping that this is contributing to their file corruption, but I'd like to build a script to find the version of all of the files on their system and report on it. Thanks in advance... C. Michael Pflugfelder | Systems Integrator | Keystone Information Systems | 856-722-0700 | [EMAIL PROTECTED] outbind://24/[EMAIL PROTECTED] --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.9.2/370 - Release Date: 20/06/2006 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/