{"id":6672,"date":"2015-07-15T03:31:37","date_gmt":"2015-07-15T06:31:37","guid":{"rendered":"http:\/\/www.orabr.com\/errbuf-and-retcode-in-oracle-apps-concurrent-programs-encerrar-com-vermelho-ou-amarelo\/"},"modified":"2015-07-15T03:31:37","modified_gmt":"2015-07-15T06:31:37","slug":"ERRBUF-AND-RETCODE-IN-ORACLE-APPS-CONCURRENT-PROGRAMS-ENCERRAR-COM-VERMELHO-OU-AMARELO","status":"publish","type":"post","link":"https:\/\/orabr.virttus.com\/?p=6672","title":{"rendered":"ERRBUF AND RETCODE IN ORACLE APPS CONCURRENT PROGRAMS (ENCERRAR COM VERMELHO OU AMARELO)"},"content":{"rendered":"<p><HTML><HTML><\/p>\n<h3 class=\"post-title entry-title\" style=\"margin: 0px; position: relative; font-weight: normal; font-size: 30px; line-height: normal; font-family: Georgia, Utopia, 'Palatino Linotype', Palatino, serif;\">ERRBUF and RETCODE in ORACLE APPS CONCURRENT PROGRAMS .<\/h3>\n<p>Para sa\u00edda do concurrent em vermelho ou amarelo.<\/p>\n<div class=\"post-header\" style=\"line-height: 1.6; margin: 0px 0px 1em; color: #997755; font-family: Georgia, Utopia, 'Palatino Linotype', Palatino, serif; font-size: 14px;\">\u00a0<\/div>\n<div id=\"post-body-2869558660469412223\" class=\"post-body entry-content\" style=\"width: 558px; font-size: 14px; line-height: 1.5; position: relative; font-family: Georgia, Utopia, 'Palatino Linotype', Palatino, serif;\">\n<div dir=\"ltr\">RETCODE:\u00a0Este par\u00e2metro retorna o estatus do programa.<br \/>0- Sucesso\u00a0&#8211;Completo<br \/>1- Aten\u00e7\u00e3o\u00a0&#8212; Amarelo<br \/>2- Erro &#8212;\u00a0Vermelho<\/p>\n<p>Exemplo<br \/>Create procedure \u00a0concurren1(ERRBUF out varchar2, RETCODE \u00a0out varchar2, v_order_id in varchar2)<br \/>as<br \/>begin&#8230;<br \/>&#8230;<br \/>begin<br \/>..<br \/>exception<br \/>when no_data_found then<br \/>retcode := 1;<br \/>errbuf:= &#8216;No data found for this query&#8217;;<br \/>end;<br \/>&#8230;<br \/>&#8230;<br \/>&#8230;<br \/>retcode:= 0;<br \/>commit;<br \/>exception<br \/>when others then<\/p>\n<p><\/p>\n<div style=\"margin: 0px;\">retcode := 2;<\/div>\n<div style=\"margin: 0px;\">errbuf:= &#8216;Unexpected Error &#8216;||SQLERRM;<\/div>\n<div style=\"margin: 0px;\">end;<\/div>\n<\/div>\n<div style=\"clear: both;\">\u00a0<\/div>\n<\/div>\n<p><\/HTML><\/HTML><\/p>\n","protected":false},"excerpt":{"rendered":"<p>ERRBUF and RETCODE in ORACLE APPS CONCURRENT PROGRAMS . Para sa\u00edda do concurrent em vermelho ou amarelo. \u00a0 RETCODE:\u00a0Este par\u00e2metro retorna o estatus do programa.0-&hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29,110,56],"tags":[],"class_list":["post-6672","post","type-post","status-publish","format-standard","hentry","category-base-de-conhecimentos","category-estudo-e-pesquisa","category-oracle"],"_links":{"self":[{"href":"https:\/\/orabr.virttus.com\/index.php?rest_route=\/wp\/v2\/posts\/6672","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/orabr.virttus.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/orabr.virttus.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/orabr.virttus.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/orabr.virttus.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6672"}],"version-history":[{"count":0,"href":"https:\/\/orabr.virttus.com\/index.php?rest_route=\/wp\/v2\/posts\/6672\/revisions"}],"wp:attachment":[{"href":"https:\/\/orabr.virttus.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6672"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/orabr.virttus.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6672"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/orabr.virttus.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6672"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}