tllcurv.gif (1047 bytes)  

 

 

 

 

 

Home
Free Downloads
Product FAQs (NT)
Product FAQs (OpenVMS)
Product Alerts
Technical References
Links
brlcurv.gif (1043 bytes)

How can I find out the file name associated with an FID?

To do the following procedure, you must have privileges to dump the INDEXF.SYS file.

First, type:

              
                
                  $ SHOW DEVICE/FULL 
                
              
            

to obtain the values for Maximum files allowed (maxfiles) and cluster size. Next, complete the following equation:

X = (maxfiles/4096) + (4 x cluster size) + FID

When you divide maxfiles by 4096, round the result up to the nearest whole number. For the "FID" entry in the above equation, use the first integer of the FID in question. For example, if the FID is (23,4,0), you would use 23 in your equation.

Next, execute the following command:

              
                
                  $ DUMP/FILE_HEADER/BLOCK=(START:XX,COUNT:1) [000000]INDEXF.SYS
                
                
              
            

where XX is the value from your equation. This will give you a dump of the file header associated with the FID in question. The file name will be displayed in the section "Identification area."

DCL will truncate the value of maxfile/4096 rather than round off. Therefore, you may need to add 1 to the FID to get the dump of the correct file.

 

If this FAQ helped, please let us know. If you didn't find the answer to your question here please e-mail

 

Executive Software Europe