Page 1 of 1

DS Project "Protected" status

Posted: Tue Nov 08, 2016 10:12 am
by I_Server_Whale
Hello,

Is there a way to find out whether a particular DS project is protected or unprotected via command line either from the client or the DS engine, without having to log into any GUI clients?

I tried searching the forum but couldn't find any answers. Appreciate your inputs very much.

Regards,
Whale.

Posted: Tue Nov 08, 2016 12:23 pm
by PaulVL
Not sure if this works but you can try it:

back up DSParms.
protect a project
then diff the files.

Setting might be in there, not sure.

Posted: Tue Nov 08, 2016 12:49 pm
by chulett
I don't believe so... sounds like a support question to me.

Posted: Tue Nov 08, 2016 2:24 pm
by I_Server_Whale
Thank you. Will get a PMR opened.

Posted: Tue Nov 08, 2016 4:18 pm
by Mike
I think the dsadmin command had the ability to protect or unprotect a project from the command line. However, I don't recall if it could report the current setting without initiating a change.

Mike

Posted: Wed Nov 09, 2016 7:03 am
by qt_ky
There's no command line way to report this. I've already asked and opened a PMR about it. The setting is buried somewhere that I was unable to locate.

Please see my topic and RFE:

How to display project protection status from command line?

Re: DS Project "Protected" status

Posted: Wed Nov 09, 2016 11:09 pm
by mouthou
There is no command line way but there is a roundabout way of doing this to get a clue atleast, if there situation is urgent and adhoc (more manual so difficult to automate).

Export a single job from that project from the commandline (if possible in 11x), transfer to local machine, Open the .dsx in notepad and search for Readonly flag (either 0 or 1) will give a clue.

Posted: Thu Nov 10, 2016 9:28 am
by PaulVL
Or you could zcat your isx file and grep for it since an isx file format is just a zipped xml file.