You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafodion.apache.org by rm...@apache.org on 2015/12/02 01:38:33 UTC

[01/10] incubator-trafodion git commit: TRAFODION-1636 & TRAFODION-1642

Repository: incubator-trafodion
Updated Branches:
  refs/heads/release1.3 1ea3e834b -> 3b27862e0


http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/7a085965/docs/sql_reference/source/Trafodion_SQL_Reference_Manual.xml
----------------------------------------------------------------------
diff --git a/docs/sql_reference/source/Trafodion_SQL_Reference_Manual.xml b/docs/sql_reference/source/Trafodion_SQL_Reference_Manual.xml
index f29b34e..351df80 100755
--- a/docs/sql_reference/source/Trafodion_SQL_Reference_Manual.xml
+++ b/docs/sql_reference/source/Trafodion_SQL_Reference_Manual.xml
@@ -23,7 +23,7 @@
 -->
 
 <!--Arbortext, Inc., 1988-2014, v.4002-->
-<!DOCTYPE book PUBLIC "-//Hewlett-Packard ESS//DTD DocBook Extension//EN"
+<!DOCTYPE book PUBLIC "-//Apache Software Foundation (ASF)//DTD DocBook Extension//EN"
  "ess.dtd">
 <book>
 <title>Trafodion SQL Reference Manual</title>
@@ -34,8 +34,8 @@
 <abstract condition="hidden">
 <para>Last updated: 4/24/2015</para>
 </abstract>
-<copyright><year>2015</year><holder>Hewlett-Packard Development Company,
-L.P.</holder></copyright>
+<copyright><year>2015</year><holder>Apache Software Foundation (ASF)
+</holder></copyright>
 <legalnotice>
 <!--WRITER'S NOTE: HP legal notice for open source release-->
 <title>Legal Notice</title>
@@ -9197,8 +9197,8 @@ and external objects.</para></listitem>
 <itemizedlist>
 <listitem><para>This GET HBASE OBJECTS statement displays the Trafodion
 user objects in HBase:</para>
-<screen><computeroutput>Trafodion Conversational Interface 1.1.0
-(c) Copyright 2014 Hewlett-Packard Development Company, LP.
+<screen><computeroutput>Apache Trafodion Conversational Interface 1.3.0 
+(c) Copyright (c) 2015 Apache Software Foundation
 >></computeroutput><userinput>get user hbase objects;</userinput><computeroutput
 >
 

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/7a085965/docs/sql_reference/source/xml-profile.xml
----------------------------------------------------------------------
diff --git a/docs/sql_reference/source/xml-profile.xml b/docs/sql_reference/source/xml-profile.xml
index c4c5340..c421b53 100755
--- a/docs/sql_reference/source/xml-profile.xml
+++ b/docs/sql_reference/source/xml-profile.xml
@@ -23,7 +23,7 @@
 -->
 
 <!--Arbortext, Inc., 1988-2014, v.4002-->
-<!DOCTYPE xidi:xidi PUBLIC "-//Hewlett-Packard//DTD XIDI Specifications V1.0//EN"
+<!DOCTYPE xidi:xidi PUBLIC "-//Apache Software Foundation (ASF)//DTD XIDI Specifications V1.0//EN"
  "xidi-xidi.dtd">
 <xidi:xidi>
 <!--Profiling Information-->

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/7a085965/install/Makefile
----------------------------------------------------------------------
diff --git a/install/Makefile b/install/Makefile
index fa895d1..3ddc671 100644
--- a/install/Makefile
+++ b/install/Makefile
@@ -1,8 +1,6 @@
 
 # @@@ START COPYRIGHT @@@
 #
-# (C) Copyright 2007-2015 Hewlett-Packard Development Company, L.P.
-#
 #  Licensed under the Apache License, Version 2.0 (the "License");
 #  you may not use this file except in compliance with the License.
 #  You may obtain a copy of the License at

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/7a085965/install/README.rst
----------------------------------------------------------------------
diff --git a/install/README.rst b/install/README.rst
deleted file mode 100644
index d1df88d..0000000
--- a/install/README.rst
+++ /dev/null
@@ -1,32 +0,0 @@
-.. # @@@ START COPYRIGHT @@@
-   #
-   # (C) Copyright 2014 Hewlett-Packard Development Company, L.P.
-   #
-   #  Licensed under the Apache License, Version 2.0 (the "License");
-   #  you may not use this file except in compliance with the License.
-   #  You may obtain a copy of the License at
-   #
-   #      http://www.apache.org/licenses/LICENSE-2.0
-   #
-   #  Unless required by applicable law or agreed to in writing, software
-   #  distributed under the License is distributed on an "AS IS" BASIS,
-   #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   #  See the License for the specific language governing permissions and
-   #  limitations under the License.
-   #
-   # @@@ END COPYRIGHT @@@
-
-=============================
-Trafodion Core README
-=============================
-
-Trafodion provides a transactional SQL-on-HBase engine. "Trafodion" is the Welsh word for transactions. Trafodion builds on the scalability, elasticity, and flexibility of Hadoop. It extends it to handle enterprise-class operational workloads such as online transaction processing.
-
-Trafodion is distributed under the terms of the Apache License, Version 2.0.
-
-To learn about Trafodion visit:
-   http://trafodion.org
-
-For more information about how to contribute to Trafodion visit the wiki:
-   https://wiki.trafodion.org
-

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/7a085965/wms/LICENSE.txt
----------------------------------------------------------------------
diff --git a/wms/LICENSE.txt b/wms/LICENSE.txt
deleted file mode 100644
index d645695..0000000
--- a/wms/LICENSE.txt
+++ /dev/null
@@ -1,202 +0,0 @@
-
-                                 Apache License
-                           Version 2.0, January 2004
-                        http://www.apache.org/licenses/
-
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-   1. Definitions.
-
-      "License" shall mean the terms and conditions for use, reproduction,
-      and distribution as defined by Sections 1 through 9 of this document.
-
-      "Licensor" shall mean the copyright owner or entity authorized by
-      the copyright owner that is granting the License.
-
-      "Legal Entity" shall mean the union of the acting entity and all
-      other entities that control, are controlled by, or are under common
-      control with that entity. For the purposes of this definition,
-      "control" means (i) the power, direct or indirect, to cause the
-      direction or management of such entity, whether by contract or
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the
-      outstanding shares, or (iii) beneficial ownership of such entity.
-
-      "You" (or "Your") shall mean an individual or Legal Entity
-      exercising permissions granted by this License.
-
-      "Source" form shall mean the preferred form for making modifications,
-      including but not limited to software source code, documentation
-      source, and configuration files.
-
-      "Object" form shall mean any form resulting from mechanical
-      transformation or translation of a Source form, including but
-      not limited to compiled object code, generated documentation,
-      and conversions to other media types.
-
-      "Work" shall mean the work of authorship, whether in Source or
-      Object form, made available under the License, as indicated by a
-      copyright notice that is included in or attached to the work
-      (an example is provided in the Appendix below).
-
-      "Derivative Works" shall mean any work, whether in Source or Object
-      form, that is based on (or derived from) the Work and for which the
-      editorial revisions, annotations, elaborations, or other modifications
-      represent, as a whole, an original work of authorship. For the purposes
-      of this License, Derivative Works shall not include works that remain
-      separable from, or merely link (or bind by name) to the interfaces of,
-      the Work and Derivative Works thereof.
-
-      "Contribution" shall mean any work of authorship, including
-      the original version of the Work and any modifications or additions
-      to that Work or Derivative Works thereof, that is intentionally
-      submitted to Licensor for inclusion in the Work by the copyright owner
-      or by an individual or Legal Entity authorized to submit on behalf of
-      the copyright owner. For the purposes of this definition, "submitted"
-      means any form of electronic, verbal, or written communication sent
-      to the Licensor or its representatives, including but not limited to
-      communication on electronic mailing lists, source code control systems,
-      and issue tracking systems that are managed by, or on behalf of, the
-      Licensor for the purpose of discussing and improving the Work, but
-      excluding communication that is conspicuously marked or otherwise
-      designated in writing by the copyright owner as "Not a Contribution."
-
-      "Contributor" shall mean Licensor and any individual or Legal Entity
-      on behalf of whom a Contribution has been received by Licensor and
-      subsequently incorporated within the Work.
-
-   2. Grant of Copyright License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      copyright license to reproduce, prepare Derivative Works of,
-      publicly display, publicly perform, sublicense, and distribute the
-      Work and such Derivative Works in Source or Object form.
-
-   3. Grant of Patent License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      (except as stated in this section) patent license to make, have made,
-      use, offer to sell, sell, import, and otherwise transfer the Work,
-      where such license applies only to those patent claims licensable
-      by such Contributor that are necessarily infringed by their
-      Contribution(s) alone or by combination of their Contribution(s)
-      with the Work to which such Contribution(s) was submitted. If You
-      institute patent litigation against any entity (including a
-      cross-claim or counterclaim in a lawsuit) alleging that the Work
-      or a Contribution incorporated within the Work constitutes direct
-      or contributory patent infringement, then any patent licenses
-      granted to You under this License for that Work shall terminate
-      as of the date such litigation is filed.
-
-   4. Redistribution. You may reproduce and distribute copies of the
-      Work or Derivative Works thereof in any medium, with or without
-      modifications, and in Source or Object form, provided that You
-      meet the following conditions:
-
-      (a) You must give any other recipients of the Work or
-          Derivative Works a copy of this License; and
-
-      (b) You must cause any modified files to carry prominent notices
-          stating that You changed the files; and
-
-      (c) You must retain, in the Source form of any Derivative Works
-          that You distribute, all copyright, patent, trademark, and
-          attribution notices from the Source form of the Work,
-          excluding those notices that do not pertain to any part of
-          the Derivative Works; and
-
-      (d) If the Work includes a "NOTICE" text file as part of its
-          distribution, then any Derivative Works that You distribute must
-          include a readable copy of the attribution notices contained
-          within such NOTICE file, excluding those notices that do not
-          pertain to any part of the Derivative Works, in at least one
-          of the following places: within a NOTICE text file distributed
-          as part of the Derivative Works; within the Source form or
-          documentation, if provided along with the Derivative Works; or,
-          within a display generated by the Derivative Works, if and
-          wherever such third-party notices normally appear. The contents
-          of the NOTICE file are for informational purposes only and
-          do not modify the License. You may add Your own attribution
-          notices within Derivative Works that You distribute, alongside
-          or as an addendum to the NOTICE text from the Work, provided
-          that such additional attribution notices cannot be construed
-          as modifying the License.
-
-      You may add Your own copyright statement to Your modifications and
-      may provide additional or different license terms and conditions
-      for use, reproduction, or distribution of Your modifications, or
-      for any such Derivative Works as a whole, provided Your use,
-      reproduction, and distribution of the Work otherwise complies with
-      the conditions stated in this License.
-
-   5. Submission of Contributions. Unless You explicitly state otherwise,
-      any Contribution intentionally submitted for inclusion in the Work
-      by You to the Licensor shall be under the terms and conditions of
-      this License, without any additional terms or conditions.
-      Notwithstanding the above, nothing herein shall supersede or modify
-      the terms of any separate license agreement you may have executed
-      with Licensor regarding such Contributions.
-
-   6. Trademarks. This License does not grant permission to use the trade
-      names, trademarks, service marks, or product names of the Licensor,
-      except as required for reasonable and customary use in describing the
-      origin of the Work and reproducing the content of the NOTICE file.
-
-   7. Disclaimer of Warranty. Unless required by applicable law or
-      agreed to in writing, Licensor provides the Work (and each
-      Contributor provides its Contributions) on an "AS IS" BASIS,
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-      implied, including, without limitation, any warranties or conditions
-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
-      PARTICULAR PURPOSE. You are solely responsible for determining the
-      appropriateness of using or redistributing the Work and assume any
-      risks associated with Your exercise of permissions under this License.
-
-   8. Limitation of Liability. In no event and under no legal theory,
-      whether in tort (including negligence), contract, or otherwise,
-      unless required by applicable law (such as deliberate and grossly
-      negligent acts) or agreed to in writing, shall any Contributor be
-      liable to You for damages, including any direct, indirect, special,
-      incidental, or consequential damages of any character arising as a
-      result of this License or out of the use or inability to use the
-      Work (including but not limited to damages for loss of goodwill,
-      work stoppage, computer failure or malfunction, or any and all
-      other commercial damages or losses), even if such Contributor
-      has been advised of the possibility of such damages.
-
-   9. Accepting Warranty or Additional Liability. While redistributing
-      the Work or Derivative Works thereof, You may choose to offer,
-      and charge a fee for, acceptance of support, warranty, indemnity,
-      or other liability obligations and/or rights consistent with this
-      License. However, in accepting such obligations, You may act only
-      on Your own behalf and on Your sole responsibility, not on behalf
-      of any other Contributor, and only if You agree to indemnify,
-      defend, and hold each Contributor harmless for any liability
-      incurred by, or claims asserted against, such Contributor by reason
-      of your accepting any such warranty or additional liability.
-
-   END OF TERMS AND CONDITIONS
-
-   APPENDIX: How to apply the Apache License to your work.
-
-      To apply the Apache License to your work, attach the following
-      boilerplate notice, with the fields enclosed by brackets "[]"
-      replaced with your own identifying information. (Don't include
-      the brackets!)  The text should be enclosed in the appropriate
-      comment syntax for the file format. We also recommend that a
-      file or class name and description of purpose be included on the
-      same "printed page" as the copyright notice for easier
-      identification within third-party archives.
-
-   Copyright [yyyy] [name of copyright owner]
-
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/7a085965/wms/NOTICE.txt
----------------------------------------------------------------------
diff --git a/wms/NOTICE.txt b/wms/NOTICE.txt
deleted file mode 100644
index ecd51a7..0000000
--- a/wms/NOTICE.txt
+++ /dev/null
@@ -1,11 +0,0 @@
-This product includes software developed by The Apache Software
-Foundation (http://www.apache.org/).
-
-In addition, this product includes software developed by:
-
-Jamon (http://www.jamon.org/) is a text template engine for Java used by our
-UI.  It uses the Mozilla Public License (http://www.mozilla.org/MPL/)
-See the tail of http://www.jamon.org/About.html
-
-JUnit (http://www.junit.org/) included under the Common Public License v1.0.  See
-the full text here: http://junit.sourceforge.net/cpl-v10.html

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/7a085965/wms/build.xml
----------------------------------------------------------------------
diff --git a/wms/build.xml b/wms/build.xml
index f1f6177..c416292 100644
--- a/wms/build.xml
+++ b/wms/build.xml
@@ -286,7 +286,7 @@
          use="true"
          windowtitle="${Name} ${version} API"
          doctitle="${Name} ${version} API"
-         bottom="Copyright &amp;copy; ${year} The Hewlett Packard Company"
+         bottom="Copyright &amp;copy; ${year} Apache Software Foundation"
          >
     	<packageset dir="${java.src.dir}">
           <include name="com/hp/**"/>


[06/10] incubator-trafodion git commit: TRAFODION-1636 & TRAFODION-1642

Posted by rm...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/7a085965/core/sql/regress/newregr/mvs/EXPECTEDMV500
----------------------------------------------------------------------
diff --git a/core/sql/regress/newregr/mvs/EXPECTEDMV500 b/core/sql/regress/newregr/mvs/EXPECTEDMV500
deleted file mode 100644
index 9534c90..0000000
--- a/core/sql/regress/newregr/mvs/EXPECTEDMV500
+++ /dev/null
@@ -1,4708 +0,0 @@
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section SELECT_RESTRICT_ALL
->>
->>sh sqlci -i "selectRestrict(selectR1_user1_1)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section SELECTR1_USER1_1 
->>------------------------------------------------------------------------------
->>-- checking GRANT/REVOKE SELECT privs on MVs when SELECT is executed
->>
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>create table t10 ( a int );
-
---- SQL operation complete.
->>create MV mv10 refresh on request initialize on refresh as select * from t10;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "selectRestrict(selectR1_user2_1)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section SELECTR1_USER2_1
->>
->>--sql_user2 
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>--FAIL
->>select * from c1.s1.mv10;
-
-*** ERROR[8573] The user does not have SELECT privilege on table or view C1.S1.MV10.
-
---- 0 row(s) selected.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "selectRestrict(selectR1_user1_2)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section SELECTR1_USER1_2
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>grant select on mv10 to sql_user2 with grant option;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "selectRestrict(selectR1_user2_2)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section SELECTR1_USER2_2
->>
->>--sql_user2 
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>select * from c1.s1.mv10;
-
---- 0 row(s) selected.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "selectRestrict(selectR1_user1_3)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section SELECTR1_USER1_3
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>revoke select on mv10 from sql_user2;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "selectRestrict(selectR1_user2_3)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section SELECTR1_USER2_3
->>
->>--sql_user2 
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>--FAIL
->>select * from c1.s1.mv10;
-
-*** ERROR[8573] The user does not have SELECT privilege on table or view C1.S1.MV10.
-
---- 0 row(s) selected.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "selectRestrict(selectR1_user1_4)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section SELECTR1_USER1_4 
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>drop mv mv10;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>
->>
->>
->>
->>
->>exit;
-
-End of MXCI Session
-
->>
->>
->>sh sqlci -i "selectRestrict(selectR2_user1_1)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section SELECTR2_USER1_1
->>------------------------------------------------------------------------------
->>-- grant REVOKE select -  compare view and MV
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>create table t10 ( a int );
-
---- SQL operation complete.
->>
->>--*************************************
->>-- FIRST A VIEW
->>--*************************************
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "selectRestrict(selectR2_user1_2)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section SELECTR2_USER1_2
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>grant select on t10 to sql_user2 with grant option;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "selectRestrict(selectR2_user2_1)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section SELECTR2_USER2_1
->>
->>--sql_user2 
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>create view v20 as select * from c1.s1.t10;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "selectRestrict(selectR2_user1_3)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section SELECTR2_USER1_3
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>--FAIL
->>revoke select on t10 from sql_user2;
-
-*** ERROR[1014] Privileges were not revoked.  Dependent privilege descriptors still exist.
-
---- SQL operation completed with errors.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "selectRestrict(selectR2_user2_2)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section SELECTR2_USER2_2
->>
->>--sql_user2 
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>drop view v20;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "selectRestrict(selectR2_user1_4)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section SELECTR2_USER1_4
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>revoke select on t10 from sql_user2;
-
---- SQL operation complete.
->>
->>--*************************************
->>-- SECOND AN MV
->>--*************************************
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "selectRestrict(selectR2_user1_5)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section SELECTR2_USER1_5
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>grant select on t10 to sql_user2 with grant option;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "selectRestrict(selectR2_user2_3)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section SELECTR2_USER2_3
->>
->>--sql_user2 
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>create mv mv20 refresh on request as select * from c1.s1.t10;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "selectRestrict(selectR2_user1_6)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section SELECTR2_USER1_6
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>--FAIL
->>revoke select on t10 from sql_user2;
-
-*** ERROR[1014] Privileges were not revoked.  Dependent privilege descriptors still exist.
-
---- SQL operation completed with errors.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "selectRestrict(selectR2_user2_4)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section SELECTR2_USER2_4
->>
->>--sql_user2 
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>drop mv mv20;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "selectRestrict(selectR2_user1_7)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section SELECTR2_USER1_7
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>revoke select on t10 from sql_user2;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "selectRestrict(selectR2_user1_8)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section SELECTR2_USER1_8
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>
->>
->>
->>
->>exit;
-
-End of MXCI Session
-
->>
->>
->>
->>sh sqlci -i "selectRestrict(selectR3_user1_1)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section SELECTR3_USER1_1
->>------------------------------------------------------------------------------
->>-- grant REVOKE select 
->>-- two chains:  a view on top of a  view on top of a table
->>--		a view on top of an MV   on top of a table  
->>-- and we compare both. they must behave identicaly
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>create table t10 ( a int );
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "selectRestrict(selectR3_user1_2)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section SELECTR3_USER1_2
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>grant select on t10 to sql_user2 with grant option;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "selectRestrict(selectR3_user2_1)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section SELECTR3_USER2_1
->>
->>--sql_user2 
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>create mv mv20 refresh on request initialize on refresh as select * from c1.s1.t10;
-
---- SQL operation complete.
->>create view v20 as select * from c1.s1.t10;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "selectRestrict(selectR3_user3_1)" -u sql_user3;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section SELECTR3_USER3_1
->>
->>--sql_user3 
->>-----------
->>set schema c3.s3;
-
---- SQL operation complete.
->>--FAIL
->>create view v30 as select * from c2.s2.mv20;
-
-*** ERROR[1051] Insufficient privilege on C2.S2.MV20.
-
-*** ERROR[1017] You are not authorized to perform this operation.
-
---- SQL operation completed with errors.
->>
->>
->>--FAIL
->>create view v31 as select * from c2.s2.v20;
-
-*** ERROR[1051] Insufficient privilege on C2.S2.V20.
-
-*** ERROR[1017] You are not authorized to perform this operation.
-
---- SQL operation completed with errors.
->>
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "selectRestrict(selectR3_user2_2)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section SELECTR3_USER2_2
->>
->>--sql_user2 
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>grant select on mv20 to sql_user3;
-
---- SQL operation complete.
->>grant select on v20 to sql_user3;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "selectRestrict(selectR3_user3_2)" -u sql_user3;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section SELECTR3_USER3_2
->>
->>--sql_user3 
->>-----------
->>set schema c3.s3;
-
---- SQL operation complete.
->>create view v30 as select * from c2.s2.mv20;
-
---- SQL operation complete.
->>create view v31 as select * from c2.s2.v20;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "selectRestrict(selectR3_user2_3)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section SELECTR3_USER2_3
->>
->>--sql_user2 
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>--FAIL
->>revoke select on v20 from sql_user3;
-
-*** ERROR[1014] Privileges were not revoked.  Dependent privilege descriptors still exist.
-
---- SQL operation completed with errors.
->>
->>
->>--FAIL
->>revoke select on mv20 from sql_user3;
-
-*** ERROR[1014] Privileges were not revoked.  Dependent privilege descriptors still exist.
-
---- SQL operation completed with errors.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "selectRestrict(selectR3_user3_3)" -u sql_user3;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section SELECTR3_USER3_3
->>
->>--sql_user3 
->>-----------
->>set schema c3.s3;
-
---- SQL operation complete.
->>drop view v30;
-
---- SQL operation complete.
->>drop view v31;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "selectRestrict(selectR3_user2_4)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section SELECTR3_USER2_4
->>
->>--sql_user2 
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>revoke select on v20 from sql_user3;
-
---- SQL operation complete.
->>revoke select on mv20 from sql_user3;
-
---- SQL operation complete.
->>drop mv mv20;
-
---- SQL operation complete.
->>drop view v20;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "selectRestrict(selectR3_user1_3)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section SELECTR3_USER1_3
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>
->>
->>
->>
->>
->>
->>
->>
->>exit;
-
-End of MXCI Session
-
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section DELETE_RESTRICT_ALL
->>
->>sh sqlci -i "deleteRestrict(deleteR1_title)";
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section DELETER1_TITLE
->>------------------------------------------------------------------------------
->>-- checking DELETE privs on MVs of the creator
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "deleteRestrict(deleteR1_user1_1)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section DELETER1_USER1_1
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>create table t10 ( a int );
-
---- SQL operation complete.
->>insert into t10 values (1);
-
---- 1 row(s) inserted.
->>insert into t10 values (2);
-
---- 1 row(s) inserted.
->>
->>
->>create MV mv10 refresh on request initialize on create as select * from t10;
-
---- SQL operation complete.
->>--- SQL operation complete.
->>
->>DELETE from mv10;
-
---- 2 row(s) deleted.
->>
->>drop mv mv10;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>
->>sh sqlci -i "deleteRestrict(deleteR2_title)";
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section DELETER2_TITLE
->>
->>
->>------------------------------------------------------------------------------
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "deleteRestrict(deleteR2_user1_1)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section DELETER2_USER1_1
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>create table t10 ( a int );
-
---- SQL operation complete.
->>--- SQL operation complete.
->>
->>create MV mv10 refresh on request as select * from t10;
-
---- SQL operation complete.
->>--- SQL operation complete.
->>
->>DELETE FROM mv10;
-
---- 0 row(s) deleted.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "deleteRestrict(deleteR2_user2_1)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section DELETER2_USER2_1
->>
->>--sql_user2
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>--FAIL
->>DELETE FROM c1.s1.mv10;
-
-*** ERROR[8573] The user does not have DELETE privilege on table or view C1.S1.MV10.
-
---- 0 row(s) deleted.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "deleteRestrict(deleteR2_user1_2)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section DELETER2_USER1_2
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>grant delete on mv10 to sql_user2;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "deleteRestrict(deleteR2_user2_2)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section DELETER2_USER2_2
->>
->>--sql_user2
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>DELETE FROM c1.s1.mv10;
-
---- 0 row(s) deleted.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "deleteRestrict(deleteR2_user1_3)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section DELETER2_USER1_3
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>revoke DELETE on mv10 from sql_user2;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "deleteRestrict(deleteR2_user2_3)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section DELETER2_USER2_3
->>
->>--sql_user2
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>--FAIL
->>DELETE FROM c1.s1.mv10;
-
-*** ERROR[8573] The user does not have DELETE privilege on table or view C1.S1.MV10.
-
---- 0 row(s) deleted.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "deleteRestrict(deleteR2_user3_1)" -u sql_user3;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section DELETER2_USER3_1
->>
->>--sql_user3
->>-----------
->>set schema c3.s3;
-
---- SQL operation complete.
->>--FAIL
->>DELETE FROM c1.s1.mv10;
-
-*** ERROR[8573] The user does not have DELETE privilege on table or view C1.S1.MV10.
-
---- 0 row(s) deleted.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "deleteRestrict(deleteR2_user1_4)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section DELETER2_USER1_4
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>grant DELETE on mv10 to sql_user2 with grant option;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "deleteRestrict(deleteR2_user2_4)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section DELETER2_USER2_4
->>
->>--sql_user2
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>grant DELETE on c1.s1.mv10 to sql_user3;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "deleteRestrict(deleteR2_user3_2)" -u sql_user3;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section DELETER2_USER3_2
->>
->>--sql_user3
->>-----------
->>set schema c3.s3;
-
---- SQL operation complete.
->>DELETE FROM c1.s1.mv10;
-
---- 0 row(s) deleted.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "deleteRestrict(deleteR2_user1_5)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section DELETER2_USER1_5
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>--FAIL
->>revoke DELETE on mv10 from sql_user2;
-
-*** ERROR[1014] Privileges were not revoked.  Dependent privilege descriptors still exist.
-
---- SQL operation completed with errors.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "deleteRestrict(deleteR2_user2_5)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section DELETER2_USER2_5
->>
->>--sql_user2
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>revoke DELETE on c1.s1.mv10 from sql_user3;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "deleteRestrict(deleteR2_user1_6)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section DELETER2_USER1_6
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>revoke DELETE on mv10 from sql_user2;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "deleteRestrict(deleteR2_user3_3)" -u sql_user3;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section DELETER2_USER3_3
->>
->>--sql_user3
->>-----------
->>set schema c3.s3;
-
---- SQL operation complete.
->>--FAIL
->>DELETE FROM c1.s1.mv10;
-
-*** ERROR[8573] The user does not have DELETE privilege on table or view C1.S1.MV10.
-
---- 0 row(s) deleted.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "deleteRestrict(deleteR2_user1_7)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section DELETER2_USER1_7
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>drop mv mv10;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>
->>sh sqlci -i "deleteRestrict(deleteR3_title)";
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section DELETER3_TITLE
->>
->>
->>------------------------------------------------------------------------------
->>-- view on top of MVs are not updatable and cannot be deleted from
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "deleteRestrict(deleteR3_user1_1)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section DELETER3_USER1_1
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>create table t10 ( a int );
-
---- SQL operation complete.
->>
->>create MV mv10 refresh on request as select * from t10;
-
---- SQL operation complete.
->>
->>create view v10 as select * from t10;
-
---- SQL operation complete.
->>create view v11 as select * from mv10;
-
---- SQL operation complete.
->>
->>--FAIL
->>DELETE FROM v10;
-
---- 0 row(s) deleted.
->>
->>--FAIL
->>DELETE FROM v11;
-
-*** ERROR[4028] Table C1.S1.V11 is not updatable.
-
-*** ERROR[8822] Unable to prepare the statement.
-
->>
->>drop view v10;
-
---- SQL operation complete.
->>drop view v11;
-
---- SQL operation complete.
->>drop mv mv10;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>
->>
->>
->>
->>
->>
->>
->>
->>
->>exit;
-
-End of MXCI Session
-
->>
->>
->>exit;
-
-End of MXCI Session
-
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section INSERT_RESTRICT_ALL
->>
->>
->>sh sqlci -i "insertRestrict(insertR1_title)";
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section INSERTR1_TITLE
->>
->>------------------------------------------------------------------------------
->>-- checking INSERT privs on MVs
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "insertRestrict(insertR1_user1_1)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section INSERTR1_USER1_1
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>
->>-- first through initializing. for that we need insert privs
->>
->>create table t10 ( a int );
-
---- SQL operation complete.
->>
->>create MV mv10 refresh on request initialize on create as select * from t10;
-
---- SQL operation complete.
->>
->>-- no through explicite insert
->>
->>--FAIL
->>insert into mv10 values (1);
-
-*** ERROR[12074] A Materialized View cannot be directly updated.
-
-*** ERROR[8822] Unable to prepare the statement.
-
->>
->>set define SQLPARSER_FLAGS 3;
->>
->>insert into table  ( MV_TABLE c1.s1.mv10 ) values (10,2);
-
---- 1 row(s) inserted.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "insertRestrict(insertR1_user2_1)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section INSERTR1_USER2_1
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2
->>-----------
->>set define SQLPARSER_FLAGS 3;
->>--FAIL
->>insert into table  ( MV_TABLE c1.s1.mv10 ) values (11,3);
-
-*** ERROR[8573] The user does not have INSERT privilege on table or view C1.S1.MV10.
-
---- 0 row(s) inserted.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "insertRestrict(insertR1_user1_2)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section INSERTR1_USER1_2
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>grant insert on mv10 to sql_user2;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "insertRestrict(insertR1_user2_2)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section INSERTR1_USER2_2
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2
->>-----------
->>set define SQLPARSER_FLAGS 3;
->>insert into table  ( MV_TABLE c1.s1.mv10 ) values (11,3);
-
---- 1 row(s) inserted.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "insertRestrict(insertR1_user1_3)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section INSERTR1_USER1_3
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>revoke insert on mv10 from sql_user2;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "insertRestrict(insertR1_user2_3)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section INSERTR1_USER2_3
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2
->>-----------
->>set define SQLPARSER_FLAGS 3;
->>--FAIL
->>insert into table  ( MV_TABLE c1.s1.mv10 ) values (11,3);
-
-*** ERROR[8573] The user does not have INSERT privilege on table or view C1.S1.MV10.
-
---- 0 row(s) inserted.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "insertRestrict(insertR1_user3_1)" -u sql_user3;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section INSERTR1_USER3_1
->>set schema c3.s3;
-
---- SQL operation complete.
->>
->>--sql_user3
->>-----------
->>set define SQLPARSER_FLAGS 3;
->>--FAIL
->>insert into table  ( MV_TABLE c1.s1.mv10 ) values (11,3);
-
-*** ERROR[8573] The user does not have INSERT privilege on table or view C1.S1.MV10.
-
---- 0 row(s) inserted.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "insertRestrict(insertR1_user1_4)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section INSERTR1_USER1_4
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>grant insert on mv10 to sql_user2 with grant option;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "insertRestrict(insertR1_user2_4)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section INSERTR1_USER2_4
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2
->>-----------
->>grant insert on c1.s1.mv10 to sql_user3;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "insertRestrict(insertR1_user3_2)" -u sql_user3;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section INSERTR1_USER3_2
->>set schema c3.s3;
-
---- SQL operation complete.
->>
->>--sql_user3
->>-----------
->>set define SQLPARSER_FLAGS 3;
->>insert into table  ( MV_TABLE c1.s1.mv10 ) values (12,4);
-
---- 1 row(s) inserted.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "insertRestrict(insertR1_user1_5)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section INSERTR1_USER1_5
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>--FAIL
->>revoke insert on mv10 from sql_user2;
-
-*** ERROR[1014] Privileges were not revoked.  Dependent privilege descriptors still exist.
-
---- SQL operation completed with errors.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "insertRestrict(insertR1_user2_5)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section INSERTR1_USER2_5
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2
->>-----------
->>revoke insert on c1.s1.mv10 from sql_user3;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "insertRestrict(insertR1_user1_6)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section INSERTR1_USER1_6
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>revoke insert on mv10 from sql_user2;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "insertRestrict(insertR1_user3_3)" -u sql_user3;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section INSERTR1_USER3_3
->>set schema c3.s3;
-
---- SQL operation complete.
->>
->>--sql_user3
->>-----------
->>set define SQLPARSER_FLAGS 3;
->>--FAIL
->>insert into table  ( MV_TABLE c1.s1.mv10 ) values (12,4);
-
-*** ERROR[8573] The user does not have INSERT privilege on table or view C1.S1.MV10.
-
---- 0 row(s) inserted.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "insertRestrict(insertR1_user1_7)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section INSERTR1_USER1_7
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>drop mv mv10;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>
->>sh sqlci -i "insertRestrict(insertR2_title)";
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section INSERTR2_TITLE
->>
->>------------------------------------------------------------------------------
->>-- view on top of MVs are not updatable and cannot be inserted into
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "insertRestrict(insertR2_user1_1)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section INSERTR2_USER1_1
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>create table t10 ( a int );
-
---- SQL operation complete.
->>
->>create MV mv10 refresh on request as select * from t10;
-
---- SQL operation complete.
->>
->>create view v10 as select * from t10;
-
---- SQL operation complete.
->>create view v11 as select * from mv10;
-
---- SQL operation complete.
->>
->>--PASS
->>insert into v10 values (1);
-
---- 1 row(s) inserted.
->>
->>--FAIL
->>insert into v11 values (1,1);
-
-*** ERROR[4027] Table C1.S1.V11 is not insertable.
-
-*** ERROR[8822] Unable to prepare the statement.
-
->>
->>
->>drop view v10;
-
---- SQL operation complete.
->>drop view v11;
-
---- SQL operation complete.
->>drop mv mv10;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>
->>
->>
->>
->>
->>
->>
->>exit;
-
-End of MXCI Session
-
->>
->>
->>
->>
->>exit;
-
-End of MXCI Session
-
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section UPDATE_RESTRICT_ALL
->>
->>
->>sh sqlci -i "updateRestrict(updateR1_user1_1)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section UPDATER1_USER1_1
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>------------------------------------------------------------------------------
->>-- checking update for owner - there should be none.
->>-- also checking Grant update and grant ALL options on MVs
->>-- no UPDATE grant option for MVs
->>
->>--sql_user1
->>-----------
->>create table t10 ( a int );
-
---- SQL operation complete.
->>
->>create MV mv10 refresh on request as select * from t10;
-
---- SQL operation complete.
->>
->>-- FAIL - blocked by the binder
->>update mv10 set a=1 where a=6;
-
-*** ERROR[12074] A Materialized View cannot be directly updated.
-
-*** ERROR[8822] Unable to prepare the statement.
-
->>
->>-- lets try with special syntax
->>set define SQLPARSER_FLAGS 3;
->>
->>-- FAIL - since an MV is not updatable by definition.
->>update TABLE (MV_TABLE mv10) set a=1 where a=6;
-
-*** ERROR[8573] The user does not have UPDATE privilege on table or view C1.S1.MV10.
-
---- 0 row(s) updated.
->>
->>-- FAIL
->>grant update on mv10 to sql_user2;
-
-*** ERROR[12028] grant update not allowed for MVs
-
---- SQL operation completed with errors.
->>
->>-- FAIL
->>grant update on mv10 to sql_user2 with grant option;
-
-*** ERROR[12028] grant update not allowed for MVs
-
---- SQL operation completed with errors.
->>
->>-- FAIL
->>grant all on mv10 to sql_user2;
-
-*** ERROR[12028] grant update not allowed for MVs
-
---- SQL operation completed with errors.
->>
->>-- FAIL
->>grant all on mv10 to sql_user2 with grant option;
-
-*** ERROR[12028] grant update not allowed for MVs
-
---- SQL operation completed with errors.
->>
->>drop mv mv10;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>exit;
-
-End of MXCI Session
-
->>
->>
->>
->>
->>
->>
->>exit;
-
-End of MXCI Session
-
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGO_RESTRICT_ALL
->>
->>sh sqlci -i "wgoRestrict(wgoR1_title)";
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR1_TITLE
->>
->>------------------------------------------------------------------------------
->>-- WITH GRANT OPTION RESTRICT
->>-- if we grant and the grantee already has granted we cannot revoke.
->>
->>exit;
-
-End of MXCI Session
-
->>
->>sh sqlci -i "wgoRestrict(wgoR1S_title)";
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR1S_TITLE
->>------------------------------------------------------------------------------
->>-- SELECT
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR1S_user1_1)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR1S_USER1_1
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>create table t10 ( a int );
-
---- SQL operation complete.
->>create MV mv10 refresh on request as select * from t10;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR1S_user1_2)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR1S_USER1_2
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>grant SELECT on mv10 to sql_user2;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR1S_user2_1)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR1S_USER2_1
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>-- WARNING
->>grant SELECT on c1.s1.mv10 to sql_user3;
-
-*** WARNING[1012] No privileges were granted.  You lack grant option on the specified privileges.
-
---- SQL operation completed with warnings.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR1S_user1_3)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR1S_USER1_3
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>grant SELECT on mv10 to sql_user2 WITH GRANT OPTION;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR1S_user2_2)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR1S_USER2_2
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>grant SELECT on c1.s1.mv10 to sql_user3;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR1S_user1_4)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR1S_USER1_4
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>--FAIL
->>revoke SELECT on mv10 from sql_user2;
-
-*** ERROR[1014] Privileges were not revoked.  Dependent privilege descriptors still exist.
-
---- SQL operation completed with errors.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR1S_user2_3)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR1S_USER2_3
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>revoke SELECT on c1.s1.mv10 from sql_user3;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR1S_user1_5)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR1S_USER1_5
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>revoke select on mv10 from sql_user2;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR1S_user1_6)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR1S_USER1_6
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>drop mv mv10;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>
->>sh sqlci -i "wgoRestrict(wgoR1I_title)";
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR1I_TITLE
->>
->>
->>------------------------------------------------------------------------------
->>-- INSERT
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR1I_user1_1)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR1I_USER1_1
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>create table t10 ( a int );
-
---- SQL operation complete.
->>create MV mv10 refresh on request as select * from t10;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR1I_user1_2)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR1I_USER1_2
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>grant INSERT on mv10 to sql_user2;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR1I_user2_1)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR1I_USER2_1
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>-- WARNING
->>grant INSERT on c1.s1.mv10 to sql_user3;
-
-*** WARNING[1012] No privileges were granted.  You lack grant option on the specified privileges.
-
---- SQL operation completed with warnings.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR1I_user1_3)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR1I_USER1_3
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>grant INSERT on mv10 to sql_user2 WITH GRANT OPTION;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR1I_user2_2)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR1I_USER2_2
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>grant INSERT on c1.s1.mv10 to sql_user3;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR1I_user1_4)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR1I_USER1_4
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>--FAIL
->>revoke INSERT on mv10 from sql_user2;
-
-*** ERROR[1014] Privileges were not revoked.  Dependent privilege descriptors still exist.
-
---- SQL operation completed with errors.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR1I_user2_3)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR1I_USER2_3
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>revoke INSERT on c1.s1.mv10 from sql_user3;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR1I_user1_5)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR1I_USER1_5
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>revoke INSERT on mv10 from sql_user2;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR1I_user1_6)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR1I_USER1_6
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>drop mv mv10;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>
->>sh sqlci -i "wgoRestrict(wgoR1D_title)";
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR1D_TITLE
->>
->>------------------------------------------------------------------------------
->>-- DELETE 
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR1D_user1_1)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR1D_USER1_1
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>create table t10 ( a int );
-
---- SQL operation complete.
->>create MV mv10 refresh on request as select * from t10;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR1D_user1_2)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR1D_USER1_2
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>grant DELETE on mv10 to sql_user2;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR1D_user2_1)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR1D_USER2_1
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>-- WARNING
->>grant DELETE on c1.s1.mv10 to sql_user3;
-
-*** WARNING[1012] No privileges were granted.  You lack grant option on the specified privileges.
-
---- SQL operation completed with warnings.
->>
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR1D_user1_3)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR1D_USER1_3
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>grant DELETE on mv10 to sql_user2 WITH GRANT OPTION;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR1D_user2_2)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR1D_USER2_2
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>grant DELETE on c1.s1.mv10 to sql_user3;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR1D_user1_4)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR1D_USER1_4
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>--FAIL
->>revoke DELETE on mv10 from sql_user2;
-
-*** ERROR[1014] Privileges were not revoked.  Dependent privilege descriptors still exist.
-
---- SQL operation completed with errors.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR1D_user2_3)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR1D_USER2_3
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>revoke DELETE on c1.s1.mv10 from sql_user3;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR1D_user1_5)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR1D_USER1_5
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>revoke DELETE on mv10 from sql_user2;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR1D_user1_6)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR1D_USER1_6
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>drop mv mv10;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>
->>sh sqlci -i "wgoRestrict(wgoR2_title)";
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR2_TITLE
->>
->>
->>------------------------------------------------------------------------------
->>-- REVOKING WGO when it is being used
->>
->>exit;
-
-End of MXCI Session
-
->>
->>sh sqlci -i "wgoRestrict(wgoR2S_title)";
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR2S_TITLE
->>
->>------------------------------------------------------------------------------
->>-- SELECT
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR2S_user1_1)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR2S_USER1_1
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>create table t10 ( a int );
-
---- SQL operation complete.
->>create MV mv10 refresh on request as select * from t10;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR2S_user1_2)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR2S_USER1_2
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>grant SELECT on mv10 to sql_user2 WITH GRANT OPTION;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR2S_user2_1)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR2S_USER2_1
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>grant SELECT on c1.s1.mv10 to sql_user3;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR2S_user1_3)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR2S_USER1_3
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>--FAIL
->>revoke GRANT OPTION FOR SELECT on mv10 from sql_user2 ;
-
-*** ERROR[1014] Privileges were not revoked.  Dependent privilege descriptors still exist.
-
---- SQL operation completed with errors.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR2S_user2_2)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR2S_USER2_2
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>revoke SELECT on c1.s1.mv10 from sql_user3;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR2S_user1_4)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR2S_USER1_4
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>revoke GRANT OPTION FOR SELECT on mv10 from sql_user2 ;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR2S_user2_3)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR2S_USER2_3
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>
->>-- WARNING
->>grant SELECT on c1.s1.mv10 to sql_user3;
-
-*** WARNING[1012] No privileges were granted.  You lack grant option on the specified privileges.
-
---- SQL operation completed with warnings.
->>
->>select * from c1.s1.mv10;
-
---- 0 row(s) selected.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR2S_user1_5)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR2S_USER1_5
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>revoke SELECT on mv10 from sql_user2 ;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR2S_user1_6)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR2S_USER1_6
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>drop mv mv10;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>
->>sh sqlci -i "wgoRestrict(wgoR2I_title)";
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR2I_TITLE
->>
->>------------------------------------------------------------------------------
->>-- INSERT
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR2I_user1_1)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR2I_USER1_1
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>create table t10 ( a int );
-
---- SQL operation complete.
->>create MV mv10 refresh on request as select * from t10;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR2I_user1_2)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR2I_USER1_2
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>grant INSERT on mv10 to sql_user2 WITH GRANT OPTION;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR2I_user2_1)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR2I_USER2_1
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>grant INSERT on c1.s1.mv10 to sql_user3;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR2I_user1_3)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR2I_USER1_3
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>--FAIL
->>revoke GRANT OPTION FOR INSERT on mv10 from sql_user2 ;
-
-*** ERROR[1014] Privileges were not revoked.  Dependent privilege descriptors still exist.
-
---- SQL operation completed with errors.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR2I_user2_2)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR2I_USER2_2
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>revoke INSERT on c1.s1.mv10 from sql_user3;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR2I_user1_4)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR2I_USER1_4
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>revoke GRANT OPTION FOR INSERT on mv10 from sql_user2 ;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR2I_user2_3)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR2I_USER2_3
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>-- WARNING
->>
->>grant SELECT on c1.s1.mv10 to sql_user3;
-
-*** WARNING[1012] No privileges were granted.  You lack grant option on the specified privileges.
-
---- SQL operation completed with warnings.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR2I_user1_5)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR2I_USER1_5
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>revoke INSERT on mv10 from sql_user2 ;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR2I_user1_6)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR2I_USER1_6
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>drop mv mv10;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>
->>sh sqlci -i "wgoRestrict(wgoR2D_title)";
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR2D_TITLE
->>
->>------------------------------------------------------------------------------
->>-- DELETE
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR2D_user1_1)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR2D_USER1_1
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>create table t10 ( a int );
-
---- SQL operation complete.
->>create MV mv10 refresh on request as select * from t10;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR2D_user1_2)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR2D_USER1_2
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>grant DELETE on mv10 to sql_user2 WITH GRANT OPTION;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR2D_user2_1)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR2D_USER2_1
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>grant DELETE on c1.s1.mv10 to sql_user3;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR2D_user1_3)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR2D_USER1_3
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>--FAIL
->>revoke GRANT OPTION FOR DELETE on mv10 from sql_user2 ;
-
-*** ERROR[1014] Privileges were not revoked.  Dependent privilege descriptors still exist.
-
---- SQL operation completed with errors.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR2D_user2_2)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR2D_USER2_2
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>revoke DELETE on c1.s1.mv10 from sql_user3;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR2D_user1_4)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR2D_USER1_4
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>revoke GRANT OPTION FOR DELETE on mv10 from sql_user2 ;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR2D_user2_3)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR2D_USER2_3
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>-- WARNING
->>grant DELETE on c1.s1.mv10 to sql_user3;
-
-*** WARNING[1012] No privileges were granted.  You lack grant option on the specified privileges.
-
---- SQL operation completed with warnings.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR2D_user1_5)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR2D_USER1_5
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>revoke DELETE on mv10 from sql_user2 ;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR2D_user1_6)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR2D_USER1_6
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>drop mv mv10;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>
->>
->>
->>
->>exit;
-
-End of MXCI Session
-
->>
->>sh sqlci -i "wgoRestrict(wgoR3_title)";
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR3_TITLE
->>
->>------------------------------------------------------------------------------
->>-- ADDING WITH GRANT OPTION after a simple grant
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR3_user1_1)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR3_USER1_1
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>create table t1 ( a int );
-
---- SQL operation complete.
->>grant select on t1 to sql_user2;
-
---- SQL operation complete.
->>
->>create table t10 ( a int );
-
---- SQL operation complete.
->>grant select on t10 to sql_user2;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR3_user2_1)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR3_USER2_1
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>create view v2 as select * from c1.s1.t1;
-
---- SQL operation complete.
->>create view v22 as select * from v2;
-
---- SQL operation complete.
->>
->>-- WARNING
->>grant select on v22 to sql_user3;
-
-*** WARNING[1012] No privileges were granted.  You lack grant option on the specified privileges.
-
---- SQL operation completed with warnings.
->>
->>
->>create mv mv20 refresh on request as select * from c1.s1.t10;
-
---- SQL operation complete.
->>create view v220 as select * from mv20;
-
---- SQL operation complete.
->>
->>-- WARNING
->>grant select on v22 to sql_user3;
-
-*** WARNING[1012] No privileges were granted.  You lack grant option on the specified privileges.
-
---- SQL operation completed with warnings.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR3_user1_2)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR3_USER1_2
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>grant select on t1 to sql_user2 with grant option;
-
---- SQL operation complete.
->>
->>grant select on t10 to sql_user2 with grant option;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR3_user2_2)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR3_USER2_2
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>grant select on v22 to sql_user3;
-
---- SQL operation complete.
->>grant select on v220 to sql_user3;
-
---- SQL operation complete.
->>
->>
->>drop view v22;
-
---- SQL operation complete.
->>drop view v2;
-
---- SQL operation complete.
->>
->>drop view v220;
-
---- SQL operation complete.
->>drop mv mv20;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "wgoRestrict(wgoR3_user1_3)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section WGOR3_USER1_3
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>
->>drop table t1;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>exit;
-
-End of MXCI Session
-
->>
->>
->>
->>
->>
->>exit;
-
-End of MXCI Session
-
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section COLUMN_REFERENCE_ALL
->>
->>sh sqlci -i "ColumnReference(ColumnReference1_title)";
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section COLUMNREFERENCE1_TITLE
->>---------------------------------------------------------
->>-- TABLE ON TABLE
->>
->>exit;
-
-End of MXCI Session
-
->>
->>sh sqlci -i "ColumnReference(ColumnReference1_user1_1)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section COLUMNREFERENCE1_USER1_1
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>
->>create table t1 ( a int not null unique, b int );
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "ColumnReference(ColumnReference1_user2_1)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section COLUMNREFERENCE1_USER2_1
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2
->>-----------
->>--FAIL
->>create table t2 ( c int references c1.s1.t1 (a) , d int );
-
-*** ERROR[1184] Insufficient privilege on C1.S1.T1.A.
-
-*** ERROR[1017] You are not authorized to perform this operation.
-
---- SQL operation completed with errors.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "ColumnReference(ColumnReference1_user1_2)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section COLUMNREFERENCE1_USER1_2
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>grant select on t1 to sql_user2;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "ColumnReference(ColumnReference1_user2_2)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section COLUMNREFERENCE1_USER2_2
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2
->>-----------
->>--FAIL
->>create table t2 ( c int references c1.s1.t1 (a) , d int );
-
-*** ERROR[1184] Insufficient privilege on C1.S1.T1.A.
-
-*** ERROR[1017] You are not authorized to perform this operation.
-
---- SQL operation completed with errors.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "ColumnReference(ColumnReference1_user1_3)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section COLUMNREFERENCE1_USER1_3
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>grant references (a, b) on t1 to sql_user2;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "ColumnReference(ColumnReference1_user2_3)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section COLUMNREFERENCE1_USER2_3
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2
->>-----------
->>create table t2 ( c int references c1.s1.t1 (a) , d int );
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "ColumnReference(ColumnReference1_user1_4)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section COLUMNREFERENCE1_USER1_4
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>--FAIL
->>revoke references (a,b) on t1 from sql_user2;
-
-*** ERROR[1014] Privileges were not revoked.  Dependent privilege descriptors still exist.
-
---- SQL operation completed with errors.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "ColumnReference(ColumnReference1_user2_4)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section COLUMNREFERENCE1_USER2_4
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2
->>-----------
->>drop table t2;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "ColumnReference(ColumnReference1_user1_5)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section COLUMNREFERENCE1_USER1_5
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>revoke references (a,b) on t1 from sql_user2;
-
---- SQL operation complete.
->>drop table t1;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>
->>sh sqlci -i "ColumnReference(ColumnReference2_title)";
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section COLUMNREFERENCE2_TITLE
->>
->>---------------------------------------------------------
->>-- TABLE REFERENCING VIEWS
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "ColumnReference(ColumnReference2_user1_1)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section COLUMNREFERENCE2_USER1_1
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>
->>--sql_user1
->>-----------
->>
->>create table t1 ( a int not null unique, b int );
-
---- SQL operation complete.
->>create view v1 as select * from t1;
-
---- SQL operation complete.
->>
->>grant select on v1 to sql_user2;
-
---- SQL operation complete.
->>
->>grant references (a) on v1 to sql_user2;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "ColumnReference(ColumnReference2_user2_1)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section COLUMNREFERENCE2_USER2_1
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2
->>-----------
->>--FAIL
->>create table t2 ( c int references c1.s1.v1 (a) , d int );
-
-*** ERROR[1127] The specified table C1.S1.V1 is not a base table.  Please verify that the correct table was specified.
-
---- SQL operation completed with errors.
->>
->>
->>--FAIL
->>create table t2 ( c int references c1.s1.t1 (a) , d int );
-
-*** ERROR[1184] Insufficient privilege on C1.S1.T1.A.
-
-*** ERROR[1017] You are not authorized to perform this operation.
-
---- SQL operation completed with errors.
->>
->>
->>drop table t2;
-
-*** ERROR[1004] Table, view, or stored procedure C2.S2.T2 does not exist or object type is invalid for the current operation.
-
-*** ERROR[1031] Unable to drop object C2.S2.T2.
-
---- SQL operation completed with errors.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "ColumnReference(ColumnReference2_user1_2)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section COLUMNREFERENCE2_USER1_2
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>drop view v1;
-
---- SQL operation complete.
->>drop table t1;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "ColumnReference(ColumnReference3_title)";
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section COLUMNREFERENCE3_TITLE
->>
->>
->>---------------------------------------------------------
->>-- TABLE REFERENCING MV
->>
->>exit;
-
-End of MXCI Session
-
->>
->>sh sqlci -i "ColumnReference(ColumnReference3_user1_1)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section COLUMNREFERENCE3_USER1_1
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>
->>--sql_user1
->>-----------
->>
->>create table t1 ( a int not null unique, b int );
-
---- SQL operation complete.
->>create mv mv1 refresh on request as select * from t1;
-
---- SQL operation complete.
->>
->>grant select on mv1 to sql_user2;
-
---- SQL operation complete.
->>
->>--FAIL
->>grant references (a) on mv1 to sql_user2;
-
-*** ERROR[12038] GRANT REFERENCES not allowed for MVs
-
---- SQL operation completed with errors.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "ColumnReference(ColumnReference3_user2_1)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section COLUMNREFERENCE3_USER2_1
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2
->>-----------
->>--FAIL
->>create table t2 ( c int references c1.s1.mv1 (a) , d int );
-
-*** ERROR[1127] The specified table C1.S1.MV1 is not a base table.  Please verify that the correct table was specified.
-
---- SQL operation completed with errors.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "ColumnReference(ColumnReference3_user1_2)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section COLUMNREFERENCE3_USER1_2
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>drop mv mv1;
-
---- SQL operation complete.
->>drop table t1;
-
---- SQL operation complete.
->>
->>
->>
->>
->>exit;
-
-End of MXCI Session
-
->>
->>
->>
->>exit;
-
-End of MXCI Session
-
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section REVOKE_CASCADE_ALL
->>
->>sh sqlci -i "revokeCascade(revokeCascade_title)";
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section REVOKECASCADE_TITLE
->>
->>------------------------------------------------------------------------------
->>-- REVOKE CASCADE
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "revokeCascade(revokeCascade1_title)";
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section REVOKECASCADE1_TITLE
->>
->>
->>------------------------------------------------------------------------------
->>-- view on table. revoke select from table 
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "revokeCascade(revokeCascade1_user1_1)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section REVOKECASCADE1_USER1_1
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>create table t10 ( a int );
-
---- SQL operation complete.
->>grant select on t10 to sql_user2 with grant option;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "revokeCascade(revokeCascade1_user2_1)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section REVOKECASCADE1_USER2_1
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>create view v20 as select * from c1.s1.t10;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "revokeCascade(revokeCascade1_user1_2)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section REVOKECASCADE1_USER1_2
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>--FAIL
->>revoke select on t10 from sql_user2;
-
-*** ERROR[1014] Privileges were not revoked.  Dependent privilege descriptors still exist.
-
---- SQL operation completed with errors.
->>
->>--FAIL
->>revoke select on t10 from sql_user2 RESTRICT;
-
-*** ERROR[1014] Privileges were not revoked.  Dependent privilege descriptors still exist.
-
---- SQL operation completed with errors.
->>
->>
->>revoke select on t10 from sql_user2 CASCADE;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "revokeCascade(revokeCascade1_user2_2)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section REVOKECASCADE1_USER2_2
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>--FAIL
->>drop view v20;
-
-*** ERROR[1004] Table, view, or stored procedure C2.S2.V20 does not exist or object type is invalid for the current operation.
-
-*** ERROR[1031] Unable to drop object C2.S2.V20.
-
---- SQL operation completed with errors.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "revokeCascade(revokeCascade1_user1_3)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section REVOKECASCADE1_USER1_3
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>--WARNING
->>revoke select on t10 from sql_user2;
-
-*** WARNING[1015] Some of the specified privileges could not be revoked.
-
---- SQL operation completed with warnings.
->>
->>drop table t10;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "revokeCascade(revokeCascade2_title)";
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section REVOKECASCADE2_TITLE
->>
->>------------------------------------------------------------------------------
->>-- mv on table. revoke select from table 
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "revokeCascade(revokeCascade2_user1_1)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section REVOKECASCADE2_USER1_1
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>create table t10 ( a int );
-
---- SQL operation complete.
->>
->>grant select on t10 to sql_user2 with grant option;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "revokeCascade(revokeCascade2_user2_1)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section REVOKECASCADE2_USER2_1
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>create mv mv20 refresh on request as select * from c1.s1.t10;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "revokeCascade(revokeCascade2_user1_2)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section REVOKECASCADE2_USER1_2
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>--FAIL
->>revoke select on t10 from sql_user2;
-
-*** ERROR[1014] Privileges were not revoked.  Dependent privilege descriptors still exist.
-
---- SQL operation completed with errors.
->>
->>
->>--FAIL
->>revoke select on t10 from sql_user2 RESTRICT;
-
-*** ERROR[1014] Privileges were not revoked.  Dependent privilege descriptors still exist.
-
---- SQL operation completed with errors.
->>
->>revoke select on t10 from sql_user2 CASCADE;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "revokeCascade(revokeCascade2_user2_2)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section REVOKECASCADE2_USER2_2
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>--FAIL
->>drop mv mv20;
-
-*** ERROR[1004] Table, view, or stored procedure C2.S2.MV20 does not exist or object type is invalid for the current operation.
-
-*** ERROR[1181] Unable to drop object  (file error -99999).
-
---- SQL operation completed with errors.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "revokeCascade(revokeCascade2_user1_3)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section REVOKECASCADE2_USER1_3
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>-- WARNING
->>revoke select on t10 from sql_user2;
-
-*** WARNING[1015] Some of the specified privileges could not be revoked.
-
---- SQL operation completed with warnings.
->>
->>
->>drop table t10;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "revokeCascade(revokeCascade3_title)";
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section REVOKECASCADE3_TITLE
->>
->>------------------------------------------------------------------------------
->>-- mv on mv. revoke select from mv
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "revokeCascade(revokeCascade3_user1_1)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section REVOKECASCADE3_USER1_1
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>create table t10 ( a int );
-
---- SQL operation complete.
->>create mv mv10 refresh on request as select * from t10;
-
---- SQL operation complete.
->>grant select on mv10 to sql_user2 with grant option;
-
---- SQL operation complete.
->>
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "revokeCascade(revokeCascade3_user2_1)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section REVOKECASCADE3_USER2_1
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>create mv mv20 refresh on request as select a from c1.s1.mv10;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "revokeCascade(revokeCascade3_user1_2)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section REVOKECASCADE3_USER1_2
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>--FAIL
->>revoke select on mv10 from sql_user2;
-
-*** ERROR[1014] Privileges were not revoked.  Dependent privilege descriptors still exist.
-
---- SQL operation completed with errors.
->>
->>--FAIL
->>revoke select on mv10 from sql_user2 RESTRICT;
-
-*** ERROR[1014] Privileges were not revoked.  Dependent privilege descriptors still exist.
-
---- SQL operation completed with errors.
->>
->>revoke select on mv10 from sql_user2 CASCADE;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "revokeCascade(revokeCascade3_user2_2)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section REVOKECASCADE3_USER2_2
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>--FAIL
->>drop mv mv20;
-
-*** ERROR[1004] Table, view, or stored procedure C2.S2.MV20 does not exist or object type is invalid for the current operation.
-
-*** ERROR[1181] Unable to drop object  (file error -99999).
-
---- SQL operation completed with errors.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "revokeCascade(revokeCascade3_user1_3)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section REVOKECASCADE3_USER1_3
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>-- WARNING
->>revoke select on t10 from sql_user2;
-
-*** WARNING[1015] Some of the specified privileges could not be revoked.
-
---- SQL operation completed with warnings.
->>
->>
->>drop mv mv10;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "revokeCascade(revokeCascade4_title)";
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section REVOKECASCADE4_TITLE
->>
->>------------------------------------------------------------------------------
->>-- all kinds
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "revokeCascade(revokeCascade4_user1_1)" -u sql_user1;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section REVOKECASCADE4_USER1_1
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>create table t10 ( a int );
-
---- SQL operation complete.
->>create mv mv10 refresh on request as select * from t10;
-
---- SQL operation complete.
->>grant select on mv10 to sql_user2 with grant option;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sqlci -i "revokeCascade(revokeCascade4_user2_1)" -u sql_user2;
-NonStop SQL/MX Conversational Interface 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation.  All Rights Reserved.
->>?section REVOKECASCADE4_USER2_1
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>create mv mv20 refresh on request as select a from c1.s1.mv10;
-
---- SQL operation complete.
->>create view v20 as s

<TRUNCATED>


[05/10] incubator-trafodion git commit: TRAFODION-1636 & TRAFODION-1642

Posted by rm...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/7a085965/core/sql/regress/newregr/mvs/EXPECTEDMV500A
----------------------------------------------------------------------
diff --git a/core/sql/regress/newregr/mvs/EXPECTEDMV500A b/core/sql/regress/newregr/mvs/EXPECTEDMV500A
deleted file mode 100644
index 3897231..0000000
--- a/core/sql/regress/newregr/mvs/EXPECTEDMV500A
+++ /dev/null
@@ -1,5179 +0,0 @@
->>log;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section select_restrict_all
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR1_user1_1)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section selectR1_user1_1 
->>------------------------------------------------------------------------------
->>-- checking GRANT/REVOKE SELECT privs on MVs when SELECT is executed
->>
->>-- This CQD is added for creating a table  with no
->>-- partition or primary key when the POS is enabled.
->>control query default POS_ALLOW_NON_PK_TABLES 'ON';
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>create table t10 ( a int ) attribute all mvs allowed;
-
---- SQL operation complete.
->>create MV mv10 refresh on request initialize on create attribute all mvs allowed as select * from t10 group by a;
-
-*** WARNING[12112] A secondary index C1.S1.MV10_874534873_9272 was created for the materialized view.
-
---- SQL operation completed with warnings.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR1_user2_1)" -u $$SQLUSER2X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section selectR1_user2_1
->>
->>--sql_user2 
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>--FAIL
->>select * from c1.s1.mv10;
-
-*** ERROR[4481] The user does not have SELECT privilege on table or view C1.S1.MV10.
-
-*** ERROR[8822] The statement was not prepared.
-
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR1_user1_2)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section selectR1_user1_2
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>grant select on mv10 to $$SQLUSER2Q$$ with grant option;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR1_user2_2)" -u $$SQLUSER2X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section selectR1_user2_2
->>
->>--sql_user2 
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>select * from c1.s1.mv10;
-
---- 0 row(s) selected.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR1_user1_3)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section selectR1_user1_3
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>revoke select on mv10 from $$SQLUSER2Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR1_user2_3)" -u $$SQLUSER2X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section selectR1_user2_3
->>
->>--sql_user2 
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>--FAIL
->>select * from c1.s1.mv10;
-
-*** ERROR[4481] The user does not have SELECT privilege on table or view C1.S1.MV10.
-
-*** ERROR[8822] The statement was not prepared.
-
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR1_user1_4)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section selectR1_user1_4 
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>drop mv mv10;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>
->>
->>
->>
->>
->>exit;
-
-End of MXCI Session
-
->>
->>
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR2_user1_1)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section selectR2_user1_1
->>------------------------------------------------------------------------------
->>-- grant REVOKE select -  compare view and MV
->>
->>-- This CQD is added for creating a table  with no
->>-- partition or primary key when the POS is enabled.
->>control query default POS_ALLOW_NON_PK_TABLES 'ON';
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>create table t10 ( a int ) attribute all mvs allowed;
-
---- SQL operation complete.
->>
->>--*************************************
->>-- FIRST A VIEW
->>--*************************************
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR2_user1_2)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section selectR2_user1_2
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>grant select on t10 to $$SQLUSER2Q$$ with grant option;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR2_user2_1)" -u $$SQLUSER2X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section selectR2_user2_1
->>
->>--sql_user2 
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>create view v20 as select * from c1.s1.t10;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR2_user1_3)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section selectR2_user1_3
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>--FAIL
->>revoke select on t10 from $$SQLUSER2Q$$;
-
-*** ERROR[1014] Privileges were not revoked.  Dependent privilege descriptors still exist.
-
---- SQL operation failed with errors.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR2_user2_2)" -u $$SQLUSER2X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section selectR2_user2_2
->>
->>--sql_user2 
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>drop view v20;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR2_user1_4)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section selectR2_user1_4
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>revoke select on t10 from $$SQLUSER2Q$$;
-
---- SQL operation complete.
->>
->>--*************************************
->>-- SECOND AN MV
->>--*************************************
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR2_user1_5)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section selectR2_user1_5
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>grant select on t10 to $$SQLUSER2Q$$ with grant option;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR2_user2_3)" -u $$SQLUSER2X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section selectR2_user2_3
->>
->>--sql_user2 
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>create mv mv20 refresh on request initialize on refresh attribute all mvs allowed as select * from c1.s1.t10 group by a;
-
-*** WARNING[12112] A secondary index C2.S2.MV20_464643344_9272 was created for the materialized view.
-
---- SQL operation completed with warnings.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR2_user1_6)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section selectR2_user1_6
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>--FAIL
->>revoke select on t10 from $$SQLUSER2Q$$;
-
-*** ERROR[1014] Privileges were not revoked.  Dependent privilege descriptors still exist.
-
---- SQL operation failed with errors.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR2_user2_4)" -u $$SQLUSER2X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section selectR2_user2_4
->>
->>--sql_user2 
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>drop mv mv20;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR2_user1_7)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section selectR2_user1_7
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>revoke select on t10 from $$SQLUSER2Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR2_user1_8)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section selectR2_user1_8
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>
->>
->>
->>
->>exit;
-
-End of MXCI Session
-
->>
->>
->>
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR3_user1_1)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section selectR3_user1_1
->>------------------------------------------------------------------------------
->>-- grant REVOKE select 
->>-- two chains:  a view on top of a  view on top of a table
->>--		a view on top of an MV   on top of a table  
->>-- and we compare both. they must behave identicaly
->>
->>-- This CQD is added for creating a table  with no
->>-- partition or primary key when the POS is enabled.
->>control query default POS_ALLOW_NON_PK_TABLES 'ON';
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>create table t10 ( a int ) attribute all mvs allowed;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR3_user1_2)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section selectR3_user1_2
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>grant select on t10 to $$SQLUSER2Q$$ with grant option;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR3_user2_1)" -u $$SQLUSER2X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section selectR3_user2_1
->>
->>--sql_user2 
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>create mv mv20 refresh on request initialize on refresh attribute all mvs allowed as select * from c1.s1.t10 group by a;
-
-*** WARNING[12112] A secondary index C2.S2.MV20_782343474_9272 was created for the materialized view.
-
---- SQL operation completed with warnings.
->>create view v20 as select * from c1.s1.t10;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR3_user3_1)" -u $$SQLUSER3X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section selectR3_user3_1
->>
->>--sql_user3 
->>-----------
->>set schema c3.s3;
-
---- SQL operation complete.
->>--FAIL
->>create view v30 as select * from c2.s2.mv20;
-
-*** ERROR[4481] The user does not have SELECT privilege on table or view C2.S2.MV20.
-
-*** ERROR[1079] SQL was not able to prepare the statement.
-
---- SQL operation failed with errors.
->>
->>
->>--FAIL
->>create view v31 as select * from c2.s2.v20;
-
-*** ERROR[4481] The user does not have SELECT privilege on table or view C2.S2.V20.
-
-*** ERROR[1079] SQL was not able to prepare the statement.
-
---- SQL operation failed with errors.
->>
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR3_user2_2)" -u $$SQLUSER2X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section selectR3_user2_2
->>
->>--sql_user2 
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>grant select on mv20 to $$SQLUSER3Q$$;
-
---- SQL operation complete.
->>grant select on v20 to $$SQLUSER3Q$$;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR3_user3_2)" -u $$SQLUSER3X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section selectR3_user3_2
->>
->>--sql_user3 
->>-----------
->>set schema c3.s3;
-
---- SQL operation complete.
->>create view v30 as select * from c2.s2.mv20;
-
---- SQL operation complete.
->>create view v31 as select * from c2.s2.v20;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR3_user2_3)" -u $$SQLUSER2X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section selectR3_user2_3
->>
->>--sql_user2 
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>--FAIL
->>revoke select on v20 from $$SQLUSER3Q$$;
-
-*** ERROR[1014] Privileges were not revoked.  Dependent privilege descriptors still exist.
-
---- SQL operation failed with errors.
->>
->>
->>--FAIL
->>revoke select on mv20 from $$SQLUSER3Q$$;
-
-*** ERROR[1014] Privileges were not revoked.  Dependent privilege descriptors still exist.
-
---- SQL operation failed with errors.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR3_user3_3)" -u $$SQLUSER3X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section selectR3_user3_3
->>
->>--sql_user3 
->>-----------
->>set schema c3.s3;
-
---- SQL operation complete.
->>drop view v30;
-
---- SQL operation complete.
->>drop view v31;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR3_user2_4)" -u $$SQLUSER2X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section selectR3_user2_4
->>
->>--sql_user2 
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>revoke select on v20 from $$SQLUSER3Q$$;
-
---- SQL operation complete.
->>revoke select on mv20 from $$SQLUSER3Q$$;
-
---- SQL operation complete.
->>drop mv mv20;
-
---- SQL operation complete.
->>drop view v20;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR3_user1_3)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section selectR3_user1_3
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>
->>exit;
-
-End of MXCI Session
-
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section delete_restrict_all
->>sh sh runmxci.ksh -i "DELETERESTRICT(deleteR1_title)";
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section deleteR1_title
->>------------------------------------------------------------------------------
->>-- checking DELETE privs on MVs of the creator
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "DELETERESTRICT(deleteR1_user1_1)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section deleteR1_user1_1
->>-- This CQD is added for creating a table  with no
->>-- partition or primary key when the POS is enabled.
->>control query default POS_ALLOW_NON_PK_TABLES 'ON';
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>create table t10 ( a int ) attribute all mvs allowed;
-
---- SQL operation complete.
->>insert into t10 values (1);
-
---- 1 row(s) inserted.
->>insert into t10 values (2);
-
---- 1 row(s) inserted.
->>
->>
->>create MV mv10 refresh on request initialize on create attribute all mvs allowed as select * from t10 group by a;
-
-*** WARNING[12112] A secondary index C1.S1.MV10_155819335_9272 was created for the materialized view.
-
---- SQL operation completed with warnings.
->>
->>DELETE from mv10;
-
---- 2 row(s) deleted.
->>
->>drop mv mv10;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>
->>sh sh runmxci.ksh -i "DELETERESTRICT(deleteR2_title)";
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section deleteR2_title
->>
->>
->>------------------------------------------------------------------------------
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "DELETERESTRICT(deleteR2_user1_1)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section deleteR2_user1_1
->>-- This CQD is added for creating a table  with no
->>-- partition or primary key when the POS is enabled.
->>control query default POS_ALLOW_NON_PK_TABLES 'ON';
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>create table t10 ( a int ) attribute all mvs allowed;
-
---- SQL operation complete.
->>
->>create MV mv10 refresh on request initialize on create attribute all mvs allowed as select * from t10 group by a;
-
-*** WARNING[12112] A secondary index C1.S1.MV10_493443845_9272 was created for the materialized view.
-
---- SQL operation completed with warnings.
->>
->>DELETE FROM mv10;
-
---- 0 row(s) deleted.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "DELETERESTRICT(deleteR2_user2_1)" -u $$SQLUSER2X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section deleteR2_user2_1
->>
->>--sql_user2
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>--FAIL
->>DELETE FROM c1.s1.mv10;
-
-*** ERROR[4481] The user does not have DELETE privilege on table or view C1.S1.MV10.
-
-*** ERROR[8822] The statement was not prepared.
-
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "DELETERESTRICT(deleteR2_user1_2)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section deleteR2_user1_2
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>grant delete on mv10 to $$SQLUSER2Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "DELETERESTRICT(deleteR2_user2_2)" -u $$SQLUSER2X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section deleteR2_user2_2
->>
->>--sql_user2
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>DELETE FROM c1.s1.mv10;
-
---- 0 row(s) deleted.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "DELETERESTRICT(deleteR2_user1_3)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section deleteR2_user1_3
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>revoke DELETE on mv10 from $$SQLUSER2Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "DELETERESTRICT(deleteR2_user2_3)" -u $$SQLUSER2X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section deleteR2_user2_3
->>
->>--sql_user2
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>--FAIL
->>DELETE FROM c1.s1.mv10;
-
-*** ERROR[4481] The user does not have DELETE privilege on table or view C1.S1.MV10.
-
-*** ERROR[8822] The statement was not prepared.
-
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "DELETERESTRICT(deleteR2_user3_1)" -u $$SQLUSER3X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section deleteR2_user3_1
->>
->>--sql_user3
->>-----------
->>set schema c3.s3;
-
---- SQL operation complete.
->>--FAIL
->>DELETE FROM c1.s1.mv10;
-
-*** ERROR[4481] The user does not have DELETE privilege on table or view C1.S1.MV10.
-
-*** ERROR[8822] The statement was not prepared.
-
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "DELETERESTRICT(deleteR2_user1_4)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section deleteR2_user1_4
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>grant DELETE on mv10 to $$SQLUSER2Q$$ with grant option;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "DELETERESTRICT(deleteR2_user2_4)" -u $$SQLUSER2X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section deleteR2_user2_4
->>
->>--sql_user2
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>grant DELETE on c1.s1.mv10 to $$SQLUSER3Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "DELETERESTRICT(deleteR2_user3_2)" -u $$SQLUSER3X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section deleteR2_user3_2
->>
->>--sql_user3
->>-----------
->>set schema c3.s3;
-
---- SQL operation complete.
->>DELETE FROM c1.s1.mv10;
-
---- 0 row(s) deleted.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "DELETERESTRICT(deleteR2_user1_5)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section deleteR2_user1_5
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>--FAIL
->>revoke DELETE on mv10 from $$SQLUSER2Q$$;
-
-*** ERROR[1014] Privileges were not revoked.  Dependent privilege descriptors still exist.
-
---- SQL operation failed with errors.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "DELETERESTRICT(deleteR2_user2_5)" -u $$SQLUSER2X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section deleteR2_user2_5
->>
->>--sql_user2
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>revoke DELETE on c1.s1.mv10 from $$SQLUSER3Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "DELETERESTRICT(deleteR2_user1_6)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section deleteR2_user1_6
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>revoke DELETE on mv10 from $$SQLUSER2Q$$;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "DELETERESTRICT(deleteR2_user3_3)" -u $$SQLUSER3X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section deleteR2_user3_3
->>
->>--sql_user3
->>-----------
->>set schema c3.s3;
-
---- SQL operation complete.
->>--FAIL
->>DELETE FROM c1.s1.mv10;
-
-*** ERROR[4481] The user does not have DELETE privilege on table or view C1.S1.MV10.
-
-*** ERROR[8822] The statement was not prepared.
-
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "DELETERESTRICT(deleteR2_user1_7)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section deleteR2_user1_7
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>drop mv mv10;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>
->>sh sh runmxci.ksh -i "DELETERESTRICT(deleteR3_title)";
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section deleteR3_title
->>
->>
->>------------------------------------------------------------------------------
->>-- view on top of MVs are not updatable and cannot be deleted from
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "DELETERESTRICT(deleteR3_user1_1)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section deleteR3_user1_1
->>-- This CQD is added for creating a table  with no
->>-- partition or primary key when the POS is enabled.
->>control query default POS_ALLOW_NON_PK_TABLES 'ON';
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>create table t10 ( a int ) attribute all mvs allowed;
-
---- SQL operation complete.
->>
->>create MV mv10 refresh on request initialize on refresh attribute all mvs allowed as select * from t10 group by a;
-
-*** WARNING[12112] A secondary index C1.S1.MV10_118397716_9272 was created for the materialized view.
-
---- SQL operation completed with warnings.
->>
->>create view v10 as select * from t10;
-
---- SQL operation complete.
->>create view v11 as select * from mv10;
-
---- SQL operation complete.
->>
->>--FAIL
->>DELETE FROM v10;
-
---- 0 row(s) deleted.
->>
->>--FAIL
->>DELETE FROM v11;
-
-*** ERROR[4028] Table or view C1.S1.V11 is not updatable.
-
-*** ERROR[8822] The statement was not prepared.
-
->>
->>drop view v10;
-
---- SQL operation complete.
->>drop view v11;
-
---- SQL operation complete.
->>drop mv mv10;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>
->>
->>
->>
->>
->>
->>
->>
->>
->>exit;
-
-End of MXCI Session
-
->>
->>exit;
-
-End of MXCI Session
-
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section insert_restrict_all
->>sh sh runmxci.ksh -i "INSERTRESTRICT(insertR1_title)";
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section insertR1_title
->>
->>------------------------------------------------------------------------------
->>-- checking INSERT privs on MVs
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "INSERTRESTRICT(insertR1_user1_1)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section insertR1_user1_1
->>-- This CQD is added for creating a table  with no
->>-- partition or primary key when the POS is enabled.
->>control query default POS_ALLOW_NON_PK_TABLES 'ON';
-
---- SQL operation complete.
->>
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>
->>-- first through initializing. for that we need insert privs
->>
->>create table t10 ( a int ) attribute all mvs allowed;
-
---- SQL operation complete.
->>
->>create MV mv10 refresh on request initialize on create attribute all mvs allowed as select * from t10 group by a;
-
-*** WARNING[12112] A secondary index C1.S1.MV10_972752936_9272 was created for the materialized view.
-
---- SQL operation completed with warnings.
->>
->>-- no through explicite insert
->>
->>--FAIL
->>insert into mv10 values (1);
-
-*** ERROR[12074] A materialized view cannot be updated directly.
-
-*** ERROR[8822] The statement was not prepared.
-
->>
->>-- On Linux/NSK you cannot set parserflags unless you are super,  On NT this
->>-- statement succeeds
->>set PARSERFLAGS 3;
-
---- SQL operation complete.
->>
->>insert into table  ( MV_TABLE c1.s1.mv10 ) values (10,2);
-
---- 1 row(s) inserted.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "INSERTRESTRICT(insertR1_user2_1)" -u $$SQLUSER2X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section insertR1_user2_1
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2
->>-----------
->>-- On Linux/NSK you cannot set parserflags unless you are super,  On NT this
->>-- statement succeeds
->>set PARSERFLAGS 3;
-
---- SQL operation complete.
->>--FAIL
->>insert into table  ( MV_TABLE c1.s1.mv10 ) values (11,3);
-
-*** ERROR[4481] The user does not have INSERT privilege on table or view C1.S1.MV10.
-
-*** ERROR[8822] The statement was not prepared.
-
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "INSERTRESTRICT(insertR1_user1_2)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section insertR1_user1_2
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>grant insert on mv10 to $$SQLUSER2Q$$;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "INSERTRESTRICT(insertR1_user2_2)" -u $$SQLUSER2X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section insertR1_user2_2
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2
->>-----------
->>-- On Linux/NSK you cannot set parserflags unless you are super,  On NT this
->>-- statement succeeds
->>set PARSERFLAGS 3;
-
---- SQL operation complete.
->>insert into table  ( MV_TABLE c1.s1.mv10 ) values (11,3);
-
---- 1 row(s) inserted.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "INSERTRESTRICT(insertR1_user1_3)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section insertR1_user1_3
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>revoke insert on mv10 from $$SQLUSER2Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "INSERTRESTRICT(insertR1_user2_3)" -u $$SQLUSER2X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section insertR1_user2_3
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2
->>-----------
->>-- On Linux/NSK you cannot set parserflags unless you are super,  On NT this
->>-- statement succeeds
->>set PARSERFLAGS 3;
-
---- SQL operation complete.
->>--FAIL
->>insert into table  ( MV_TABLE c1.s1.mv10 ) values (11,3);
-
-*** ERROR[4481] The user does not have INSERT privilege on table or view C1.S1.MV10.
-
-*** ERROR[8822] The statement was not prepared.
-
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "INSERTRESTRICT(insertR1_user3_1)" -u $$SQLUSER3X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section insertR1_user3_1
->>set schema c3.s3;
-
---- SQL operation complete.
->>
->>--sql_user3
->>-----------
->>-- On Linux/NSK you cannot set parserflags unless you are super,  On NT this
->>-- statement succeeds
->>set PARSERFLAGS 3;
-
---- SQL operation complete.
->>--FAIL
->>insert into table  ( MV_TABLE c1.s1.mv10 ) values (11,3);
-
-*** ERROR[4481] The user does not have INSERT privilege on table or view C1.S1.MV10.
-
-*** ERROR[8822] The statement was not prepared.
-
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "INSERTRESTRICT(insertR1_user1_4)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section insertR1_user1_4
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>grant insert on mv10 to $$SQLUSER2Q$$ with grant option;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "INSERTRESTRICT(insertR1_user2_4)" -u $$SQLUSER2X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section insertR1_user2_4
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2
->>-----------
->>grant insert on c1.s1.mv10 to $$SQLUSER3Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "INSERTRESTRICT(insertR1_user3_2)" -u $$SQLUSER3X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section insertR1_user3_2
->>set schema c3.s3;
-
---- SQL operation complete.
->>
->>--sql_user3
->>-----------
->>-- On Linux/NSK you cannot set parserflags unless you are super,  On NT this
->>-- statement succeeds
->>set PARSERFLAGS 3;
-
---- SQL operation complete.
->>insert into table  ( MV_TABLE c1.s1.mv10 ) values (12,4);
-
---- 1 row(s) inserted.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "INSERTRESTRICT(insertR1_user1_5)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section insertR1_user1_5
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>--FAIL
->>revoke insert on mv10 from $$SQLUSER2Q$$;
-
-*** ERROR[1014] Privileges were not revoked.  Dependent privilege descriptors still exist.
-
---- SQL operation failed with errors.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "INSERTRESTRICT(insertR1_user2_5)" -u $$SQLUSER2X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section insertR1_user2_5
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2
->>-----------
->>revoke insert on c1.s1.mv10 from $$SQLUSER3Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "INSERTRESTRICT(insertR1_user1_6)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section insertR1_user1_6
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>revoke insert on mv10 from $$SQLUSER2Q$$;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "INSERTRESTRICT(insertR1_user3_3)" -u $$SQLUSER3X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section insertR1_user3_3
->>set schema c3.s3;
-
---- SQL operation complete.
->>
->>--sql_user3
->>-----------
->>-- On Linux/NSK you cannot set parserflags unless you are super,  On NT this
->>-- statement succeeds
->>set PARSERFLAGS 3;
-
---- SQL operation complete.
->>--FAIL
->>insert into table  ( MV_TABLE c1.s1.mv10 ) values (12,4);
-
-*** ERROR[4481] The user does not have INSERT privilege on table or view C1.S1.MV10.
-
-*** ERROR[8822] The statement was not prepared.
-
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "INSERTRESTRICT(insertR1_user1_7)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section insertR1_user1_7
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>drop mv mv10;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>
->>sh sh runmxci.ksh -i "INSERTRESTRICT(insertR2_title)";
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section insertR2_title
->>
->>------------------------------------------------------------------------------
->>-- view on top of MVs are not updatable and cannot be inserted into
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "INSERTRESTRICT(insertR2_user1_1)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section insertR2_user1_1
->>-- This CQD is added for creating a table  with no
->>-- partition or primary key when the POS is enabled.
->>control query default POS_ALLOW_NON_PK_TABLES 'ON';
-
---- SQL operation complete.
->>
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>create table t10 ( a int ) attribute all mvs allowed;
-
---- SQL operation complete.
->>
->>create MV mv10 refresh on request initialize on refresh attribute all mvs allowed as select * from t10 group by a;
-
-*** WARNING[12112] A secondary index C1.S1.MV10_397687517_9272 was created for the materialized view.
-
---- SQL operation completed with warnings.
->>
->>create view v10 as select * from t10;
-
---- SQL operation complete.
->>create view v11 as select * from mv10;
-
---- SQL operation complete.
->>
->>--PASS
->>insert into v10 values (1);
-
---- 1 row(s) inserted.
->>
->>--FAIL
->>insert into v11 values (1,1);
-
-*** ERROR[4027] Table or view C1.S1.V11 does not permit insertions.
-
-*** ERROR[8822] The statement was not prepared.
-
->>
->>
->>drop view v10;
-
---- SQL operation complete.
->>drop view v11;
-
---- SQL operation complete.
->>drop mv mv10;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>
->>
->>
->>
->>
->>
->>
->>exit;
-
-End of MXCI Session
-
->>
->>exit;
-
-End of MXCI Session
-
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section update_restrict_all
->>sh sh runmxci.ksh -i "UPDATERESTRICT(updateR1_user1_1)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section updateR1_user1_1
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>------------------------------------------------------------------------------
->>-- checking update for owner - there should be none.
->>-- also checking Grant update and grant ALL options on MVs
->>-- no UPDATE grant option for MVs
->>
->>-- This CQD is added for creating a table  with no
->>-- partition or primary key when the POS is enabled.
->>control query default POS_ALLOW_NON_PK_TABLES 'ON';
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>create table t10 ( a int ) attribute all mvs allowed;
-
---- SQL operation complete.
->>
->>create MV mv10 refresh on request initialize on create attribute all mvs allowed as select * from t10 group by a;
-
-*** WARNING[12112] A secondary index C1.S1.MV10_947436137_9272 was created for the materialized view.
-
---- SQL operation completed with warnings.
->>
->>-- FAIL - blocked by the binder
->>update mv10 set a=1 where a=6;
-
-*** ERROR[12074] A materialized view cannot be updated directly.
-
-*** ERROR[8822] The statement was not prepared.
-
->>
->>-- lets try with special syntax
->>set PARSERFLAGS 3;
-
---- SQL operation complete.
->>
->>-- FAIL - since an MV is not updatable by definition.
->>update TABLE (MV_TABLE mv10) set a=1 where a=6;
-
---- 0 row(s) updated.
->>
->>-- FAIL
->>grant update on mv10 to $$SQLUSER2Q$$;
-
-*** ERROR[12028] Grant update is not allowed for materialized views.
-
---- SQL operation failed with errors.
->>
->>-- FAIL
->>grant update on mv10 to $$SQLUSER2Q$$ with grant option;
-
-*** ERROR[12028] Grant update is not allowed for materialized views.
-
---- SQL operation failed with errors.
->>
->>-- FAIL
->>grant all on mv10 to $$SQLUSER2Q$$;
-
---- SQL operation complete.
->>
->>-- FAIL
->>grant all on mv10 to $$SQLUSER2Q$$ with grant option;
-
---- SQL operation complete.
->>
->>drop mv mv10;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>exit;
-
-End of MXCI Session
-
->>
->>exit;
-
-End of MXCI Session
-
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgo_restrict_all
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1_title)";
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR1_title
->>
->>------------------------------------------------------------------------------
->>-- WITH GRANT OPTION RESTRICT
->>-- if we grant and the grantee already has granted we cannot revoke.
->>
->>exit;
-
-End of MXCI Session
-
->>
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1S_title)";
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR1S_title
->>------------------------------------------------------------------------------
->>-- SELECT
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1S_user1_1)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR1S_user1_1
->>-- This CQD is added for creating a table  with no
->>-- partition or primary key when the POS is enabled.
->>control query default POS_ALLOW_NON_PK_TABLES 'ON';
-
---- SQL operation complete.
->>
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>create table t10 ( a int ) attribute all mvs allowed;
-
---- SQL operation complete.
->>create MV mv10 refresh on request initialize on refresh attribute all mvs allowed as select * from t10 group by a;
-
-*** WARNING[12112] A secondary index C1.S1.MV10_158488747_9272 was created for the materialized view.
-
---- SQL operation completed with warnings.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1S_user1_2)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR1S_user1_2
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>grant SELECT on mv10 to $$SQLUSER2Q$$;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1S_user2_1)" -u $$SQLUSER2X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR1S_user2_1
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>-- WARNING
->>grant SELECT on c1.s1.mv10 to $$SQLUSER3Q$$;
-
-*** WARNING[1012] No privileges were granted.  You lack grant option on the specified privileges.
-
---- SQL operation completed with warnings.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1S_user1_3)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR1S_user1_3
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>grant SELECT on mv10 to $$SQLUSER2Q$$ WITH GRANT OPTION;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1S_user2_2)" -u $$SQLUSER2X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR1S_user2_2
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>grant SELECT on c1.s1.mv10 to $$SQLUSER3Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1S_user1_4)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR1S_user1_4
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>--FAIL
->>revoke SELECT on mv10 from $$SQLUSER2Q$$;
-
-*** ERROR[1014] Privileges were not revoked.  Dependent privilege descriptors still exist.
-
---- SQL operation failed with errors.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1S_user2_3)" -u $$SQLUSER2X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR1S_user2_3
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>revoke SELECT on c1.s1.mv10 from $$SQLUSER3Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1S_user1_5)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR1S_user1_5
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>revoke select on mv10 from $$SQLUSER2Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1S_user1_6)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR1S_user1_6
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>drop mv mv10;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1I_title)";
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR1I_title
->>
->>
->>------------------------------------------------------------------------------
->>-- INSERT
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1I_user1_1)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR1I_user1_1
->>-- This CQD is added for creating a table  with no
->>-- partition or primary key when the POS is enabled.
->>control query default POS_ALLOW_NON_PK_TABLES 'ON';
-
---- SQL operation complete.
->>
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>create table t10 ( a int ) attribute all mvs allowed;
-
---- SQL operation complete.
->>create MV mv10 refresh on request initialize on refresh attribute all mvs allowed as select * from t10 group by a;
-
-*** WARNING[12112] A secondary index C1.S1.MV10_514668287_9272 was created for the materialized view.
-
---- SQL operation completed with warnings.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1I_user1_2)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR1I_user1_2
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>grant INSERT on mv10 to $$SQLUSER2Q$$;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1I_user2_1)" -u $$SQLUSER2X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR1I_user2_1
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>-- WARNING
->>grant INSERT on c1.s1.mv10 to $$SQLUSER3Q$$;
-
-*** WARNING[1012] No privileges were granted.  You lack grant option on the specified privileges.
-
---- SQL operation completed with warnings.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1I_user1_3)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR1I_user1_3
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>grant INSERT on mv10 to $$SQLUSER2Q$$ WITH GRANT OPTION;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1I_user2_2)" -u $$SQLUSER2X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR1I_user2_2
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>grant INSERT on c1.s1.mv10 to $$SQLUSER3Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1I_user1_4)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR1I_user1_4
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>--FAIL
->>revoke INSERT on mv10 from $$SQLUSER2Q$$;
-
-*** ERROR[1014] Privileges were not revoked.  Dependent privilege descriptors still exist.
-
---- SQL operation failed with errors.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1I_user2_3)" -u $$SQLUSER2X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR1I_user2_3
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>revoke INSERT on c1.s1.mv10 from $$SQLUSER3Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1I_user1_5)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR1I_user1_5
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>revoke INSERT on mv10 from $$SQLUSER2Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1I_user1_6)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR1I_user1_6
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>drop mv mv10;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1D_title)";
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR1D_title
->>
->>------------------------------------------------------------------------------
->>-- DELETE 
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1D_user1_1)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR1D_user1_1
->>-- This CQD is added for creating a table  with no
->>-- partition or primary key when the POS is enabled.
->>control query default POS_ALLOW_NON_PK_TABLES 'ON';
-
---- SQL operation complete.
->>
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>create table t10 ( a int ) attribute all mvs allowed;
-
---- SQL operation complete.
->>create MV mv10 refresh on request initialize on refresh attribute all mvs allowed as select * from t10 group by a;
-
-*** WARNING[12112] A secondary index C1.S1.MV10_465591728_9272 was created for the materialized view.
-
---- SQL operation completed with warnings.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1D_user1_2)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR1D_user1_2
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>grant DELETE on mv10 to $$SQLUSER2Q$$;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1D_user2_1)" -u $$SQLUSER2X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR1D_user2_1
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>-- WARNING
->>grant DELETE on c1.s1.mv10 to $$SQLUSER3Q$$;
-
-*** WARNING[1012] No privileges were granted.  You lack grant option on the specified privileges.
-
---- SQL operation completed with warnings.
->>
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1D_user1_3)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR1D_user1_3
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>grant DELETE on mv10 to $$SQLUSER2Q$$ WITH GRANT OPTION;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1D_user2_2)" -u $$SQLUSER2X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR1D_user2_2
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>grant DELETE on c1.s1.mv10 to $$SQLUSER3Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1D_user1_4)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR1D_user1_4
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>--FAIL
->>revoke DELETE on mv10 from $$SQLUSER2Q$$;
-
-*** ERROR[1014] Privileges were not revoked.  Dependent privilege descriptors still exist.
-
---- SQL operation failed with errors.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1D_user2_3)" -u $$SQLUSER2X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR1D_user2_3
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>revoke DELETE on c1.s1.mv10 from $$SQLUSER3Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1D_user1_5)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR1D_user1_5
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>revoke DELETE on mv10 from $$SQLUSER2Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1D_user1_6)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR1D_user1_6
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>drop mv mv10;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2_title)";
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR2_title
->>
->>
->>------------------------------------------------------------------------------
->>-- REVOKING WGO when it is being used
->>
->>exit;
-
-End of MXCI Session
-
->>
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2S_title)";
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR2S_title
->>
->>------------------------------------------------------------------------------
->>-- SELECT
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2S_user1_1)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR2S_user1_1
->>-- This CQD is added for creating a table  with no
->>-- partition or primary key when the POS is enabled.
->>control query default POS_ALLOW_NON_PK_TABLES 'ON';
-
---- SQL operation complete.
->>
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>create table t10 ( a int ) attribute all mvs allowed;
-
---- SQL operation complete.
->>create MV mv10 refresh on request initialize on create attribute all mvs allowed as select * from t10 group by a;
-
-*** WARNING[12112] A secondary index C1.S1.MV10_817146668_9272 was created for the materialized view.
-
---- SQL operation completed with warnings.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2S_user1_2)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR2S_user1_2
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>grant SELECT on mv10 to $$SQLUSER2Q$$ WITH GRANT OPTION;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2S_user2_1)" -u $$SQLUSER2X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR2S_user2_1
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>grant SELECT on c1.s1.mv10 to $$SQLUSER3Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2S_user1_3)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR2S_user1_3
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>--FAIL
->>revoke GRANT OPTION FOR SELECT on mv10 from $$SQLUSER2Q$$ ;
-
-*** ERROR[1014] Privileges were not revoked.  Dependent privilege descriptors still exist.
-
---- SQL operation failed with errors.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2S_user2_2)" -u $$SQLUSER2X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR2S_user2_2
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>revoke SELECT on c1.s1.mv10 from $$SQLUSER3Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2S_user1_4)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR2S_user1_4
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>revoke GRANT OPTION FOR SELECT on mv10 from $$SQLUSER2Q$$ ;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2S_user2_3)" -u $$SQLUSER2X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR2S_user2_3
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>
->>-- WARNING
->>grant SELECT on c1.s1.mv10 to $$SQLUSER3Q$$;
-
-*** WARNING[1012] No privileges were granted.  You lack grant option on the specified privileges.
-
---- SQL operation completed with warnings.
->>
->>select * from c1.s1.mv10;
-
---- 0 row(s) selected.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2S_user1_5)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR2S_user1_5
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>revoke SELECT on mv10 from $$SQLUSER2Q$$ ;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2S_user1_6)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR2S_user1_6
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>drop mv mv10;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2I_title)";
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR2I_title
->>
->>------------------------------------------------------------------------------
->>-- INSERT
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2I_user1_1)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR2I_user1_1
->>-- This CQD is added for creating a table  with no
->>-- partition or primary key when the POS is enabled.
->>control query default POS_ALLOW_NON_PK_TABLES 'ON';
-
---- SQL operation complete.
->>
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>create table t10 ( a int ) attribute all mvs allowed;
-
---- SQL operation complete.
->>create MV mv10 refresh on request initialize on refresh attribute all mvs allowed as select * from t10 group by a;
-
-*** WARNING[12112] A secondary index C1.S1.MV10_696163419_9272 was created for the materialized view.
-
---- SQL operation completed with warnings.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2I_user1_2)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR2I_user1_2
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>grant INSERT on mv10 to $$SQLUSER2Q$$ WITH GRANT OPTION;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2I_user2_1)" -u $$SQLUSER2X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR2I_user2_1
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>grant INSERT on c1.s1.mv10 to $$SQLUSER3Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2I_user1_3)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR2I_user1_3
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>--FAIL
->>revoke GRANT OPTION FOR INSERT on mv10 from $$SQLUSER2Q$$ ;
-
-*** ERROR[1014] Privileges were not revoked.  Dependent privilege descriptors still exist.
-
---- SQL operation failed with errors.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2I_user2_2)" -u $$SQLUSER2X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR2I_user2_2
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>revoke INSERT on c1.s1.mv10 from $$SQLUSER3Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2I_user1_4)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR2I_user1_4
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>revoke GRANT OPTION FOR INSERT on mv10 from $$SQLUSER2Q$$ ;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2I_user2_3)" -u $$SQLUSER2X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR2I_user2_3
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>-- WARNING
->>
->>grant SELECT on c1.s1.mv10 to $$SQLUSER3Q$$;
-
-*** WARNING[1012] No privileges were granted.  You lack grant option on the specified privileges.
-
---- SQL operation completed with warnings.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2I_user1_5)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR2I_user1_5
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>revoke INSERT on mv10 from $$SQLUSER2Q$$ ;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2I_user1_6)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR2I_user1_6
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>drop mv mv10;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2D_title)";
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR2D_title
->>
->>------------------------------------------------------------------------------
->>-- DELETE
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2D_user1_1)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR2D_user1_1
->>-- This CQD is added for creating a table  with no
->>-- partition or primary key when the POS is enabled.
->>control query default POS_ALLOW_NON_PK_TABLES 'ON';
-
---- SQL operation complete.
->>
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>create table t10 ( a int ) attribute all mvs allowed;
-
---- SQL operation complete.
->>create MV mv10 refresh on request initialize on create attribute all mvs allowed as select * from t10 group by a;
-
-*** WARNING[12112] A secondary index C1.S1.MV10_536597159_9272 was created for the materialized view.
-
---- SQL operation completed with warnings.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2D_user1_2)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR2D_user1_2
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>grant DELETE on mv10 to $$SQLUSER2Q$$ WITH GRANT OPTION;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2D_user2_1)" -u $$SQLUSER2X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR2D_user2_1
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>grant DELETE on c1.s1.mv10 to $$SQLUSER3Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2D_user1_3)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR2D_user1_3
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>--FAIL
->>revoke GRANT OPTION FOR DELETE on mv10 from $$SQLUSER2Q$$ ;
-
-*** ERROR[1014] Privileges were not revoked.  Dependent privilege descriptors still exist.
-
---- SQL operation failed with errors.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2D_user2_2)" -u $$SQLUSER2X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR2D_user2_2
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>revoke DELETE on c1.s1.mv10 from $$SQLUSER3Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2D_user1_4)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR2D_user1_4
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>revoke GRANT OPTION FOR DELETE on mv10 from $$SQLUSER2Q$$ ;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2D_user2_3)" -u $$SQLUSER2X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR2D_user2_3
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>-- WARNING
->>grant DELETE on c1.s1.mv10 to $$SQLUSER3Q$$;
-
-*** WARNING[1012] No privileges were granted.  You lack grant option on the specified privileges.
-
---- SQL operation completed with warnings.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2D_user1_5)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR2D_user1_5
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>revoke DELETE on mv10 from $$SQLUSER2Q$$ ;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2D_user1_6)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR2D_user1_6
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>drop mv mv10;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>
->>
->>
->>
->>exit;
-
-End of MXCI Session
-
->>
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR3_title)";
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR3_title
->>
->>------------------------------------------------------------------------------
->>-- ADDING WITH GRANT OPTION after a simple grant
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR3_user1_1)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR3_user1_1
->>-- This CQD is added for creating a table  with no
->>-- partition or primary key when the POS is enabled.
->>control query default POS_ALLOW_NON_PK_TABLES 'ON';
-
---- SQL operation complete.
->>
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>create table t1 ( a int ) attribute all mvs allowed;
-
---- SQL operation complete.
->>grant select on t1 to $$SQLUSER2Q$$;
-
---- SQL operation complete.
->>
->>create table t10 ( a int ) attribute all mvs allowed;
-
---- SQL operation complete.
->>grant select on t10 to $$SQLUSER2Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR3_user2_1)" -u $$SQLUSER2X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR3_user2_1
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>create view v2 as select * from c1.s1.t1;
-
---- SQL operation complete.
->>create view v22 as select * from v2;
-
---- SQL operation complete.
->>
->>grant select on v22 to $$SQLUSER3Q$$;
-
-*** WARNING[1012] No privileges were granted.  You lack grant option on the specified privileges.
-
---- SQL operation completed with warnings.
->>
->>
->>create mv mv20 refresh on request initialize on refresh attribute all mvs allowed as select * from c1.s1.t10 group by a;
-
-*** WARNING[12112] A secondary index C2.S2.MV20_997496299_9272 was created for the materialized view.
-
---- SQL operation completed with warnings.
->>create view v220 as select * from mv20;
-
---- SQL operation complete.
->>
->>grant select on v220 to $$SQLUSER3Q$$;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR3_user1_2)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR3_user1_2
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>grant select on t1 to $$SQLUSER2Q$$ with grant option;
-
---- SQL operation complete.
->>
->>grant select on t10 to $$SQLUSER2Q$$ with grant option;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR3_user2_2)" -u $$SQLUSER2X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR3_user2_2
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>grant select on v22 to $$SQLUSER3Q$$;
-
---- SQL operation complete.
->>grant select on v220 to $$SQLUSER3Q$$;
-
---- SQL operation complete.
->>
->>
->>drop view v22;
-
---- SQL operation complete.
->>drop view v2;
-
---- SQL operation complete.
->>
->>drop view v220;
-
---- SQL operation complete.
->>drop mv mv20;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR3_user1_3)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR3_user1_3
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>
->>drop table t1;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>exit;
-
-End of MXCI Session
-
->>
->>exit;
-
-End of MXCI Session
-
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section column_reference_all
->>sh sh runmxci.ksh -i "COLUMNREFERENCE(COLUMNREFERENCE1_title)";
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section COLUMNREFERENCE1_title
->>---------------------------------------------------------
->>-- TABLE ON TABLE
->>
->>exit;
-
-End of MXCI Session
-
->>
->>sh sh runmxci.ksh -i "COLUMNREFERENCE(COLUMNREFERENCE1_user1_1)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section COLUMNREFERENCE1_user1_1
->>-- This CQD is added for creating a table  with no
->>-- partition or primary key when the POS is enabled.
->>control query default POS_ALLOW_NON_PK_TABLES 'ON';
-
---- SQL operation complete.
->>
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>
->>create table t1 ( a int not null unique, b int ) attribute all mvs allowed;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "COLUMNREFERENCE(COLUMNREFERENCE1_user2_1)" -u $$SQLUSER2X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section COLUMNREFERENCE1_user2_1
->>-- This CQD is added for creating a table  with no
->>-- partition or primary key when the POS is enabled.
->>control query default POS_ALLOW_NON_PK_TABLES 'ON';
-
---- SQL operation complete.
->>
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2
->>-----------
->>--FAIL
->>create table t2 ( c int references c1.s1.t1 (a) , d int ) attribute all mvs allowed;
-
-*** WARNING[1302] NO ACTION referential action for ON UPDATE clause behaves like RESTRICT referential action. To alter the behavior, set the appropriate value for the REF_CONSTRAINT_NO_ACTION_LIKE_RESTRICT default.
-
-*** WARNING[1302] NO ACTION referential action for ON DELETE clause behaves like RESTRICT referential action. To alter the behavior, set the appropriate value for the REF_CONSTRAINT_NO_ACTION_LIKE_RESTRICT default.
-
-*** ERROR[1184] You do not have the required privilege(s) on C1.S1.T1.A.
-
-*** ERROR[1017] You are not authorized to perform this operation.
-
---- SQL operation failed with errors.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "COLUMNREFERENCE(COLUMNREFERENCE1_user1_2)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section COLUMNREFERENCE1_user1_2
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>grant select on t1 to $$SQLUSER2Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "COLUMNREFERENCE(COLUMNREFERENCE1_user2_2)" -u $$SQLUSER2X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section COLUMNREFERENCE1_user2_2
->>-- This CQD is added for creating a table  with no
->>-- partition or primary key when the POS is enabled.
->>control query default POS_ALLOW_NON_PK_TABLES 'ON';
-
---- SQL operation complete.
->>
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2
->>-----------
->>--FAIL
->>create table t2 ( c int references c1.s1.t1 (a) , d int ) attribute all mvs allowed;
-
-*** WARNING[1302] NO ACTION referential action for ON UPDATE clause behaves like RESTRICT referential action. To alter the behavior, set the appropriate value for the REF_CONSTRAINT_NO_ACTION_LIKE_RESTRICT default.
-
-*** WARNING[1302] NO ACTION referential action for ON DELETE clause behaves like RESTRICT referential action. To alter the behavior, set the appropriate value for the REF_CONSTRAINT_NO_ACTION_LIKE_RESTRICT default.
-
-*** ERROR[1184] You do not have the required privilege(s) on C1.S1.T1.A.
-
-*** ERROR[1017] You are not authorized to perform this operation.
-
---- SQL operation failed with errors.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "COLUMNREFERENCE(COLUMNREFERENCE1_user1_3)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section COLUMNREFERENCE1_user1_3
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>grant references (a, b) on t1 to $$SQLUSER2Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "COLUMNREFERENCE(COLUMNREFERENCE1_user2_3)" -u $$SQLUSER2X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section COLUMNREFERENCE1_user2_3
->>-- This CQD is added for creating a table  with no
->>-- partition or primary key when the POS is enabled.
->>control query default POS_ALLOW_NON_PK_TABLES 'ON';
-
---- SQL operation complete.
->>
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2
->>-----------
->>create table t2 ( c int references c1.s1.t1 (a) , d int ) attribute all mvs allowed;
-
-*** WARNING[1302] NO ACTION referential action for ON UPDATE clause behaves like RESTRICT referential action. To alter the behavior, set the appropriate value for the REF_CONSTRAINT_NO_ACTION_LIKE_RESTRICT default.
-
-*** WARNING[1302] NO ACTION referential action for ON DELETE clause behaves like RESTRICT referential action. To alter the behavior, set the appropriate value for the REF_CONSTRAINT_NO_ACTION_LIKE_RESTRICT default.
-
---- SQL operation completed with warnings.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "COLUMNREFERENCE(COLUMNREFERENCE1_user1_4)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section COLUMNREFERENCE1_user1_4
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>--FAIL
->>revoke references (a,b) on t1 from $$SQLUSER2Q$$;
-
-*** ERROR[1014] Privileges were not revoked.  Dependent privilege descriptors still exist.
-
---- SQL operation failed with errors.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "COLUMNREFERENCE(COLUMNREFERENCE1_user2_4)" -u $$SQLUSER2X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section COLUMNREFERENCE1_user2_4
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2
->>-----------
->>drop table t2;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "COLUMNREFERENCE(COLUMNREFERENCE1_user1_5)" -u $$SQLUSER1X$$;
-C:/Tdm_SQL/bin/sqlci.exe
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section COLUMNREFERENCE1_user1_5
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>revoke references (a,b) on t1 from $$SQ

<TRUNCATED>


[07/10] incubator-trafodion git commit: TRAFODION-1636 & TRAFODION-1642

Posted by rm...@apache.org.
TRAFODION-1636 & TRAFODION-1642

TRAFODION-1636: wms and dcs directories contain NOTICE and LICENSE FILES
TRAFODION-1642: Release 1.3.0 copyrights and license files are incorrect

Fixed up copyrights

Removed Apache copyrights (should only have one copyright in file)
  core/sql/common/swscanf.cpp
  core/sql/common/sqsprintf.cpp
  core/sql/parser/ulexer.h

Removed copyright - deemed to be our code and can safely remove
  core/conn/jdbc_type4/src/org/trafodion/jdbc/t4/T4DatabaseMetaData.java
  core/sql/regress/newregr/card/runregr_card.ksh
  dcs/src/main/java/org/trafodion/dcs/util/ByteBufferUtils.java
  dcs/src/main/java/org/trafodion/dcs/util/SqlUtils.java

Replaced Hewlett Packard copyright with Apache copyright
  core/sql/regress/seabase/EXPECTED021
  core/sql/regress/udr/EXPECTED100.SB
  docs/client_install/source/Trafodion_Client_Installation_Guide.xml
  docs/client_install/source/xml-profile.xml
  docs/command_interface/source/Trafodion_Command_Interface_Guide.xml
  docs/command_interface/source/xml-profile.xml
  docs/odb_manual/Trafodion_odb_User_Guide.xml
  docs/sql_reference/source/Trafodion_SQL_Reference_Manual.xml
  docs/sql_reference/source/xml-profile.xml
  wms/build.xml

Removed code/files that are not being used that contain invalid copyrights
  core/sqf/export/lib/Vili/Functions.pm
  core/sqf/export/lib/Vili/Helper.pm
  core/sqf/export/lib/Vili/NoDriftTimer.pm
  core/sql/common/from_GB2312.c
  core/sql/regress/newregr/mvs/BIG/expectedmv215_RU
  core/sql/regress/newregr/mvs/EXPECTEDMV500
  core/sql/regress/newregr/mvs/EXPECTEDMV500A
  core/sql/regress/newregr/mvs/EXPECTEDMV500A_LINUX
  core/sql/regress/newregr/mvs/TPCD/DBGEN_HELP.TXT
  dcs/src/main/resources/dcs-webapps/master/css/stylesheet.css

Removed filters for Hewlett Packard, Tandem, Compaq, and Microsoft.  None of
test software should returns these values
  core/sql/regress/tools/regress-filter
  core/sql/regress-tools/regress-filter-linux

Removed LICENSE and NOTICE files from child directories
  dcs/LICENSE.txt
  dcs/NOTICE.txt
  wms/LICENSE.txt
  wms/NOTICE.txt
  install/README.rst

Reworded comment so Copright would not show up on search
  core/sql/update/CopyrightCheck.py


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/7a085965
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/7a085965
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/7a085965

Branch: refs/heads/release1.3
Commit: 7a085965c36363a3a44f5e85d8cfc5a46280f45f
Parents: 1ea3e83
Author: Roberta Marton <ro...@esgyn.com>
Authored: Mon Nov 23 22:59:00 2015 +0000
Committer: Roberta Marton <ro...@esgyn.com>
Committed: Mon Nov 23 22:59:00 2015 +0000

----------------------------------------------------------------------
 .../trafodion/jdbc/t4/T4DatabaseMetaData.java   |    3 -
 core/sqf/export/lib/Vili/Functions.pm           |  725 ---
 core/sqf/export/lib/Vili/Helper.pm              |  674 --
 core/sqf/export/lib/Vili/NoDriftTimer.pm        |   98 -
 core/sql/common/from_GB2312.c                   |  134 +-
 core/sql/common/swscanf.cpp                     |   55 +-
 core/sql/common/swsprintf.cpp                   |   63 +-
 core/sql/parser/ulexer.h                        |   39 +-
 core/sql/regress/newregr/card/runregr_card.ksh  |    7 -
 .../regress/newregr/mvs/BIG/expectedmv215_RU    |  480 --
 core/sql/regress/newregr/mvs/EXPECTEDMV500      | 4708 --------------
 core/sql/regress/newregr/mvs/EXPECTEDMV500A     | 5179 ----------------
 .../regress/newregr/mvs/EXPECTEDMV500A.LINUX    | 5789 ------------------
 .../sql/regress/newregr/mvs/TPCD/DBGEN_HELP.TXT |   83 -
 core/sql/regress/seabase/EXPECTED021            |   26 +-
 core/sql/regress/tools/regress-filter           |    5 -
 core/sql/regress/tools/regress-filter-linux     |    5 -
 core/sql/regress/udr/EXPECTED100.SB             |    4 +-
 core/updateCopyrightCheck.py                    |    7 +-
 dcs/LICENSE.txt                                 |  202 -
 dcs/NOTICE.txt                                  |    7 -
 .../org/trafodion/dcs/util/ByteBufferUtils.java |    2 -
 .../java/org/trafodion/dcs/util/SqlUtils.java   |    2 -
 .../dcs-webapps/master/css/stylesheet.css       |  191 -
 .../Trafodion_Client_Installation_Guide.xml     |    6 +-
 docs/client_install/source/xml-profile.xml      |    2 +-
 .../Trafodion_Command_Interface_Guide.xml       |   44 +-
 docs/command_interface/source/xml-profile.xml   |    2 +-
 docs/odb_manual/Trafodion_odb_User_Guide.xml    |    4 +-
 .../source/Trafodion_SQL_Reference_Manual.xml   |   10 +-
 docs/sql_reference/source/xml-profile.xml       |    2 +-
 install/Makefile                                |    2 -
 install/README.rst                              |   32 -
 wms/LICENSE.txt                                 |  202 -
 wms/NOTICE.txt                                  |   11 -
 wms/build.xml                                   |    2 +-
 36 files changed, 103 insertions(+), 18704 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/7a085965/core/conn/jdbc_type4/src/org/trafodion/jdbc/t4/T4DatabaseMetaData.java
----------------------------------------------------------------------
diff --git a/core/conn/jdbc_type4/src/org/trafodion/jdbc/t4/T4DatabaseMetaData.java b/core/conn/jdbc_type4/src/org/trafodion/jdbc/t4/T4DatabaseMetaData.java
index 9522e5d..108adb3 100644
--- a/core/conn/jdbc_type4/src/org/trafodion/jdbc/t4/T4DatabaseMetaData.java
+++ b/core/conn/jdbc_type4/src/org/trafodion/jdbc/t4/T4DatabaseMetaData.java
@@ -65,9 +65,6 @@ import java.util.logging.LogRecord;
  * Description: JDBC Type 4 Driver
  * </p>
  * <p>
- * Copyright: Copyright (c) 2004-2007
- * </p>
- * <p>
  * </p>
  */
 public class T4DatabaseMetaData extends HPT4Handle implements java.sql.DatabaseMetaData {

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/7a085965/core/sqf/export/lib/Vili/Functions.pm
----------------------------------------------------------------------
diff --git a/core/sqf/export/lib/Vili/Functions.pm b/core/sqf/export/lib/Vili/Functions.pm
deleted file mode 100644
index df02227..0000000
--- a/core/sqf/export/lib/Vili/Functions.pm
+++ /dev/null
@@ -1,725 +0,0 @@
-# @@@ START COPYRIGHT @@@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-# @@@ END COPYRIGHT @@@
-
-package Vili::Functions;
-
-=head1 NAME
-
-Vili::Functions - a module that encapsulates the functionsl to be used by Vili
-operations and workflows
-
-=head1 SYNOPSIS
-
-    use Vili::Functions;
-
-    my $wf = Vili::Functions->new(
-        opname => "my_op_name",
-        help_text => $my_help_text,
-        long_help_text => $my_long_help_text,
-        op_version => "1.0.0",
-    );
-
-    $wf->add_args(
-        arginfo => 'hostname=s',
-        default => "172.31.2.254",
-    );
-
-    $wf->getopts;
-
-    my $has_changed = $wf->create_context();
-
-    my $copy_name = $wf->get_backup_context();
-
-    my $enum_string = $wf->get_enum_text(Vili::Functions::INFO);
-
-    $wf->log(
-        severity => Vili::Functions::INFO,
-        message => "Operation my_op_name started.",
-    );
-
-    $wf->op_exit(
-        retcode => Vili::Functions::FAILURE,
-        output => $errormsg,
-    );
-
-    $wf->op_die(
-        output => $errormsg,
-    );
-
-=head1 DESCRIPTION
-
-A Perl class that represents a Vili operation or workflow.  It provides an
-object oriented interface to the various functions required by scripts.
-This class will ensure that all Vili operations and workflows use the
-same mechanism to check script arguments, log messages, etc.
-
-=head1 CLASS DATA
-
-=head2 CONSTANTS
-
-=over 4
-
-=item * C<Vili::Functions::OK> = 0
-
-=item * C<Vili::Functions::WARNING> = 1
-
-=item * C<Vili::Functions::CRITICAL> = 2
-
-=item * C<Vili::Functions::UNKNOWN> = 3
-
-=item * C<Vili::Functions::FAILURE> = 4
-
-=item * C<Vili::Functions::INFO> = 5
-
-=item * C<Vili::Functions::WARN> = 6
-
-=item * C<Vili::Functions::ERROR> = 7
-
-=back
-
-=head1 FUNCTIONS
-
-=over 4
-
-=item C<new()>
-
-Returns a new object of the Vili::Functions class. This function requires the
-name of the new operation or workflow, the help text for the new script, a long
-help text, or man page, for the new script and the version of the script.  All
-scripts will start with the following option string:
-
-'verbose', 'mode=s', 'frequency=i', 'token', 'publication', 'list', 'context=s',
-'help', 'long_help', 'version'
-
-=item C<add_args()>
-
-This function is called to add additional arguments to the new scripts option string.
-The function requires the option string information for the argument, such as:
-mode=s
-frequency=i
-
-This function also requires a default value for the additional argument.  If the
-argument is not provided on the command line then it will be set to the default value.
-
-=item C<getopts()>
-
-This function is called to process the new scripts command line arguments.
-It uses
-the scripts options string to determine the arguments required and whether they
-are missing or specified incorrectly.  If a problem has been found with the
-arguments
-that were passed in to the new script, this function will provide the problem
-with the
-input as well as provide the help text, like a usage line.  This function will
-automatically process the 'help', 'long_help' and 'version' options.
-
-=item C<create_context()>
-
-This function is called to create the context file for a workflow.  This function
-is not used by an operation.  This function will check to determine whether the
-context file already exists, and if it does, then the context file is copied to
-a backup context file so that it can be used to determine whether the state
-of the
-workflow has changed.  If the function finds that the context file does not exist
-the path to the context file is created, if required, and a flag is returned
-to indicate that there was no context file and therefore, there is a state change
-since this workflow is just starting up. This function will return 1 if the
-context file did not exist and there is a state change in the workflow.  Otherwise,
-the function will return 0.
-
-=item C<get_backup_context()>
-
-This function encapsulates the naming scheme and location of the backup context file.
-This function returns the name of the backup context file.
-
-=item C<get_enum_text()>
-
-This function translates the Perl class constants to a text representation.  The
-function returns a string version of the constant that was passed in to the function.
-
-=item C<log()>
-
-This function places messages in a log file that is used by all operations and
-workflows.  The function requires the severity of the message and the message
-text itself.  The function will prepend the timestamp, the caller and the
-severity to the message and then write it to the log file.
-
-=item C<op_exit()>
-
-This function is called to exit a script in an orderly manner.  The function requires
-the return code to be returned to the caller and any output to be printed to STDOUT.
-
-=item C<op_die()>
-
-This function is called to kill a script that has run into a critical error.  This
-function requires the message describing the error which will be printed to
-STDOUT
-for the user.  The function will also accept an option return code. If
-no return code is provided, the default return code will be UNKNOWN.
-
-=back
-
-=head1 COPYRIGHT
-
-(C) Copyright 2011-2014 Hewlett-Packard Development Company, L.P.
-
-=cut
-
-use strict;
-use warnings;
-use Params::Validate qw(:all);
-use Data::Dumper;   # Useful for debugging
-#use POSIX;
-use Getopt::Long;
-use File::Basename;
-use File::Copy;
-use File::Path qw( mkpath );
-use File::Temp qw( :POSIX );
-
-# use library to access Vili helper routines
-use Vili::Helper ':all';
-
-use constant
-{
-    OK                          => 0,
-    WARNING                     => 1,
-    CRITICAL                    => 2,
-    UNKNOWN                     => 3,
-    FAILURE			=> 4,
-    INFO                        => 5,
-    WARN                        => 6,
-    ERROR                       => 7
-};
-
-
-# Return values and log severity
-my %error_enum = (
-    0                   => "OK",
-    1         		=> "WARNING",
-    2        		=> "CRITICAL",
-    3 			=> "UNKNOWN",
-    4 			=> "FAILURE",
-    5		        => "INFO",
-    6                	=> "WARN",
-    7                	=> "ERROR",
-);
-
-my %DEFAULT = (
-	mode => "baseline",
-	context => "",
-	vili => "Command line",
-	frequency => 0,
-	token => 0,
-	publication => 0,
-	list => 0,
-	verbose => 0,
-	version => 0,
-	help => 0,
-	long_help => 0,
-	local => 0,
-);
-
-# Define some constants that are used by these functions
-my $LOGFILE = "$ENV{MY_SQROOT}/seapilot/logs/Vili.log";
-
-# Security requirement: all files created must show no permissions for "others"
-# so change default umask from 022 to 027
-umask 027;
-
-##############################################################################
-##############################################################################
-
-#
-#	This subroutine is called to create a new operation or workflow object
-#
-#	INPUT: 
-#	opname - the name of the new object
-#	help_text - the long usage information for this object
-#	long_help_text - the man page for this object
-#	op_version - the current version of this new object
-#	
-#	OUTPUT:
-#	a function object is returned to the caller
-#	
-sub new
-{
-    my $class = shift;
-
-    # lets get our SQROOT path, USER and the 
-    # node id now since we will need those soon
-    # and if there is a problem we can report it
-    # right away.
-
-    # get our instance name for use later.
-    # if we cannot find it then exit now
-    my $SQROOT = $ENV{'MY_SQROOT'};
-    die ("The environment variable MY_SQROOT is empty.\n") unless (defined($SQROOT) && length($SQROOT)>0);
-
-    # get our user name for use later.
-    # if we cannot find it then exit now
-    my $USER = $ENV{'USER'};
-    die ("The environment variable USER is empty.\n") unless (defined($USER) && length($USER)>0);
-
-    # call the helper function to get the node id 
-    # that we are running on
-    my $nodeid = GetNodeID();
-    die("An Error occurred when obtaining the node id.\n") if  ($nodeid < 0);
-
-    # define our starting option string, which will be used when we get our options
-    my @opt_array = ('verbose', 'mode=s', 'frequency=i', 'token', 'publication', 'list', 'context=s', 'vili=s', 'help', 'long_help', 'version', 'local');
-
-    # validate the arguments passed in to the constructor
-    my %args = validate( @_,
-	{
-		opname		=> {
-			type		=>	SCALAR,		# a scalar
-			regex		=> 	qr/^\w+$/	# that is all word chars
-		},
-		help_text		=> {
-			type		=>	SCALAR		# a scalar but can be mixed chars
-		},
-		long_help_text	=> {
-			type		=>	SCALAR		# a scalar but can be mixed chars
-		},
-		op_version		=> {
-			type		=>	SCALAR,		# a scalar but could be mixed chars
-		},
-	}
-    );
-		
-
-    my $self = {};
-
-    # take any values that have been passed in
-    # also set initial values on the other variables that 
-    # will be set later when getopts is called
-    $self->{opname}  = $args{"opname"};
-    $self->{help_text}  = $args{"help_text"};
-    $self->{long_help_text}  = $args{"long_help_text"};
-    $self->{op_version}  = $args{"op_version"};
-    $self->{logfile} = $LOGFILE;
-
-    # set the Default context value now that we have
-    # the user name and the nodeid
-    # along with the passed in workflow name
-    # NOTE: This will not be used by operations.
-    if (&is_cluster) {
-        $DEFAULT{context} = "/home/$USER/context/$nodeid/$self->{opname}/automatic";
-    } else {
-        $DEFAULT{context} = "$SQROOT/seapilot/var/checks/context/$nodeid/$self->{opname}/automatic";
-    }
-
-    # set the context file backup file name to be used
-    # when we copy the file in order to compare
-    # we use the POSIX (tmpnam) which is the FILE::temp mktemp call 
-    # in order to generate a valid temporary file name
-    $self->{context_back} = tmpnam();
-
-    # initialize the standard ops values
-    foreach my $key (sort keys %DEFAULT) {
-    	$self->{$key}  = $DEFAULT{$key};
-    }
-
-    # save the option array for the standard
-    # options that will be used for GetOptions
-    $self->{_opt_array} = [ @opt_array ];
-
-    # Bless ourselves as an instance of the class
-    bless($self, $class);
-
-    return ($self);
-}
-
-#
-#	This subroutine is called to add additional arguments/variables
-#	to the option string, and to $self.  This is used by operations
-#	and workflows to manage the additional arguments that the scripts require
-#
-#	INPUT: 
-#	arginfo - will be argument name and type in getopts format
-#      		such as "max=s" where max is the variable name and it is of type string
-#	default - this will hold the initial default value when this argument is created
-#	
-#	OUTPUT:
-#	no output - the provided argument info is added to the options string
-#	 	and the argument is defined with the default value 
-#	 	in $self for use by the operation or workflow
-#
-sub add_args {
-    my $self = shift;
-
-    my %args = validate( @_, {
-	arginfo => 1,
-	default => 0,
-    });
-
-    # now add the new argument info to our options array list 
-    # that we will use for getopts
-    push @{$self->{_opt_array}},$args{arginfo};
-
-    # now extract the variable name from the argumentinfo so 
-    # that we can use it to store the default value for now
-    # That means we take what appears before the '=' sign as
-    # the variable name
-    my $varname = $args{arginfo};
-    $varname =~ s/[=:].*$//;
-
-    # if for some reason this variable is already defined
-    # then we will not overwrite it
-    # otherwise we initialize this variable with the default value
-    if (!defined $self->{$varname}) {
-	$self->{$varname} = $args{default};
-    }
- 
-}
-
-#
-#	This subroutine is called to get the arguments that were
-#	passed in to the operation or workflow.
-#
-#	INPUT: 
-#	no input - the @ARGV is used
-#	
-#	OUTPUT:
-#	no output - the provided arguments, once verified to be good,
-#	are placed in $self for use by the operation or workflow
-#
-sub getopts {
-    my $self = shift;
-
-    # let's get the options that were passed in to the script
-    # this call will check the options defined in the _opt_array
-    # and will place the values in the variables in $self of the same name
-    my $result = GetOptions ($self, @{$self->{_opt_array}});
-    die($self->{help_text}) unless $result;
-
-    # if mode argument provided is not what is expected, then generate an error
-    # and display the usage
-    if ($self->{mode} ne "interval" && $self->{mode} ne "baseline") {
-	printf("Invalid mode specified: valid options are \"interval\" or \"baseline\"\n");	
-    	my $output = $self->{help_text} . "\n";
-    	die($output);
-    }
-
-    # if none of the output methods are selected, then set it to 'list'
-    # because 'list' is the default
-    if ($self->{token} == 0 && $self->{publication} == 0 && $self->{list} == 0) {
-    	$self->{list} = 1;
-    }
-
-    # The context filename specified may not exist since we are just starting out.
-    # However, the directory should so let's check to see that the directory actually exists
-    if ($self->{context} ne $DEFAULT{context}) {
-	my $contextdir = dirname($self->{context});
-	if (! -e $contextdir) {
-		printf("Invalid context file specified: directory $contextdir does not exist\n");	
-    		die($self->{help_text});
-  	}
-    }
-
-    # Now that we have validated the arguments that we know about 
-    # lets process the options that we can dispatch right away
-    # If help, then display the help text
-    if ($self->{help}) {
-	$self->op_exit (
-        	retcode => Vili::Functions::OK,
-        	output =>  $self->{help_text},
-        );
-    }
-
-    # If long help, then display the long help text
-    if ($self->{long_help}) {
-	$self->op_exit (
-        	retcode => Vili::Functions::OK,
-        	output =>  $self->{long_help_text},
-        );
-    }
-
-    # If version information is being requested, print it out
-    if ($self->{version}) {
-	$self->op_exit (
-        	retcode => Vili::Functions::OK,
-        	output =>  $self->{op_version},
-        );
-    }
-
-}
-
-#
-#	This subroutine is called to place messages in the log
-#	file.  This subroutine will prepend the timestamp and
-#	the caller to the message as well as place the provided
-#	severity in front of the message, as well.
-#
-#	INPUT: 
-#	severity - the constant value of the severity that is associated
-#		with this particular log entry
-#	message - the message that will be placed in the log file
-#	
-#	OUTPUT:
-#	The modified message will be placed in the log file
-#
-#	TO DO: Decide how to know Vili instance and then act on it
-#
-sub log {
-    my $self = shift;
-
-    my $caller = $0;
-
-    # validate the options that have been passed in.
-    my %args = validate( @_, 
-	{
-    		severity => {
-                        type            =>      SCALAR,         # a scalar
-                        callbacks       => {                    # that is one of our supported severity values
-                                'what is the severity' =>
-                                        sub {$_[0] eq INFO || $_[0] eq WARN || $_[0] eq ERROR},
-                        },
-        	},
-		message => {
-		        type            =>      SCALAR,         # a scalar
-        	},
-    });
-
-    # Let's create the log directory if it does not exist
-    my $log_dir = dirname($self->{logfile});
-    if (!-e $log_dir) {
-   	mkdir $log_dir || die("Vili Functions unable to create log directory.\n");
-    } 
-
-    # Open the log file
-    open(LOG, ">>$self->{logfile}") || die("Vili Functions unable to open the log file");
-
-    # Get the current time for log message
-    my $Mark = localtime();
-
-    # Now print it
-    printf(LOG "%s: %s: %s: %s: %s\n", $Mark, $self->{vili}, $caller, $error_enum{$args{severity}}, $args{message});
-
-    # Done. Now close it and exit
-    close(LOG);
-}
-
-#
-#	This subroutine is called to translate the constant
-#	values to defined text values for the constants.
-#
-#	INPUT: 
-#	constvalue - the constant value that should be translated
-#	
-#	OUTPUT:
-#	The text value of constant is returned to the caller
-#
-sub get_enum_text {
-    my $self = shift;
-
-    # validate the options that have been passed in.
-    my %args = validate( @_, 
-	{
-    		constvalue => {
-                        type            =>      SCALAR,         # a scalar
-                        callbacks       => {                    # that is one of our defined constant values
-                                'what is the constant' =>
-                                        sub {
-$_[0] eq OK || $_[0] eq WARNING || $_[0] eq CRITICAL || $_[0] eq UNKNOWN || $_[0] eq INFO || $_[0] eq WARN || $_[0] eq ERROR},
-                        },
-        	},
-    });
-
-    my $ret = $error_enum{$args{constvalue}};
-
-    return ($ret);
-
-}
-
-#
-#	This subroutine is called to create the context file
-#	and save a copy, as required
-#
-#	INPUT: 
-#	none
-#	
-#	OUTPUT:
-#	has_changed - a flag to indicate if the file needed
-#		to be created, which means that the
-#		state has changed
-#	The context file will be created/truncated
-#	 	and, if necessary, a backup of the older one
-#	 	will be saved for comparison
-#
-sub create_context {
-    my $self = shift;
-
-    my $has_changed = 0;
-    my $ret = "";
-
-    # first check to see if the context file exists and is not empty CR6253
-    if (!-s $self->{context}) {
-        # remove empty file
-        unlink( $self->{context} ) if ( -e $self->{context} );
-        # it doesn't exist... do we need to create
-        # the directory above it?
-        my $context_dir = dirname($self->{context});
-        if (!-e $context_dir) {
-
-                # call mkpath and obtain error return
-                $ret = mkpath($context_dir);
-                if (!$ret) {
-			my $errormsg = "Unable to create $context_dir directory:";
-                    	$self->log(
-                        	severity => Vili::Functions::ERROR,
-                        	message => $errormsg,
-                    	);
-                    	$self->op_exit(
-                        	retcode => Vili::Functions::FAILURE,
-                        	output => $errormsg,
-                    	);
-                   
-              }
-        }
-
-        # set $has_changed to true, because
-        # the context file did not exist so we
-        # created it
-        # well, technically we might have created the directory
-	# and when we first write to the file we 
-	# will have created it
-        $has_changed = 1;
-
-    } else {
-
-	# save copy of the context file
-        $ret = copy($self->{context}, $self->{context_back});
-        # copy returns 1 on success, 0 on failure
-        if (!$ret ) {
-               	my $errormsg = "Unable to copy $self->{context}";
-               	$self->log(
-                       	severity => Vili::Functions::ERROR,
-                       	message => $errormsg,
-               	);
-               	$self->op_exit(
-                       	retcode => Vili::Functions::FAILURE,
-                       	output => $errormsg,
-               	);
-        }
-
-    }
-
-    return($has_changed);
-}
-
-#
-#	This subroutine is used to exit a script is an orderly
-#	manner.
-#
-#	INPUT: 
-#	retcode - the exit code value to be returned
-#	output - the message to be displayed when the script exits
-#
-#	OUTPUT:
-#	output message with newline added is printed and the provided retcode is returned.
-#
-sub op_exit {
-    my $self = shift;
-
-    my %args = validate( @_, 
-	{
-		retcode => {
-                        type            =>      SCALAR,         # a scalar
-                        callbacks       => {                    # that is one of our supported return values
-                                'what is the return code' =>
-                        sub {$_[0] eq OK || $_[0] eq WARNING || $_[0] eq CRITICAL || $_[0] eq UNKNOWN || $_[0] eq FAILURE},
-                        },
-        	},
-		output => {
-		        type            =>      SCALAR,         # a scalar
-        	},
-    });
-
-    $args{output} .= "\n";
-
-    # just to be sure, if the backup context file still exists, then let's remove it
-    if (-e $self->{context_back}) {
-	unlink($self->{context_back});
-    }
-
-    print $args{output};
-    exit $args{retcode};
-}
-
-#
-#	This subroutine is used to kill a script that has run into
-#	a critical error.  If no return code is provided, the default
-#	return code will be UNKNOWN
-#
-#	INPUT: 
-#	output - the message to be displayed when the script dies
-#	retcode - the exit code value to be returned, or if not specified, UNKNOWN
-#
-#	OUTPUT:
-#	output message with newline added is printed and the retcode is returned.
-#
-sub op_die {
-    my $self = shift;
-
-    my %args = validate( @_, 
-	{
-		output => {
-		        type            =>      SCALAR,         # a scalar
-        	},
-		retcode => {
-                        type            =>      SCALAR,         # a scalar
-                        optional        =>      1,         	# that is optional
-                        default         =>      UNKNOWN,        # that if not specified, should default to UNKNOWN
-                        callbacks       => {                    # that should be one of our supported return values
-                                'what is the return code' =>
-                                        sub {$_[0] eq OK || $_[0] eq WARNING || $_[0] eq CRITICAL || $_[0] eq UNKNOWN},
-                        },
-        	},
-    });
-
-    $args{output} .= "\n\n";
-
-    # just to be sure, if the backup context file still exists, then let's remove it
-    if (-e $self->{context_back}) {
-	unlink($self->{context_back});
-    }
-
-    print $args{output};
-    exit $args{retcode};
-
-}
-
-##
-## Get the name of the backup context file.
-##
-## Params: None
-##
-## Returns: name of backup context file
-##
-sub get_backup_context
-{
-    my $self = shift;
-
-    return ($self->{context_back});
-}
-
-1;

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/7a085965/core/sqf/export/lib/Vili/Helper.pm
----------------------------------------------------------------------
diff --git a/core/sqf/export/lib/Vili/Helper.pm b/core/sqf/export/lib/Vili/Helper.pm
deleted file mode 100644
index 1a539c3..0000000
--- a/core/sqf/export/lib/Vili/Helper.pm
+++ /dev/null
@@ -1,674 +0,0 @@
-# @@@ START COPYRIGHT @@@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-# @@@ END COPYRIGHT @@@
-
-package Vili::Helper;
-
-=head1 NAME
-
-Vili::Helper - a module that contains helper functions to be used by
-operations and workflows
-
-=head1 SYNOPSIS
-
-   # Constants OK, WARNING, CRITICAL, UNKNOWN, INFO, WARN and ERROR 
-   # are exported by default
-   use Vili::Functions;
-
-   my $ret = isvalid_IP($wf->{hostname});
-
-   my $ret = isvalid_integer($wf->{warning});
-
-   my $nodeid = GetNodeId();
-
-   my $ret = TPA_is_ready();
-
-   my ($lct_usecs, $utc_secs) = GetTimeStamp();
-
-   my $ret = is_cluster();
-
-   set_timeout($seconds);
-
-   my @nodearray = GetNodeArray();
-
-   my $ret = check_tm();
-
-=head1 DESCRIPTION
-
-A Perl class that provides helper functions to be used by operations
-and workflows.  Utility subroutines that will be used by all of these
-scripts will be placed in this file.  Additional subroutines to validate
-input, or commonly called routines should be placed here.  This will 
-make it easier for the creation of new scripts and will ensure that all
-scripts perform these functions the same way.
-
-=back
-
-=head1 FUNCTIONS
-
-=over 4
-
-=item C<isvalid_IP()>
-
-Returns true if the value provided is a valid IP address.  Otherwise, 
-false is returned.
-
-=item C<isvalid_integer()>
-
-Returns true if a valid integer is provided.  Otherwise, false is returned.
-
-=item C<get_sqenv_vars()>
-
-Loads all environment variables from sqevn.sh file
-
-=item C<GetNodeId()>
-
-Returns the node id of the current node.
-
-=item C<TPA_is_ready()>
-
-Returns 1 if the TPA_publish script is ready to be used, and a 0 if it is not ready.
-
-=item C<GetTimeStamp>
-Return the LCT and UTC in microsecond
-
-=item C<is_cluster()>
-
-Returns 1 if it runs on cluster, otherwise 0 if it runs on a workstation.
-
-=item C<set_timeout()>
-
-Set an alarm timeout.
-
-=item C<check_tm()>
-
-Returns 0: the instance is not up,
-        1: the instance is up, and TM is enabled
-        2: the instance is up, and TM is disabled, it should be a normal shutdown
-        3: unknown errors
-
-
-=item C<GetNodeArray()>
-
-Returns an array with the nodes names of the nodes in the instance.  If unable to obtain this list of names it will die.
-
-=back
-
-=head1 COPYRIGHT
-
-(C) Copyright 2011-2014 Hewlett-Packard Development Company, L.P.
-
-=cut
-
-use strict;
-use warnings;
-
-use base qw(Exporter);
-
-use Params::Validate qw(:all);
-use Data::Dumper;   # Useful for debugging
-use POSIX;
-use Getopt::Long;
-use File::Basename;
-use Time::HiRes qw(gettimeofday);
-
-our (@ISA, %EXPORT_TAGS, @EXPORT, @EXPORT_OK);
-#our ($SQROOT, $TPA_PUBLISH, $TS_PROG); # $MY_SQROOT-dependent variables
-
-# global vars set in se_check_flow
-our $gv_HOSTNAME = undef;
-our $gv_LNID = undef;
-
-%EXPORT_TAGS =
-(
-    'all'    => [qw(isvalid_IP isvalid_integer isvalid_domain GetNodeID SQ_is_ready TPA_is_ready is_cluster set_timeout check_tm GetTimeStamp GetNodeArray GetNodeName GetNodeStatus sudo_command get_HOSTNAME get_LNID get_sqenv_vars)],
-
-    'defaults'    => [qw(isvalid_IP isvalid_integer isvalid_domain GetNodeID SQ_is_ready TPA_is_ready is_cluster set_timeout check_tm GetTimeStamp GetNodeArray GetNodeName GetNodeStatus sudo_command)],
-
-    'consts'    => [qw(isvalid_IP isvalid_integer isvalid_domain GetNodeID SQ_is_ready TPA_is_ready is_cluster set_timeout check_tm GetTimeStamp GetNodeArray GetNodeName GetNodeStatus sudo_command)],
-);
-
-@EXPORT    = (@{$EXPORT_TAGS{'defaults'}});
-@EXPORT_OK = (@{$EXPORT_TAGS{'all'}});
-
-# return 1, true, if valid input
-# return 0, false, if invalid input
-my $SUCCESS = 1;
-my $FAIL = 0;
-my $PROBLEM = -1;
-
-# Define some constants that are used by these functions
-my $FIFO = "$ENV{MY_SQROOT}/seapilot/amqp-tpa";   # the fifo used by TPA_Publish
-
-##############################################################################
-##############################################################################
-
-#
-#	This subroutine is called to validate an IP address that was input
-#
-#	INPUT: 
-#	ipaddress passed in to calling routine
-#	
-#	OUTPUT:
-#	0 - indicates that the ip address is valid
-#	1 - indicates that the ip address is NOT valid
-#	
-sub isvalid_IP
-{
-my($ip) =  @_;
-
-        # empty string
-        if (!defined($ip) or $ip eq '') {
-                return $FAIL;
-        }
-        # string contains spaces
-        if ($ip =~ /\s/) {
-                return $FAIL;
-        }
-        # string begins with '.'
-        if ($ip =~ /^\./) {
-                return $FAIL;
-        }
-        # string ends with '.'
-        if ($ip =~ /\.$/) {
-                return $FAIL;
-        }
-
-        # now check the individual components of the string
-        my(@components) = split(/\./,$ip);
-
-        # string does not contain 4 components
-        if (@components != 4) {
-                return $FAIL;
-        }
-
-        my($comp);
-        foreach $comp (@components) {
-                # string has zero length component
-                if (length($comp) == 0) {
-                        return $FAIL;
-                }
-
-                # string has a non-digit in the component
-                if ($comp !~ /^\d+$/ && $comp !~ /^0x[0-9A-Fa-f]+$/) {
-                        return $FAIL;
-                }
-
-                # string has octal or hex value in the component
-                if ($comp =~ /^0\d/ || $comp =~ /^0x/) {
-                        return $FAIL;
-                }
-
-                # string has component out of range 0 to 255
-                if ($comp < 0 || $comp > 255) {
-                        return $FAIL;
-                }
-        }
-
-    return($SUCCESS);
-}
-
-#
-#	This subroutine is called to validate an IP address that was input
-#
-#	INPUT: 
-#	ipaddress passed in to calling routine
-#	
-#	OUTPUT:
-#	0 - indicates that the ip address is valid
-#	1 - indicates that the ip address is NOT valid
-#	
-sub isvalid_integer
-{
-my($inputval) =  @_;
-
-    # empty string
-    if (!defined($inputval) or $inputval eq '') {
-        return $FAIL;
-    }
-
-    # if the integer contains a '.', then
-    # strip it off and check the rest of the characters
-    if ($inputval =~ /\./) {
-        my $temp = $inputval;
- 	($inputval = $temp) =~ s/\.//;
-    }
-
-    # string has a non-digit in the component
-    if ($inputval !~ /^\d+$/) {
-        return $FAIL;
-    }
-
-    return($SUCCESS);
-}
-
-#
-#    This subroutine is called to validate an domain name that was input
-#
-#    INPUT: 
-#    domain name passed in to calling routine
-#    
-#    OUTPUT:
-#    0 - indicates that the domain name is valid
-#    1 - indicates that the domain name is NOT valid
-#    
-sub isvalid_domain {
-    my ($str) = @_;
-    if ( defined($str)
-            # empty string
-            and length($str) > 0
-            # no longer than 255 chars
-            and length($str) < 256
-            # each label may contain up to 63 characters
-            and $str =~ /^[a-zA-Z0-9][-a-zA-Z0-9]{0,62} (\.[a-zA-Z0-9][-a-zA-Z0-9]{0,62})* \.?$/x
-        ) {
-            return 1;
-    } else {
-            return 0;
-    }
-}
-
-#
-# This subroutine will get all environment variables defined in sqenv.sh
-#
-sub get_sqenv_vars {
-
-    my $MY_SQROOT = $ENV{'MY_SQROOT'};
-    my $cmd = "cd $MY_SQROOT; . ./sqenv.sh; export; 2>/dev/null";
-    my $cmdResult = `$cmd`;
-    
-    my @result = split /\n/, $cmdResult;
-
-    foreach (@result) {
-        if (/^export\s+(.+)="(.+)"/) {
-            my ($var, $val) = ($1, $2);
-	    next if(defined($ENV{$var})); 
-	    $ENV{$var} = $val; 
-
-        }
-    } 
-}    
- 
-#
-# Return the physical node name
-#
-sub GetNodeName
-{
-    chomp (my $hostname = `hostname`);
-    return $hostname;
-}
-
-#
-#	This subroutine is called to obtain the node id
-#	of the current node we are running on.  This value
-#	is returned back to the caller.
-#
-#	INPUT: 
-#	none
-#	
-#	OUTPUT:
-#	nodeid - if things work well
-#	if a problem occurs then die is called
-#	
-# `ps -ef | grep sp_proxy | grep -v grep | grep $USER` output
-#sqdev15  16094 11046  0 15:40 ?        00:00:13 sp_proxy SQMON1.0 00002 00002 016094 $XDN2 172.31.0.39:59470 00010 00002 SPARE
-# nid is in column 11 (0 offset 10)
-# Per the standard SeaQuest process arguments format:
-# sp_proxy        SQMON1.0    00002   00002  016094  $XDN2    172.31.0.39:59470  00010    00002  SPARE
-# <program name>  "SQMON1.0"  <pnid>  <nid>  <pid>   <pname>  <port>             <ptype>  <zid>  "SPARE"
-#
-
-sub GetNodeID
-{
-
-    # get our SQROOT path
-    my $MY_SQROOT = $ENV{'MY_SQROOT'};
-    my $USER = $ENV{ 'USER' };
-
-    die ("The environment variable MY_SQROOT is empty.\n") 
-        unless (defined($MY_SQROOT) && length($MY_SQROOT)>0);
-    die ("The environment variable USER is empty.\n") 
-        unless (defined($USER) && length($USER)>0);
-
-    set_HOSTNAME();
-    my $psline = `ps -ef | grep sp_proxy | grep -v grep | grep $USER | head -1`;
-    my @cols = split /\s+/, $psline;
-    my $nodeID = undef;
-    chomp( $nodeID = sprintf( "%d", $cols[10] )) if (defined($cols[10]));
-
-    if (defined($nodeID) and length($nodeID) > 0) { 
-        $gv_LNID = $nodeID;
-        return ($nodeID); 
-    } else {
-        die ("The file $MY_SQROOT/tmp/cluster.conf does not exist.\n") 
-            unless (-r "$MY_SQROOT/tmp/cluster.conf");
-    
-        $nodeID = `cat $MY_SQROOT/tmp/cluster.conf | cut -d: -f2,3 | sort -u | sed 's/\$/:/' | grep -m 1 '\:$gv_HOSTNAME\:' | cut -d: -f1`;
-        chomp($nodeID);
-    
-        if ((WIFEXITED($?) && (WEXITSTATUS($?) != 0)))
-        {
-            die("ERROR: unable to find current Node ID in $MY_SQROOT/tmp/cluster.conf\n");
-        }
-        $gv_LNID = $nodeID;
-        return ($nodeID);
-    }
-}
-
-sub set_HOSTNAME() {
-    chomp($gv_HOSTNAME = `/bin/hostname`);
-    return 0;
-}
-
-sub get_HOSTNAME() {
-    return $gv_HOSTNAME;
-}
-
-sub get_LNID() {
-    return $gv_LNID;
-}
-
-
-## Verify that SQ environment is up
-##
-## Params: None
-##
-## Returns: 1 is ready, 0 is not ready
-##
-sub SQ_is_ready
-{
-    my $sqroot = $ENV{'MY_SQROOT'};
-    my $cmd = "$sqroot/sql/scripts/sqcheck";
-    `$cmd`;
-
-    # sqcheck returning 0 means SQ is up
-    return 1 if ((WIFEXITED($?) && (WEXITSTATUS($?) == 0)));
-    return 0;
-}
-
-##
-## Verify that the TPA_Publish fifo is ready for us to start
-## calling workflows.  We do this by checking that the file
-## descriptor is a valid named pipe and has write permission
-##
-## Params: None
-##
-## Returns: 0 - if the fifo fails one of these tests
-##          1 - if the fifo passes all tests - fifo is ready
-##
-sub TPA_is_ready
-{
-    my $self = shift;
-
-    # check that the file exists
-    if ( ! -e $FIFO ) {
-        return(0);
-    }
-
-    # check that the file is a named pipe
-    if ( ! -p $FIFO ) {
-        return(0);
-    }
-
-    # check that the file is has write permissions set
-    if ( ! -w $FIFO ) {
-        return(0);
-    }
-
-    return(1);
-}
-
-#
-#  Check whether the script runs on a cluster
-#
-#  Input: None
-#
-#  Returns: 1 - if it runs on a cluster
-#           0 - if it runs on a workstation
-# 
-sub is_cluster
-{
-    my $output = `type -a pdsh 2>/dev/null`;
-    if (length($output) > 0) {
-        return 1;
-    } 
-    return 0;
-}
-
-#
-# Set workflow timeout
-
-# Input: seconds to wait for an alarm
-
-# Returns: none
-#
-sub set_timeout
-{
-    my $timeout = shift;
-
-    $SIG{ALRM} = sub { die "$timeout seconds timeout.\n" };
-    alarm($timeout);
-}
-
-# Check whether TM is OK by checking registry SQ_TXNSVC_READY,
-# return values,
-# 0: the instance is not up,
-# 1: the instance is up, and TM is enabled
-# 2: the instance is up, and TM is disabled, it should be a normal shutdown
-# 3: unknown errors
-sub check_tm
-{
-    `sqregck -f -q -r SQ_TXNSVC_READY`;
-    if (WIFEXITED($?)) {
-        my $rc = WEXITSTATUS($?);
-        return $rc if ($rc eq "0" || $rc eq "2");
-
-        return ($rc eq "1") ? 1 : 3;
-
-    }
-    else {
-        return 3;
-    }
-}
-
-#
-#	This subroutine is called to obtain the list of nodes
-#	that are part of the instance.  An array of the nodes 
-#	is returned back to the caller.
-#
-#	INPUT: 
-#	none
-#	
-#	OUTPUT:
-#	nodearray - an array of nodes, if things work well
-#	if a problem occurs then die is called
-#	
-sub GetNodeArray
-{
-my $startsqshellcmd = "sql/scripts/sqshell -c";
-my $sqshellcmd = "node info";
-my @nodearray = ();
-
-    # get our SQROOT path
-    my $MY_SQROOT = $ENV{'MY_SQROOT'};
-
-    # check that we are currently in an instance
-    die ("The environment variable MY_SQROOT is empty.\n") unless (defined($MY_SQROOT) && length($MY_SQROOT)>0);
-
-    # if it's on a workstation, the only node is 'localhost'
-    if (!&is_cluster()) {
-        push (@nodearray,"localhost");
-        return (@nodearray);
-    }
-
-    # get list of nodes using the correct command 
-    # if the instance is not up then we will get a non-zero output
-    my $nodeoutput = `$MY_SQROOT/$startsqshellcmd $sqshellcmd`;
-    if ($? != 0) {
-    	die ("$MY_SQROOT/$startsqshellcmd returned an error, command output : \n$nodeoutput\n");
-    }
-	
-    # now massage output to obtain an array of nodes
-    # we expect the output to look like this
-    # Processing cluster.conf on local host n001
-    # [$Z050BU2] Shell/shell Version 1.0.1 Release 1.2.0 (Build release [14733], date 05Feb12)
-    # [$Z050BU2] %node info
-    # [$Z050BU2] Logical Nodes    = 7
-    # [$Z050BU2] Physical Nodes   = 7
-    # [$Z050BU2] Spare Nodes      = 0
-    # [$Z050BU2] Available Spares = 0
-    # [$Z050BU2] NID Type        State    Processors   #Procs
-    # [$Z050BU2]     PNID        State        #Cores  MemFree SwapFree CacheFree Name
-    # [$Z050BU2] --- ----------- -------- ---------- -------- -------- --------- --------
-    # [$Z050BU2] 000 Backend     Up                2       57
-    # [$Z050BU2]     000         Up                8 40434788 47999992  47272556 n004
-    # [$Z050BU2] 001 Backend     Up                2       51
-    # [$Z050BU2]     001         Up                8 40895884 47999992  47423368 n005
-    # [$Z050BU2] 002 Backend     Up                2       49
-    # [$Z050BU2]     002         Up                8 40212820 47999992  47366860 n006
-    # [$Z050BU2] 003 Backend     Up                2       51
-    # [$Z050BU2]     003         Up                8 40071368 47999992  46594532 n007
-    # [$Z050BU2] 004 Backend     Up                2       54
-    # [$Z050BU2]     004         Up                8 40313340 47999992  46504032 n008
-    # [$Z050BU2] 005 Frontend    Up                2       38
-    # [$Z050BU2]     005         Up                8 42488384 47999992  47990288 n001
-    # [$Z050BU2] 006 Frontend    Up                2       35
-    # [$Z050BU2]     006         Up                8 40917684 47999992  47730040 n002
-    # [$Z050BU2] %quit
-    # 
-    # and we want to end up with just the node names
-    # 
-    # We also will not check for UP or DOWN because
-    # we want the list of all nodes.
-    # In addition, we will not get spare nodes using this code
-    # which is OK because we currently do not plan to run health
-    # checks on spare nodes.
-    my $next = 0; # flag that indicates we want to look at next line
-    for my $line (split("\n", $nodeoutput) ) {
-
-	# if the next flag is set then this is a line that 
-	# contains our node name
-	# Node name may have ":xyz" on the end of the name, so
-	# we will have to get rid of that!!
-	if ($next) {
-		my (@fields) = split(" ",$line);
-
-		# check for Spare node, because we do
-		# not want to run our health checks on a spare
-		# Correction Per mail from Viral on 2/10/12 --
-		# Spare would be in 3rd column:
-		# [$Z000DTQ] 002 Any         Up                2       31
-		# [$Z000DTQ]     002         Up                8 45574224 47999992  47966220 n056
-		# [$Z000DTQ]     003         Spare             8 45777200 47999992  48370576 n048
-
-		if ($fields[2] !~ /Spare/) {
-			my $nextnode = $fields[7];
-			chomp($nextnode);
-			$nextnode =~ s/:(.*)$//;
-			push(@nodearray,$nextnode);
-		}
-
-		# clear the next flag since we retrieved our node name
-		$next = 0;
-	}
-
-	# if line matches any names to identify the nodes then
-	# set the flag to look at the next line
-	if (($line =~ /Edge/) || ($line =~ /Excluded/) || ($line =~ /Aggregation/) || ($line =~ /Storage/) || ($line =~ /Backend/) || ($line =~ /Frontend/) || ($line =~ /Any/)) {
-		# set the next flag so that we retrieve our node name
-		$next = 1;
-	}
-
-   }
-
-   return (@nodearray);
-}
-
-sub GetNodeStatus {
-    my $sqshellcmd = $ENV{'MY_SQROOT'} . "/sql/scripts/sqshell -c";
-    my $output = '';
-    my %nodestate = ();
-
-    $output = `$sqshellcmd node info`;
-    if ((WIFEXITED($?) && (WEXITSTATUS($?) != 0))) {
-    	die ("$sqshellcmd returned an error, command output : \n$output\n");
-    }
-
-    my $next = 0; # flag that indicates we want to look at next line
-    for my $line (split("\n", $output)) {
-	if ($next) {
-		my (@fields) = split(" ",$line);
-                # CR 6252 -- robustness
-                # if line:
-                #
-                # [$Z020P5R]     000         Up                8  
-                # 2100836 94330844   9320092 n037
-                #
-                # $fields[7] would be n037
-                if (defined($fields[7])) {
-		    $fields[7] =~ s/:(.*)$//;
-                    $nodestate{$fields[7]} = $fields[2];
-                }
-		$next = 0;
-	}
-
-	# if line matches any names to identify the nodes then
-	# set the flag to look at the next line
-	if (($line =~ /Edge/) || ($line =~ /Excluded/) || ($line =~ /Aggregation/) || ($line =~ /Storage/) || ($line =~ /Backend/) || ($line =~ /Frontend/) || ($line =~ /Any/)) {
-		# set the next flag so that we retrieve our node name
-		$next = 1;
-	}
-    }
-    chomp(my $hst = `hostname`);
-    $nodestate{'localhost'} = $nodestate{$hst};
-
-    return \%nodestate;
-}
-
-# Get the current timestamp, return the LCT and UTC
-sub GetTimeStamp
-{
-   my ($start_sec, $start_usec) = gettimeofday;
-   my $utc_usecs = $start_sec * 1000000  + $start_usec;
-
-   my $offset = strftime("%z", localtime());
-
-   $offset =~ s/0//g;
-   $offset = 0 if ($offset eq "+"); # zero timezone
-   
-   $offset *= 3600 * 1000000; # convert hour to microsecond
-
-   my $lct_usecs = $utc_usecs + $offset;
-
-   return ($lct_usecs, $utc_usecs);
-}
-
-# sudo wrapper
-sub sudo_command {
-    my $cmd = shift;
-    my $output = '';
-
-    if (&is_cluster()) {
-        $output = `sudo $cmd`;
-    }
-    return wantarray ? (split /\n/, $output) : $output;
-}
-
-1;

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/7a085965/core/sqf/export/lib/Vili/NoDriftTimer.pm
----------------------------------------------------------------------
diff --git a/core/sqf/export/lib/Vili/NoDriftTimer.pm b/core/sqf/export/lib/Vili/NoDriftTimer.pm
deleted file mode 100644
index 4a70e4b..0000000
--- a/core/sqf/export/lib/Vili/NoDriftTimer.pm
+++ /dev/null
@@ -1,98 +0,0 @@
-# @@@ START COPYRIGHT @@@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-# @@@ END COPYRIGHT @@@
-
-package Vili::NoDriftTimer;
-
-=head1 NAME
-
-Vili::NoDriftTimer - a module that contains package NoDriftTimer
-
-=head1 SYNOPSIS
-
-   use Vili::NoDriftTimer;
-
-   my $timer = Vili::NoDriftTimer->new;
-
-   while (1) {
-      $timer->reset;
-
-      ...
-
-      $timer->sleep($nseconds);
-   }
-
-=head1 DESCRIPTION
-
-A Perl class that provides a timer that has no drift.
-
-=back
-
-=head1 COPYRIGHT
-
-(C) Copyright 2011-2014 Hewlett-Packard Development Company, L.P.
-
-=cut
-
-use strict;
-use warnings;
-
-sub new
-{
-   my $class = shift;
-   my $interval = shift;
-
-   my $self = {};
-
-   $self->{default_interval} = defined($interval) ? $interval : 5.0;
-    
-   bless ($self, $class);
-
-   $self->reset;
-   return $self;
-}
-
-sub reset
-{
-   my $self = shift;
-   $self->{last_time} = Time::HiRes::time;
-}
-
-sub sleep
-{
-   my $self = shift;
-   my $interval = shift;
-
-   $interval = $self->{default_interval} unless(defined($interval));
-
-   my $curr_time = Time::HiRes::time;
-
-   my $adjusted_interval = $interval - ($curr_time - $self->{last_time});
-
-   $self->{last_time} += $interval;
-
-   # make sleep uninterruptable by signal handler
-   while ($adjusted_interval > 0) {
-       my $slept_seconds = Time::HiRes::sleep($adjusted_interval);
-       $adjusted_interval -= $slept_seconds;
-   }
-}
-
-1;

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/7a085965/core/sql/common/from_GB2312.c
----------------------------------------------------------------------
diff --git a/core/sql/common/from_GB2312.c b/core/sql/common/from_GB2312.c
index 4576b65..8d30d1f 100644
--- a/core/sql/common/from_GB2312.c
+++ b/core/sql/common/from_GB2312.c
@@ -20,136 +20,8 @@
 //
 // @@@ END COPYRIGHT @@@
 **********************************************************************/
-/*
- * HISTORY
- * $Log: from_GB2312.c,v $
- * Revision 1.1.10.1  2001/12/07  15:37:39
- *  * Check for UDC & add __UDC_to_gb2312().
- *
- * Revision 1.1.6.1  2000/01/13  20:25:30
- * 	Remove the old conversion routine in favor of the enhanced
- * 	__<codeset>_index() routine, and add algorithmic UDC conversion
- * 	support. Also add a number of conversion routines to support
- * 	special font charset to Unicode conversion.
- *
- * Revision 1.1.4.1  1999/09/28  21:10:10
- * 	Cosixsteelos to zincos merge.
- *
- * Revision 1.1.2.2  1999/08/18  18:36:08
- * 	Add support for Unicode to GBK/GB2312 conversion.
- * 	[1999/08/18  15:04:43  Long_Man]
- *
- * $EndLog$
- */
 
-/*
- * COPYRIGHT NOTICE
- *
- * Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc.
- * ALL RIGHTS RESERVED (OSF/1).  See /usr/include/COPYRIGHT.OSF1 .
- */
+// File is being obsoleted.  It uses features from the Open Source 
+// Foundation which is not support by Apache and the functions in this
+// file were not being used. 
 
-#include "fcconv.h"
-#include "multi-byte.h"
-
-/*
- * This routine converts one GB2312 character from the input stream to table
- * index.
- *
- * Return Value:
- *	Table index if no error
- *	-1 - Invalid sequence (EILSEQ)
- *	-2 - Input incomplete
- */
-#if 0 // Don't need these since we chose to support GBK (a superset of GB2312) instead
-NA_EIDPROC
-int
-__gb2312_index(_LC_fcconv_iconv_t *cd, uchar_t **in, int len)
-{
-    uint   ch1, ch2 ;
-    uchar *ip = *in ;
-
-    if (len < 2)
-	return(ERR_INPUT_INCOMPLETE) ;
-
-    ch1 = *ip++ ;
-    ch2 = *ip++ ;
-
-    if (!GB2312_VALID1(ch1) || !GB2312_VALID2(ch2))
-	return(ERR_INVALID_CHAR) ;
-
-    *in = ip ;	/* Adjust input pointer */
-    return((GB2312_UDC11(ch1, ch2) || GB2312_UDC12(ch1, ch2))
-	   ? GB2312_IDXU(ch1, ch2) : GB2312_IDX(ch1, ch2)) ;
-}
-
-/*
- * This routine convert a GB2312-GL character to table index
- */
-NA_EIDPROC
-int
-__gb2312gl_index(_LC_fcconv_iconv_t *cd, uchar_t **in, int len)
-{
-    uint   ch1, ch2 ;
-    uchar *ip = *in ;
-
-    if (len < 2)
-	return(ERR_INPUT_INCOMPLETE) ;
-
-    ch1 = *ip++ ;
-    ch2 = *ip++ ;
-
-    if ((ch1 >= 0x80) || (ch2 >= 0x80))
-	return(ERR_INVALID_CHAR) ;
-    ch1 |= 0x80 ;
-    ch2 |= 0x80 ;
-
-    if (!GB2312_VALID1(ch1) || !GB2312_VALID2(ch2))
-	return(ERR_INVALID_CHAR) ;
-
-    *in = ip ;	/* Adjust input pointer */
-    return(GB2312_IDX(ch1, ch2)) ;
-}
-
-/*
- * This routine maps the UCS UDC codepoint to GB2312
- */
-NA_EIDPROC
-WChar_t __UDC_to_gb2312(ucs4_t udc) //JAC
-{
-    if (udc <= UCS_UDC_START + GB2312_UCNT) {
-	int uidx = UCS_UIDX(udc)  ;
-	return(UIDX_GB2312(uidx)) ;
-    }
-    /* Lookup table for mapping for BMP UDC */
-    return((udc <= UCS_UDC_END) ? 0 : BAD) ;
-}
-
-/*---------------------------------------------------------------------------*/
-
-/*
- * This routine performs the conversion from a GB2312 code to GB2312-GL
- * code.
- */
-NA_EIDPROC
-int
-__gb2312_to_gb2312gl(WChar_t code) //JAC
-{
-    if (code > 0xff)
-	return(code & 0x7f7f) ;
-    return(BAD) ;
-}
-
-/*
- * This routine performs the conversion from a GB2312 code to GB2312-GR
- * code.
- */
-NA_EIDPROC
-int
-__gb2312_to_gb2312gr(WChar_t code) //JAC
-{
-    if (code > 0xff)
-	return(code) ;
-    return(BAD) ;
-}
-#endif // Don't need these since we chose to support GBK (a superset of GB2312) instead

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/7a085965/core/sql/common/swscanf.cpp
----------------------------------------------------------------------
diff --git a/core/sql/common/swscanf.cpp b/core/sql/common/swscanf.cpp
index 109490b..ccf82cb 100644
--- a/core/sql/common/swscanf.cpp
+++ b/core/sql/common/swscanf.cpp
@@ -1,41 +1,4 @@
-/* -*-C++-*-
-// @@@ START COPYRIGHT @@@
-//
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements.  See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership.  The ASF licenses this file
-// to you under the Apache License, Version 2.0 (the
-// "License"); you may not use this file except in compliance
-// with the License.  You may obtain a copy of the License at
-//
-//   http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing,
-// software distributed under the License is distributed on an
-// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-// KIND, either express or implied.  See the License for the
-// specific language governing permissions and limitations
-// under the License.
-//
-// @@@ END COPYRIGHT @@@
- *****************************************************************************
- *
- * File:         swscanf.h
- * Description:  SQL/MX wide-char swscanf() function, modified based on 
- *               NetBSD __svfscanf.c found at 
- *               http://www.ajk.tele.fi/libc/stdio/vfscanf.c.html#__svfscanf
- * Created:      2/13/2002
- * Language:     C++
- * Limitation:   
- *
- *
- *
- *
- *****************************************************************************
- */
-
-/*-
+/* -*-C++-*- 
  * Copyright (c) 1990, 1993
  *	The Regents of the University of California.  All rights reserved.
  *
@@ -71,6 +34,22 @@
  * SUCH DAMAGE.
  */
 
+ /*****************************************************************************
+  *
+  * File:         swscanf.h
+  * Description:  SQL/MX wide-char swscanf() function, modified based on 
+  *               NetBSD __svfscanf.c found at 
+  *               http://www.ajk.tele.fi/libc/stdio/vfscanf.c.html#__svfscanf
+  * Created:      2/13/2002
+  * Language:     C++
+  * Limitation:   
+  *
+  *
+  *
+  *
+  *****************************************************************************
+ */
+
 //LCOV_EXCL_START  // Used only by .../sqlutils/metamigr/MIGRATE.cpp which is not used in SQ
 
 /* commented out the useless static data structure.*/

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/7a085965/core/sql/common/swsprintf.cpp
----------------------------------------------------------------------
diff --git a/core/sql/common/swsprintf.cpp b/core/sql/common/swsprintf.cpp
index f428671..22b6102 100644
--- a/core/sql/common/swsprintf.cpp
+++ b/core/sql/common/swsprintf.cpp
@@ -1,47 +1,5 @@
-/**********************************************************************
-// @@@ START COPYRIGHT @@@
-//
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements.  See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership.  The ASF licenses this file
-// to you under the Apache License, Version 2.0 (the
-// "License"); you may not use this file except in compliance
-// with the License.  You may obtain a copy of the License at
-//
-//   http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing,
-// software distributed under the License is distributed on an
-// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-// KIND, either express or implied.  See the License for the
-// specific language governing permissions and limitations
-// under the License.
-//
-// @@@ END COPYRIGHT @@@
-**********************************************************************/
-
 /* -*-C++-*-
- *****************************************************************************
- *
- * File:         swsprintf.h
- * Description:  SQL/MX wide-char swsprintf() function, adapted from NetBSD vfprintf.c
- *               found at http://www.ajk.tele.fi/libc/stdio/vfprintf.c.html#vfprintf.
- * Created:      2/13/2002
- * Language:     C++
- * Limitation:   Floating point numbers are not supported. 
- *
- *
- *
- *
- *****************************************************************************
- */
-
-/* <- Back to the Main Page 
- */
-/*	$NetBSD: vfprintf.c,v 1.18 1997/04/02 12:50:25 kleink Exp $	*/
-
-/*-
+ *-
  * Copyright (c) 1990 The Regents of the University of California.
  * All rights reserved.
  *
@@ -77,6 +35,25 @@
  * SUCH DAMAGE.
  */
 
+/*	$NetBSD: vfprintf.c,v 1.18 1997/04/02 12:50:25 kleink Exp $	*/
+
+/*****************************************************************************
+ *
+ * File:         swsprintf.h
+ * Description:  SQL/MX wide-char swsprintf() function, adapted from NetBSD vfprintf.c
+ *               found at http://www.ajk.tele.fi/libc/stdio/vfprintf.c.html#vfprintf.
+ * Created:      2/13/2002
+ * Language:     C++
+ * Limitation:   Floating point numbers are not supported. 
+ *
+ *
+ *
+ *
+ *****************************************************************************
+ */
+
+/* <- Back to the Main Page 
+ */
 /* commented out because of static data structure */
 //#if defined(LIBC_SCCS) && !defined(lint)
 ///*static char *sccsid = "from: @(#)vfprintf.c	5.50 (Berkeley) 12/16/92";*/

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/7a085965/core/sql/parser/ulexer.h
----------------------------------------------------------------------
diff --git a/core/sql/parser/ulexer.h b/core/sql/parser/ulexer.h
index 652ccfe..16b9795 100644
--- a/core/sql/parser/ulexer.h
+++ b/core/sql/parser/ulexer.h
@@ -1,34 +1,4 @@
-/**********************************************************************
-// @@@ START COPYRIGHT @@@
-//
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements.  See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership.  The ASF licenses this file
-// to you under the Apache License, Version 2.0 (the
-// "License"); you may not use this file except in compliance
-// with the License.  You may obtain a copy of the License at
-//
-//   http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing,
-// software distributed under the License is distributed on an
-// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-// KIND, either express or implied.  See the License for the
-// specific language governing permissions and limitations
-// under the License.
-//
-// @@@ END COPYRIGHT @@@
-**********************************************************************/
-// ULexer.h -- define interfaces for Unicode lexical analyzer class (tcr)
-
-// Flex (version 2.5.4a and earlier) does not support Unicode. Our attempts
-// at extending flex to generate a Unicode scanner were unsuccessful. So, we 
-// hand-code a Unicode scanner for SQL/MX but retain the flex C++ scanner
-// class interface (defined in flexlexer.h)
-
-
-// The original flex C++ scanner class interface has these copyrights:
+/**********************************************************************/
 // Copyright (c) 1993 The Regents of the University of California.
 // All rights reserved.
 //
@@ -47,6 +17,13 @@
 // this software without specific prior written permission.
 
 
+// ULexer.h -- define interfaces for Unicode lexical analyzer class (tcr)
+
+// Flex (version 2.5.4a and earlier) does not support Unicode. Our attempts
+// at extending flex to generate a Unicode scanner were unsuccessful. So, we 
+// hand-code a Unicode scanner for SQL/MX but retain the flex C++ scanner
+// class interface (defined in flexlexer.h)
+
 // This file defines ULexer, an abstract class which specifies the
 // external interface provided to Unicode C++ lexer objects, and yyULexer,
 // which defines a particular lexer class.

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/7a085965/core/sql/regress/newregr/card/runregr_card.ksh
----------------------------------------------------------------------
diff --git a/core/sql/regress/newregr/card/runregr_card.ksh b/core/sql/regress/newregr/card/runregr_card.ksh
index 8a7c7cd..915a33d 100644
--- a/core/sql/regress/newregr/card/runregr_card.ksh
+++ b/core/sql/regress/newregr/card/runregr_card.ksh
@@ -19,13 +19,6 @@
 --
 -- @@@ END COPYRIGHT @@@
 #! /bin/sh
-################################################################################
-# @@@ START COPYRIGHT @@@
-#
-# (C) Copyright 2003-2007 Hewlett-Packard Development Company, L.P.
-#
-# @@@ END COPYRIGHT @@@
-################################################################################
 
 ################################################################################
 #              CARDINALITY REGRESSION TEST SUITE                  

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/7a085965/core/sql/regress/newregr/mvs/BIG/expectedmv215_RU
----------------------------------------------------------------------
diff --git a/core/sql/regress/newregr/mvs/BIG/expectedmv215_RU b/core/sql/regress/newregr/mvs/BIG/expectedmv215_RU
deleted file mode 100644
index 4b6a6a7..0000000
--- a/core/sql/regress/newregr/mvs/BIG/expectedmv215_RU
+++ /dev/null
@@ -1,480 +0,0 @@
--- @@@ START COPYRIGHT @@@
---
--- Licensed to the Apache Software Foundation (ASF) under one
--- or more contributor license agreements.  See the NOTICE file
--- distributed with this work for additional information
--- regarding copyright ownership.  The ASF licenses this file
--- to you under the Apache License, Version 2.0 (the
--- "License"); you may not use this file except in compliance
--- with the License.  You may obtain a copy of the License at
---
---   http://www.apache.org/licenses/LICENSE-2.0
---
--- Unless required by applicable law or agreed to in writing,
--- software distributed under the License is distributed on an
--- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
--- KIND, either express or implied.  See the License for the
--- specific language governing permissions and limitations
--- under the License.
---
--- @@@ END COPYRIGHT @@@
--- @@@ START COPYRIGHT @@@
---
->>
->>obey TESTMV215_RU(SET_UP);
->>----------------------------------------------
->>control query default insert_vsbb 'OFF';
-
---- SQL operation complete.
->>set PARSERFLAGS 1;
->>
->>set schema cat.tpcd;
-
---- SQL operation complete.
->>
->>obey ./TPCD/CREATEALL.OBEY(SET_UP);
->>
->>create catalog cat;
-
-*** ERROR[1035] Catalog CAT already exists.
-
---- SQL operation completed with errors.
->>create schema cat.tpcd;
-
-*** ERROR[1022] Schema CAT.TPCD already exists.
-
---- SQL operation completed with errors.
->>cd ./TPCD;
->>
->>set schema CAT.TPCD;
-
---- SQL operation complete.
->>set envvar DSS_CONFIG . ;
->>-- change all of these lines together if needed
->>#ifNSK
->>set envvar DSS_TEMP ./TPCDTEMP;
->>sh mkdir $DSS_TEMP;
->>#ifNSK
->>#ifNT
->>set envvar DSS_TEMP .\TPCDTEMP;
->>sh mkdir %DSS_TEMP% ;
->>sh cp %DSS_CONFIG%\dbgen.exe %DSS_TEMP% ;
->>sh cp %DSS_CONFIG%\Dists.dss %DSS_TEMP% ;
->>sh cp %DSS_CONFIG%\*.fmt %DSS_TEMP% ;
->>sh cp %DSS_CONFIG%\generateTpcd.ksh %DSS_TEMP% ;
->>sh cp %DSS_CONFIG%\*.awk %DSS_TEMP% ;
->>sh cp %DSS_CONFIG%\runGen.pl %DSS_TEMP% ;
->>#ifNT
->>
->>cd TPCDTEMP;
->>
->>log SQLCI.LOG clear;
->>
->>-- Run Tests
->>	set schema cat.tpcd;
-
---- SQL operation complete.
->>	obey TESTMV215_RU(TEST1);
->>-------------------------------------------------------
->>-- Basic Q5
->>-- for compare 
->>
->>
->>refresh mv4q5;
-
---- SQL operation complete.
->>log;
-
-The materialized view CAT.TPCD.MV4Q5 is being refreshed in a single transaction...
-
-The materialized view CAT.TPCD.MV4Q5 was found up to date.
-Starting the log cleanup of table CAT.TPCD.REGION...
-
-Finished the log cleanup of table CAT.TPCD.REGION.
-
-Starting the log cleanup of table CAT.TPCD.NATION...
-
-Finished the log cleanup of table CAT.TPCD.NATION.
-
-Starting the log cleanup of table CAT.TPCD.ORDERS...
-
-Finished the log cleanup of table CAT.TPCD.ORDERS.
-
-Starting the log cleanup of table CAT.TPCD.LINEITEM...
-
-Finished the log cleanup of table CAT.TPCD.LINEITEM.
-
-Starting the log cleanup of table CAT.TPCD.SUPPLIER...
-
-Finished the log cleanup of table CAT.TPCD.SUPPLIER.
-
-Starting the log cleanup of table CAT.TPCD.CUSTOMER...
-
-Finished the log cleanup of table CAT.TPCD.CUSTOMER.
-
-
->>PREPARE stat1 FROM 
-+>	select n_name, sum(l_extendedprice*(1-l_discount)) as revenue,count(*) rows_in_group
-+>	from customer,orders,lineitem,supplier,nation, region
-+>	where
-+>	    c_custkey = o_custkey
-+>	    and o_orderkey = l_orderkey
-+>	    and l_suppkey = s_suppkey
-+>	    and c_nationkey= s_nationkey
-+>	    and s_nationkey = n_nationkey
-+>	    and n_regionkey = r_regionkey
-+>	    and r_name in ('ASIA','AMERICA','EUROPE','MIDDLE EAST','AFRICA')
-+>	    and o_orderdate >= date '1994-01-01'
-+>	    and o_orderdate < date '1994-01-01' + interval '3' year
-+>	group by n_name
-+>	order by n_name,revenue desc ;
-
---- SQL command prepared.
->>
->>PREPARE stat2 FROM 
-+>	select n_name,revenue,rows_in_group
-+>	from mv4q5 
-+>	order by n_name,revenue desc;
-
---- SQL command prepared.
->>
->>log;
-1,2c1,2
-< >>  log TEMP1;
-< >>  execute stat1;
----
-> >>  log TEMP2;
-> >>  execute stat2;
->>
->>SET PARAM ?table_name 'SUPPLIER';
->>execute select_mvs_table_info;
-
-CURRENT_EPOCH  MV_ATTRIBUTES_BITMAP  IS_LOCKONREFRESH  IS_INSERTLOG  RANGELOG_TYPE  MVSALLOWED_TYPE
--------------  --------------------  ----------------  ------------  -------------  ---------------
-
-          104                466965  Y                 N             N              A              
-
---- 1 row(s) selected.
->>log;
-
-NonStop SQL/MX Import Utility 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation. All Rights Reserved.
-
-Rows Imported = 5
-
-Import Completed Successfully
->>
->>-- should be equal to 5
->>select count(*) from table(iud_log_table cat.tpcd.supplier);
-
-(EXPR)              
---------------------
-
-                   5
-
---- 1 row(s) selected.
->>
->>REFRESH mv4q5;
-
---- SQL operation complete.
->>log;
-
-The materialized view CAT.TPCD.MV4Q5 is being refreshed in a single transaction...
-
-The materialized view CAT.TPCD.MV4Q5 has been refreshed in a single transaction.
-
-Starting the log cleanup of table CAT.TPCD.REGION...
-
-Finished the log cleanup of table CAT.TPCD.REGION.
-
-Starting the log cleanup of table CAT.TPCD.NATION...
-
-Finished the log cleanup of table CAT.TPCD.NATION.
-
-Starting the log cleanup of table CAT.TPCD.ORDERS...
-
-Finished the log cleanup of table CAT.TPCD.ORDERS.
-
-Starting the log cleanup of table CAT.TPCD.LINEITEM...
-
-Finished the log cleanup of table CAT.TPCD.LINEITEM.
-
-Starting the log cleanup of table CAT.TPCD.SUPPLIER...
-
-Finished the log cleanup of table CAT.TPCD.SUPPLIER.
-
-Starting the log cleanup of table CAT.TPCD.CUSTOMER...
-
-Finished the log cleanup of table CAT.TPCD.CUSTOMER.
-
-
->>
->>log;
-1,2c1,2
-< >>  log TEMP1;
-< >>  execute stat1;
----
-> >>  log TEMP2;
-> >>  execute stat2;
->>
->>log;
-
-NonStop SQL/MX Import Utility 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation. All Rights Reserved.
-
-Rows Imported = 75
-
-Import Completed Successfully
->>
->>update customer
-+>set c_nationkey = 12 -- 'JAPAN'
-+>where c_nationkey = 10 and c_acctbal < 4000;
-
---- 14 row(s) updated.
->>
->>
->>update customer
-+>set c_nationkey = 10 -- 'IRAN'
-+>where c_nationkey = 12 and c_acctbal > 3000;
-
---- 18 row(s) updated.
->>
->>update customer
-+>set c_nationkey = 12 -- 'IRAN'
-+>where c_nationkey = 12 and c_acctbal < 2500;
-
---- 14 row(s) updated.
->>
->>
->>Refresh mv4q5;
-
---- SQL operation complete.
->>log;
->>
->>log;
-1,2c1,2
-< >>  log TEMP1;
-< >>  execute stat1;
----
-> >>  log TEMP2;
-> >>  execute stat2;
->>
->>	obey TESTMV215_RU(TEST2);
->>-- Basic Q9
->>
->>
->>REFRESH mv4q9;
-
---- SQL operation complete.
->>log;
->>log;
-1,2c1,2
-< >>  log TEMP1;
-< >>  execute stat1;
----
-> >>  log TEMP2;
-> >>  execute stat2;
->>
->>--parts
->>
->>log;
-
-NonStop SQL/MX Import Utility 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation. All Rights Reserved.
-
-Rows Imported = 100
-
-Import Completed Successfully
->>
->>--CREATE TANDEM_CAT_REQUEST&1 16 3 @cat.tpcd.part@ @1@ @0@ ;
->>
->>REFRESH mv4q9;
-
---- SQL operation complete.
->>log;
->>log;
-1,2c1,2
-< >>  log TEMP1;
-< >>  execute stat1;
----
-> >>  log TEMP2;
-> >>  execute stat2;
->>
->>-- partsupp
->>log;
-
-NonStop SQL/MX Import Utility 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation. All Rights Reserved.
-
-Rows Imported = 400
-
-Import Completed Successfully
->>
->>REFRESH mv4q9;
-
---- SQL operation complete.
->>log;
->>log;
-1,2c1,2
-< >>  log TEMP1;
-< >>  execute stat1;
----
-> >>  log TEMP2;
-> >>  execute stat2;
->>
->>-- lineitem
->>log;
-
-NonStop SQL/MX Import Utility 1.0
-Copyright (c) 1997-1999 Compaq Computer Corporation. All Rights Reserved.
-
-Rows Imported = 2500
-
-Import Completed Successfully
->>
->>
->>REFRESH mv4q9;
-
---- SQL operation complete.
->>log;
->>
->>log;
-1,2c1,2
-< >>  log TEMP1;
-< >>  execute stat1;
----
-> >>  log TEMP2;
-> >>  execute stat2;
->>
->>-- Clean and exit
->>obey TESTMV215(CLEAN_UP);
->>-----------------------------------------------------
->>
->>
->>set schema cat.tpcd;
-
---- SQL operation complete.
->>obey ./TPCD/CREATEMVS(DROPALL);
->>drop mv cat3.testing.mv4q67;
-
-*** ERROR[1002] Catalog CAT3 does not exist or has not been registered on node \NSK.
-
-*** ERROR[1031] Object CAT3.TESTING.MV4Q67 could not be dropped.
-
---- SQL operation completed with errors.
->>drop mv mv4q17;
-
---- SQL operation complete.
->>drop mv mv4q15;
-
---- SQL operation complete.
->>drop mv mv4q12;
-
---- SQL operation complete.
->>drop mv mv4q11;
-
---- SQL operation complete.
->>drop mv mv4q10;
-
---- SQL operation complete.
->>drop mv mv4q9;
-
---- SQL operation complete.
->>drop mv mv4q7;
-
-*** ERROR[1004] Table, view, or stored procedure CAT.TPCD.MV4Q7 does not exist or object type is invalid for the current operation.
-
-*** ERROR[1031] Object CAT.TPCD.MV4Q7 could not be dropped.
-
---- SQL operation completed with errors.
->>drop mv mv4q6;
-
---- SQL operation complete.
->>drop mv mv4q5;
-
---- SQL operation complete.
->>drop mv mv4q3;
-
---- SQL operation complete.
->>drop mv mv4q1;
-
---- SQL operation complete.
->>
->>
->>--------------------------
->>drop table cat3.details.partsupp;
-
-*** ERROR[1002] Catalog CAT3 does not exist or has not been registered on node \NSK.
-
-*** ERROR[1031] Object CAT3.DETAILS.PARTSUPP could not be dropped.
-
---- SQL operation completed with errors.
->>drop table cat3.details.supplier;
-
-*** ERROR[1002] Catalog CAT3 does not exist or has not been registered on node \NSK.
-
-*** ERROR[1031] Object CAT3.DETAILS.SUPPLIER could not be dropped.
-
---- SQL operation completed with errors.
->>drop table cat3.geography.nation;
-
-*** ERROR[1002] Catalog CAT3 does not exist or has not been registered on node \NSK.
-
-*** ERROR[1031] Object CAT3.GEOGRAPHY.NATION could not be dropped.
-
---- SQL operation completed with errors.
->>drop schema cat3.details;
-
-*** ERROR[1002] Catalog CAT3 does not exist or has not been registered on node \NSK.
-
-*** ERROR[1069] Schema CAT3.DETAILS could not be dropped.
-
---- SQL operation completed with errors.
->>drop schema cat3.geography;
-
-*** ERROR[1002] Catalog CAT3 does not exist or has not been registered on node \NSK.
-
-*** ERROR[1069] Schema CAT3.GEOGRAPHY could not be dropped.
-
---- SQL operation completed with errors.
->>drop schema cat3.testing;
-
-*** ERROR[1002] Catalog CAT3 does not exist or has not been registered on node \NSK.
-
-*** ERROR[1069] Schema CAT3.TESTING could not be dropped.
-
---- SQL operation completed with errors.
->>drop catalog cat3;
-
-*** ERROR[1002] Catalog CAT3 does not exist or has not been registered on node \NSK.
-
---- SQL operation completed with errors.
->>obey ./TPCD/CREATEALL.OBEY(CLEAN_UP);
->>
->>drop table customer;
-
---- SQL operation complete.
->>drop table supplier;
-
---- SQL operation complete.
->>drop table lineitem;
-
---- SQL operation complete.
->>drop table orders;
-
---- SQL operation complete.
->>drop table part;
-
---- SQL operation complete.
->>drop table partsupp;
-
---- SQL operation complete.
->>drop table nation;
-
---- SQL operation complete.
->>drop table region;
-
---- SQL operation complete.
->>
->>-- ---------------------------------------------------------------------------
->>log;


[08/10] incubator-trafodion git commit: updated .rat-excludes and RAT_README.txt to include copyright changes

Posted by rm...@apache.org.
updated .rat-excludes and RAT_README.txt to include copyright changes


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/26031c8a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/26031c8a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/26031c8a

Branch: refs/heads/release1.3
Commit: 26031c8a51514ccee3fae58cb644420434f1f416
Parents: 7a08596
Author: Roberta Marton <ro...@esgyn.com>
Authored: Tue Nov 24 01:43:47 2015 +0000
Committer: Roberta Marton <ro...@esgyn.com>
Committed: Tue Nov 24 01:43:47 2015 +0000

----------------------------------------------------------------------
 .rat-excludes  | 3 +++
 RAT_README.txt | 7 +++++++
 2 files changed, 10 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/26031c8a/.rat-excludes
----------------------------------------------------------------------
diff --git a/.rat-excludes b/.rat-excludes
index be06b1c..9733293 100644
--- a/.rat-excludes
+++ b/.rat-excludes
@@ -98,6 +98,9 @@ TCPIPV4.*
 TCPIPV6.*
 TCPIPV4_os.*
 TCPIPV6_os.*
+swscanf.cpp
+swsprintf.cpp
+ulexer.h
 
 
 

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/26031c8a/RAT_README.txt
----------------------------------------------------------------------
diff --git a/RAT_README.txt b/RAT_README.txt
index 6a41a77..158971b 100644
--- a/RAT_README.txt
+++ b/RAT_README.txt
@@ -123,6 +123,13 @@ copyrights which are covered by MIT
  $MY_SQROOT/../sql/qmscommon/expat/* 
 
 
+The following files are open source from The Regents of the University of 
+California which are covered by BDS license
+
+core/sql/common/swscanf.cpp
+core/sql/common/swsprintf.cpp
+core/sql/parser/ulexer.h
+
 -------------------------------------------------------------------
 
 The following files in dcs directory have their own BSD license 


[03/10] incubator-trafodion git commit: TRAFODION-1636 & TRAFODION-1642

Posted by rm...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/7a085965/core/sql/regress/newregr/mvs/TPCD/DBGEN_HELP.TXT
----------------------------------------------------------------------
diff --git a/core/sql/regress/newregr/mvs/TPCD/DBGEN_HELP.TXT b/core/sql/regress/newregr/mvs/TPCD/DBGEN_HELP.TXT
deleted file mode 100644
index a7f8842..0000000
--- a/core/sql/regress/newregr/mvs/TPCD/DBGEN_HELP.TXT
+++ /dev/null
@@ -1,83 +0,0 @@
--- @@@ START COPYRIGHT @@@
---
--- Licensed to the Apache Software Foundation (ASF) under one
--- or more contributor license agreements.  See the NOTICE file
--- distributed with this work for additional information
--- regarding copyright ownership.  The ASF licenses this file
--- to you under the Apache License, Version 2.0 (the
--- "License"); you may not use this file except in compliance
--- with the License.  You may obtain a copy of the License at
---
---   http://www.apache.org/licenses/LICENSE-2.0
---
--- Unless required by applicable law or agreed to in writing,
--- software distributed under the License is distributed on an
--- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
--- KIND, either express or implied.  See the License for the
--- specific language governing permissions and limitations
--- under the License.
---
--- @@@ END COPYRIGHT @@@
-TPC-D Population Generator (Version 1.2.0 )
-Copyright Transaction Processing Performance Council 1994, 1995, 1996
-USAGE:
-dbgen [-{vfFD}] [-O {fhmst}][-T {pcsoPSOL}]
-	[-s <scale>][-C <procs>][-S <step>]
-	[-x <partitions>][-y <partno>][-z <limit>]
-dbgen [-v] [-O {dhmrt}] [-s <scale>] [-U <updates>] [-r <percent>]
-
--C <n> -- use <n> processes to generate data
-          [Under DOS, must be used with -S]
--D     -- do database load in line
--f     -- force. Overwrite existing files
--F     -- generate flat files output
--h     -- display this message
--n <s> -- inline load into database <s>
--O d   -- generate SQL syntax for deletes
--O f   -- over-ride default output file names
--O h   -- output files with headers
--O m   -- produce columnar output
--O r   -- generate key ranges for deletes.
--O s   -- generate seed sets ONLY
--O t   -- use TIME table and julian dates
--r <n> -- updates refresh (n/100)% of the
-          data set
--R <n> -- resume seed rfile generation with step <n>
--s <n> -- set Scale Factor (SF) to  <n> 
--S <n> -- build the <n>th step of the data set
--T c   -- generate cutomers ONLY
--T l   -- generate nation/region ONLY
--T L   -- generate lineitem ONLY
--T n   -- generate nation ONLY
--T o   -- generate orders/lineitem ONLY
--T O   -- generate orders ONLY
--T p   -- generate parts/partsupp ONLY
--T P   -- generate parts ONLY
--T r   -- generate region ONLY
--T s   -- generate suppliers ONLY
--T S   -- generate partsupp ONLY
--U <s> -- generate <s> update sets
--v     -- enable VERBOSE mode
--x <p> -- do hashed pre-partitioning, distributing
-          flat file records across <p> partitions
--y <n> -- actually write hashed flat file records
-          ONLY for (0-relative) partition number <n>
--z <n> -- generate no more than approximately <n>
-          records, regardless of the scale factor
-
-NOTE: The -y and -z arguments work ONLY in conjunction
-      with the -x argument.  When generating 'paired'
-      tables (e.g. Order & Lineitem together), the
-      <reclimit> value applies to the sum of the rows
-      generated for the two tables.
-
-To generate the SF=1 (1GB) database population , use:
-	dbgen -vfF -s 1
-
-To generate the qualification database population (100 MB), use:
-
-	dbgen -vfF -s 0.1
-
-To generate updates for a SF=1 (1GB), use:
-	dbgen -v -O s -s 1
-	dbgen -v -U 1 -s 1

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/7a085965/core/sql/regress/seabase/EXPECTED021
----------------------------------------------------------------------
diff --git a/core/sql/regress/seabase/EXPECTED021 b/core/sql/regress/seabase/EXPECTED021
index 590ab6b..01cb0d5 100644
--- a/core/sql/regress/seabase/EXPECTED021
+++ b/core/sql/regress/seabase/EXPECTED021
@@ -1,7 +1,7 @@
 >>
 >>sh sqlci -i"TEST021(s0)" >> LOG021;
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 0.7.0
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
+Apache Trafodion Conversational Interface 2.0.0
+Copyright (c) 2015 Apache Software Foundation
 >>?section s0
 >>initialize trafodion, drop;
 
@@ -15,8 +15,8 @@ End of MXCI Session
 
 >>
 >>sh sqlci -i"TEST021(s1)" >> LOG021;
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 0.7.0
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
+Apache Trafodion Conversational Interface 2.0.0
+Copyright (c) 2015 Apache Software Foundation
 >>?section s1
 >>initialize trafodion;
 
@@ -28,8 +28,8 @@ End of MXCI Session
 
 >>
 >>sh sqlci -i"TEST021(s11)" >> LOG021;
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 0.7.0
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
+Apache Trafodion Conversational Interface 2.0.0
+Copyright (c) 2015 Apache Software Foundation
 >>?section s11
 >>create table t021 (a int not null);
 
@@ -73,8 +73,8 @@ End of MXCI Session
 
 >>
 >>sh sqlci -i"TEST021(s2)" >> LOG021;
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 0.7.0
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
+Apache Trafodion Conversational Interface 2.0.0
+Copyright (c) 2015 Apache Software Foundation
 >>?section s2
 >>set parserflags 131072;
 
@@ -124,8 +124,8 @@ End of MXCI Session
 
 >>
 >>sh sqlci -i"TEST021(s3)" >> LOG021;
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 0.7.0
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
+Apache Trafodion Conversational Interface 2.0.0
+Copyright (c) 2015 Apache Software Foundation
 >>?section s3
 >>initialize trafodion, upgrade;
 Metadata Upgrade: started
@@ -174,10 +174,10 @@ End of MXCI Session
 
 >>
 >>sh sqlci -i"TEST021(s4)" >> LOG021;
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 0.7.0
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
+Apache Trafodion Conversational Interface 2.0.0
+Copyright (c) 2015 Apache Software Foundation
 >>?section s4
->>select * from trafodion."_MD_".indexes;
+select * from trafodion."_MD_".indexes;
 
 BASE_TABLE_UID        KEYTAG       IS_UNIQUE    KEY_COLCOUNT  NONKEY_COLCOUNT  IS_EXPLICIT  INDEX_UID
 --------------------  -----------  -----------  ------------  ---------------  -----------  --------------------

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/7a085965/core/sql/regress/tools/regress-filter
----------------------------------------------------------------------
diff --git a/core/sql/regress/tools/regress-filter b/core/sql/regress/tools/regress-filter
index a5a8ddc..060260d 100755
--- a/core/sql/regress/tools/regress-filter
+++ b/core/sql/regress/tools/regress-filter
@@ -254,10 +254,6 @@ s/^\([A-Za-z0-9]\+\.m[df]?\)[ ]\+([A-Za-z]:\\\\.\+\\\\\(.\+\..\+\..\+\))/\1 (\2)
 /^[A-Za-z0-9]*\.mdf[ ]*([A-Za-z0-9]*\.[A-Za-z0-9]*\.[A-Za-z0-9]*)/s/[ ]*([A-Za-z0-9]*\.[A-Za-z0-9]*/ (#CAT.#SCH/
 s/^NonStop SQL\/MX \([A-Za-z\/ +]*\) [0-9][0-9]*\.[0-9][0-9]*$/\1 #n.#n/
 /^Copyright (c).*All Rights Reserved. *$/s/[0-9]/#/g
-/^Copyright (c).*All Rights Reserved. *$/s/Tandem[^.]*\./#CPQ#TDM#./
-/^Copyright (c).*All Rights Reserved. *$/s/Compaq[^.]*\./#CPQ#TDM#./
-/^(c) Copyright [0-9][0-9][0-9][0-9] Hewlett-Packard Development Company.*$/s/^.*$/Copyright (c) ####-#### #CPQ#TDM#\.  All Rights Reserved./
-/^(c) Copyright [0-9][0-9][0-9][0-9]-[0-9][0-9][0-9][0-9] Hewlett-Packard Development Company.*$/s/^.*$/Copyright (c) ####-#### #CPQ#TDM#\.  All Rights Reserved./
 /^[Hh]istory file .* Access is denied/d
 s/^\(MESSAGEFILE     [ 	]*\).*/\1#f/
 /^MESSAGEFILE VRSN[ 	]*{/s/{.*/#v/
@@ -296,7 +292,6 @@ s/^\([ ][ ]*[0-9][0-9]*[ ][ ]*[0-9][0-9]*[ ][ ]*CAT.SCH\)[A-Z][0-9A-Z][0-9A-Z]\(
 s/^--- SQL operation completed with errors./--- SQL operation failed with errors./
 # Filter out Microsoft compiler and linker information
 s/Microsoft (R) .*/Microsoft (R) xxxxxx/g
-s/Copyright (C) Microsoft Corp.*/Copyright (C) Microsoft Corp xxxxxx/g
 
 # ... NonStop(TM) SQL/MX Compiler 2.0
 #                                 ^^^

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/7a085965/core/sql/regress/tools/regress-filter-linux
----------------------------------------------------------------------
diff --git a/core/sql/regress/tools/regress-filter-linux b/core/sql/regress/tools/regress-filter-linux
index 003d392..f345fd2 100755
--- a/core/sql/regress/tools/regress-filter-linux
+++ b/core/sql/regress/tools/regress-filter-linux
@@ -320,10 +320,6 @@ s/^\([A-Za-z0-9]\+\.m[df]?\)[ ]\+([A-Za-z]:\\\\.\+\\\\\(.\+\..\+\..\+\))/\1 (\2)
 /^[A-Za-z0-9]*\.mdf[ ]*([A-Za-z0-9]*\.[A-Za-z0-9]*\.[A-Za-z0-9]*)/s/[ ]*([A-Za-z0-9]*\.[A-Za-z0-9]*/ (#CAT.#SCH/
 s/^NonStop SQL\/MX \([A-Za-z\/ +]*\) [0-9][0-9]*\.[0-9][0-9]*$/\1 #n.#n/
 /^Copyright (c).*All Rights Reserved. *$/s/[0-9]/#/g
-/^Copyright (c).*All Rights Reserved. *$/s/Tandem[^.]*\./#CPQ#TDM#./
-/^Copyright (c).*All Rights Reserved. *$/s/Compaq[^.]*\./#CPQ#TDM#./
-/^(c) Copyright [0-9][0-9][0-9][0-9] Hewlett-Packard Development Company.*$/s/^.*$/Copyright (c) ####-#### #CPQ#TDM#\.  All Rights Reserved./
-/^(c) Copyright [0-9][0-9][0-9][0-9]-[0-9][0-9][0-9][0-9] Hewlett-Packard Development Company.*$/s/^.*$/Copyright (c) ####-#### #CPQ#TDM#\.  All Rights Reserved./
 s/^Copyright (c) .*/Copyright (c) ######/
 /^[Hh]istory file .* Access is denied/d
 s/^\(MESSAGEFILE     [ 	]*\).*/\1#f/
@@ -366,7 +362,6 @@ s/^\([ ][ ]*[0-9][0-9]*[ ][ ]*[0-9][0-9]*[ ][ ]*CAT.SCH\)[A-Z][0-9A-Z][0-9A-Z]\(
 s/^--- SQL operation completed with errors./--- SQL operation failed with errors./
 # Filter out Microsoft compiler and linker information
 s/Microsoft (R) .*/Microsoft (R) xxxxxx/g
-s/Copyright (C) Microsoft Corp.*/Copyright (C) Microsoft Corp xxxxxx/g
 
 #Added for nist test nist586
 s/nist586\.mdf.*/nist586.mdf/g

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/7a085965/core/sql/regress/udr/EXPECTED100.SB
----------------------------------------------------------------------
diff --git a/core/sql/regress/udr/EXPECTED100.SB b/core/sql/regress/udr/EXPECTED100.SB
index f7ac514..8ceca90 100644
--- a/core/sql/regress/udr/EXPECTED100.SB
+++ b/core/sql/regress/udr/EXPECTED100.SB
@@ -1706,8 +1706,8 @@ OUT2
 >>
 >>obey TEST100(udrtrace);
 >>log;
-Conversational Interface @version@
-(c) Copyright 2014 Hewlett-Packard Development Company, LP.
+Apache Trafodion Conversational Interface 2.0.0
+Copyright (c) 2015 Apache Software Foundation
 >>?section udrtrace2
 >>--
 >>-- This section will be executed by the mxci fired off while executing

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/7a085965/core/updateCopyrightCheck.py
----------------------------------------------------------------------
diff --git a/core/updateCopyrightCheck.py b/core/updateCopyrightCheck.py
index 6ccdd72..73b531d 100644
--- a/core/updateCopyrightCheck.py
+++ b/core/updateCopyrightCheck.py
@@ -202,11 +202,12 @@ for line in gitProcess.stdout:
     if parseResult:
         #  The copyright line of interest looks like:
         #
-        #  // (x) Copyright 1998-2014 Hewlett-Packard Development Company, L.P.
+        #  // (x) <xxxxxxxxx> 1998-2014 Hewlett-Packard Development Company, L.P.
         #
-        #  (It is actually (C), not (x); I obfuscated the comment so this
+        #  (It is actually (C), not (x) and Copyright not <xxxxxxxxx>.
+        #  I obfuscated the comment so this
         #  script wouldn't mistakenly report itself as having multiple
-        #  copyrights :-)
+        #  copyrights and to pass copyright checks from Apache :-)
         #
         #  Of course the comment delimiter will vary with the file language.
         cmdGrep = ['grep',

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/7a085965/dcs/LICENSE.txt
----------------------------------------------------------------------
diff --git a/dcs/LICENSE.txt b/dcs/LICENSE.txt
deleted file mode 100644
index d645695..0000000
--- a/dcs/LICENSE.txt
+++ /dev/null
@@ -1,202 +0,0 @@
-
-                                 Apache License
-                           Version 2.0, January 2004
-                        http://www.apache.org/licenses/
-
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-   1. Definitions.
-
-      "License" shall mean the terms and conditions for use, reproduction,
-      and distribution as defined by Sections 1 through 9 of this document.
-
-      "Licensor" shall mean the copyright owner or entity authorized by
-      the copyright owner that is granting the License.
-
-      "Legal Entity" shall mean the union of the acting entity and all
-      other entities that control, are controlled by, or are under common
-      control with that entity. For the purposes of this definition,
-      "control" means (i) the power, direct or indirect, to cause the
-      direction or management of such entity, whether by contract or
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the
-      outstanding shares, or (iii) beneficial ownership of such entity.
-
-      "You" (or "Your") shall mean an individual or Legal Entity
-      exercising permissions granted by this License.
-
-      "Source" form shall mean the preferred form for making modifications,
-      including but not limited to software source code, documentation
-      source, and configuration files.
-
-      "Object" form shall mean any form resulting from mechanical
-      transformation or translation of a Source form, including but
-      not limited to compiled object code, generated documentation,
-      and conversions to other media types.
-
-      "Work" shall mean the work of authorship, whether in Source or
-      Object form, made available under the License, as indicated by a
-      copyright notice that is included in or attached to the work
-      (an example is provided in the Appendix below).
-
-      "Derivative Works" shall mean any work, whether in Source or Object
-      form, that is based on (or derived from) the Work and for which the
-      editorial revisions, annotations, elaborations, or other modifications
-      represent, as a whole, an original work of authorship. For the purposes
-      of this License, Derivative Works shall not include works that remain
-      separable from, or merely link (or bind by name) to the interfaces of,
-      the Work and Derivative Works thereof.
-
-      "Contribution" shall mean any work of authorship, including
-      the original version of the Work and any modifications or additions
-      to that Work or Derivative Works thereof, that is intentionally
-      submitted to Licensor for inclusion in the Work by the copyright owner
-      or by an individual or Legal Entity authorized to submit on behalf of
-      the copyright owner. For the purposes of this definition, "submitted"
-      means any form of electronic, verbal, or written communication sent
-      to the Licensor or its representatives, including but not limited to
-      communication on electronic mailing lists, source code control systems,
-      and issue tracking systems that are managed by, or on behalf of, the
-      Licensor for the purpose of discussing and improving the Work, but
-      excluding communication that is conspicuously marked or otherwise
-      designated in writing by the copyright owner as "Not a Contribution."
-
-      "Contributor" shall mean Licensor and any individual or Legal Entity
-      on behalf of whom a Contribution has been received by Licensor and
-      subsequently incorporated within the Work.
-
-   2. Grant of Copyright License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      copyright license to reproduce, prepare Derivative Works of,
-      publicly display, publicly perform, sublicense, and distribute the
-      Work and such Derivative Works in Source or Object form.
-
-   3. Grant of Patent License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      (except as stated in this section) patent license to make, have made,
-      use, offer to sell, sell, import, and otherwise transfer the Work,
-      where such license applies only to those patent claims licensable
-      by such Contributor that are necessarily infringed by their
-      Contribution(s) alone or by combination of their Contribution(s)
-      with the Work to which such Contribution(s) was submitted. If You
-      institute patent litigation against any entity (including a
-      cross-claim or counterclaim in a lawsuit) alleging that the Work
-      or a Contribution incorporated within the Work constitutes direct
-      or contributory patent infringement, then any patent licenses
-      granted to You under this License for that Work shall terminate
-      as of the date such litigation is filed.
-
-   4. Redistribution. You may reproduce and distribute copies of the
-      Work or Derivative Works thereof in any medium, with or without
-      modifications, and in Source or Object form, provided that You
-      meet the following conditions:
-
-      (a) You must give any other recipients of the Work or
-          Derivative Works a copy of this License; and
-
-      (b) You must cause any modified files to carry prominent notices
-          stating that You changed the files; and
-
-      (c) You must retain, in the Source form of any Derivative Works
-          that You distribute, all copyright, patent, trademark, and
-          attribution notices from the Source form of the Work,
-          excluding those notices that do not pertain to any part of
-          the Derivative Works; and
-
-      (d) If the Work includes a "NOTICE" text file as part of its
-          distribution, then any Derivative Works that You distribute must
-          include a readable copy of the attribution notices contained
-          within such NOTICE file, excluding those notices that do not
-          pertain to any part of the Derivative Works, in at least one
-          of the following places: within a NOTICE text file distributed
-          as part of the Derivative Works; within the Source form or
-          documentation, if provided along with the Derivative Works; or,
-          within a display generated by the Derivative Works, if and
-          wherever such third-party notices normally appear. The contents
-          of the NOTICE file are for informational purposes only and
-          do not modify the License. You may add Your own attribution
-          notices within Derivative Works that You distribute, alongside
-          or as an addendum to the NOTICE text from the Work, provided
-          that such additional attribution notices cannot be construed
-          as modifying the License.
-
-      You may add Your own copyright statement to Your modifications and
-      may provide additional or different license terms and conditions
-      for use, reproduction, or distribution of Your modifications, or
-      for any such Derivative Works as a whole, provided Your use,
-      reproduction, and distribution of the Work otherwise complies with
-      the conditions stated in this License.
-
-   5. Submission of Contributions. Unless You explicitly state otherwise,
-      any Contribution intentionally submitted for inclusion in the Work
-      by You to the Licensor shall be under the terms and conditions of
-      this License, without any additional terms or conditions.
-      Notwithstanding the above, nothing herein shall supersede or modify
-      the terms of any separate license agreement you may have executed
-      with Licensor regarding such Contributions.
-
-   6. Trademarks. This License does not grant permission to use the trade
-      names, trademarks, service marks, or product names of the Licensor,
-      except as required for reasonable and customary use in describing the
-      origin of the Work and reproducing the content of the NOTICE file.
-
-   7. Disclaimer of Warranty. Unless required by applicable law or
-      agreed to in writing, Licensor provides the Work (and each
-      Contributor provides its Contributions) on an "AS IS" BASIS,
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-      implied, including, without limitation, any warranties or conditions
-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
-      PARTICULAR PURPOSE. You are solely responsible for determining the
-      appropriateness of using or redistributing the Work and assume any
-      risks associated with Your exercise of permissions under this License.
-
-   8. Limitation of Liability. In no event and under no legal theory,
-      whether in tort (including negligence), contract, or otherwise,
-      unless required by applicable law (such as deliberate and grossly
-      negligent acts) or agreed to in writing, shall any Contributor be
-      liable to You for damages, including any direct, indirect, special,
-      incidental, or consequential damages of any character arising as a
-      result of this License or out of the use or inability to use the
-      Work (including but not limited to damages for loss of goodwill,
-      work stoppage, computer failure or malfunction, or any and all
-      other commercial damages or losses), even if such Contributor
-      has been advised of the possibility of such damages.
-
-   9. Accepting Warranty or Additional Liability. While redistributing
-      the Work or Derivative Works thereof, You may choose to offer,
-      and charge a fee for, acceptance of support, warranty, indemnity,
-      or other liability obligations and/or rights consistent with this
-      License. However, in accepting such obligations, You may act only
-      on Your own behalf and on Your sole responsibility, not on behalf
-      of any other Contributor, and only if You agree to indemnify,
-      defend, and hold each Contributor harmless for any liability
-      incurred by, or claims asserted against, such Contributor by reason
-      of your accepting any such warranty or additional liability.
-
-   END OF TERMS AND CONDITIONS
-
-   APPENDIX: How to apply the Apache License to your work.
-
-      To apply the Apache License to your work, attach the following
-      boilerplate notice, with the fields enclosed by brackets "[]"
-      replaced with your own identifying information. (Don't include
-      the brackets!)  The text should be enclosed in the appropriate
-      comment syntax for the file format. We also recommend that a
-      file or class name and description of purpose be included on the
-      same "printed page" as the copyright notice for easier
-      identification within third-party archives.
-
-   Copyright [yyyy] [name of copyright owner]
-
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/7a085965/dcs/NOTICE.txt
----------------------------------------------------------------------
diff --git a/dcs/NOTICE.txt b/dcs/NOTICE.txt
deleted file mode 100644
index 48780e0..0000000
--- a/dcs/NOTICE.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-This product includes software developed by The Apache Software
-Foundation (http://www.apache.org/).
-
-In addition, this product includes software developed by:
-
-JUnit (http://www.junit.org/) included under the Common Public License v1.0.  See
-the full text here: http://junit.sourceforge.net/cpl-v10.html
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/7a085965/dcs/src/main/java/org/trafodion/dcs/util/ByteBufferUtils.java
----------------------------------------------------------------------
diff --git a/dcs/src/main/java/org/trafodion/dcs/util/ByteBufferUtils.java b/dcs/src/main/java/org/trafodion/dcs/util/ByteBufferUtils.java
index 699463a..49325d3 100644
--- a/dcs/src/main/java/org/trafodion/dcs/util/ByteBufferUtils.java
+++ b/dcs/src/main/java/org/trafodion/dcs/util/ByteBufferUtils.java
@@ -1,6 +1,4 @@
 /*
- * Copyright 2015 the original author or authors.
- *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/7a085965/dcs/src/main/java/org/trafodion/dcs/util/SqlUtils.java
----------------------------------------------------------------------
diff --git a/dcs/src/main/java/org/trafodion/dcs/util/SqlUtils.java b/dcs/src/main/java/org/trafodion/dcs/util/SqlUtils.java
index e90a301..2bb7f80 100644
--- a/dcs/src/main/java/org/trafodion/dcs/util/SqlUtils.java
+++ b/dcs/src/main/java/org/trafodion/dcs/util/SqlUtils.java
@@ -1,6 +1,4 @@
 /*
- * Copyright 2015 the original author or authors.
- *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/7a085965/dcs/src/main/resources/dcs-webapps/master/css/stylesheet.css
----------------------------------------------------------------------
diff --git a/dcs/src/main/resources/dcs-webapps/master/css/stylesheet.css b/dcs/src/main/resources/dcs-webapps/master/css/stylesheet.css
deleted file mode 100644
index 55ad4a1..0000000
--- a/dcs/src/main/resources/dcs-webapps/master/css/stylesheet.css
+++ /dev/null
@@ -1,191 +0,0 @@
-@charset "UTF-8";
-/* --- CSS Document by Codify Design Studio - codifydesign.com --- */
-
-body {
-	margin: 0px;
-	color: #777777;
-	font-size: 12px;
-	font-family: Arial;
-	font-family: Georgia, "Times New Roman", Times, serif;
-	background-color: #FFFFFF;
-}
-
-h1 {
-	color: #25476C;
-	font-size: 24px;
-	font-weight: normal;
-	margin: 3px 0px 3px 0px;
-}
-h2 {
-	color: #214265;
-	font-size: 14px;
-	font-weight: normal;
-	margin: 0px 0px 15px 0px;
-}
-h3 {
-	color: #244669;
-	margin-top: 12px;
-	margin-bottom: 0px;
-}
-p {
-	margin-top: 0px;
-	margin-right: 0px;
-	margin-bottom: 12px;
-	margin-left: 0px;
-}
-a          {
-	color: #36C;
-}
-a:visited  { color: black; }
-a:hover    { color: #5872f4; }
-
-.container {
-	width: auto;
-	margin-left: auto;
-	margin-right: auto;
-}
-
-
-/* BANNER AREA */
-.bannerArea {
-	width: 100%;
-	height: 50px;
-	background-color: #3BAAE3;
-	background-repeat: repeat-x;
-	background-position: 50% 50%;
-}
-
-.bannerArea .container {
-	width: auto;
-	height:83px;
-	background-repeat: no-repeat;
-	padding-right: 10px;
-	padding-left: 10px;
-}
-
-.bannernav {
-	padding-top: 20px;
-	float: right;
-	color: #112c4c;
-	font-size: 10px;
-	font-family: Arial, Helvetica, Verdana, sans-serif;
-}
-
-.bannernav a { color: #ffffff; text-decoration: none; }
-.bannernav a:visited { color: #ffffff; }
-.bannernav a:hover {
-	color: #112c4c;
-	text-decoration: none;
-	font-family: Arial, Helvetica, Verdana, sans-serif;
-}
-
-.toplogo {
-	padding-left: 5px;
-	padding-top: 5px;
-}
-
-
-/* TOP NAVIGATION AREA */
-.topnavigationArea {
-	background-repeat:repeat-x;
-	background-color: #436d9c;
-	background-image: url(images/topnav_bkgd.jpg);
-}
-.topnavigationArea .container {
-	background-image: url(images/topnav_bkgd.jpg);
-	background-repeat:repeat-x;
-	background-color: #436d9c;
-	width: 980px;
-}
-
-.topnavigationgroup {
-	margin: 0px;
-	float: right;
-	padding-right: 1px;
-}
-.topnavigationgroup ul {
-	margin: 0px;
-}
-
-.topnavigationitem {
-	max-width: 167px;
-	margin-left: 0px;
-	padding-left: 10px;
-	padding-top: 9px;
-	padding-right: 10px;
-	padding-bottom: 9px;
-	border-left-style: solid;
-	border-left-width: 1px;
-	border-right-style: none;
-	border-right-width: 1px;
-	color: white;
-	font-size: 14px;
-	font-weight: bold;
-	font-family: Arial, Helvetica, Verdana, sans-serif;
-	float: left;
-}
-
-/* CONTENT AREA */
-.contentArea {
-	width: 100%;
-	background-color: #f0eff0;
-	background-image: url(images/content_bkgd_tile.jpg);
-	background-repeat: repeat-x;
-	height: 100%;
-}
-
-
-.contentArea .container {
-	padding-top: 30px;
-	padding-bottom: 30px;
-	background-repeat: repeat;
-	background-color: #f2f2f2;
-	background-image: url(images/content_bkgd_tile.jpg);
-	padding-left: 10px;
-	padding-right: 10px;
-}
-
-.contentleft {
-	width: auto;
-	padding-left: 40px;
-	padding-right: 40px;
-	float: left;
-	border-right-style: solid;
-	border-right-width: 1px;
-}
-
-.contentright {
-	padding-top: 20px;
-	float: left;
-	padding-left: 30px;
-
-	width: 210px;
-}
-
-.imageright {	
-	margin-left: 5px;
-	float: right;
-}
-
-
-/* FOOTER AREA */
-.footerArea {
-	width: 100%;
-	background-color: #DEEDF7;
-	background-repeat: repeat-x;
-	background-image: url(images/ui-bg_highlight-soft_33_003147_1x100.png);
-	background-position: 50% 50%;
-}
-
-.footerArea .container {
-	height: 40px;
-	background-repeat: repeat-x;
-}
-
-.copyright {
-	padding-left: 40px;
-	padding-top: 12px;
-	color: #FFF;
-	font-size: 12px;
-	font-family: Arial, Helvetica, Verdana, sans-serif;
-}

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/7a085965/docs/client_install/source/Trafodion_Client_Installation_Guide.xml
----------------------------------------------------------------------
diff --git a/docs/client_install/source/Trafodion_Client_Installation_Guide.xml b/docs/client_install/source/Trafodion_Client_Installation_Guide.xml
index 85ac48b..947d709 100755
--- a/docs/client_install/source/Trafodion_Client_Installation_Guide.xml
+++ b/docs/client_install/source/Trafodion_Client_Installation_Guide.xml
@@ -24,7 +24,7 @@
 -->
 
 <!--Arbortext, Inc., 1988-2014, v.4002-->
-<!DOCTYPE book PUBLIC "-//Hewlett-Packard ESS//DTD DocBook Extension//EN"
+<!DOCTYPE book PUBLIC "-//Apache Software Foundation (ASF)//DTD DocBook Extension//EN"
  "ess.dtd">
 <book>
 <title>Trafodion Client Installation Guide</title>
@@ -35,7 +35,7 @@
 <abstract condition="hidden">
 <para>Last updated: 04/21/2015</para>
 </abstract>
-<copyright><year>2015</year><holder>Hewlett-Packard Development Company,
+<copyright><year>2015</year><holder>Apache Software Foundation (ASF),
 L.P.</holder></copyright>
 <legalnotice>
 <!--WRITER'S NOTE: HP legal notice for open source release-->
@@ -2899,7 +2899,7 @@ role="select:quotedtitle page"/></para></listitem>
 >basicsql.cpp</filename>:</para>
 <programlisting><![CDATA[// @@@ START COPYRIGHT @@@
 //
-// (C) Copyright 2010-2015 Hewlett-Packard Development Company, L.P.
+// (C) Copyright 2010-2015 Apache Software Foundation (ASF)
 //
 //  Licensed under the Apache License, Version 2.0 (the "License");
 //  you may not use this file except in compliance with the License.

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/7a085965/docs/client_install/source/xml-profile.xml
----------------------------------------------------------------------
diff --git a/docs/client_install/source/xml-profile.xml b/docs/client_install/source/xml-profile.xml
index 0e9b317..4a470f7 100755
--- a/docs/client_install/source/xml-profile.xml
+++ b/docs/client_install/source/xml-profile.xml
@@ -23,7 +23,7 @@
 -->
 
 <!--Arbortext, Inc., 1988-2014, v.4002-->
-<!DOCTYPE xidi:xidi PUBLIC "-//Hewlett-Packard//DTD XIDI Specifications V1.0//EN"
+<!DOCTYPE xidi:xidi PUBLIC "-//Apache Software Foundation (ASF)//DTD XIDI Specifications V1.0//EN"
  "xidi-xidi.dtd">
 <xidi:xidi>
 <!--Profiling Information-->

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/7a085965/docs/command_interface/source/Trafodion_Command_Interface_Guide.xml
----------------------------------------------------------------------
diff --git a/docs/command_interface/source/Trafodion_Command_Interface_Guide.xml b/docs/command_interface/source/Trafodion_Command_Interface_Guide.xml
index bb668ee..9dadb5a 100755
--- a/docs/command_interface/source/Trafodion_Command_Interface_Guide.xml
+++ b/docs/command_interface/source/Trafodion_Command_Interface_Guide.xml
@@ -24,7 +24,7 @@
 -->
 
 <!--Arbortext, Inc., 1988-2014, v.4002-->
-<!DOCTYPE book PUBLIC "-//Hewlett-Packard ESS//DTD DocBook Extension//EN"
+<!DOCTYPE book PUBLIC "-//Apache Software Foundation (ASF)//DTD DocBook Extension//EN"
  "ess.dtd">
 <book>
 <title>Trafodion Command Interface Guide</title>
@@ -35,8 +35,8 @@
 <abstract condition="hidden">
 <para>Last updated: 5/28/2014</para>
 </abstract>
-<copyright><year>2014</year><holder>Hewlett-Packard Development Company,
-L.P.</holder></copyright>
+<copyright><year>2015</year><holder> Apache Software Foundation (ASF),
+</holder></copyright>
 <legalnotice>
 <!--WRITER'S NOTE: HP legal notice for open source release-->
 <title>Legal Notice</title>
@@ -749,8 +749,8 @@ trafci.cmd -h 16.123.456.78:23400 -u user1 ‑p xxxxxx</programlisting>
 ./trafci.sh -h 16.123.456.78:23400 -u user1 -p xxxxxx</programlisting>
 <para>TrafCI launches and prompts you to enter an SQL statement or
 an interface command:</para>
-<programlisting>Welcome to Trafodion Command Interface 
-Copyright(C) 2013–2014 Hewlett-Packard Development Company, L.P.
+<programlisting>Welcome to Apache Trafodion Command Interface 
+Copyright(C) 2015 Apache Software Foundation (ASF)
 
 Connected to Trafodion
 
@@ -775,8 +775,8 @@ of three retries, before it closes the session.</para>
 you to reenter the host name. For example:</para>
 <screen><computeroutput>trafci –h dd 
 
-Welcome to Trafodion Command Interface 
-Copyright(C) 2013–2014 Hewlett-Packard Development Company, L.P.
+Welcome to Apache Trafodion Command Interface 
+Copyright(C) 2015 Apache Software Foundation
 
 Unknown Host: dd
 
@@ -796,8 +796,8 @@ name and password. After three unsuccessful retries, the session is
 terminated:</para>
 <screen><computeroutput>trafci –h 172.16.1.1 –u user1 –p x
  
-Welcome to Trafodion Command Interface 
-Copyright(C) 2013–2014 Hewlett-Packard Development Company, L.P.
+Welcome to Apache Trafodion Command Interface 
+Copyright(C) 2015 Apache Software Foundation
 
 *** ERROR[8837] CLI Authentication : User: user1 : invalid username or password [2014-03-12 16:23:44]
 
@@ -1048,7 +1048,7 @@ Password:
 
 --- SQL operation complete.
 
-C:\Program Files (x86)\Hewlett-Packard\Trafodion Command Interface\bin>_</programlisting>
+C:\Program Files (x86)\Apache Software Foundation\Apache Trafodion Command Interface\bin>_</programlisting>
 </section>
 <section>
 <title>Example of Running an Interface Command With ‑q or ‑sql</title>
@@ -1133,8 +1133,8 @@ did not specify <literal>‑h</literal>, <literal>‑u</literal>, and <literal
 >‑p</literal><phrase condition="hidden">, and <literal>‑dsn</literal
 ></phrase> on the command line), and runs the commands in the script
 file:</para>
-<programlisting>Welcome to Trafodion Command Interface 
-Copyright(C) 2013–2014 Hewlett-Packard Development Company, L.P.
+<programlisting>Welcome to Apache Trafodion Command Interface 
+Copyright(C) 2015 Apache Software Foundation
 
 Host Name/IP Address: 16.123.456.78:23400
 User Name: user1
@@ -1204,8 +1204,8 @@ they are ignored.</para>
 <!--WRITER'S NOTE: Updated based on the current behavior (2/4/2014):-->
 <programlisting>./trafci.sh ‑version
 
-Welcome to Trafodion Command Interface 
-Copyright(C) 2013–2014 Hewlett-Packard Development Company, L.P.
+Welcome to Apache Trafodion Command Interface 
+Copyright(C) 2015 Apache Software Foundation
 
 Trafodion JDBC Type 4 Driver    : Traf_JDBC_Type4_Build_40646
 Trafodion Command Interface     : TrafCI_Build_40646</programlisting>
@@ -2790,7 +2790,7 @@ at a command prompt. For example:</para>
 </itemizedlist>
 <section id="i1005875">
 <title>Example of a Perl Program (sample.pl)</title>
-<programlisting>use lib 'C:\\Program Files (x86)\\Hewlett-Packard\\Trafodion Command Interface\\lib\\perl';
+<programlisting>use lib 'C:\\Program Files (x86)\\Apache Software Foundation\\Apache Trafodion Command Interface\\lib\\perl';
 use Session;
 
 # create a new session 
@@ -2815,7 +2815,7 @@ $sess->disconnect();
 <programlisting>import os
 import sys
 ## Modify this path 
-sys.path.append("C:\\Program Files (x86)\\Hewlett-Packard\\Trafodion Command Interface\\lib\\python")
+sys.path.append("C:\\Program Files (x86)\\Apache Software Foundation\\Apache Trafodion Command Interface\\lib\\python")
 import Session
 
 # create a new session
@@ -3353,7 +3353,7 @@ names, TrafCI uses the current catalog and schema.</para></listitem>
 <listitem><para>is the directory of the JAR file on the client workstation.
 If you omit the directory, TrafCI searches for the JAR file in the
 same location as the TrafCI Windows launch file, <filename>trafci.cmd</filename
->, in <filename class="directory">C:\Program Files (x86)\Hewlett-Packard\Trafodion
+>, in <filename class="directory">C:\Program Files (x86)\Apache Software Foundation\Apache Trafodion
 Command Interface\bin</filename>.</para></listitem>
 </varlistentry>
 <varlistentry><term><replaceable>jar-file-name</replaceable></term>
@@ -4732,7 +4732,7 @@ the folder. </para>
 Volume in drive C is E-Client
 Volume Serial Number is DC4F-5B3B
 
-Directory of c:\Program Files (x86)\Hewlett-Packard\Trafodion Command Interface\bin
+Directory of c:\Program Files (x86)\Apache Software Foundation\Apache Trafodion Command Interface\bin
 
 05/11/2014 01:17 PM  &lt;DIR>
 05/11/2014 01:17 PM  &lt;DIR>
@@ -4974,7 +4974,7 @@ names, TrafCI uses the current catalog and schema.</para></listitem>
 <listitem><para>is the directory of the JAR file on the client workstation.
 If you omit the directory, TrafCI searches for the JAR file in the
 same location as the TrafCI Windows launch file, <filename>trafci.cmd</filename
->, in <filename class="directory">C:\Program Files (x86)\Hewlett-Packard\Trafodion
+>, in <filename class="directory">C:\Program Files (x86)\Apache Software Foundation\Apache Trafodion
 Command Interface\bin</filename>.</para></listitem>
 </varlistentry>
 <varlistentry><term><replaceable>jar-file-name</replaceable></term>
@@ -9825,9 +9825,9 @@ SQL>
 > parameter, the VERSION command displays only TrafCI and the Trafodion
 JDBC Type 4 Driver versions.</para>
 <!--WRITER'S NOTE: Updated output based on the current behavior (5/28/2014).-->
-<programlisting>C:\Program Files (x86)\Hewlett-Packard\Trafodion Command Interface\bin>trafci -noconnect
-Welcome to Trafodion Command Interface
-Copyright(C) 2013–2014 Hewlett-Packard Development Company, L.P.
+<programlisting>C:\Program Files (x86)\Apache Software Foundation\Apache Trafodion Command Interface\bin>trafci -noconnect
+Welcome to Apache Trafodion Command Interface
+Copyright(C) 2015 Apache Software Foundation
 
 Not connected.
 

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/7a085965/docs/command_interface/source/xml-profile.xml
----------------------------------------------------------------------
diff --git a/docs/command_interface/source/xml-profile.xml b/docs/command_interface/source/xml-profile.xml
index 0e9b317..4a470f7 100755
--- a/docs/command_interface/source/xml-profile.xml
+++ b/docs/command_interface/source/xml-profile.xml
@@ -23,7 +23,7 @@
 -->
 
 <!--Arbortext, Inc., 1988-2014, v.4002-->
-<!DOCTYPE xidi:xidi PUBLIC "-//Hewlett-Packard//DTD XIDI Specifications V1.0//EN"
+<!DOCTYPE xidi:xidi PUBLIC "-//Apache Software Foundation (ASF)//DTD XIDI Specifications V1.0//EN"
  "xidi-xidi.dtd">
 <xidi:xidi>
 <!--Profiling Information-->



[02/10] incubator-trafodion git commit: TRAFODION-1636 & TRAFODION-1642

Posted by rm...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/7a085965/docs/odb_manual/Trafodion_odb_User_Guide.xml
----------------------------------------------------------------------
diff --git a/docs/odb_manual/Trafodion_odb_User_Guide.xml b/docs/odb_manual/Trafodion_odb_User_Guide.xml
index 3364d1f..fed681e 100755
--- a/docs/odb_manual/Trafodion_odb_User_Guide.xml
+++ b/docs/odb_manual/Trafodion_odb_User_Guide.xml
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <?mso-application progid="Word.Document"?>
-<pkg:package xmlns:pkg="http://schemas.microsoft.com/office/2006/xmlPackage"><pkg:part pkg:name="/_rels/.rels" pkg:contentType="application/vnd.openxmlformats-package.relationships+xml" pkg:padding="512"><pkg:xmlData><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" Target="docProps/app.xml"/><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" Target="docProps/core.xml"/><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="word/document.xml"/><Relationship Id="rId4" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties" Target="docProps/custom.xml"/></Relationships></pkg:xmlData></pkg:part><pkg:part pkg:name="/word/_rels/document.xml.rels" pkg:contentType="applica
 tion/vnd.openxmlformats-package.relationships+xml" pkg:padding="256"><pkg:xmlData><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId8" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/webSettings" Target="webSettings.xml"/><Relationship Id="rId13" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" Target="mailto:trafodion-documentation@lists.launchpad.net" TargetMode="External"/><Relationship Id="rId18" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" Target="https://wiki.trafodion.org/wiki/index.php/Technology_Preview_Features" TargetMode="External"/><Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml" Target="../customXml/item3.xml"/><Relationship Id="rId21" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" Target="media/image1.png"/><Relationship 
 Id="rId7" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings" Target="settings.xml"/><Relationship Id="rId12" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" Target="https://wiki.trafodion.org/wiki/index.php/Technology_Preview_Features" TargetMode="External"/><Relationship Id="rId17" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" Target="https://wiki.trafodion.org/wiki/index.php/Data_Loading" TargetMode="External"/><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml" Target="../customXml/item2.xml"/><Relationship Id="rId16" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" Target="http://www.unixodbc.org" TargetMode="External"/><Relationship Id="rId20" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" Target="https://wiki.trafodion.org/wiki/index.php/Tec
 hnology_Preview_Features" TargetMode="External"/><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml" Target="../customXml/item1.xml"/><Relationship Id="rId6" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" Target="styles.xml"/><Relationship Id="rId11" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" Target="http://www.apache.org/licenses/LICENSE-2.0" TargetMode="External"/><Relationship Id="rId24" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" Target="theme/theme1.xml"/><Relationship Id="rId5" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering" Target="numbering.xml"/><Relationship Id="rId15" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" Target="https://wiki.trafodion.org/wiki/index.php/Technology_Preview_Features" TargetMode="External"/><Relationship Id
 ="rId23" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable" Target="fontTable.xml"/><Relationship Id="rId10" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/endnotes" Target="endnotes.xml"/><Relationship Id="rId19" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" Target="https://wiki.trafodion.org/wiki/index.php/Technology_Preview_Features" TargetMode="External"/><Relationship Id="rId4" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml" Target="../customXml/item4.xml"/><Relationship Id="rId9" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes" Target="footnotes.xml"/><Relationship Id="rId14" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" Target="https://wiki.trafodion.org/wiki/index.php/Technology_Preview_Features" TargetMode="External"/><Relationship Id="rId22" Type="http://schemas.op
 enxmlformats.org/officeDocument/2006/relationships/footer" Target="footer1.xml"/></Relationships></pkg:xmlData></pkg:part><pkg:part pkg:name="/word/document.xml" pkg:contentType="application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml"><pkg:xmlData><w:document mc:Ignorable="w14 w15 wp14" xmlns:wpc="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:wp14="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing" xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" xmlns:w10="urn:schemas-microsoft-com:office:word" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:w14="h
 ttp://schemas.microsoft.com/office/word/2010/wordml" xmlns:w15="http://schemas.microsoft.com/office/word/2012/wordml" xmlns:wpg="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup" xmlns:wpi="http://schemas.microsoft.com/office/word/2010/wordprocessingInk" xmlns:wne="http://schemas.microsoft.com/office/word/2006/wordml" xmlns:wps="http://schemas.microsoft.com/office/word/2010/wordprocessingShape"><w:body><w:p w14:paraId="5FF0A378" w14:textId="0C2D9B22" w:rsidR="00E10C98" w:rsidRPr="005F1B84" w:rsidRDefault="00DD348C" w:rsidP="005F1B84"><w:pPr><w:pStyle w:val="Title"/></w:pPr><w:bookmarkStart w:id="0" w:name="_Toc218677485"/><w:bookmarkStart w:id="1" w:name="_Toc218684300"/><w:bookmarkStart w:id="2" w:name="_GoBack"/><w:bookmarkEnd w:id="2"/><w:r><w:t xml:space="preserve">Trafodion </w:t></w:r><w:r w:rsidR="00E10C98" w:rsidRPr="005A586C"><w:t xml:space="preserve">odb </w:t></w:r><w:bookmarkEnd w:id="0"/><w:bookmarkEnd w:id="1"/><w:r w:rsidR="00440B5C"><w:t>User Guide</
 w:t></w:r></w:p><w:p w14:paraId="5FF0A379" w14:textId="5817B698" w:rsidR="004B4B04" w:rsidRPr="0080292C" w:rsidRDefault="00440B5C" w:rsidP="005F1B84"><w:pPr><w:pStyle w:val="Subtitle"/></w:pPr><w:r><w:t>Trafodion Release 1.1</w:t></w:r><w:r w:rsidR="00721335"><w:t xml:space="preserve">—April </w:t></w:r><w:r w:rsidR="00D64875"><w:t>2015</w:t></w:r></w:p><w:p w14:paraId="5FF0A37A" w14:textId="77777777" w:rsidR="00BF7F46" w:rsidRPr="0080292C" w:rsidRDefault="00BF7F46" w:rsidP="00E10C98"/><w:p w14:paraId="5FF0A37B" w14:textId="17FA8465" w:rsidR="005F1B84" w:rsidRPr="00BE1BBC" w:rsidRDefault="00440B5C" w:rsidP="005F1B84"><w:pPr><w:rPr><w:lang w:val="it-IT"/></w:rPr></w:pPr><w:r><w:rPr><w:lang w:val="it-IT"/></w:rPr><w:t xml:space="preserve">Part Number: </w:t></w:r><w:r w:rsidR="006A7CF2"><w:rPr><w:lang w:val="it-IT"/></w:rPr><w:t>T632-110-001</w:t></w:r></w:p><w:p w14:paraId="5FF0A37C" w14:textId="1CC90659" w:rsidR="00D734C9" w:rsidRDefault="00440B5C" w:rsidP="005F1B84"><w:r><w:t>Pub
 lished: April 2015</w:t></w:r></w:p><w:p w14:paraId="67053C00" w14:textId="4EDBCAA1" w:rsidR="00440B5C" w:rsidRPr="00F16C0F" w:rsidRDefault="00440B5C" w:rsidP="005F1B84"><w:r><w:t>Edition: Trafodion Release 1.1</w:t></w:r></w:p><w:p w14:paraId="5FF0A37D" w14:textId="77777777" w:rsidR="00277CAD" w:rsidRPr="00F16C0F" w:rsidRDefault="00277CAD"><w:pPr><w:spacing w:before="0" w:after="0"/></w:pPr><w:r w:rsidRPr="00F16C0F"><w:br w:type="page"/></w:r></w:p><w:p w14:paraId="1259D9F3" w14:textId="77777777" w:rsidR="00DF7D3F" w:rsidRDefault="00DF7D3F" w:rsidP="00DF7D3F"><w:r w:rsidRPr="009C106B"><w:lastRenderedPageBreak/><w:t>© Copyright 2015 Hewlett-Packard Development Company, L.P.</w:t></w:r></w:p><w:p w14:paraId="1C0AF262" w14:textId="77777777" w:rsidR="00DF7D3F" w:rsidRPr="00DF7D3F" w:rsidRDefault="00DF7D3F" w:rsidP="00DF7D3F"><w:pPr><w:rPr><w:b/></w:rPr></w:pPr><w:bookmarkStart w:id="3" w:name="_Toc412629956"/><w:r w:rsidRPr="00DF7D3F"><w:rPr><w:b/></w:rPr><w:t>Legal Notice</w:t></w:r>
 <w:bookmarkEnd w:id="3"/></w:p><w:p w14:paraId="6B01486E" w14:textId="77777777" w:rsidR="00DF7D3F" w:rsidRDefault="00DF7D3F" w:rsidP="004C263E"><w:pPr><w:spacing w:before="120" w:after="120"/></w:pPr><w:r><w:t>The information contained herein is subject to change without notice. This documentation is distributed on an “AS IS” basis, without warranties or conditions of any kind, either express or implied. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein.</w:t></w:r></w:p><w:p w14:paraId="2B4491F5" w14:textId="77777777" w:rsidR="00DF7D3F" w:rsidRDefault="00DF7D3F" w:rsidP="00DF7D3F"><w:r><w:t xml:space="preserve">NOTICE REGARDING OPEN SOURCE SOFTWARE: Project Trafodion is licensed under the Apache License, Version 2.0 (the "License"); you may not use software from Project Trafodion except in compliance with the License. You may obtain a copy of the License at </w:t></w:
 r><w:hyperlink r:id="rId11" w:history="1"><w:r w:rsidRPr="002F5A01"><w:rPr><w:rStyle w:val="Hyperlink"/></w:rPr><w:t>http://www.apache.org/licenses/LICENSE-2.0</w:t></w:r></w:hyperlink><w:r><w:t>. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.</w:t></w:r></w:p><w:p w14:paraId="1A2420D9" w14:textId="770CF7D9" w:rsidR="00DF7D3F" w:rsidRDefault="00DF7D3F"><w:pPr><w:spacing w:before="0" w:after="0"/></w:pPr><w:r><w:br w:type="page"/></w:r></w:p><w:p w14:paraId="478D49ED" w14:textId="1183D9E7" w:rsidR="00DF7D3F" w:rsidRPr="004D3605" w:rsidRDefault="004D3605" w:rsidP="00EE42E1"><w:pPr><w:pStyle w:val="Heading1nonumber"/></w:pPr><w:bookmarkStart w:id="4" w:name="_Toc414873730"/><w:bookmarkStart w:id="5" w:name="_Toc415656351"/><w:bookm
 arkStart w:id="6" w:name="_Toc415659638"/><w:bookmarkStart w:id="7" w:name="_Toc415662182"/><w:bookmarkStart w:id="8" w:name="_Toc416258446"/><w:bookmarkStart w:id="9" w:name="_Toc416261117"/><w:bookmarkStart w:id="10" w:name="_Toc417459024"/><w:bookmarkStart w:id="11" w:name="_Toc417975703"/><w:r w:rsidRPr="004D3605"><w:t>Table of Contents</w:t></w:r><w:bookmarkEnd w:id="4"/><w:bookmarkEnd w:id="5"/><w:bookmarkEnd w:id="6"/><w:bookmarkEnd w:id="7"/><w:bookmarkEnd w:id="8"/><w:bookmarkEnd w:id="9"/><w:bookmarkEnd w:id="10"/><w:bookmarkEnd w:id="11"/></w:p><w:p w14:paraId="260C7F7F" w14:textId="4AB47716" w:rsidR="00FF0AB1" w:rsidRDefault="00523E57"><w:pPr><w:pStyle w:val="TOC1"/><w:tabs><w:tab w:val="right" w:leader="dot" w:pos="11036"/></w:tabs><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr></w:pPr><w:r w:rsidRPr="005A586C
 "><w:fldChar w:fldCharType="begin"/></w:r><w:r w:rsidR="0027302D" w:rsidRPr="005A586C"><w:instrText xml:space="preserve"> TOC \o "1-3" \h \z \u </w:instrText></w:r><w:r w:rsidRPr="005A586C"><w:fldChar w:fldCharType="separate"/></w:r><w:hyperlink w:anchor="_Toc417975704" w:history="1"><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>About This Document</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="begin"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:instrText xml:space="preserve"> PAGEREF _Toc417975704 \h </w:instrText></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="separate"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w
 :t>5</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="end"/></w:r></w:hyperlink></w:p><w:p w14:paraId="4883EC79" w14:textId="77777777" w:rsidR="00FF0AB1" w:rsidRDefault="00DA20B7"><w:pPr><w:pStyle w:val="TOC2"/><w:tabs><w:tab w:val="right" w:leader="dot" w:pos="11036"/></w:tabs><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr></w:pPr><w:hyperlink w:anchor="_Toc417975705" w:history="1"><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>Intended Audience</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="begin"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:instrTex
 t xml:space="preserve"> PAGEREF _Toc417975705 \h </w:instrText></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="separate"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:t>5</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="end"/></w:r></w:hyperlink></w:p><w:p w14:paraId="0813C6C9" w14:textId="77777777" w:rsidR="00FF0AB1" w:rsidRDefault="00DA20B7"><w:pPr><w:pStyle w:val="TOC2"/><w:tabs><w:tab w:val="right" w:leader="dot" w:pos="11036"/></w:tabs><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr></w:pPr><w:hyperlink w:anchor="_Toc417975706" w:history="1"><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/
 ><w:noProof/></w:rPr><w:t>New and Changed Information in This Edition</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="begin"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:instrText xml:space="preserve"> PAGEREF _Toc417975706 \h </w:instrText></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="separate"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:t>5</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="end"/></w:r></w:hyperlink></w:p><w:p w14:paraId="79BDC4EA" w14:textId="77777777" w:rsidR="00FF0AB1" w:rsidRDefault="00DA20B7"><w:pPr><w:pStyle w:val="TOC2"/><w:tabs><w:tab w:val="right" w:leader="dot" w:pos="11036"/></w:tabs><w:rPr><w
 :rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr></w:pPr><w:hyperlink w:anchor="_Toc417975707" w:history="1"><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>Document Conventions</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="begin"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:instrText xml:space="preserve"> PAGEREF _Toc417975707 \h </w:instrText></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="separate"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:t>5</w:t></w:r><w:r w:
 rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="end"/></w:r></w:hyperlink></w:p><w:p w14:paraId="0038322F" w14:textId="77777777" w:rsidR="00FF0AB1" w:rsidRDefault="00DA20B7"><w:pPr><w:pStyle w:val="TOC2"/><w:tabs><w:tab w:val="right" w:leader="dot" w:pos="11036"/></w:tabs><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr></w:pPr><w:hyperlink w:anchor="_Toc417975708" w:history="1"><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>Publishing History</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="begin"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:instrText xml:space="preserve"
 > PAGEREF _Toc417975708 \h </w:instrText></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="separate"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:t>5</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="end"/></w:r></w:hyperlink></w:p><w:p w14:paraId="06E9DB37" w14:textId="77777777" w:rsidR="00FF0AB1" w:rsidRDefault="00DA20B7"><w:pPr><w:pStyle w:val="TOC2"/><w:tabs><w:tab w:val="right" w:leader="dot" w:pos="11036"/></w:tabs><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr></w:pPr><w:hyperlink w:anchor="_Toc417975709" w:history="1"><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><
 w:t>We Encourage Your Comments</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="begin"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:instrText xml:space="preserve"> PAGEREF _Toc417975709 \h </w:instrText></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="separate"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:t>5</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="end"/></w:r></w:hyperlink></w:p><w:p w14:paraId="548B91EA" w14:textId="77777777" w:rsidR="00FF0AB1" w:rsidRDefault="00DA20B7"><w:pPr><w:pStyle w:val="TOC1"/><w:tabs><w:tab w:val="left" w:pos="400"/><w:tab w:val="right" w:leader="dot" w:pos="11036"/></w:tabs><w:rPr><w:rFont
 s w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr></w:pPr><w:hyperlink w:anchor="_Toc417975710" w:history="1"><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>1</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>Introduction</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="begin"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:
 rPr><w:instrText xml:space="preserve"> PAGEREF _Toc417975710 \h </w:instrText></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="separate"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:t>6</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="end"/></w:r></w:hyperlink></w:p><w:p w14:paraId="0969AA6C" w14:textId="77777777" w:rsidR="00FF0AB1" w:rsidRDefault="00DA20B7"><w:pPr><w:pStyle w:val="TOC2"/><w:tabs><w:tab w:val="left" w:pos="800"/><w:tab w:val="right" w:leader="dot" w:pos="11036"/></w:tabs><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr></w:pPr><w:hyperlink w:anchor="_Toc417975711" w:history="1"><w:r w:rsidR="00FF0AB1" w:rsidRP
 r="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>1.1</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>What is odb</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="begin"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:instrText xml:space="preserve"> PAGEREF _Toc417975711 \h </w:instrText></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="separate"/></w:r><w:r w:rsidR="00FF0AB1"
 ><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:t>6</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="end"/></w:r></w:hyperlink></w:p><w:p w14:paraId="35BBB56C" w14:textId="77777777" w:rsidR="00FF0AB1" w:rsidRDefault="00DA20B7"><w:pPr><w:pStyle w:val="TOC1"/><w:tabs><w:tab w:val="left" w:pos="400"/><w:tab w:val="right" w:leader="dot" w:pos="11036"/></w:tabs><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr></w:pPr><w:hyperlink w:anchor="_Toc417975712" w:history="1"><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>2</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><
 w:lang w:eastAsia="en-US"/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>Installation and Configuration</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="begin"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:instrText xml:space="preserve"> PAGEREF _Toc417975712 \h </w:instrText></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="separate"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:t>7</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="end"/></w:r></w:hyperlink></w:p><w:p w14:paraId="7D2BAEF2" w14:textId="77777777" w:rsidR="00FF0AB1" w:rsidRDefault="00
 DA20B7"><w:pPr><w:pStyle w:val="TOC2"/><w:tabs><w:tab w:val="left" w:pos="800"/><w:tab w:val="right" w:leader="dot" w:pos="11036"/></w:tabs><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr></w:pPr><w:hyperlink w:anchor="_Toc417975713" w:history="1"><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>2.1</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>odb Requirements</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:tab/></w:r><w:r 
 w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="begin"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:instrText xml:space="preserve"> PAGEREF _Toc417975713 \h </w:instrText></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="separate"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:t>7</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="end"/></w:r></w:hyperlink></w:p><w:p w14:paraId="0FE37B65" w14:textId="77777777" w:rsidR="00FF0AB1" w:rsidRDefault="00DA20B7"><w:pPr><w:pStyle w:val="TOC2"/><w:tabs><w:tab w:val="left" w:pos="800"/><w:tab w:val="right" w:leader="dot" w:pos="11036"/></w:tabs><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz
  w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr></w:pPr><w:hyperlink w:anchor="_Toc417975714" w:history="1"><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>2.2</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>Installing and Configuring the Required unixODBC</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="begin"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:instrText xml:space="preserve"> PAGEREF _Toc417975714 \h </w:instrText></w:r><w:r
  w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="separate"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:t>7</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="end"/></w:r></w:hyperlink></w:p><w:p w14:paraId="25018060" w14:textId="77777777" w:rsidR="00FF0AB1" w:rsidRDefault="00DA20B7"><w:pPr><w:pStyle w:val="TOC2"/><w:tabs><w:tab w:val="left" w:pos="800"/><w:tab w:val="right" w:leader="dot" w:pos="11036"/></w:tabs><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr></w:pPr><w:hyperlink w:anchor="_Toc417975715" w:history="1"><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>2.3</w:t></w:r
 ><w:r w:rsidR="00FF0AB1"><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>Installing odb</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="begin"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:instrText xml:space="preserve"> PAGEREF _Toc417975715 \h </w:instrText></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="separate"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:t>9</w:t></w:r><w:r w:rsidR="00FF0AB1"><
 w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="end"/></w:r></w:hyperlink></w:p><w:p w14:paraId="45A69C92" w14:textId="77777777" w:rsidR="00FF0AB1" w:rsidRDefault="00DA20B7"><w:pPr><w:pStyle w:val="TOC1"/><w:tabs><w:tab w:val="left" w:pos="400"/><w:tab w:val="right" w:leader="dot" w:pos="11036"/></w:tabs><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr></w:pPr><w:hyperlink w:anchor="_Toc417975716" w:history="1"><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>3</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1" w:rsidRPr="0
 0523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>Basic Concepts</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="begin"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:instrText xml:space="preserve"> PAGEREF _Toc417975716 \h </w:instrText></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="separate"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:t>10</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="end"/></w:r></w:hyperlink></w:p><w:p w14:paraId="23D161A3" w14:textId="77777777" w:rsidR="00FF0AB1" w:rsidRDefault="00DA20B7"><w:pPr><w:pStyle w:val="TOC2"/><w:tabs><w:tab w:val="left" w:pos="800"/><w:tab w:val="right"
  w:leader="dot" w:pos="11036"/></w:tabs><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr></w:pPr><w:hyperlink w:anchor="_Toc417975717" w:history="1"><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>3.1</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>Getting Help</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="begin"/></w:r><w:r
  w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:instrText xml:space="preserve"> PAGEREF _Toc417975717 \h </w:instrText></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="separate"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:t>10</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="end"/></w:r></w:hyperlink></w:p><w:p w14:paraId="329B6077" w14:textId="77777777" w:rsidR="00FF0AB1" w:rsidRDefault="00DA20B7"><w:pPr><w:pStyle w:val="TOC2"/><w:tabs><w:tab w:val="left" w:pos="800"/><w:tab w:val="right" w:leader="dot" w:pos="11036"/></w:tabs><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr></w:pPr><w:hyperlink w:anchor="_To
 c417975718" w:history="1"><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>3.2</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>Connecting to a Database</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="begin"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:instrText xml:space="preserve"> PAGEREF _Toc417975718 \h </w:instrText></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w
 :rPr><w:fldChar w:fldCharType="separate"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:t>11</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="end"/></w:r></w:hyperlink></w:p><w:p w14:paraId="0DD07C31" w14:textId="77777777" w:rsidR="00FF0AB1" w:rsidRDefault="00DA20B7"><w:pPr><w:pStyle w:val="TOC2"/><w:tabs><w:tab w:val="left" w:pos="800"/><w:tab w:val="right" w:leader="dot" w:pos="11036"/></w:tabs><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr></w:pPr><w:hyperlink w:anchor="_Toc417975719" w:history="1"><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>3.3</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" 
 w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>Listing Available ODBC Drivers and Data Sources</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="begin"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:instrText xml:space="preserve"> PAGEREF _Toc417975719 \h </w:instrText></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="separate"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:t>12</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="end"/></w:r></w:hyperlink>
 </w:p><w:p w14:paraId="123917CE" w14:textId="77777777" w:rsidR="00FF0AB1" w:rsidRDefault="00DA20B7"><w:pPr><w:pStyle w:val="TOC2"/><w:tabs><w:tab w:val="left" w:pos="800"/><w:tab w:val="right" w:leader="dot" w:pos="11036"/></w:tabs><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr></w:pPr><w:hyperlink w:anchor="_Toc417975720" w:history="1"><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>3.4</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>Obtaining Database I
 nformation</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="begin"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:instrText xml:space="preserve"> PAGEREF _Toc417975720 \h </w:instrText></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="separate"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:t>12</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="end"/></w:r></w:hyperlink></w:p><w:p w14:paraId="3352EF90" w14:textId="77777777" w:rsidR="00FF0AB1" w:rsidRDefault="00DA20B7"><w:pPr><w:pStyle w:val="TOC2"/><w:tabs><w:tab w:val="left" w:pos="800"/><w:tab w:val="right" w:leader="dot" w:pos="11036"/></w:tabs><w:rPr><w:rFonts w:asciiTheme="min
 orHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr></w:pPr><w:hyperlink w:anchor="_Toc417975721" w:history="1"><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>3.5</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>Performing Actions on Multiple Database Objects</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="begin"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/>
 <w:webHidden/></w:rPr><w:instrText xml:space="preserve"> PAGEREF _Toc417975721 \h </w:instrText></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="separate"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:t>13</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="end"/></w:r></w:hyperlink></w:p><w:p w14:paraId="0FBD23DC" w14:textId="77777777" w:rsidR="00FF0AB1" w:rsidRDefault="00DA20B7"><w:pPr><w:pStyle w:val="TOC2"/><w:tabs><w:tab w:val="left" w:pos="800"/><w:tab w:val="right" w:leader="dot" w:pos="11036"/></w:tabs><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr></w:pPr><w:hyperlink w:anchor="_Toc417975722" w:history="1"><w:r w:rsidR=
 "00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>3.6</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>Running Commands and Scripts</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="begin"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:instrText xml:space="preserve"> PAGEREF _Toc417975722 \h </w:instrText></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="sepa
 rate"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:t>14</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="end"/></w:r></w:hyperlink></w:p><w:p w14:paraId="66155967" w14:textId="77777777" w:rsidR="00FF0AB1" w:rsidRDefault="00DA20B7"><w:pPr><w:pStyle w:val="TOC2"/><w:tabs><w:tab w:val="left" w:pos="800"/><w:tab w:val="right" w:leader="dot" w:pos="11036"/></w:tabs><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr></w:pPr><w:hyperlink w:anchor="_Toc417975723" w:history="1"><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>3.7</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/>
 <w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>Using “here document” Syntax in Shell Scripts</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="begin"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:instrText xml:space="preserve"> PAGEREF _Toc417975723 \h </w:instrText></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="separate"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:t>15</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="end"/></w:r></w:hyperlink></w:p><w:p w14:paraId="5C13C43F" 
 w14:textId="77777777" w:rsidR="00FF0AB1" w:rsidRDefault="00DA20B7"><w:pPr><w:pStyle w:val="TOC2"/><w:tabs><w:tab w:val="left" w:pos="800"/><w:tab w:val="right" w:leader="dot" w:pos="11036"/></w:tabs><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr></w:pPr><w:hyperlink w:anchor="_Toc417975724" w:history="1"><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>3.8</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>Running Multiple Commands and Scripts in Parallel</w:
 t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="begin"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:instrText xml:space="preserve"> PAGEREF _Toc417975724 \h </w:instrText></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="separate"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:t>15</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="end"/></w:r></w:hyperlink></w:p><w:p w14:paraId="7D5C7A14" w14:textId="77777777" w:rsidR="00FF0AB1" w:rsidRDefault="00DA20B7"><w:pPr><w:pStyle w:val="TOC2"/><w:tabs><w:tab w:val="left" w:pos="800"/><w:tab w:val="right" w:leader="dot" w:pos="11036"/></w:tabs><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eas
 tAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr></w:pPr><w:hyperlink w:anchor="_Toc417975725" w:history="1"><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>3.9</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>Limiting the Number of Threads Created by odb</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="begin"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></
 w:rPr><w:instrText xml:space="preserve"> PAGEREF _Toc417975725 \h </w:instrText></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="separate"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:t>16</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="end"/></w:r></w:hyperlink></w:p><w:p w14:paraId="5FC43F42" w14:textId="77777777" w:rsidR="00FF0AB1" w:rsidRDefault="00DA20B7"><w:pPr><w:pStyle w:val="TOC2"/><w:tabs><w:tab w:val="left" w:pos="1000"/><w:tab w:val="right" w:leader="dot" w:pos="11036"/></w:tabs><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr></w:pPr><w:hyperlink w:anchor="_Toc417975726" w:history="1"><w:r w:rsidR="00FF0AB1" w:rs
 idRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>3.10</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>Changing the Number of Executions Distributed Across Threads</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="begin"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:instrText xml:space="preserve"> PAGEREF _Toc417975726 \h </w:instrText></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w
 :fldCharType="separate"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:t>16</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="end"/></w:r></w:hyperlink></w:p><w:p w14:paraId="06BBB9B2" w14:textId="77777777" w:rsidR="00FF0AB1" w:rsidRDefault="00DA20B7"><w:pPr><w:pStyle w:val="TOC2"/><w:tabs><w:tab w:val="left" w:pos="1000"/><w:tab w:val="right" w:leader="dot" w:pos="11036"/></w:tabs><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr></w:pPr><w:hyperlink w:anchor="_Toc417975727" w:history="1"><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>3.11</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="mino
 rBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>Learning How Dynamic Load Balancing Works</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="begin"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:instrText xml:space="preserve"> PAGEREF _Toc417975727 \h </w:instrText></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="separate"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:t>17</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="end"/></w:r></w:hyperlink></w:p><w:p w14:paraId
 ="6ACF98A9" w14:textId="77777777" w:rsidR="00FF0AB1" w:rsidRDefault="00DA20B7"><w:pPr><w:pStyle w:val="TOC2"/><w:tabs><w:tab w:val="left" w:pos="1000"/><w:tab w:val="right" w:leader="dot" w:pos="11036"/></w:tabs><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr></w:pPr><w:hyperlink w:anchor="_Toc417975728" w:history="1"><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>3.12</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>Using Variables in odb Scripts</w:t></w
 :r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="begin"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:instrText xml:space="preserve"> PAGEREF _Toc417975728 \h </w:instrText></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="separate"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:t>17</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="end"/></w:r></w:hyperlink></w:p><w:p w14:paraId="392071AC" w14:textId="77777777" w:rsidR="00FF0AB1" w:rsidRDefault="00DA20B7"><w:pPr><w:pStyle w:val="TOC2"/><w:tabs><w:tab w:val="left" w:pos="1000"/><w:tab w:val="right" w:leader="dot" w:pos="11036"/></w:tabs><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsi
 aTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr></w:pPr><w:hyperlink w:anchor="_Toc417975729" w:history="1"><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>3.13</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>Understanding Thread ID, Thread Execution#, and Script Command#</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="begin"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><
 w:webHidden/></w:rPr><w:instrText xml:space="preserve"> PAGEREF _Toc417975729 \h </w:instrText></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="separate"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:t>17</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="end"/></w:r></w:hyperlink></w:p><w:p w14:paraId="2CB5AB14" w14:textId="77777777" w:rsidR="00FF0AB1" w:rsidRDefault="00DA20B7"><w:pPr><w:pStyle w:val="TOC2"/><w:tabs><w:tab w:val="left" w:pos="1000"/><w:tab w:val="right" w:leader="dot" w:pos="11036"/></w:tabs><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr></w:pPr><w:hyperlink w:anchor="_Toc417975730" w:history="1"><w:r w:rsidR=
 "00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>3.14</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>Checking SQL Scripts</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="begin"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:instrText xml:space="preserve"> PAGEREF _Toc417975730 \h </w:instrText></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="separate"/>
 </w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:t>18</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="end"/></w:r></w:hyperlink></w:p><w:p w14:paraId="5070DEB4" w14:textId="77777777" w:rsidR="00FF0AB1" w:rsidRDefault="00DA20B7"><w:pPr><w:pStyle w:val="TOC2"/><w:tabs><w:tab w:val="left" w:pos="1000"/><w:tab w:val="right" w:leader="dot" w:pos="11036"/></w:tabs><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr></w:pPr><w:hyperlink w:anchor="_Toc417975731" w:history="1"><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>3.15</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz
  w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>Using Different Data Sources for Different Threads</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="begin"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:instrText xml:space="preserve"> PAGEREF _Toc417975731 \h </w:instrText></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="separate"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:t>18</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="end"/></w:r></w:hyperlink></w:p><w:p w14:paraId="151C8153" w14:
 textId="77777777" w:rsidR="00FF0AB1" w:rsidRDefault="00DA20B7"><w:pPr><w:pStyle w:val="TOC2"/><w:tabs><w:tab w:val="left" w:pos="1000"/><w:tab w:val="right" w:leader="dot" w:pos="11036"/></w:tabs><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr></w:pPr><w:hyperlink w:anchor="_Toc417975732" w:history="1"><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>3.16</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>Formatting Query Results</w:t></w:r><w:r w:rsidR="00FF0
 AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="begin"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:instrText xml:space="preserve"> PAGEREF _Toc417975732 \h </w:instrText></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="separate"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:t>19</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="end"/></w:r></w:hyperlink></w:p><w:p w14:paraId="019A1024" w14:textId="77777777" w:rsidR="00FF0AB1" w:rsidRDefault="00DA20B7"><w:pPr><w:pStyle w:val="TOC2"/><w:tabs><w:tab w:val="left" w:pos="1000"/><w:tab w:val="right" w:leader="dot" w:pos="11036"/></w:tabs><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia"
  w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr></w:pPr><w:hyperlink w:anchor="_Toc417975733" w:history="1"><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>3.17</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>Extracting Tables’ DDL</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="begin"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:instrText xml:space="preserve"> PAGER
 EF _Toc417975733 \h </w:instrText></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="separate"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:t>19</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="end"/></w:r></w:hyperlink></w:p><w:p w14:paraId="0E69F765" w14:textId="77777777" w:rsidR="00FF0AB1" w:rsidRDefault="00DA20B7"><w:pPr><w:pStyle w:val="TOC1"/><w:tabs><w:tab w:val="left" w:pos="400"/><w:tab w:val="right" w:leader="dot" w:pos="11036"/></w:tabs><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr></w:pPr><w:hyperlink w:anchor="_Toc417975734" w:history="1"><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperl
 ink"/><w:noProof/></w:rPr><w:t>4</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>Loading, Extracting, and Copying Data</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="begin"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:instrText xml:space="preserve"> PAGEREF _Toc417975734 \h </w:instrText></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="separate"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/
 ><w:webHidden/></w:rPr><w:t>21</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="end"/></w:r></w:hyperlink></w:p><w:p w14:paraId="124487A8" w14:textId="77777777" w:rsidR="00FF0AB1" w:rsidRDefault="00DA20B7"><w:pPr><w:pStyle w:val="TOC2"/><w:tabs><w:tab w:val="left" w:pos="800"/><w:tab w:val="right" w:leader="dot" w:pos="11036"/></w:tabs><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr></w:pPr><w:hyperlink w:anchor="_Toc417975735" w:history="1"><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>4.1</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsi
 a="en-US"/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>Loading Files</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="begin"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:instrText xml:space="preserve"> PAGEREF _Toc417975735 \h </w:instrText></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="separate"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:t>21</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="end"/></w:r></w:hyperlink></w:p><w:p w14:paraId="6A14EC37" w14:textId="77777777" w:rsidR="00FF0AB1" w:rsidRDefault="00DA20B7"><w:pPr><w:pStyle w:val="
 TOC2"/><w:tabs><w:tab w:val="left" w:pos="800"/><w:tab w:val="right" w:leader="dot" w:pos="11036"/></w:tabs><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr></w:pPr><w:hyperlink w:anchor="_Toc417975736" w:history="1"><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>4.2</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>Mapping Source File Fields to Target Table Columns</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:tab/></w:r><w:
 r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="begin"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:instrText xml:space="preserve"> PAGEREF _Toc417975736 \h </w:instrText></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="separate"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:t>24</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="end"/></w:r></w:hyperlink></w:p><w:p w14:paraId="3FB6FAAC" w14:textId="77777777" w:rsidR="00FF0AB1" w:rsidRDefault="00DA20B7"><w:pPr><w:pStyle w:val="TOC2"/><w:tabs><w:tab w:val="left" w:pos="800"/><w:tab w:val="right" w:leader="dot" w:pos="11036"/></w:tabs><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w
 :sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr></w:pPr><w:hyperlink w:anchor="_Toc417975737" w:history="1"><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>4.3</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>Using mapfiles to Ignore and/or Transform Fields When Loading</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="begin"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:instrText xml:space="preserve"> PAGEREF _Toc417975737 \h </w:inst
 rText></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="separate"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:t>27</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="end"/></w:r></w:hyperlink></w:p><w:p w14:paraId="69BB5DDE" w14:textId="77777777" w:rsidR="00FF0AB1" w:rsidRDefault="00DA20B7"><w:pPr><w:pStyle w:val="TOC2"/><w:tabs><w:tab w:val="left" w:pos="800"/><w:tab w:val="right" w:leader="dot" w:pos="11036"/></w:tabs><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr></w:pPr><w:hyperlink w:anchor="_Toc417975738" w:history="1"><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w
 :t>4.4</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>Using mapfiles to Load Fixed Format Files</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="begin"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:instrText xml:space="preserve"> PAGEREF _Toc417975738 \h </w:instrText></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="separate"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr
 ><w:t>27</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="end"/></w:r></w:hyperlink></w:p><w:p w14:paraId="540CEF21" w14:textId="77777777" w:rsidR="00FF0AB1" w:rsidRDefault="00DA20B7"><w:pPr><w:pStyle w:val="TOC2"/><w:tabs><w:tab w:val="left" w:pos="800"/><w:tab w:val="right" w:leader="dot" w:pos="11036"/></w:tabs><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr></w:pPr><w:hyperlink w:anchor="_Toc417975739" w:history="1"><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>4.5</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr><w:
 tab/></w:r><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>Generating and Loading Data</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="begin"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:instrText xml:space="preserve"> PAGEREF _Toc417975739 \h </w:instrText></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="separate"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:t>28</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="end"/></w:r></w:hyperlink></w:p><w:p w14:paraId="0F3EAAE5" w14:textId="77777777" w:rsidR="00FF0AB1" w:rsidRDefault="00DA20B7"><w:pPr><w:pStyle w:val="TOC2"/><
 w:tabs><w:tab w:val="left" w:pos="800"/><w:tab w:val="right" w:leader="dot" w:pos="11036"/></w:tabs><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr></w:pPr><w:hyperlink w:anchor="_Toc417975740" w:history="1"><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>4.6</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>Loading Default Values</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noPro
 of/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="begin"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:instrText xml:space="preserve"> PAGEREF _Toc417975740 \h </w:instrText></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="separate"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:t>29</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="end"/></w:r></w:hyperlink></w:p><w:p w14:paraId="722EC7DD" w14:textId="77777777" w:rsidR="00FF0AB1" w:rsidRDefault="00DA20B7"><w:pPr><w:pStyle w:val="TOC2"/><w:tabs><w:tab w:val="left" w:pos="800"/><w:tab w:val="right" w:leader="dot" w:pos="11036"/></w:tabs><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/>
 <w:lang w:eastAsia="en-US"/></w:rPr></w:pPr><w:hyperlink w:anchor="_Toc417975741" w:history="1"><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>4.7</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>Loading Binary Files</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="begin"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:instrText xml:space="preserve"> PAGEREF _Toc417975741 \h </w:instrText></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr>
 </w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="separate"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:t>30</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="end"/></w:r></w:hyperlink></w:p><w:p w14:paraId="07B65DBA" w14:textId="77777777" w:rsidR="00FF0AB1" w:rsidRDefault="00DA20B7"><w:pPr><w:pStyle w:val="TOC2"/><w:tabs><w:tab w:val="left" w:pos="800"/><w:tab w:val="right" w:leader="dot" w:pos="11036"/></w:tabs><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr></w:pPr><w:hyperlink w:anchor="_Toc417975742" w:history="1"><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>4.8</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:rFonts w:asciiTheme="mino
 rHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>Reducing the ODBC Buffer Size</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="begin"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:instrText xml:space="preserve"> PAGEREF _Toc417975742 \h </w:instrText></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="separate"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:t>30</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:f
 ldChar w:fldCharType="end"/></w:r></w:hyperlink></w:p><w:p w14:paraId="7A366688" w14:textId="77777777" w:rsidR="00FF0AB1" w:rsidRDefault="00DA20B7"><w:pPr><w:pStyle w:val="TOC2"/><w:tabs><w:tab w:val="left" w:pos="800"/><w:tab w:val="right" w:leader="dot" w:pos="11036"/></w:tabs><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr></w:pPr><w:hyperlink w:anchor="_Toc417975743" w:history="1"><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>4.9</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink
 "/><w:noProof/></w:rPr><w:t>Extracting Tables</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="begin"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:instrText xml:space="preserve"> PAGEREF _Toc417975743 \h </w:instrText></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="separate"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:t>31</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="end"/></w:r></w:hyperlink></w:p><w:p w14:paraId="140877EE" w14:textId="77777777" w:rsidR="00FF0AB1" w:rsidRDefault="00DA20B7"><w:pPr><w:pStyle w:val="TOC2"/><w:tabs><w:tab w:val="left" w:pos="1000"/><w:tab w:val="right" w:leader="dot" w:pos="11036"/></w:tab
 s><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr></w:pPr><w:hyperlink w:anchor="_Toc417975744" w:history="1"><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>4.10</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>Extracting a List of Tables</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="begin"/></w:r><w:r w:rsidR="00FF0AB1"><w
 :rPr><w:noProof/><w:webHidden/></w:rPr><w:instrText xml:space="preserve"> PAGEREF _Toc417975744 \h </w:instrText></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="separate"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:t>35</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="end"/></w:r></w:hyperlink></w:p><w:p w14:paraId="23ED9724" w14:textId="77777777" w:rsidR="00FF0AB1" w:rsidRDefault="00DA20B7"><w:pPr><w:pStyle w:val="TOC2"/><w:tabs><w:tab w:val="left" w:pos="1000"/><w:tab w:val="right" w:leader="dot" w:pos="11036"/></w:tabs><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr></w:pPr><w:hyperlink w:anchor="_Toc417975745" w:history
 ="1"><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>4.11</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>Copying Tables From One Database to Another</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="begin"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:instrText xml:space="preserve"> PAGEREF _Toc417975745 \h </w:instrText></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:
 rPr><w:fldChar w:fldCharType="separate"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:t>35</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="end"/></w:r></w:hyperlink></w:p><w:p w14:paraId="6CCC03F6" w14:textId="77777777" w:rsidR="00FF0AB1" w:rsidRDefault="00DA20B7"><w:pPr><w:pStyle w:val="TOC2"/><w:tabs><w:tab w:val="left" w:pos="1000"/><w:tab w:val="right" w:leader="dot" w:pos="11036"/></w:tabs><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr></w:pPr><w:hyperlink w:anchor="_Toc417975746" w:history="1"><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>4.12</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi"
  w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>Copying a List of Tables</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="begin"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:instrText xml:space="preserve"> PAGEREF _Toc417975746 \h </w:instrText></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="separate"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:t>38</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="end"/></w:r></w:hyperlink></w:p><w:p w14:paraId=
 "69C0E3EF" w14:textId="77777777" w:rsidR="00FF0AB1" w:rsidRDefault="00DA20B7"><w:pPr><w:pStyle w:val="TOC2"/><w:tabs><w:tab w:val="left" w:pos="1000"/><w:tab w:val="right" w:leader="dot" w:pos="11036"/></w:tabs><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr></w:pPr><w:hyperlink w:anchor="_Toc417975747" w:history="1"><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>4.13</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>Using Case-Sensitive Table and Column Na
 mes</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="begin"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:instrText xml:space="preserve"> PAGEREF _Toc417975747 \h </w:instrText></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="separate"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:t>38</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="end"/></w:r></w:hyperlink></w:p><w:p w14:paraId="27F5337F" w14:textId="77777777" w:rsidR="00FF0AB1" w:rsidRDefault="00DA20B7"><w:pPr><w:pStyle w:val="TOC2"/><w:tabs><w:tab w:val="left" w:pos="1000"/><w:tab w:val="right" w:leader="dot" w:pos="11036"/></w:tabs><w:rPr><w:rFonts w:asciiTheme="minorHAns
 i" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr></w:pPr><w:hyperlink w:anchor="_Toc417975748" w:history="1"><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>4.14</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>Determining the Appropriate Number of Threads for Load/Extract/Copy/Diff</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="begin"/></w:r><w:r w:rsidR="00FF0AB1"
 ><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:instrText xml:space="preserve"> PAGEREF _Toc417975748 \h </w:instrText></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="separate"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:t>39</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="end"/></w:r></w:hyperlink></w:p><w:p w14:paraId="04C569A7" w14:textId="77777777" w:rsidR="00FF0AB1" w:rsidRDefault="00DA20B7"><w:pPr><w:pStyle w:val="TOC2"/><w:tabs><w:tab w:val="left" w:pos="1000"/><w:tab w:val="right" w:leader="dot" w:pos="11036"/></w:tabs><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr></w:pPr><w:hyperlink w:anchor="_Toc417975749" w:hist
 ory="1"><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>4.15</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/><w:noProof/><w:sz w:val="22"/><w:szCs w:val="22"/><w:lang w:eastAsia="en-US"/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1" w:rsidRPr="00523BCD"><w:rPr><w:rStyle w:val="Hyperlink"/><w:noProof/></w:rPr><w:t>Integrating With Hadoop</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:tab/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="begin"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:instrText xml:space="preserve"> PAGEREF _Toc417975749 \h </w:instrText></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:
 fldCharType="separate"/></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:t>39</w:t></w:r><w:r w:rsidR="00FF0AB1"><w:rPr><w:noProof/><w:webHidden/></w:rPr><w:fldChar w:fldCharType="end"/></w:r></w:h

<TRUNCATED>


[09/10] incubator-trafodion git commit: Copied pull request 187 to release1.3 branch

Posted by rm...@apache.org.
Copied pull request 187 to release1.3 branch


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/f6614183
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/f6614183
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/f6614183

Branch: refs/heads/release1.3
Commit: f66141834f102e9af39cf9baf3bc3f9c27118133
Parents: 26031c8
Author: Roberta Marton <ro...@esgyn.com>
Authored: Tue Dec 1 17:55:29 2015 +0000
Committer: Roberta Marton <ro...@esgyn.com>
Committed: Tue Dec 1 17:55:29 2015 +0000

----------------------------------------------------------------------
 install/installer/dcs_installer | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/f6614183/install/installer/dcs_installer
----------------------------------------------------------------------
diff --git a/install/installer/dcs_installer b/install/installer/dcs_installer
index 298003b..902b314 100755
--- a/install/installer/dcs_installer
+++ b/install/installer/dcs_installer
@@ -136,7 +136,8 @@ echo "***INFO: untarring build file $DCS_BUILD_FILE"
 tar -xzf $DCS_BUILD_FILE
 
 # get the dcs install directory name which is imbedded in the tar file
-DCS_DIR=$(tar -tf $DCS_BUILD_FILE | grep LICENSE | sed -e "s@\(^.*\)/LICENSE.txt@\1@")
+DCS_DIR=$(tar -tf $DCS_BUILD_FILE | grep --max-count=1 bin | sed -e "s@\(^.*\)/bin/@\1@")
+
 DCS_DIR=$DCS_INSTALL_PATH/$DCS_DIR
 
 # set env var in sqenvcom.sh for DCS install directory


[10/10] incubator-trafodion git commit: Merge [TRAFODION-1636] and [TRAFODION-1642] PR-185 Copyrights, License, and Notice file updates

Posted by rm...@apache.org.
Merge [TRAFODION-1636] and [TRAFODION-1642] PR-185 Copyrights, License, and Notice file updates


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/3b27862e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/3b27862e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/3b27862e

Branch: refs/heads/release1.3
Commit: 3b27862e0886625ff1e61b97125cc57d50ca7256
Parents: 1ea3e83 f661418
Author: Roberta Marton <ro...@esgyn.com>
Authored: Wed Dec 2 00:18:25 2015 +0000
Committer: Roberta Marton <ro...@esgyn.com>
Committed: Wed Dec 2 00:18:25 2015 +0000

----------------------------------------------------------------------
 .rat-excludes                                   |    3 +
 RAT_README.txt                                  |    7 +
 .../trafodion/jdbc/t4/T4DatabaseMetaData.java   |    3 -
 core/sqf/export/lib/Vili/Functions.pm           |  725 ---
 core/sqf/export/lib/Vili/Helper.pm              |  674 --
 core/sqf/export/lib/Vili/NoDriftTimer.pm        |   98 -
 core/sql/common/from_GB2312.c                   |  134 +-
 core/sql/common/swscanf.cpp                     |   55 +-
 core/sql/common/swsprintf.cpp                   |   63 +-
 core/sql/parser/ulexer.h                        |   39 +-
 core/sql/regress/newregr/card/runregr_card.ksh  |    7 -
 .../regress/newregr/mvs/BIG/expectedmv215_RU    |  480 --
 core/sql/regress/newregr/mvs/EXPECTEDMV500      | 4708 --------------
 core/sql/regress/newregr/mvs/EXPECTEDMV500A     | 5179 ----------------
 .../regress/newregr/mvs/EXPECTEDMV500A.LINUX    | 5789 ------------------
 .../sql/regress/newregr/mvs/TPCD/DBGEN_HELP.TXT |   83 -
 core/sql/regress/seabase/EXPECTED021            |   26 +-
 core/sql/regress/tools/regress-filter           |    5 -
 core/sql/regress/tools/regress-filter-linux     |    5 -
 core/sql/regress/udr/EXPECTED100.SB             |    4 +-
 core/updateCopyrightCheck.py                    |    7 +-
 dcs/LICENSE.txt                                 |  202 -
 dcs/NOTICE.txt                                  |    7 -
 .../org/trafodion/dcs/util/ByteBufferUtils.java |    2 -
 .../java/org/trafodion/dcs/util/SqlUtils.java   |    2 -
 .../dcs-webapps/master/css/stylesheet.css       |  191 -
 .../Trafodion_Client_Installation_Guide.xml     |    6 +-
 docs/client_install/source/xml-profile.xml      |    2 +-
 .../Trafodion_Command_Interface_Guide.xml       |   44 +-
 docs/command_interface/source/xml-profile.xml   |    2 +-
 docs/odb_manual/Trafodion_odb_User_Guide.xml    |    4 +-
 .../source/Trafodion_SQL_Reference_Manual.xml   |   10 +-
 docs/sql_reference/source/xml-profile.xml       |    2 +-
 install/Makefile                                |    2 -
 install/README.rst                              |   32 -
 install/installer/dcs_installer                 |    3 +-
 wms/LICENSE.txt                                 |  202 -
 wms/NOTICE.txt                                  |   11 -
 wms/build.xml                                   |    2 +-
 39 files changed, 115 insertions(+), 18705 deletions(-)
----------------------------------------------------------------------



[04/10] incubator-trafodion git commit: TRAFODION-1636 & TRAFODION-1642

Posted by rm...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/7a085965/core/sql/regress/newregr/mvs/EXPECTEDMV500A.LINUX
----------------------------------------------------------------------
diff --git a/core/sql/regress/newregr/mvs/EXPECTEDMV500A.LINUX b/core/sql/regress/newregr/mvs/EXPECTEDMV500A.LINUX
deleted file mode 100644
index 56f6583..0000000
--- a/core/sql/regress/newregr/mvs/EXPECTEDMV500A.LINUX
+++ /dev/null
@@ -1,5789 +0,0 @@
->>log;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section select_restrict_all
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR1_user1_1)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section selectR1_user1_1 
->>------------------------------------------------------------------------------
->>-- checking GRANT/REVOKE SELECT privs on MVs when SELECT is executed
->>
->>-- This CQD is added for creating a table  with no
->>-- partition or primary key when the POS is enabled.
->>control query default POS_ALLOW_NON_PK_TABLES 'ON';
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>create table t10 ( a int ) attribute all mvs allowed;
-
---- SQL operation complete.
->>create MV mv10 refresh on request initialize on create attribute all mvs allowed as select * from t10 group by a;
-
-*** WARNING[12112] A secondary index C1.S1.MV10_721684181_2939 was created for the materialized view.
-
---- SQL operation completed with warnings.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR1_user2_1)" -u $$SQLUSER2X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER2
-
->>?section selectR1_user2_1
->>
->>--sql_user2 
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>--FAIL
->>select * from c1.s1.mv10;
-
-*** ERROR[4481] The user does not have SELECT privilege on table or view C1.S1.MV10.
-
-*** ERROR[8822] The statement was not prepared.
-
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR1_user1_2)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section selectR1_user1_2
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>grant select on mv10 to $$SQLUSER2Q$$ with grant option;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR1_user2_2)" -u $$SQLUSER2X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER2
-
->>?section selectR1_user2_2
->>
->>--sql_user2 
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>select * from c1.s1.mv10;
-
---- 0 row(s) selected.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR1_user1_3)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section selectR1_user1_3
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>revoke select on mv10 from $$SQLUSER2Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR1_user2_3)" -u $$SQLUSER2X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER2
-
->>?section selectR1_user2_3
->>
->>--sql_user2 
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>--FAIL
->>select * from c1.s1.mv10;
-
-*** ERROR[4481] The user does not have SELECT privilege on table or view C1.S1.MV10.
-
-*** ERROR[8822] The statement was not prepared.
-
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR1_user1_4)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section selectR1_user1_4 
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>drop mv mv10;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>
->>
->>
->>
->>
->>exit;
-
-End of MXCI Session
-
->>
->>
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR2_user1_1)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section selectR2_user1_1
->>------------------------------------------------------------------------------
->>-- grant REVOKE select -  compare view and MV
->>
->>-- This CQD is added for creating a table  with no
->>-- partition or primary key when the POS is enabled.
->>control query default POS_ALLOW_NON_PK_TABLES 'ON';
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>create table t10 ( a int ) attribute all mvs allowed;
-
---- SQL operation complete.
->>
->>--*************************************
->>-- FIRST A VIEW
->>--*************************************
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR2_user1_2)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section selectR2_user1_2
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>grant select on t10 to $$SQLUSER2Q$$ with grant option;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR2_user2_1)" -u $$SQLUSER2X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER2
-
->>?section selectR2_user2_1
->>
->>--sql_user2 
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>create view v20 as select * from c1.s1.t10;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR2_user1_3)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section selectR2_user1_3
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>--FAIL
->>revoke select on t10 from $$SQLUSER2Q$$;
-
-*** ERROR[1014] Privileges were not revoked.  Dependent privilege descriptors still exist.
-
---- SQL operation failed with errors.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR2_user2_2)" -u $$SQLUSER2X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER2
-
->>?section selectR2_user2_2
->>
->>--sql_user2 
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>drop view v20;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR2_user1_4)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section selectR2_user1_4
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>revoke select on t10 from $$SQLUSER2Q$$;
-
---- SQL operation complete.
->>
->>--*************************************
->>-- SECOND AN MV
->>--*************************************
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR2_user1_5)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section selectR2_user1_5
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>grant select on t10 to $$SQLUSER2Q$$ with grant option;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR2_user2_3)" -u $$SQLUSER2X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER2
-
->>?section selectR2_user2_3
->>
->>--sql_user2 
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>create mv mv20 refresh on request initialize on refresh attribute all mvs allowed as select * from c1.s1.t10 group by a;
-
-*** WARNING[12112] A secondary index C2.S2.MV20_812622221_1166 was created for the materialized view.
-
---- SQL operation completed with warnings.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR2_user1_6)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section selectR2_user1_6
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>--FAIL
->>revoke select on t10 from $$SQLUSER2Q$$;
-
-*** ERROR[1014] Privileges were not revoked.  Dependent privilege descriptors still exist.
-
---- SQL operation failed with errors.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR2_user2_4)" -u $$SQLUSER2X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER2
-
->>?section selectR2_user2_4
->>
->>--sql_user2 
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>drop mv mv20;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR2_user1_7)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section selectR2_user1_7
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>revoke select on t10 from $$SQLUSER2Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR2_user1_8)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section selectR2_user1_8
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>
->>
->>
->>
->>exit;
-
-End of MXCI Session
-
->>
->>
->>
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR3_user1_1)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section selectR3_user1_1
->>------------------------------------------------------------------------------
->>-- grant REVOKE select 
->>-- two chains:  a view on top of a  view on top of a table
->>--		a view on top of an MV   on top of a table  
->>-- and we compare both. they must behave identicaly
->>
->>-- This CQD is added for creating a table  with no
->>-- partition or primary key when the POS is enabled.
->>control query default POS_ALLOW_NON_PK_TABLES 'ON';
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>create table t10 ( a int ) attribute all mvs allowed;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR3_user1_2)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section selectR3_user1_2
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>grant select on t10 to $$SQLUSER2Q$$ with grant option;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR3_user2_1)" -u $$SQLUSER2X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER2
-
->>?section selectR3_user2_1
->>
->>--sql_user2 
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>create mv mv20 refresh on request initialize on refresh attribute all mvs allowed as select * from c1.s1.t10 group by a;
-
-*** WARNING[12112] A secondary index C2.S2.MV20_754937449_8864 was created for the materialized view.
-
---- SQL operation completed with warnings.
->>create view v20 as select * from c1.s1.t10;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR3_user3_1)" -u $$SQLUSER3X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER3
-
->>?section selectR3_user3_1
->>
->>--sql_user3 
->>-----------
->>set schema c3.s3;
-
---- SQL operation complete.
->>--FAIL
->>create view v30 as select * from c2.s2.mv20;
-
-*** ERROR[4481] The user does not have SELECT privilege on table or view C2.S2.MV20.
-
-*** ERROR[1079] SQL was not able to prepare the statement.
-
---- SQL operation failed with errors.
->>
->>
->>--FAIL
->>create view v31 as select * from c2.s2.v20;
-
-*** ERROR[4481] The user does not have SELECT privilege on table or view C2.S2.V20.
-
-*** ERROR[1079] SQL was not able to prepare the statement.
-
---- SQL operation failed with errors.
->>
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR3_user2_2)" -u $$SQLUSER2X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER2
-
->>?section selectR3_user2_2
->>
->>--sql_user2 
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>grant select on mv20 to $$SQLUSER3Q$$;
-
---- SQL operation complete.
->>grant select on v20 to $$SQLUSER3Q$$;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR3_user3_2)" -u $$SQLUSER3X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER3
-
->>?section selectR3_user3_2
->>
->>--sql_user3 
->>-----------
->>set schema c3.s3;
-
---- SQL operation complete.
->>create view v30 as select * from c2.s2.mv20;
-
---- SQL operation complete.
->>create view v31 as select * from c2.s2.v20;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR3_user2_3)" -u $$SQLUSER2X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER2
-
->>?section selectR3_user2_3
->>
->>--sql_user2 
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>--FAIL
->>revoke select on v20 from $$SQLUSER3Q$$;
-
-*** ERROR[1014] Privileges were not revoked.  Dependent privilege descriptors still exist.
-
---- SQL operation failed with errors.
->>
->>
->>--FAIL
->>revoke select on mv20 from $$SQLUSER3Q$$;
-
-*** ERROR[1014] Privileges were not revoked.  Dependent privilege descriptors still exist.
-
---- SQL operation failed with errors.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR3_user3_3)" -u $$SQLUSER3X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER3
-
->>?section selectR3_user3_3
->>
->>--sql_user3 
->>-----------
->>set schema c3.s3;
-
---- SQL operation complete.
->>drop view v30;
-
---- SQL operation complete.
->>drop view v31;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR3_user2_4)" -u $$SQLUSER2X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER2
-
->>?section selectR3_user2_4
->>
->>--sql_user2 
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>revoke select on v20 from $$SQLUSER3Q$$;
-
---- SQL operation complete.
->>revoke select on mv20 from $$SQLUSER3Q$$;
-
---- SQL operation complete.
->>drop mv mv20;
-
---- SQL operation complete.
->>drop view v20;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "SELECTRESTRICT(selectR3_user1_3)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section selectR3_user1_3
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>
->>exit;
-
-End of MXCI Session
-
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section delete_restrict_all
->>sh sh runmxci.ksh -i "DELETERESTRICT(deleteR1_title)";
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section deleteR1_title
->>------------------------------------------------------------------------------
->>-- checking DELETE privs on MVs of the creator
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "DELETERESTRICT(deleteR1_user1_1)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section deleteR1_user1_1
->>-- This CQD is added for creating a table  with no
->>-- partition or primary key when the POS is enabled.
->>control query default POS_ALLOW_NON_PK_TABLES 'ON';
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>create table t10 ( a int ) attribute all mvs allowed;
-
---- SQL operation complete.
->>insert into t10 values (1);
-
---- 1 row(s) inserted.
->>insert into t10 values (2);
-
---- 1 row(s) inserted.
->>
->>
->>create MV mv10 refresh on request initialize on create attribute all mvs allowed as select * from t10 group by a;
-
-*** WARNING[12112] A secondary index C1.S1.MV10_887331793_8734 was created for the materialized view.
-
---- SQL operation completed with warnings.
->>
->>DELETE from mv10;
-
---- 2 row(s) deleted.
->>
->>drop mv mv10;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>
->>sh sh runmxci.ksh -i "DELETERESTRICT(deleteR2_title)";
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section deleteR2_title
->>
->>
->>------------------------------------------------------------------------------
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "DELETERESTRICT(deleteR2_user1_1)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section deleteR2_user1_1
->>-- This CQD is added for creating a table  with no
->>-- partition or primary key when the POS is enabled.
->>control query default POS_ALLOW_NON_PK_TABLES 'ON';
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>create table t10 ( a int ) attribute all mvs allowed;
-
---- SQL operation complete.
->>
->>create MV mv10 refresh on request initialize on create attribute all mvs allowed as select * from t10 group by a;
-
-*** WARNING[12112] A secondary index C1.S1.MV10_562731794_1847 was created for the materialized view.
-
---- SQL operation completed with warnings.
->>
->>DELETE FROM mv10;
-
---- 0 row(s) deleted.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "DELETERESTRICT(deleteR2_user2_1)" -u $$SQLUSER2X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER2
-
->>?section deleteR2_user2_1
->>
->>--sql_user2
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>--FAIL
->>DELETE FROM c1.s1.mv10;
-
-*** ERROR[4481] The user does not have DELETE privilege on table or view C1.S1.MV10.
-
-*** ERROR[8822] The statement was not prepared.
-
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "DELETERESTRICT(deleteR2_user1_2)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section deleteR2_user1_2
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>grant delete on mv10 to $$SQLUSER2Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "DELETERESTRICT(deleteR2_user2_2)" -u $$SQLUSER2X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER2
-
->>?section deleteR2_user2_2
->>
->>--sql_user2
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>DELETE FROM c1.s1.mv10;
-
---- 0 row(s) deleted.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "DELETERESTRICT(deleteR2_user1_3)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section deleteR2_user1_3
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>revoke DELETE on mv10 from $$SQLUSER2Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "DELETERESTRICT(deleteR2_user2_3)" -u $$SQLUSER2X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER2
-
->>?section deleteR2_user2_3
->>
->>--sql_user2
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>--FAIL
->>DELETE FROM c1.s1.mv10;
-
-*** ERROR[4481] The user does not have DELETE privilege on table or view C1.S1.MV10.
-
-*** ERROR[8822] The statement was not prepared.
-
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "DELETERESTRICT(deleteR2_user3_1)" -u $$SQLUSER3X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER3
-
->>?section deleteR2_user3_1
->>
->>--sql_user3
->>-----------
->>set schema c3.s3;
-
---- SQL operation complete.
->>--FAIL
->>DELETE FROM c1.s1.mv10;
-
-*** ERROR[4481] The user does not have DELETE privilege on table or view C1.S1.MV10.
-
-*** ERROR[8822] The statement was not prepared.
-
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "DELETERESTRICT(deleteR2_user1_4)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section deleteR2_user1_4
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>grant DELETE on mv10 to $$SQLUSER2Q$$ with grant option;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "DELETERESTRICT(deleteR2_user2_4)" -u $$SQLUSER2X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER2
-
->>?section deleteR2_user2_4
->>
->>--sql_user2
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>grant DELETE on c1.s1.mv10 to $$SQLUSER3Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "DELETERESTRICT(deleteR2_user3_2)" -u $$SQLUSER3X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER3
-
->>?section deleteR2_user3_2
->>
->>--sql_user3
->>-----------
->>set schema c3.s3;
-
---- SQL operation complete.
->>DELETE FROM c1.s1.mv10;
-
---- 0 row(s) deleted.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "DELETERESTRICT(deleteR2_user1_5)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section deleteR2_user1_5
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>--FAIL
->>revoke DELETE on mv10 from $$SQLUSER2Q$$;
-
-*** ERROR[1014] Privileges were not revoked.  Dependent privilege descriptors still exist.
-
---- SQL operation failed with errors.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "DELETERESTRICT(deleteR2_user2_5)" -u $$SQLUSER2X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER2
-
->>?section deleteR2_user2_5
->>
->>--sql_user2
->>-----------
->>set schema c2.s2;
-
---- SQL operation complete.
->>revoke DELETE on c1.s1.mv10 from $$SQLUSER3Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "DELETERESTRICT(deleteR2_user1_6)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section deleteR2_user1_6
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>revoke DELETE on mv10 from $$SQLUSER2Q$$;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "DELETERESTRICT(deleteR2_user3_3)" -u $$SQLUSER3X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER3
-
->>?section deleteR2_user3_3
->>
->>--sql_user3
->>-----------
->>set schema c3.s3;
-
---- SQL operation complete.
->>--FAIL
->>DELETE FROM c1.s1.mv10;
-
-*** ERROR[4481] The user does not have DELETE privilege on table or view C1.S1.MV10.
-
-*** ERROR[8822] The statement was not prepared.
-
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "DELETERESTRICT(deleteR2_user1_7)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section deleteR2_user1_7
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>drop mv mv10;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>
->>sh sh runmxci.ksh -i "DELETERESTRICT(deleteR3_title)";
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section deleteR3_title
->>
->>
->>------------------------------------------------------------------------------
->>-- view on top of MVs are not updatable and cannot be deleted from
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "DELETERESTRICT(deleteR3_user1_1)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section deleteR3_user1_1
->>-- This CQD is added for creating a table  with no
->>-- partition or primary key when the POS is enabled.
->>control query default POS_ALLOW_NON_PK_TABLES 'ON';
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>set schema c1.s1;
-
---- SQL operation complete.
->>create table t10 ( a int ) attribute all mvs allowed;
-
---- SQL operation complete.
->>
->>create MV mv10 refresh on request initialize on refresh attribute all mvs allowed as select * from t10 group by a;
-
-*** WARNING[12112] A secondary index C1.S1.MV10_578125372_3128 was created for the materialized view.
-
---- SQL operation completed with warnings.
->>
->>create view v10 as select * from t10;
-
---- SQL operation complete.
->>create view v11 as select * from mv10;
-
---- SQL operation complete.
->>
->>--FAIL
->>DELETE FROM v10;
-
---- 0 row(s) deleted.
->>
->>--FAIL
->>DELETE FROM v11;
-
-*** ERROR[4028] Table or view C1.S1.V11 is not updatable.
-
-*** ERROR[8822] The statement was not prepared.
-
->>
->>drop view v10;
-
---- SQL operation complete.
->>drop view v11;
-
---- SQL operation complete.
->>drop mv mv10;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>
->>
->>
->>
->>
->>
->>
->>
->>
->>exit;
-
-End of MXCI Session
-
->>
->>exit;
-
-End of MXCI Session
-
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section insert_restrict_all
->>sh sh runmxci.ksh -i "INSERTRESTRICT(insertR1_title)";
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section insertR1_title
->>
->>------------------------------------------------------------------------------
->>-- checking INSERT privs on MVs
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "INSERTRESTRICT(insertR1_user1_1)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section insertR1_user1_1
->>-- This CQD is added for creating a table  with no
->>-- partition or primary key when the POS is enabled.
->>control query default POS_ALLOW_NON_PK_TABLES 'ON';
-
---- SQL operation complete.
->>
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>
->>-- first through initializing. for that we need insert privs
->>
->>create table t10 ( a int ) attribute all mvs allowed;
-
---- SQL operation complete.
->>
->>create MV mv10 refresh on request initialize on create attribute all mvs allowed as select * from t10 group by a;
-
-*** WARNING[12112] A secondary index C1.S1.MV10_368781146_1657 was created for the materialized view.
-
---- SQL operation completed with warnings.
->>
->>-- no through explicite insert
->>
->>--FAIL
->>insert into mv10 values (1);
-
-*** ERROR[12074] A materialized view cannot be updated directly.
-
-*** ERROR[8822] The statement was not prepared.
-
->>
->>-- On Linux/NSK you cannot set parserflags unless you are super,  On NT this
->>-- statement succeeds
->>set PARSERFLAGS 3;
-
-*** ERROR[1017] You are not authorized to perform this operation.
-
-*** ERROR[8822] The statement was not prepared.
-
->>
->>insert into table  ( MV_TABLE c1.s1.mv10 ) values (10,2);
-
-*** ERROR[15001] A syntax error occurred at or before: 
-insert into table  ( MV_TABLE c1.s1.mv10 ) values (10,2);
-                                         ^ (42 characters from start of SQL statement)
-
-*** ERROR[8822] The statement was not prepared.
-
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "INSERTRESTRICT(insertR1_user2_1)" -u $$SQLUSER2X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER2
-
->>?section insertR1_user2_1
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2
->>-----------
->>-- On Linux/NSK you cannot set parserflags unless you are super,  On NT this
->>-- statement succeeds
->>set PARSERFLAGS 3;
-
-*** ERROR[1017] You are not authorized to perform this operation.
-
-*** ERROR[8822] The statement was not prepared.
-
->>--FAIL
->>insert into table  ( MV_TABLE c1.s1.mv10 ) values (11,3);
-
-*** ERROR[15001] A syntax error occurred at or before: 
-insert into table  ( MV_TABLE c1.s1.mv10 ) values (11,3);
-                                         ^ (42 characters from start of SQL statement)
-
-*** ERROR[8822] The statement was not prepared.
-
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "INSERTRESTRICT(insertR1_user1_2)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section insertR1_user1_2
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>grant insert on mv10 to $$SQLUSER2Q$$;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "INSERTRESTRICT(insertR1_user2_2)" -u $$SQLUSER2X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER2
-
->>?section insertR1_user2_2
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2
->>-----------
->>-- On Linux/NSK you cannot set parserflags unless you are super,  On NT this
->>-- statement succeeds
->>set PARSERFLAGS 3;
-
-*** ERROR[1017] You are not authorized to perform this operation.
-
-*** ERROR[8822] The statement was not prepared.
-
->>insert into table  ( MV_TABLE c1.s1.mv10 ) values (11,3);
-
-*** ERROR[15001] A syntax error occurred at or before: 
-insert into table  ( MV_TABLE c1.s1.mv10 ) values (11,3);
-                                         ^ (42 characters from start of SQL statement)
-
-*** ERROR[8822] The statement was not prepared.
-
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "INSERTRESTRICT(insertR1_user1_3)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section insertR1_user1_3
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>revoke insert on mv10 from $$SQLUSER2Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "INSERTRESTRICT(insertR1_user2_3)" -u $$SQLUSER2X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER2
-
->>?section insertR1_user2_3
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2
->>-----------
->>-- On Linux/NSK you cannot set parserflags unless you are super,  On NT this
->>-- statement succeeds
->>set PARSERFLAGS 3;
-
-*** ERROR[1017] You are not authorized to perform this operation.
-
-*** ERROR[8822] The statement was not prepared.
-
->>--FAIL
->>insert into table  ( MV_TABLE c1.s1.mv10 ) values (11,3);
-
-*** ERROR[15001] A syntax error occurred at or before: 
-insert into table  ( MV_TABLE c1.s1.mv10 ) values (11,3);
-                                         ^ (42 characters from start of SQL statement)
-
-*** ERROR[8822] The statement was not prepared.
-
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "INSERTRESTRICT(insertR1_user3_1)" -u $$SQLUSER3X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER3
-
->>?section insertR1_user3_1
->>set schema c3.s3;
-
---- SQL operation complete.
->>
->>--sql_user3
->>-----------
->>-- On Linux/NSK you cannot set parserflags unless you are super,  On NT this
->>-- statement succeeds
->>set PARSERFLAGS 3;
-
-*** ERROR[1017] You are not authorized to perform this operation.
-
-*** ERROR[8822] The statement was not prepared.
-
->>--FAIL
->>insert into table  ( MV_TABLE c1.s1.mv10 ) values (11,3);
-
-*** ERROR[15001] A syntax error occurred at or before: 
-insert into table  ( MV_TABLE c1.s1.mv10 ) values (11,3);
-                                         ^ (42 characters from start of SQL statement)
-
-*** ERROR[8822] The statement was not prepared.
-
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "INSERTRESTRICT(insertR1_user1_4)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section insertR1_user1_4
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>grant insert on mv10 to $$SQLUSER2Q$$ with grant option;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "INSERTRESTRICT(insertR1_user2_4)" -u $$SQLUSER2X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER2
-
->>?section insertR1_user2_4
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2
->>-----------
->>grant insert on c1.s1.mv10 to $$SQLUSER3Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "INSERTRESTRICT(insertR1_user3_2)" -u $$SQLUSER3X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER3
-
->>?section insertR1_user3_2
->>set schema c3.s3;
-
---- SQL operation complete.
->>
->>--sql_user3
->>-----------
->>-- On Linux/NSK you cannot set parserflags unless you are super,  On NT this
->>-- statement succeeds
->>set PARSERFLAGS 3;
-
-*** ERROR[1017] You are not authorized to perform this operation.
-
-*** ERROR[8822] The statement was not prepared.
-
->>insert into table  ( MV_TABLE c1.s1.mv10 ) values (12,4);
-
-*** ERROR[15001] A syntax error occurred at or before: 
-insert into table  ( MV_TABLE c1.s1.mv10 ) values (12,4);
-                                         ^ (42 characters from start of SQL statement)
-
-*** ERROR[8822] The statement was not prepared.
-
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "INSERTRESTRICT(insertR1_user1_5)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section insertR1_user1_5
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>--FAIL
->>revoke insert on mv10 from $$SQLUSER2Q$$;
-
-*** ERROR[1014] Privileges were not revoked.  Dependent privilege descriptors still exist.
-
---- SQL operation failed with errors.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "INSERTRESTRICT(insertR1_user2_5)" -u $$SQLUSER2X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER2
-
->>?section insertR1_user2_5
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2
->>-----------
->>revoke insert on c1.s1.mv10 from $$SQLUSER3Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "INSERTRESTRICT(insertR1_user1_6)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section insertR1_user1_6
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>revoke insert on mv10 from $$SQLUSER2Q$$;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "INSERTRESTRICT(insertR1_user3_3)" -u $$SQLUSER3X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER3
-
->>?section insertR1_user3_3
->>set schema c3.s3;
-
---- SQL operation complete.
->>
->>--sql_user3
->>-----------
->>-- On Linux/NSK you cannot set parserflags unless you are super,  On NT this
->>-- statement succeeds
->>set PARSERFLAGS 3;
-
-*** ERROR[1017] You are not authorized to perform this operation.
-
-*** ERROR[8822] The statement was not prepared.
-
->>--FAIL
->>insert into table  ( MV_TABLE c1.s1.mv10 ) values (12,4);
-
-*** ERROR[15001] A syntax error occurred at or before: 
-insert into table  ( MV_TABLE c1.s1.mv10 ) values (12,4);
-                                         ^ (42 characters from start of SQL statement)
-
-*** ERROR[8822] The statement was not prepared.
-
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "INSERTRESTRICT(insertR1_user1_7)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section insertR1_user1_7
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>drop mv mv10;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>
->>sh sh runmxci.ksh -i "INSERTRESTRICT(insertR2_title)";
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section insertR2_title
->>
->>------------------------------------------------------------------------------
->>-- view on top of MVs are not updatable and cannot be inserted into
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "INSERTRESTRICT(insertR2_user1_1)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section insertR2_user1_1
->>-- This CQD is added for creating a table  with no
->>-- partition or primary key when the POS is enabled.
->>control query default POS_ALLOW_NON_PK_TABLES 'ON';
-
---- SQL operation complete.
->>
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>create table t10 ( a int ) attribute all mvs allowed;
-
---- SQL operation complete.
->>
->>create MV mv10 refresh on request initialize on refresh attribute all mvs allowed as select * from t10 group by a;
-
-*** WARNING[12112] A secondary index C1.S1.MV10_645249378_8734 was created for the materialized view.
-
---- SQL operation completed with warnings.
->>
->>create view v10 as select * from t10;
-
---- SQL operation complete.
->>create view v11 as select * from mv10;
-
---- SQL operation complete.
->>
->>--PASS
->>insert into v10 values (1);
-
---- 1 row(s) inserted.
->>
->>--FAIL
->>insert into v11 values (1,1);
-
-*** ERROR[4027] Table or view C1.S1.V11 does not permit insertions.
-
-*** ERROR[8822] The statement was not prepared.
-
->>
->>
->>drop view v10;
-
---- SQL operation complete.
->>drop view v11;
-
---- SQL operation complete.
->>drop mv mv10;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>
->>
->>
->>
->>
->>
->>
->>exit;
-
-End of MXCI Session
-
->>
->>exit;
-
-End of MXCI Session
-
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section update_restrict_all
->>sh sh runmxci.ksh -i "UPDATERESTRICT(updateR1_user1_1)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section updateR1_user1_1
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>------------------------------------------------------------------------------
->>-- checking update for owner - there should be none.
->>-- also checking Grant update and grant ALL options on MVs
->>-- no UPDATE grant option for MVs
->>
->>-- This CQD is added for creating a table  with no
->>-- partition or primary key when the POS is enabled.
->>control query default POS_ALLOW_NON_PK_TABLES 'ON';
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>create table t10 ( a int ) attribute all mvs allowed;
-
---- SQL operation complete.
->>
->>create MV mv10 refresh on request initialize on create attribute all mvs allowed as select * from t10 group by a;
-
-*** WARNING[12112] A secondary index C1.S1.MV10_449458992_4749 was created for the materialized view.
-
---- SQL operation completed with warnings.
->>
->>-- FAIL - blocked by the binder
->>update mv10 set a=1 where a=6;
-
-*** ERROR[12074] A materialized view cannot be updated directly.
-
-*** ERROR[8822] The statement was not prepared.
-
->>
->>-- lets try with special syntax
->>set PARSERFLAGS 3;
-
-*** ERROR[1017] You are not authorized to perform this operation.
-
-*** ERROR[8822] The statement was not prepared.
-
->>
->>-- FAIL - since an MV is not updatable by definition.
->>update TABLE (MV_TABLE mv10) set a=1 where a=6;
-
-*** ERROR[15001] A syntax error occurred at or before: 
-update TABLE (MV_TABLE mv10) set a=1 where a=6;
-                           ^ (28 characters from start of SQL statement)
-
-*** ERROR[8822] The statement was not prepared.
-
->>
->>-- FAIL
->>grant update on mv10 to $$SQLUSER2Q$$;
-
-*** ERROR[12028] Grant update is not allowed for materialized views.
-
---- SQL operation failed with errors.
->>
->>-- FAIL
->>grant update on mv10 to $$SQLUSER2Q$$ with grant option;
-
-*** ERROR[12028] Grant update is not allowed for materialized views.
-
---- SQL operation failed with errors.
->>
->>-- FAIL
->>grant all on mv10 to $$SQLUSER2Q$$;
-
---- SQL operation complete.
->>
->>-- FAIL
->>grant all on mv10 to $$SQLUSER2Q$$ with grant option;
-
---- SQL operation complete.
->>
->>drop mv mv10;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>exit;
-
-End of MXCI Session
-
->>
->>exit;
-
-End of MXCI Session
-
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgo_restrict_all
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1_title)";
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR1_title
->>
->>------------------------------------------------------------------------------
->>-- WITH GRANT OPTION RESTRICT
->>-- if we grant and the grantee already has granted we cannot revoke.
->>
->>exit;
-
-End of MXCI Session
-
->>
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1S_title)";
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR1S_title
->>------------------------------------------------------------------------------
->>-- SELECT
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1S_user1_1)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section wgoR1S_user1_1
->>-- This CQD is added for creating a table  with no
->>-- partition or primary key when the POS is enabled.
->>control query default POS_ALLOW_NON_PK_TABLES 'ON';
-
---- SQL operation complete.
->>
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>create table t10 ( a int ) attribute all mvs allowed;
-
---- SQL operation complete.
->>create MV mv10 refresh on request initialize on refresh attribute all mvs allowed as select * from t10 group by a;
-
-*** WARNING[12112] A secondary index C1.S1.MV10_822398566_4828 was created for the materialized view.
-
---- SQL operation completed with warnings.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1S_user1_2)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section wgoR1S_user1_2
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>grant SELECT on mv10 to $$SQLUSER2Q$$;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1S_user2_1)" -u $$SQLUSER2X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER2
-
->>?section wgoR1S_user2_1
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>-- WARNING
->>grant SELECT on c1.s1.mv10 to $$SQLUSER3Q$$;
-
-*** WARNING[1012] No privileges were granted.  You lack grant option on the specified privileges.
-
---- SQL operation completed with warnings.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1S_user1_3)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section wgoR1S_user1_3
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>grant SELECT on mv10 to $$SQLUSER2Q$$ WITH GRANT OPTION;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1S_user2_2)" -u $$SQLUSER2X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER2
-
->>?section wgoR1S_user2_2
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>grant SELECT on c1.s1.mv10 to $$SQLUSER3Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1S_user1_4)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section wgoR1S_user1_4
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>--FAIL
->>revoke SELECT on mv10 from $$SQLUSER2Q$$;
-
-*** ERROR[1014] Privileges were not revoked.  Dependent privilege descriptors still exist.
-
---- SQL operation failed with errors.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1S_user2_3)" -u $$SQLUSER2X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER2
-
->>?section wgoR1S_user2_3
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>revoke SELECT on c1.s1.mv10 from $$SQLUSER3Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1S_user1_5)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section wgoR1S_user1_5
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>revoke select on mv10 from $$SQLUSER2Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1S_user1_6)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section wgoR1S_user1_6
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>drop mv mv10;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1I_title)";
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR1I_title
->>
->>
->>------------------------------------------------------------------------------
->>-- INSERT
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1I_user1_1)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section wgoR1I_user1_1
->>-- This CQD is added for creating a table  with no
->>-- partition or primary key when the POS is enabled.
->>control query default POS_ALLOW_NON_PK_TABLES 'ON';
-
---- SQL operation complete.
->>
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>create table t10 ( a int ) attribute all mvs allowed;
-
---- SQL operation complete.
->>create MV mv10 refresh on request initialize on refresh attribute all mvs allowed as select * from t10 group by a;
-
-*** WARNING[12112] A secondary index C1.S1.MV10_561464693_8113 was created for the materialized view.
-
---- SQL operation completed with warnings.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1I_user1_2)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section wgoR1I_user1_2
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>grant INSERT on mv10 to $$SQLUSER2Q$$;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1I_user2_1)" -u $$SQLUSER2X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER2
-
->>?section wgoR1I_user2_1
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>-- WARNING
->>grant INSERT on c1.s1.mv10 to $$SQLUSER3Q$$;
-
-*** WARNING[1012] No privileges were granted.  You lack grant option on the specified privileges.
-
---- SQL operation completed with warnings.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1I_user1_3)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section wgoR1I_user1_3
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>grant INSERT on mv10 to $$SQLUSER2Q$$ WITH GRANT OPTION;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1I_user2_2)" -u $$SQLUSER2X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER2
-
->>?section wgoR1I_user2_2
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>grant INSERT on c1.s1.mv10 to $$SQLUSER3Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1I_user1_4)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section wgoR1I_user1_4
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>--FAIL
->>revoke INSERT on mv10 from $$SQLUSER2Q$$;
-
-*** ERROR[1014] Privileges were not revoked.  Dependent privilege descriptors still exist.
-
---- SQL operation failed with errors.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1I_user2_3)" -u $$SQLUSER2X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER2
-
->>?section wgoR1I_user2_3
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>revoke INSERT on c1.s1.mv10 from $$SQLUSER3Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1I_user1_5)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section wgoR1I_user1_5
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>revoke INSERT on mv10 from $$SQLUSER2Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1I_user1_6)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section wgoR1I_user1_6
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>drop mv mv10;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1D_title)";
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR1D_title
->>
->>------------------------------------------------------------------------------
->>-- DELETE 
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1D_user1_1)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section wgoR1D_user1_1
->>-- This CQD is added for creating a table  with no
->>-- partition or primary key when the POS is enabled.
->>control query default POS_ALLOW_NON_PK_TABLES 'ON';
-
---- SQL operation complete.
->>
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>create table t10 ( a int ) attribute all mvs allowed;
-
---- SQL operation complete.
->>create MV mv10 refresh on request initialize on refresh attribute all mvs allowed as select * from t10 group by a;
-
-*** WARNING[12112] A secondary index C1.S1.MV10_284691154_7791 was created for the materialized view.
-
---- SQL operation completed with warnings.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1D_user1_2)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section wgoR1D_user1_2
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>grant DELETE on mv10 to $$SQLUSER2Q$$;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1D_user2_1)" -u $$SQLUSER2X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER2
-
->>?section wgoR1D_user2_1
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>-- WARNING
->>grant DELETE on c1.s1.mv10 to $$SQLUSER3Q$$;
-
-*** WARNING[1012] No privileges were granted.  You lack grant option on the specified privileges.
-
---- SQL operation completed with warnings.
->>
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1D_user1_3)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section wgoR1D_user1_3
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>grant DELETE on mv10 to $$SQLUSER2Q$$ WITH GRANT OPTION;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1D_user2_2)" -u $$SQLUSER2X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER2
-
->>?section wgoR1D_user2_2
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>grant DELETE on c1.s1.mv10 to $$SQLUSER3Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1D_user1_4)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section wgoR1D_user1_4
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>--FAIL
->>revoke DELETE on mv10 from $$SQLUSER2Q$$;
-
-*** ERROR[1014] Privileges were not revoked.  Dependent privilege descriptors still exist.
-
---- SQL operation failed with errors.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1D_user2_3)" -u $$SQLUSER2X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER2
-
->>?section wgoR1D_user2_3
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>revoke DELETE on c1.s1.mv10 from $$SQLUSER3Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1D_user1_5)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section wgoR1D_user1_5
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>revoke DELETE on mv10 from $$SQLUSER2Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR1D_user1_6)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section wgoR1D_user1_6
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>drop mv mv10;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2_title)";
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR2_title
->>
->>
->>------------------------------------------------------------------------------
->>-- REVOKING WGO when it is being used
->>
->>exit;
-
-End of MXCI Session
-
->>
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2S_title)";
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR2S_title
->>
->>------------------------------------------------------------------------------
->>-- SELECT
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2S_user1_1)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section wgoR2S_user1_1
->>-- This CQD is added for creating a table  with no
->>-- partition or primary key when the POS is enabled.
->>control query default POS_ALLOW_NON_PK_TABLES 'ON';
-
---- SQL operation complete.
->>
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>create table t10 ( a int ) attribute all mvs allowed;
-
---- SQL operation complete.
->>create MV mv10 refresh on request initialize on create attribute all mvs allowed as select * from t10 group by a;
-
-*** WARNING[12112] A secondary index C1.S1.MV10_782753678_6452 was created for the materialized view.
-
---- SQL operation completed with warnings.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2S_user1_2)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section wgoR2S_user1_2
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>grant SELECT on mv10 to $$SQLUSER2Q$$ WITH GRANT OPTION;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2S_user2_1)" -u $$SQLUSER2X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER2
-
->>?section wgoR2S_user2_1
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>grant SELECT on c1.s1.mv10 to $$SQLUSER3Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2S_user1_3)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section wgoR2S_user1_3
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>--FAIL
->>revoke GRANT OPTION FOR SELECT on mv10 from $$SQLUSER2Q$$ ;
-
-*** ERROR[1014] Privileges were not revoked.  Dependent privilege descriptors still exist.
-
---- SQL operation failed with errors.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2S_user2_2)" -u $$SQLUSER2X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER2
-
->>?section wgoR2S_user2_2
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>revoke SELECT on c1.s1.mv10 from $$SQLUSER3Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2S_user1_4)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section wgoR2S_user1_4
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>revoke GRANT OPTION FOR SELECT on mv10 from $$SQLUSER2Q$$ ;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2S_user2_3)" -u $$SQLUSER2X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER2
-
->>?section wgoR2S_user2_3
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>
->>-- WARNING
->>grant SELECT on c1.s1.mv10 to $$SQLUSER3Q$$;
-
-*** WARNING[1012] No privileges were granted.  You lack grant option on the specified privileges.
-
---- SQL operation completed with warnings.
->>
->>select * from c1.s1.mv10;
-
---- 0 row(s) selected.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2S_user1_5)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section wgoR2S_user1_5
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>revoke SELECT on mv10 from $$SQLUSER2Q$$ ;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2S_user1_6)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section wgoR2S_user1_6
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>drop mv mv10;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2I_title)";
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR2I_title
->>
->>------------------------------------------------------------------------------
->>-- INSERT
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2I_user1_1)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section wgoR2I_user1_1
->>-- This CQD is added for creating a table  with no
->>-- partition or primary key when the POS is enabled.
->>control query default POS_ALLOW_NON_PK_TABLES 'ON';
-
---- SQL operation complete.
->>
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>create table t10 ( a int ) attribute all mvs allowed;
-
---- SQL operation complete.
->>create MV mv10 refresh on request initialize on refresh attribute all mvs allowed as select * from t10 group by a;
-
-*** WARNING[12112] A secondary index C1.S1.MV10_112199374_9145 was created for the materialized view.
-
---- SQL operation completed with warnings.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2I_user1_2)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section wgoR2I_user1_2
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>grant INSERT on mv10 to $$SQLUSER2Q$$ WITH GRANT OPTION;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2I_user2_1)" -u $$SQLUSER2X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER2
-
->>?section wgoR2I_user2_1
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>grant INSERT on c1.s1.mv10 to $$SQLUSER3Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2I_user1_3)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section wgoR2I_user1_3
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>--FAIL
->>revoke GRANT OPTION FOR INSERT on mv10 from $$SQLUSER2Q$$ ;
-
-*** ERROR[1014] Privileges were not revoked.  Dependent privilege descriptors still exist.
-
---- SQL operation failed with errors.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2I_user2_2)" -u $$SQLUSER2X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER2
-
->>?section wgoR2I_user2_2
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>revoke INSERT on c1.s1.mv10 from $$SQLUSER3Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2I_user1_4)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section wgoR2I_user1_4
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>revoke GRANT OPTION FOR INSERT on mv10 from $$SQLUSER2Q$$ ;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2I_user2_3)" -u $$SQLUSER2X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER2
-
->>?section wgoR2I_user2_3
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>-- WARNING
->>
->>grant SELECT on c1.s1.mv10 to $$SQLUSER3Q$$;
-
-*** WARNING[1012] No privileges were granted.  You lack grant option on the specified privileges.
-
---- SQL operation completed with warnings.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2I_user1_5)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section wgoR2I_user1_5
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>revoke INSERT on mv10 from $$SQLUSER2Q$$ ;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2I_user1_6)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section wgoR2I_user1_6
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>drop mv mv10;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2D_title)";
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR2D_title
->>
->>------------------------------------------------------------------------------
->>-- DELETE
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2D_user1_1)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section wgoR2D_user1_1
->>-- This CQD is added for creating a table  with no
->>-- partition or primary key when the POS is enabled.
->>control query default POS_ALLOW_NON_PK_TABLES 'ON';
-
---- SQL operation complete.
->>
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>create table t10 ( a int ) attribute all mvs allowed;
-
---- SQL operation complete.
->>create MV mv10 refresh on request initialize on create attribute all mvs allowed as select * from t10 group by a;
-
-*** WARNING[12112] A secondary index C1.S1.MV10_771166119_8294 was created for the materialized view.
-
---- SQL operation completed with warnings.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2D_user1_2)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section wgoR2D_user1_2
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>grant DELETE on mv10 to $$SQLUSER2Q$$ WITH GRANT OPTION;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2D_user2_1)" -u $$SQLUSER2X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER2
-
->>?section wgoR2D_user2_1
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>grant DELETE on c1.s1.mv10 to $$SQLUSER3Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2D_user1_3)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section wgoR2D_user1_3
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>--FAIL
->>revoke GRANT OPTION FOR DELETE on mv10 from $$SQLUSER2Q$$ ;
-
-*** ERROR[1014] Privileges were not revoked.  Dependent privilege descriptors still exist.
-
---- SQL operation failed with errors.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2D_user2_2)" -u $$SQLUSER2X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER2
-
->>?section wgoR2D_user2_2
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>revoke DELETE on c1.s1.mv10 from $$SQLUSER3Q$$;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2D_user1_4)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section wgoR2D_user1_4
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>revoke GRANT OPTION FOR DELETE on mv10 from $$SQLUSER2Q$$ ;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2D_user2_3)" -u $$SQLUSER2X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER2
-
->>?section wgoR2D_user2_3
->>set schema c2.s2;
-
---- SQL operation complete.
->>
->>--sql_user2 
->>-----------
->>-- WARNING
->>grant DELETE on c1.s1.mv10 to $$SQLUSER3Q$$;
-
-*** WARNING[1012] No privileges were granted.  You lack grant option on the specified privileges.
-
---- SQL operation completed with warnings.
->>
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2D_user1_5)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section wgoR2D_user1_5
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>revoke DELETE on mv10 from $$SQLUSER2Q$$ ;
-
---- SQL operation complete.
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR2D_user1_6)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section wgoR2D_user1_6
->>set schema c1.s1;
-
---- SQL operation complete.
->>
->>--sql_user1
->>-----------
->>drop mv mv10;
-
---- SQL operation complete.
->>drop table t10;
-
---- SQL operation complete.
->>
->>
->>
->>
->>exit;
-
-End of MXCI Session
-
->>
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR3_title)";
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
->>?section wgoR3_title
->>
->>------------------------------------------------------------------------------
->>-- ADDING WITH GRANT OPTION after a simple grant
->>
->>exit;
-
-End of MXCI Session
-
->>sh sh runmxci.ksh -i "WGORESTRICT(wgoR3_user1_1)" -u $$SQLUSER1X$$;
-/home/rmarton/svn_ws/security_dev_int_m4/sqf/export/bin32/sqlci
-Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
-(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
-
-Database user: SQL_USER1
-
->>?section wgoR3_user1_1
->>-- This CQD is added for creating a table  with no
->>-- partition or primary key when the POS is enabled.
->>control query def

<TRUNCATED>