{"id":395,"date":"2012-09-18T19:28:00","date_gmt":"2012-09-18T13:58:00","guid":{"rendered":"https:\/\/www.psoftsearch.com\/interview-questions\/?p=395"},"modified":"2012-09-18T19:28:50","modified_gmt":"2012-09-18T13:58:50","slug":"mode-system-variable","status":"publish","type":"post","link":"https:\/\/www.psoftsearch.com\/interview-questions\/mode-system-variable\/","title":{"rendered":"%Mode System Variable in PeopleCode"},"content":{"rendered":"<p>It&#8217;s common to write PeopleCode that fires only when a Component is accessed in a particular mode. We use a System Variable called %Mode that returns a character based on the present mode and then, use it in a conditional statement to achieve this.<\/p>\n<p>Can you list the different modes available in PeopleSoft and the corresponding values that %Mode would return?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It&#8217;s common to write PeopleCode that fires only when a Component is accessed in a particular mode. We use a System Variable called %Mode that returns a character based on the present mode and then, use it in a conditional statement to achieve this. Can you list the different modes available in PeopleSoft and the [&hellip;]<\/p>\n","protected":false},"author":18,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[30],"tags":[],"_links":{"self":[{"href":"https:\/\/www.psoftsearch.com\/interview-questions\/wp-json\/wp\/v2\/posts\/395"}],"collection":[{"href":"https:\/\/www.psoftsearch.com\/interview-questions\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.psoftsearch.com\/interview-questions\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.psoftsearch.com\/interview-questions\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/www.psoftsearch.com\/interview-questions\/wp-json\/wp\/v2\/comments?post=395"}],"version-history":[{"count":6,"href":"https:\/\/www.psoftsearch.com\/interview-questions\/wp-json\/wp\/v2\/posts\/395\/revisions"}],"predecessor-version":[{"id":401,"href":"https:\/\/www.psoftsearch.com\/interview-questions\/wp-json\/wp\/v2\/posts\/395\/revisions\/401"}],"wp:attachment":[{"href":"https:\/\/www.psoftsearch.com\/interview-questions\/wp-json\/wp\/v2\/media?parent=395"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.psoftsearch.com\/interview-questions\/wp-json\/wp\/v2\/categories?post=395"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.psoftsearch.com\/interview-questions\/wp-json\/wp\/v2\/tags?post=395"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}