Permissions on DataStage Category ?

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
kaps
Participant
Posts: 452
Joined: Tue May 10, 2005 12:36 pm

Permissions on DataStage Category ?

Post by kaps »

How can I enforce permissions on DataStage Category ?
I could not find a way to do this...Say I have a folder with reusable jobs and I don't want others to change those reuable jobs. How can I accomplish this ? Any hint is appreciated.

Thanks
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

There's no way, security is at a project level. You can mark jobs as read-only using the version control tool or manually updating the repository.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
ogmios
Participant
Posts: 659
Joined: Tue Mar 11, 2003 3:40 pm

Post by ogmios »

I've been playing a lot with DataStage security, security on categories is not possible.

To make jobs read-only use something as:

Code: Select all

UPDATE DS_JOBOBJECTS SET READONLY = 'RO' WHERE READONLY = 'NRO'; 
To make shared containers read-only:

Code: Select all

UPDATE DS_CONTAINERS SET READONLY = 'RO' WHERE READONLY = 'NRO';
For transforms, table definitions, ... you all need other statements, if needed I can probably still find them somewhere.

Ogmios
In theory there's no difference between theory and practice. In practice there is.
kaps
Participant
Posts: 452
Joined: Tue May 10, 2005 12:36 pm

Post by kaps »

Thanks for the replies
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Alternativly you can try to make readonly particular to category as follows.

Code: Select all

UPDATE DS_JOBOBJECTS SET READONLY = 'RO' WHERE READONLY = 'NRO' AND NAME IN (SELECT NAME FROM DS_JOBS WHERE CATEGORY LIKE '%xxxxx%')
Where the category is what need to converted.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
Post Reply