Make Jobs Readonly

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
Roopanwita
Participant
Posts: 125
Joined: Mon Sep 11, 2006 4:22 am
Location: India

Make Jobs Readonly

Post by Roopanwita »

Hi,

I want to make few jobs of project readonly. I took export of the jobs (need to make readonly) and opened dsx files and changed Readonly flag to 1 from 0 i.e. Readonly "1"

Than imported the dsx, still my job is not readonly (it is in editable mode)

I don't want to restrict the project.

Can anybody please let me know what is the issue.

Thanks in Advance.
crystal_pup
Participant
Posts: 62
Joined: Thu Feb 08, 2007 6:01 am
Location: Pune

Post by crystal_pup »

I tried by exporting a test job to XML file and then replacing every occurrence of Readonly="0" to Readonly="1".I then imported the job back into the project, however the job is still editable.It appears to me that the only way to make a job read only is to "Protect Project", but that will defeat the purpose of what you are requesting :(
BI-RMA
Premium Member
Premium Member
Posts: 463
Joined: Sun Nov 01, 2009 3:55 pm
Location: Hamburg

Post by BI-RMA »

By setting the read-only flag on the .dsx-file you just change a property of a file, not of the objects contained.

An alternative is to transfer a job from one project to another without its design - binaries only. This will make it impossible to open and/or change the job in DSDesigner on the target project.
"It is not the lucky ones are grateful.
There are the grateful those are happy." Francis Bacon
Post Reply