how to create file

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
parsi_cnu
Charter Member
Charter Member
Posts: 43
Joined: Thu Dec 04, 2003 4:26 pm

how to create file

Post by parsi_cnu »

when i tried to execute create.file type1 test from datastage\engine\bin i got a error saying unable to open voc file.
what is that mean.

advance thanks
sri
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

It means you were not attached to a project directory.

To use commands like this, you must be attached to a project directory because, when you create a hashed (or type 1 or type 25) file, an entry is recorded for it in that project's vocabulary (VOC file).

Nor should the word "Type" appear in the syntax.

The preferred method is to attach to the project directory, then execute the uv command. Alternately, establish a telnet session to the machine, and specify the project name when requested, remembering that it is case sensitive (and must be spelled correctly).

Code: Select all

CREATE.FILE TEST 19
is the preferred syntax to create a directory type file.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
parsi_cnu
Charter Member
Charter Member
Posts: 43
Joined: Thu Dec 04, 2003 4:26 pm

thanks ray.

Post by parsi_cnu »

thanks
now i can create a file now.

sri
Post Reply