<quote who="Barry Brevik"> > This is Universe 9.6.1.3 on Windows 2000. > > I have a type 19 "file" (in other words, a subdirectory) that looks like > this in the VOC: > > 001.. F > 002.. SCRATCH > 003.. D_SCRATCH > > I use this to create temp files and other administrative type files which > usually get deleted later. > > So... this sounds stupid even to me, but how can I create a static hashed > file in this subdirectory?? CREATE.FILE does not seem to allow this.
Actually, you can do it. It's a multi-level file you need. The VOC would then look like: 001 F 002 SCRATCH 003 D_SCRATCH 004 M 005 006 007 SUBFILE 008 SUBFILE You create a subfile in the directory using this command: CREATE.FILE SCRATCH,SUBFILE Now then, this works when the directory SCRATCH doesn't already exist, so I'm not sure how this will work on an existing file. Oh, one major caveat. Once you create the file, doing ED SCRATCH DATAITEM returns the message: Unable to open "SCRATCH", non-existent file. So, there's a trade-off. I hope someone else on the list knows a way around this. One thing you could do is mkdir SCRATCH from within SCRATCH, then the command would be: ED SCRATCH,SCRATCH DATAITEM which might solve the problem for you. I think there can't be anything in the SCRATCH file other than other files. You don't need to do the OS part if you don't want. You can just do CREATE.FILE DATA SCRATCH,SCRATCH NOTE: When using multi-level files you always have to use the DATA keyword. I hope this helps. > > Barry Brevik > ------- > u2-users mailing list > u2-users@listserver.u2ug.org > To unsubscribe please visit http://listserver.u2ug.org/ > -- karl _/ _/ _/ _/_/_/ ____________ __o _/ _/ _/ _/ _/ ____________ _-\<._ _/_/ _/ _/_/_/ (_)/ (_) _/ _/ _/ _/ ...................... _/ _/ arl _/_/_/ _/ earson [EMAIL PROTECTED] -- IT Director, ATS Industrial Supply, Inc. http://www.atsindustrial.com Toll-free: 800-789-9300 x29 Direct2Desk: 801-978-4429 Facsimile: 801-972-3888 -- ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/