[Info-vax] create a file with temporary double extension.

Robert A. Brooks FIRST.LAST at vmssoftware.com
Mon Apr 3 12:55:30 EDT 2023


On 4/3/2023 12:49 PM, HCorte wrote:
> Is it possible to create a file with the following name?
> FILETEST.TMP.ASC
> 
> .TMP extension as the name implies is only temporary, the easy solution would be would be FILETEST_TMP.ASC instead of the dot would be the underscore character.
> 
> create filetest.tmp.asc
> 
> originates the following errors:
> 
> %CREATE-E-OPENOUT, error opening ....FILETEST^.TMP.ASC; as output
> -RMS-E-CRE, ACP file create failed
> -SYSTEM-W-BADFILEVER, bad file version number
> 
> So just whant to understand if there is a workaround or just simplifie and use the easy solution, thanks.

You need to do this on an ODS-5 volume

$ write sys$output f$getdvi( "$1$dga124", "acptype")
F11V5
$ sho def
   $1$DGA124:[0,0]
$  create filetest.tmp.asc
(crtl/z)

$ dir

Directory $1$DGA124:[0,0]

000000.DIR;1        ABS.DIR;1           ANDERSON.DIR;1      BACKUP.SYS;1
BADBLK.SYS;1        BADLOG.SYS;1        BARRY_JRE8.DIR;1    BITMAP.SYS;1
BROOKS.DIR;1        CONTIN.SYS;1        CORIMG.SYS;1        FILETEST^.TMP.ASC;1
GPT.SYS;1           INDEXF.SYS;1        SECURITY.SYS;1      VOLSET.SYS;1

Total of 16 files.

-- 
	-- Rob




More information about the Info-vax mailing list