It depends on the flavor. The commands are very different. In idea flavor, it's just CREATE-FILE dirname 1 Or CREATE-FILE dirname 19 And it creates a default dictionary for the file as type 3 modulo 1. If you want a different size/type for the dictionary, create it first with CREATE-FILE DICT dirname 3 4 5 Which creates the dict as type 3 modulo 4 seperation 5, and then create the data portion with CREATE-FILE DATA dirname 19
If you are in PICK flavor, CREATE-FILE dirname 4,5,6 1,1,19 Will create a type 19 file with a type 6 dictionary modulo 4 seleration 5. You need to put in the dummy 1,1 before the type 19. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Susan Joslyn > Sent: Tuesday, July 03, 2007 1:36 PM > To: u2-users@listserver.u2ug.org > Subject: [U2] UV CREATE.FILE > > > Hello Group, > > Anybody know the syntax to create a DIR type file from a > single command line execute on Universe? > > > > The helps says it's type, then modulo and sep - then gives > the specific example CREATE.FILE DATA TEST 4 3 2 saying that > this will create type 4 file with a modulo of 3 and a > separate of 4, but when I type that exact command at TCL I get: > > > > >CREATE.FILE DICT SJTEST7 4 3 2 > > Creating file "D_SJTEST7" as Type 18, Modulo 4, Separation 1. > > Added "@ID", the default record for RetrieVe, to "D_SJTEST7". > > I've always just done it CREATE.FILE filename - then hit > return and it prompts me. It does, by the way prompt for > modulo first. But if I try to do THAT on the command line, > as in CREATE.FILE SJTEST8 1 2 19 . I still don't get what I'm after: > > > > >CREATE.FILE SJTEST8 1 2 19 > > Creating file "SJTEST8" as Type 18, Modulo 2, Separation 1. > > Creating file "D_SJTEST8" as Type 18, Modulo 1, Separation 1 > > Added "@ID", the default record for RetrieVe, to "D_SJTEST8" > ------- > u2-users mailing list > u2-users@listserver.u2ug.org > To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/