{"id":55,"date":"2024-08-26T11:37:19","date_gmt":"2024-08-26T16:37:19","guid":{"rendered":"https:\/\/www.bluestonesolutionsgroup.com\/?p=55"},"modified":"2024-08-26T11:37:19","modified_gmt":"2024-08-26T16:37:19","slug":"running-an-empty-patch-cycle-in-r12-2","status":"publish","type":"post","link":"https:\/\/www.bluestonesolutionsgroup.com\/?p=55","title":{"rendered":"Running an Empty Patch Cycle in R12.2"},"content":{"rendered":"\n<p>There are situations where it makes sense to run an &#8220;empty&#8221; patch cycle in E-Business Suite R12.2.  For example, I will run an empty patch cycle after a major operation (R12.1.3  to R12.2 upgrade, platform migration, etc.) to confirm that I can, successfully run a patch cycle.  <\/p>\n\n\n\n<p>The other &#8220;trick&#8221; that I tend to use is a <code>tail.txt <\/code>file to indicate when a process has finished. \u00a0It is a simple ASCII text file that contains the following:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> ####### ### #     # ###  #####  #     # ####### ######  \n #        #  ##    #  #  #     # #     # #       #     # \n #        #  # #   #  #  #       #     # #       #     # \n #####    #  #  #  #  #   #####  ####### #####   #     # \n #        #  #   # #  #        # #     # #       #     # \n #        #  #    ##  #  #     # #     # #       #     # \n #       ### #     # ###  #####  #     # ####### ######  \n<\/code><\/pre>\n\n\n\n<p>There are several ways to create it. \u00a0I used to use the Unix <code>banner <\/code>command (which isn&#8217;t generally present on Linux systems).  Because of that, the easiest way now is to use an online ASCII art generator:<\/p>\n\n\n\n<p><a href=\"https:\/\/www.patorjk.com\/software\/taag\/#p=display&amp;f=Banner&amp;t=FINISHED\">https:\/\/www.patorjk.com\/software\/taag\/#p=display&amp;f=Banner&amp;t=FINISHED<\/a><\/p>\n\n\n\n<p>By having <code>tail -f ${DL}\/tail.txt<\/code> run at the end of a long command, it is pretty easy to notice when the process completes. \u00a0This is particularly useful when you may have the window in the background, be running from a different machine, or maybe you&#8217;re just glancing at the screen from across a room.<\/p>\n\n\n\n<p>As an example, let&#8217;s say you wanted to run an &#8220;empty patch cycle&#8221; as described in MOS 2316218.1:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>. \/oracle\/${TWO_TASK}\/EBSapps.env run\ndate;{ echo ${APPSPW}; echo ${SYSTEMPW}; echo ${WLADMIN}; }|\\\nadop phase=prepare,finalize,cutover; date; tail -f ${DL}\/tail.txt\n\n. \/oracle\/${TWO_TASK}\/EBSapps.env run\ndate;{ echo ${APPSPW}; echo ${SYSTEMPW}; echo ${WLADMIN}; }|\\\nadop phase=cleanup cleanup_mode=full;date;tail -f ${DL}\/tail.txt\n<\/code><\/pre>\n\n\n\n<p class=\"has-text-color has-background has-link-color wp-elements-403e37fefbb70a14006edc93528c640f\" style=\"color:#000000;background-color:#f1c7c7\"><strong>IMPORTANT:  Simply printing the FINISHED text block does NOT indicate SUCCESSFUL completion. \u00a0Only that the command has finished. \u00a0As always, be sure check for errors.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are situations where it makes sense to run an &#8220;empty&#8221; patch cycle in E-Business Suite R12.2. For example, I will run an empty patch cycle after a major operation (R12.1.3 to R12.2 upgrade, platform migration, etc.) to confirm that &hellip; <a href=\"https:\/\/www.bluestonesolutionsgroup.com\/?p=55\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,10,20,18],"tags":[28,29,27],"class_list":["post-55","post","type-post","status-publish","format-standard","hentry","category-ebs","category-oracle","category-patching-ebs","category-unix","tag-e-business-suite","tag-linux-2","tag-oracle"],"_links":{"self":[{"href":"https:\/\/www.bluestonesolutionsgroup.com\/index.php?rest_route=\/wp\/v2\/posts\/55","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bluestonesolutionsgroup.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bluestonesolutionsgroup.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bluestonesolutionsgroup.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bluestonesolutionsgroup.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=55"}],"version-history":[{"count":1,"href":"https:\/\/www.bluestonesolutionsgroup.com\/index.php?rest_route=\/wp\/v2\/posts\/55\/revisions"}],"predecessor-version":[{"id":56,"href":"https:\/\/www.bluestonesolutionsgroup.com\/index.php?rest_route=\/wp\/v2\/posts\/55\/revisions\/56"}],"wp:attachment":[{"href":"https:\/\/www.bluestonesolutionsgroup.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=55"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bluestonesolutionsgroup.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=55"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bluestonesolutionsgroup.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=55"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}