dsjob (-jobinfo works, but -run does not)

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

perfman
Premium Member
Premium Member
Posts: 46
Joined: Thu Aug 16, 2007 6:19 pm

Post by perfman »

Well done ArndW,
I did what you said and it worked when I compiled with same user.

You have solved it!

However, in saying that, what if I want this particular user to be able to run ANY job from commandline. (this is a scheduler tool). There are a bunch of Datastage developers all with their individual usernames so this is going to be required.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Then make sure that they are all in the operating system group that is associated with objects in the project directory, and set their umask value to 002.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
perfman
Premium Member
Premium Member
Posts: 46
Joined: Thu Aug 16, 2007 6:19 pm

Post by perfman »

Hi Ray,

Thanks for that, can you tell me how to check these settings as I have no idea what you are telling me to do. I would like to check these first then send a request to the server support people to get them to update the umask settings, but first I want to understand what I am to be asking them.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

-craig

"You can never have too many knives" -- Logan Nine Fingers
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Logged in as that used, you type 'groups' - the first one listed is their primary group. Or you can check /etc/passwd and /etc/groups directly.
-craig

"You can never have too many knives" -- Logan Nine Fingers
perfman
Premium Member
Premium Member
Posts: 46
Joined: Thu Aug 16, 2007 6:19 pm

Post by perfman »

cool thanks for that.

when I run these commands I come accross some problems:

chgrp -R dstage /opt/IBM/Ascential/DataStage/Projects/MyProject
chgrp: changing group of `each/and/every/file': Operation not permitted

chmod -R g+w /opt/IBM/Ascential/DataStage/Projects/MyProject
chmod: changing permissions of `each/and/every/file': Operation not permitted

do I need root to perform these commands?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Odd.. is that literally the error - 'each/and/every/file'? If so, that's not something I've seen before, what flavor of UNIX are you running? :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
perfman
Premium Member
Premium Member
Posts: 46
Joined: Thu Aug 16, 2007 6:19 pm

Post by perfman »

No, that part was not literal, the same error appeared 100's of times (once for each and every file).

My appologies for that missunderstanding.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Ah, so just the 'operation not permitted' part then. Still, what O/S?
-craig

"You can never have too many knives" -- Logan Nine Fingers
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Never mind, googling for 'chgrp operation not permitted' enlightens us - you must be a member of the group to have permissions to change the group. Or be root, of course.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Some administrators restrict access to chmod, chgrp, chown, etc., just as a matter of course.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
perfman
Premium Member
Premium Member
Posts: 46
Joined: Thu Aug 16, 2007 6:19 pm

Post by perfman »

Thanks for your help guys,

I had the administrator run those commands from root, and all seems to work great now.
bobyon
Premium Member
Premium Member
Posts: 200
Joined: Tue Mar 02, 2004 10:25 am
Location: Salisbury, NC

Post by bobyon »

Do these instructions still apply to version 8.0.1, and later ?
Bob
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Seeing as how there are still a 'Universe' repository and file permissions in play in the 8.x world, I would certainly think so. Can't say if that is still the complete answer, however. :?

Probably would have been better to have asked this over in the FAQ posting itself rather than here.
-craig

"You can never have too many knives" -- Logan Nine Fingers
bobyon
Premium Member
Premium Member
Posts: 200
Joined: Tue Mar 02, 2004 10:25 am
Location: Salisbury, NC

Post by bobyon »

Probably would have been better to have asked this over in the FAQ posting itself rather than here.
I tried. It would not let me post there.
Bob
Post Reply