Thursday, March 7, 2013

Scheduling app engine through PeopleCode


Local ProcessRequest &MYRQST;
 
   &MyAppName = "CSGC_OL_RVW";
   &MYRQST = CreateProcessRequest("Application Engine", &MyAppName);
   &MYRQST.RunControlID = "TEST";
   &MYRQST.RunLocation = "PSUNX";    
   &MYRQST.Schedule();
 
  If &MYRQST.Status = 0 Then /* if Schedule status is success */

  End-If;

No comments:

Post a Comment