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 ...
    • Patch Build to CM WebClient 1.8.8

      Latest Version: Date 07/31/2025 WebClient-1.8.9-pre13614 NOTE : If the hightail link doesn't open correctly the first time, please just reload the screen, we recommend using the Chrome browser to open it. IMPORTANT: Since version (1.8.9-pre13581) all ...
    • Source Scanner for HLASM/ASM

      This document describes the entities and relations the HLASM Scanner creates on encountering various ALC code constructs. Metrics The scanner computes a variety of standard code-line metrics, including: total lines of code comment line count blank ...