M3 Batch Process

M3 Batch Process

M3 Batch Processor Flow:

  1. The M3 web application inform the M3 run-time the next function call is to be processed asynchronously as a Batch Job
  2. M3 creates a JSON document that describes the function to call and its parameters
  3. M3 run-time redirects the Plex Call to the Plex dispatcher running on the batch server
  4. The JSON document is saved and a message is sent to the batch processor queue
  5. The Batch processor fetches the next message from the queue
  6. The Batch processor fetches and parses the JSON document and calls the M3 Plex Function

Prerequisites:

  • Java 8 installed in AS400
  • IFS folders for development, QA and production enviroment
  • Data Area Objects in AS400

Configuration

  • Creation of Data Area Objects
  • Creation of enviroments

Creation of Data Area Objects

The M3 batch process requires 2 Data Area Object:

  • M3_HOME,  Java Home folder for Development
  • M3_APP, Java Application folder




Creation of Environments

The development environment will have the next structure:

../dev/lib    this folder will contain all the M3 run-tine files

../dev/bin   this folder will contain the batch.propeties, obuser.properties and the m3BAtchJob.sh

..dev/app/lib  this folder will contains all the application files, jar files of the application

 


    • Related Articles

    • MatchPoint Client Installation Process

      Installation Process 1 - Create the Next Folders: a. C:\MatchPoint\Client b. C:\MatchPoint\Docs 2 - Double Click MatchPoint Installer **  3- Select Install Client Components click forward 4 - Accept the License 5 - Select the Folder ...
    • Allow CA Plex process to consume 4GB memory on 64-bit Hardware

      Details: Many CA Plex users are receiving an 'out of memory' error or GPF. We have been waiting for either a memory leak fix OR a 64-bit version of CA Plex.exe. This article explains the benefits of 64-bit hardware for Plex.exe, and how to get there ...
    • Implement Abilities to Control the Code Generation Process to Control the Application Behavior

      CustomFormButtons.inc is a good example to exemplify the addition of custom code within the test application presented in this document. In this example, we will be adding a button to navigate to a specific form ‘Supplier Info’. Adding the custom ...
    • CM WebClient for CM M3

      Pre-requisites CA Plex dispatcher – The System i TCP/IP Dispatcher is required when the transformed applications call external iSeries objects (RPG, CL programs) Properties Configuration m3startup.properties This is the file were the AS400 ...
    • CM evolveIT v11.7 Release Note

      CM evolveIT v11.7 Release Note AI Analysis Playground Ask analyzing source code Chat like user interface allows to ask additional questions Integrated with GPT-4o LLM Custom Query and Reporting Enhancement Integrated with jsReport and generate well ...