VOC file and commands

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
dsdev601
Participant
Posts: 3
Joined: Mon Oct 04, 2004 3:16 pm

VOC file and commands

Post by dsdev601 »

Hi,

Would like to have more information on the VOC file and the commands available for the VOC file. Of late, have been having problems with the RT_STATUSxxxx AND RT_CONFIGxxxx, e.g. tried to delete a job but couldn't because of issues with the RT_CONFIG etc.
tonystark622
Premium Member
Premium Member
Posts: 483
Joined: Thu Jun 12, 2003 4:47 pm
Location: St. Louis, Missouri USA

Post by tonystark622 »

Make sure you have your permissions and umask set right...

Tony
dsdev601
Participant
Posts: 3
Joined: Mon Oct 04, 2004 3:16 pm

Post by dsdev601 »

Thanks for the quick reply. could you please explain what umask and other permissions need to be set.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Recommended umask is 002. This means that everyone in the same group as the user who creates an object (such as an RT_CONFIGxxx file) will have all access to that object.

Permissions on the VOC file should be -rw-rw-r-- for similar reasons.

Permissions on the project directory should be drwxrwxr-x which allows the group to create (and delete) objects in the directory.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
tonystark622
Premium Member
Premium Member
Posts: 483
Joined: Thu Jun 12, 2003 4:47 pm
Location: St. Louis, Missouri USA

Post by tonystark622 »

I'm not sure if this is normal, something specific to HP, or something we're not smart enough to figure out a way around, but we had to set the 's' permission on the group for the project directory and any directories where we wrote hash files or data. This is supposed to make any directories or files created within a directory belong to the same group as that directory (the parent). Our permissions ended up being
rwxrwsr.x

Good Luck,
Tony
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

If all your DataStage developers have the same primary group, the setgid bit ought not to be required.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
tonystark622
Premium Member
Premium Member
Posts: 483
Joined: Thu Jun 12, 2003 4:47 pm
Location: St. Louis, Missouri USA

Post by tonystark622 »

Good point, Ray. Most of them did, but not all, and the primary group wasn't 'dstage', but a department group. We made all the files and directories that we access through DataStage owned by the dstage group. That explains why we had to set the 's' bit on the group.

Thanks,
Tony
dsdev601
Participant
Posts: 3
Joined: Mon Oct 04, 2004 3:16 pm

Post by dsdev601 »

Thanks guys for the useful info.
Post Reply