<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
        {font-family:"MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">At your linux prompt type: echo $SHELL<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">It will respond with something like /bin/bash or /bin/tcsh.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">If bash then do: export ING_SET=yoursetting<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">If tcsh then do: setenv ING_SET yoursetting<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">If the shell response is neither of the indicated ones then let me know.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Martin Bowes<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Allan Biggs [mailto:Allan.Biggs@GBR.dupont.com]
<br>
<b>Sent:</b> 07 March 2016 14:57<br>
<b>To:</b> info-ingres@lists.planetingres.org<br>
<b>Subject:</b> [Info-ingres] Fw: error trying to use ing_set on Linux<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">I want to set "ing_set" on a Linux box just for the current job (I will unset it after the job has run).
</span><br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Presumably the error here mean that only the Ingres installation account can use ingsetenv and set it globally?</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Is there a way around this on Linux? I am trying to set up ing_set in the current bash script and then delete it when the script exits.
</span><br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">My Linux/bash experience is almost non-existent :-)
</span><br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">thanks</span> <br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Allan </span><br>
<br>
<br>
<span style="font-size:7.5pt;font-family:"Courier New";color:blue">> ingsetenv ing_set "set lockmode session where readlock = nolock"</span>
<br>
<span style="font-size:7.5pt;font-family:"Courier New";color:blue">ingsetenv: unable to set variable "ing_set"</span>
<br>
<span style="font-size:7.5pt;font-family:"Courier New";color:blue"> E_CL1405_NM_STOPN NM[sg]tIngAt: Unable to open symbol table</span>
<br>
<span style="font-size:7.5pt;font-family:"Courier New";color:blue"> only the Ingres super-user can use ingsetenv</span>
<br>
<span style="font-size:7.5pt;font-family:"Courier New";color:blue">Mon Mar 07@14:32:19</span>
<br>
<br>
<br>
<br>
<br>
<br>
<span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#5F5F5F">From: </span><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">Karl Schendel <<a href="mailto:schendel@kbcomputer.com">schendel@kbcomputer.com</a>></span>
<br>
<span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#5F5F5F">To: </span><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">"<a href="mailto:info-ingres@lists.planetingres.org">info-ingres@lists.planetingres.org</a>" <<a href="mailto:info-ingres@lists.planetingres.org">info-ingres@lists.planetingres.org</a>></span>
<br>
<span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#5F5F5F">Date: </span><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">24/02/2016 15:10</span>
<br>
<span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#5F5F5F">Subject: </span><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">Re: [Info-ingres] ing_set on linux and windows</span>
<br>
<span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#5F5F5F">Sent by: </span><span style="font-size:7.5pt;font-family:"Arial","sans-serif""><a href="mailto:info-ingres-bounces@lists.planetingres.org">info-ingres-bounces@lists.planetingres.org</a></span>
<o:p></o:p></p>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="100%" noshade="" style="color:#A0A0A0" align="center">
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
<br>
<br>
<span style="font-size:10.0pt;font-family:"Courier New""><br>
<tt>> On Feb 24, 2016, at 7:12 AM, Allan Biggs <<a href="mailto:Allan.Biggs@GBR.dupont.com">Allan.Biggs@GBR.dupont.com</a>> wrote:</tt><br>
<tt>> </tt><br>
<tt>> I want to do some testing on a live IngresNet database from both a Linux box and W7 enterprise PC
</tt><br>
<tt>> I want to "set lockmode session where readlock = nolock" </tt><br>
<tt>> </tt><br>
<tt>> so that I don't lock any tables/rows in a live database. </tt><br>
<tt>> I really want to do it for an individual database or a node is it possible to do this on both platforms
</tt><br>
<tt>> </tt><br>
<tt>> I found this in the documentation </tt><br>
<tt>> </tt><br>
<tt>> setenv ING_SET_DBNAME 'set-statement {; set-statement}' </tt><br>
<tt>> </tt><br>
<tt>> but how do you specify the DBNAME if the database is defined by NETUTIL e.g. as node1::db_allan
</tt><br>
<br>
<tt>I would assume that you just take the dbname, so ING_SET_db_allan (or perhaps</tt><br>
<tt>ING_SET_DB_ALLAN, I don't know if it uppercases it or takes the name literally.)</tt><br>
<br>
<tt>Karl</tt><br>
<br>
<tt>_______________________________________________</tt><br>
<tt>Info-ingres mailing list</tt><br>
<tt><a href="mailto:Info-ingres@lists.planetingres.org">Info-ingres@lists.planetingres.org</a></tt><br>
</span><a href="http://lists.planetingres.org/mailman/listinfo/info-ingres"><tt><span style="font-size:10.0pt">http://lists.planetingres.org/mailman/listinfo/info-ingres</span></tt></a><o:p></o:p></p>
<p><br>
This communication is for use by the intended recipient and contains<br>
information that may be Privileged, confidential or copyrighted under<br>
applicable law. If you are not the intended recipient, you are hereby<br>
formally notified that any use, copying or distribution of this e-mail,<br>
in whole or in part, is strictly prohibited. Please notify the sender by<br>
return e-mail and delete this e-mail from your system. Unless explicitly<br>
and conspicuously designated as "E-Contract Intended", this e-mail does<br>
not constitute a contract offer, a contract amendment, or an acceptance<br>
of a contract offer. This e-mail does not constitute a consent to the<br>
use of sender's contact information for direct marketing purposes or for<br>
transfers of data to third parties.<o:p></o:p></p>
<p>Francais Deutsch Italiano Espanol Portugues Japanese Chinese Korean<o:p></o:p></p>
<p> <a href="http://www.DuPont.com/corp/email_disclaimer.html">http://www.DuPont.com/corp/email_disclaimer.html</a><o:p></o:p></p>
</div>
</body>
</html>