{"id":2652,"date":"2012-07-10T14:26:42","date_gmt":"2012-07-10T18:26:42","guid":{"rendered":"https:\/\/pitss.org\/us\/2012\/07\/10\/finding-error-codes-when-running-a-host-command-in-forms\/"},"modified":"2017-07-28T15:12:27","modified_gmt":"2017-07-28T19:12:27","slug":"host-command-in-oracle-forms","status":"publish","type":"post","link":"https:\/\/pitss.org\/us\/2012\/07\/10\/host-command-in-oracle-forms\/","title":{"rendered":"Finding Error Codes When Running a HOST Command in Forms"},"content":{"rendered":"<p>By default, when a HOST command in Oracle Forms is run such as host(lv_host_command,no_screen), it does not come back with any return or error code. However, there are a couple options you can use to obtain error codes if a failure was to happen:<\/p>\n<ul>\n<li>Modify the script and log all messages in a file. After executing the module(s), check the log file to see the results.<\/li>\n<li>You can also implement a C program that is executed from Forms and returns the error code back to forms.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>By default, when a HOST command in Oracle Forms is run such as host(lv_host_command,no_screen), it does not come back with any return or error code. However, there are a couple options you can use to obtain error codes if a failure was to happen: Modify the script and log all messages in a file. After [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[22,14],"tags":[11,25,23],"class_list":["post-2652","post","type-post","status-publish","format-standard","hentry","category-forms","category-resolve-issues","tag-11g","tag-customer-support-request","tag-forms"],"_links":{"self":[{"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/posts\/2652","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/comments?post=2652"}],"version-history":[{"count":4,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/posts\/2652\/revisions"}],"predecessor-version":[{"id":9864,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/posts\/2652\/revisions\/9864"}],"wp:attachment":[{"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/media?parent=2652"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/categories?post=2652"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/tags?post=2652"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}