If you wanted a quick glance at a file with out running a program, And if your careful and have root or admin access you can use filepeek.
The only thing you need is the first page, then 'q' to quit. Default mode will tell you. # /usr/uv/bin/filepeek VOC filepeek status: Active file .......... "VOC" Current file address . 0x0000000000000000 Maximum file address . 0x00000000000427FF Window size .......... 512 bytes 0xFF will display as . "ÿ" Default base ......... 16 Default mode ......... 64-bit File type ............ 18 Modulo ............... 241 Separation ........... 2 Group 0 .............. 0x0000000000000400 Free head ............ 0x0000000000000000 Addr: q # Terry -----Original Message----- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Allen Egerton Sent: Saturday, January 05, 2013 8:29 PM To: U2 Users List Subject: Re: [U2] Command to show what kind of file in Universe - 32 or 64 bit? John, Following up on Marc's reply. Open the file, then do a status on the open file handle. Here's an example for a Universe system, (warning, it's typed directly into post, hasn't been compiled). OPEN "", "VOC" TO F.VOC THEN STATUS MV.STATUS FROM F.VOC THEN BITS = MV.STATUS<32> BEGIN CASE CASE BITS EQ 3 CRT "32BIT" CASE BITS EQ 5 CRT "64 BIT" CASE 1 CRT "OLD STYLE" ;* ????? END CASE END ;* STATUS END ;* OPEN On 1/5/2013 8:53 PM, Marc A Hilbert wrote: > John, > I don't remember which one but I believe it's one of the STATUS atributes. > After OPENing the file your can do a STATUS of the file variable and one of > these tells you if the file is 64bit. I had to do a program a few months ago > to find all 32 bit files that were nearing the 2gb limit and used this. > Sorry I'm not at work and can't remember exactly... > Regards, > Marc > > -----Mensaje original----- > De: u2-users-boun...@listserver.u2ug.org > [mailto:u2-users-boun...@listserver.u2ug.org] En nombre de John Thompson > Enviado el: sábado, 05 de enero de 2013 13:40 > Para: U2 Users List > Asunto: [U2] Command to show what kind of file in Universe - 32 or 64 bit? > > Anyone know of a command that will tell you what type of file you are > dealing with Universe as it relates to 32 or 64 bit files? > > ANALYZE.FILE doesn't seem to give that info.... > > -- > John Thompson > _______________________________________________ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > > _______________________________________________ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users