Microsoft KB Archive/31193

How Runcob Searches for .Int Files at Run Time in XENIX

PSS ID Number: Q31193 Article last modified on 04-21-1993

2.10 2.20 XENIX

Summary: XENIX is case sensitive and has no concept of filename extensions. The following are the general rules that runcob uses to find files when you enter { runcob filename }: 1. The last string of characters beginning with a period are the file extension. To run a program called center.int, you can either enter { runcob center } or { runcob center.int }. If filenames have more than one embedded period (such as outfile.a.int), the extension cannot be defaulted. For example, runcob finds outfile.a.int if outfile.a.int is specified, but does not find the file if outfile.a is specified. 2. All extensions generated are in lowercase letters. Fewer problems will occur if all filenames are in lowercase. The program mvlower, provided with XENIX COBOL, can be used to convert filenames to lowercase. 3. In general, files are searched as specified. If no file is found, the filename is converted to lowercase and searched for again. In certain cases the extension is stripped off and a lowercase extension is put on. 4. Filenames that differ only by case should not be used, especially in a single program. 5. If you specify a filename that does not begin with the explicit path symbol (/), runcob will search for the .int object file along the XENIX path. If you specify a filename that begins with the explicit path symbol (/), runcob will search only the directory specified by this path.

Additional reference words: 2.10 2.20 Copyright Microsoft Corporation 1993.