emPath Custom Command Procedures

Expand / Collapse
 
     

emPath Custom Command Procedures


 Please find attached a compiled HTML document which contains numerous custom command procedure examples along with explanations for each.

Note, that if you receive the mesage "This program cannot display the webpage" after you download the attached document then you will need to unblock the compiled HTML.  Unblock as follows:

  1. Right click on the downloaded document
  2. Select properties
  3. Click the unblocked button.
  4. Click the apply button
  5. Click the ok button.

Basic Concepts:

Custom batch jobs can easily be added to emPath through the “Report” setup windows (ReportAdd., ReportDetails, ReportElementAdd, and ReportElementDetails). Once these custom reports have been added and security has been updated then end users may submit the custom reports for processing. However until you create a custom command procedure the custom reports will not accomplish anything.



The custom reports will prompt for the report elements you have added as part of the setup. These report elements along with the report id and program id are written by emPath to the PYT (Batch Report Transaction) file. EmPath will then trigger a command procedure, with the name you have setup, to process. As a result one of the first things your custom command procedure will need to do is read the PYT to determine what report elements have been passed to the command procedure.



Note that it is possible to run emPath custom command procedures from as scheduled jobs without the emPath custom report submit. It is also possible to create PYT entries which delivered emPath programs expect.






Attachments


eccp.chm eccp.chm (1.68 MB, 62 views)

Add Your Comments


Name: *
Email Address:
Web Address:
Verification Code:
*
 

Details
Last Modified:Wednesday, December 24, 2008
Last Modified By: Denton Harryman
Type: HOWTO
Article not rated yet.
Article has been viewed 489 times.
Options