VERIFIED SOLUTION i

How to call MailStream Plus from other applications

MailStream Plus, all versions, all platforms
 
On Windows, UNIX/Linux, and z/OS, MailStream Plus (MSP) can be called from other applications by calling the .bat file, .job file, or the JCL respectively.
On IBMi it can be called using a CL and the UPRUNJOB or UPSBMJOB commands.

But there are also some other ways.  In the MSP Guide (or 'Reference Guide') in the Chapter "MailStream Plus Workflow Interface" it lists and gives information/examples about other options available.  These may apply depending on the Operating System MSP is being used on.

1) MSDR00 - Standard Presort Engine Script
Script MSDR00 runs postal presorts without having to create separate/custom scripts for each job. It
also allows Pitney Bowes technology platforms, such as Spectrum or EngageOne, to call and run
the postal presort function. The script runs on Windows (MSDR00.BAT) UNIX/Linux systems (msdr00).

2) MSDRWF - Command Line Executable Presort Engine
The executable interface allows you to perform postal presorts from a command line. It also allows
Pitney Bowes technology platforms, such as Spectrum or EngageOne, to call and run the postal
presort function. The command line Interface supports calls from Windows, UNIX, and Linux
systems.

3) MSDRAPI - Application Programmers’ Interface
MSDRAPI, the MailStream Plus callable API, allows you to perform postal presorting from within
your own programs. The API supports calls from Windows, UNIX, and Linux systems. The
MailStream Plus Workflow API is a C++ API that works with any programing language that supports
calls to a C++ API.
UPDATED:  October 26, 2017