Long file names NT/CHAIN


PAW version:2.11/13
Description
Because of the long file names, the following macro produces wrong results. When an HBOOK file is used, its name is stored in a character strings array of 80 characters. The chain mechanism uses this array to check if a file is already attached. When the file names are too long (like here) the comparison is done with a truncated name. If the file names are very similar and vary only at the end (like here) the truncated character string stored in the HBOOK common block are the same for two different files and the chain mechanism think that the file is already attached whereas it is not. This will end up analysing twice the same file !

filecase keep
chain bpipimbJ Y01319_1-4.his Y01319_5-8.his
chain bpipimbJ -P /afs/rl.ac.uk/atlas/data/level2/ctrighis/011303p314/Bpipimb/  
cd //bpipimbJ/t2gl
nt/plot 1202.nKin nKin<100
Extending the length of the character strings would just push the limit but not solve the problem. To highlight the fact that a problem may occur, a warning is now printed when the file names are too long.

In PAW version 2.14/02 the filename length has been extended to 128.

Fixed in: PAW 2.12/00 and 2.14/02
Workaround
Create a short symbolic links (UNIX) to the long directory path common to all files.


Release NotesKnown bugsFAQsContributionsTutorialReference manualDown loadMiscellaneous

Paw.Support@cern.ch