Online Expert Day - HPE Data Storage - Live Now
April 24/25 - Online Expert Day - HPE Data Storage - Live Now
Read more
Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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!