Call RPG Programs from M3

Call RPG Programs from M3

To call RPG From the M3 Pattern you have 2 options to inherit from:

@EXCUSRPGM

This is the default pattern , this uses the JT400 toolkit to make the call to the RPG program.  

Requirements

To use this you should use the M3 Login process as this process gets/sets all the information for the logged user
As long as the M3 login function is used to access the application, logged user library list will be used

-EXCUSRPGM

When inherit from this pattern the application  will just call the RPG object directly, using the CA Plex Dispatcher

Requirements

You will need to re-generate all the calling functions to be sure this work.
Make sure to set the "DefaultAS400" entry of the properties file.

    • Related Articles

    • Diagram Viewer (Call Graph) (Latest)

      CM EvolveIT Diagram Viewer allows visualizing Object relation. This document covers how to use CM EvolveIT Diagram View.           New at v11.4                                                                                                      Open ...
    • Use CM evolveIT to Solve Bottlenecks in Your COBOL Programs

      Here is an easy but powerful way to use CM evolveIT to identify potential bottlenecks in your COBOL system using a simple regular expression search.  Multi-level looping structures are an instance where performance issues might be found.  Identifying ...
    • 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 ...
    • What's New

      V11.8 Feature Description Mode AI Summary 1. New AI Summary Request 2. Review/Approve/Reject/Update AI Summary requested Common New Relationship 1. Program access Data Area Common New Asset Type 1. Data Area 2. Array Common Elastic Search 1. Upgrade ...
    • AI Summary

      1. Overview The AI Summary feature is an intelligent document analysis system that automatically generates concise summaries of program documents. It consists of three main modules:  Summary Management, and Summary Review. Navigation Access the AI ...