Read Only Jobs

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
asitagrawal
Premium Member
Premium Member
Posts: 273
Joined: Wed Oct 18, 2006 12:20 pm
Location: Porto

Read Only Jobs

Post by asitagrawal »

Hi,

My project is not read-only (i.e it is unprotected)
and still a job is read-only.

Plz explain how to remove this read-only option.

Thx,
Asit
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Protected and Readonly are different parameters.
If you have promoted your jobs form Version control as Readonly mode you might get this effect. You can reimport with Non readonly mode.
Alternativly you can execute the follwing command in the Command option available in Datastage administrator

Code: Select all

UPDATE DS_JOBOBJECTS SET READONLY = 'NRO' WHERE READONLY = 'RO'
.
Or you can find a flag in exported .dsx file called READONLY ='1' change it to 0.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
asitagrawal
Premium Member
Premium Member
Posts: 273
Joined: Wed Oct 18, 2006 12:20 pm
Location: Porto

Post by asitagrawal »

kumar_s wrote:Protected and Readonly are different parameters.
If you have promoted your jobs form Version control as Readonly mode you might get this effect. You can reimport with Non readonly mode.
Alternativly you can execute the follwing command in the Command option available in Datastage administrator

Code: Select all

UPDATE DS_JOBOBJECTS SET READONLY = 'NRO' WHERE READONLY = 'RO'
.
Or you can find a flag in exported .dsx file called READONLY ='1' change it to 0.
Thanks a lot!
Usin the query worked out!
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Is'nt that query going to make all read only jobs as !readonly :?
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Everything in there is now NRO. :?
-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 »

Everything except the example job supplied by the vendor, which uses a different value to mark it as read-only. This may be a desirable result for jobs - after all, they're all designed in-house, and can be switched back to read-only if desired using a similar UPDATE statement.

Code: Select all

UPDATE DS_JOBOBJECTS SET READONLY = 'RO' WHERE OBJIDNO = (SELECT JOBNO FROM DS_JOBS WHERE NAME = '<<Job Name>>');
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Are there any example job available in each project? Or is it refering to built in routines etc.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

There is one example job, if I recall correctly. At least in version 7.5x2.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply