Operating System - OpenVMS
1753326 Members
4813 Online
108792 Solutions
New Discussion юеВ

Re: Can LIB$RENAME_FILE create a lowercase filename?

 
Drew Shelton
Occasional Advisor

Can LIB$RENAME_FILE create a lowercase filename?

I'm using COBOL on VMS 7.3-2 to rename some files on an ODS-5 disk. It always creates uppercase filenames regardless of the case I supply. Is there a way to preserve the case?
2 REPLIES 2
Steven Schweda
Honored Contributor

Re: Can LIB$RENAME_FILE create a lowercase filename?

I know nothing, but did you set the flag bit
LIB$M_FIL_LONG_NAMES? It says "long names",
but that may be a proxy for the use of NAML
instead of NAM, which may be necessary for
non-upper case names.

http://h71000.www7.hp.com/doc/82final/5932/5932pro_038.html#index_x_360

Just a guess.
Drew Shelton
Occasional Advisor

Re: Can LIB$RENAME_FILE create a lowercase filename?

Yes! That flag does indeed mean more than just "long names". Thanks!