{"id":1386,"date":"2017-07-04T13:03:53","date_gmt":"2017-07-04T13:03:53","guid":{"rendered":"http:\/\/www.theSQLReport.com\/?p=1386"},"modified":"2017-07-04T13:03:53","modified_gmt":"2017-07-04T13:03:53","slug":"running-a-dip-script-in-teradata","status":"publish","type":"post","link":"http:\/\/www.theSQLReport.com\/?p=1386","title":{"rendered":"Running A DIP Script in Teradata"},"content":{"rendered":"<h3><strong>Note:<\/strong><\/h3>\n<p>The following was run on a Teradata Express 15.10 VM.<\/p>\n<h3>Problem:<\/h3>\n<p>Teradata Support&#8217;s response to correcting a problem we were having with calendar functions was \u201crunning DIPCAL should successfully fix this error\u201d.\u00a0 I needed to know how to run a DIP Script<\/p>\n<h3>RESOLUTION:<\/h3>\n<p>Note: This is not the only way to way to run a DIP Script.<\/p>\n<ul>\n<li>Log on to one of the database nodes as root or a super user.<\/li>\n<li>From the command line, run: <strong>cnsterm 6<\/strong><\/li>\n<li>In the CNSTERM session window, enter the command: <strong>start dip<\/strong><\/li>\n<li>Make a note, which window has started in, and exit the session by pressing the keys: <strong>CTRL + c<\/strong><\/li>\n<\/ul>\n<p><a href=\"http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2017\/05\/start_dip.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1389 size-full\" src=\"http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2017\/05\/start_dip.jpg\" alt=\"start_dip\" width=\"637\" height=\"385\" srcset=\"http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2017\/05\/start_dip.jpg 637w, http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2017\/05\/start_dip-300x181.jpg 300w, http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2017\/05\/start_dip-210x127.jpg 210w\" sizes=\"(max-width: 637px) 100vw, 637px\" \/><\/a><\/p>\n<ul>\n<li>Open the window running the DIP session from the number listed above: <strong>cnsterm 1<\/strong><\/li>\n<li>Enter the DBC password for the database node. Note that the DBC password will be visible on the screen.<\/li>\n<\/ul>\n<p><a href=\"http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2017\/05\/Enter_DBC_Password.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1391 size-full\" src=\"http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2017\/05\/Enter_DBC_Password.jpg\" alt=\"Enter_DBC_Password\" width=\"626\" height=\"299\" srcset=\"http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2017\/05\/Enter_DBC_Password.jpg 626w, http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2017\/05\/Enter_DBC_Password-300x143.jpg 300w, http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2017\/05\/Enter_DBC_Password-210x100.jpg 210w\" sizes=\"(max-width: 626px) 100vw, 626px\" \/><\/a><\/p>\n<ul>\n<li>A list will appear of all the scripts that can be run, choose the number of the script needed.<\/li>\n<\/ul>\n<p><a href=\"http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2017\/05\/DIP_Menu.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1390 size-full\" src=\"http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2017\/05\/DIP_Menu.jpg\" alt=\"DIP_Menu\" width=\"639\" height=\"799\" \/><\/a><\/p>\n<ul>\n<li>After the script has completed, to exit the DIP session, press: <strong>n<\/strong><\/li>\n<li>Exit the session by pressing the keys: <strong>CTRL + c<\/strong><\/li>\n<li>Verify there was no errors in the output log.<\/li>\n<\/ul>\n<p><a href=\"http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2017\/05\/Exit_DIP.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1393 size-full\" src=\"http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2017\/05\/Exit_DIP.jpg\" alt=\"Exit_DIP\" width=\"630\" height=\"195\" srcset=\"http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2017\/05\/Exit_DIP.jpg 630w, http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2017\/05\/Exit_DIP-300x93.jpg 300w, http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2017\/05\/Exit_DIP-210x65.jpg 210w\" sizes=\"(max-width: 630px) 100vw, 630px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Note: The following was run on a Teradata Express 15.10 VM. Problem: Teradata Support&#8217;s response to correcting a problem we were having with calendar functions was \u201crunning DIPCAL should successfully &hellip; <a class=\"readmore\" href=\"http:\/\/www.theSQLReport.com\/?p=1386\">Continue Reading &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":1390,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[54],"tags":[69,97,98],"class_list":["post-1386","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-teradata","tag-cnsterm","tag-dip-script","tag-dipcal"],"_links":{"self":[{"href":"http:\/\/www.theSQLReport.com\/index.php?rest_route=\/wp\/v2\/posts\/1386"}],"collection":[{"href":"http:\/\/www.theSQLReport.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.theSQLReport.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.theSQLReport.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.theSQLReport.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1386"}],"version-history":[{"count":5,"href":"http:\/\/www.theSQLReport.com\/index.php?rest_route=\/wp\/v2\/posts\/1386\/revisions"}],"predecessor-version":[{"id":1399,"href":"http:\/\/www.theSQLReport.com\/index.php?rest_route=\/wp\/v2\/posts\/1386\/revisions\/1399"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.theSQLReport.com\/index.php?rest_route=\/wp\/v2\/media\/1390"}],"wp:attachment":[{"href":"http:\/\/www.theSQLReport.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1386"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.theSQLReport.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1386"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.theSQLReport.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1386"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}