Enable AS400 commands in InterFormNG2

Enable AS400 commands in InterFormNG2

One of the prerequisites for calling functions in InterFormNG2 via commands on the IBM i platform is, that you have enabled AS400 commands in the InterFormNG2 configuration.

 

It is possible to setup InterFormNG2 to run the commands on another machine or another platform from the IBM i. You just need to ensure, that you have a valid license for the base, that is running on the IBM i platform.

 

InterFormNG2 will not execute any AS400 command requests, if AS400 commands are not enabled.

 

To enable the AS400 commands you need to edit the configuration file, application-default.properties. It is highly recommended to save a copy of the file before you edit it.

 

On the IBM i platform you find the application-default.properties files in the IFS inside: /iformng2/InterFormNG-shell/Core.

 

On the windows platform you find the configuration file inside: C:\Program Files\InterFormNG2

 

To enable AS400 commands you need to add this line to the properties file:

enable.as400.commandLine=true

 

So after the edit your file might contain these lines:

 

interformng2.privateKey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx                                                  

server.port=8086

enable.as400.commandLine=true

 

Important: Remember to restart the InterFormNG2 service after changing the configuration file. The changes are activated after the next restart. On the IBM i platform you restart the InterFormNG2 service by stopping and starting the subsystem, IFORMNG2/IFORMNG2. The procedure for the Windows platform is covered in this section.

    Notice: Help Center Transition Update

    As of January 13, 2025, we are excited to announce that our new Help Center is in the final stages of development. While the Knowledge Base is already accessible, our current JIRA system will continue to manage support tickets during this transition period. For assistance with InterForm Output Management Software, please refer to the Support for InterForm Output Management Software.

    We appreciate your patience and understanding as we work to enhance your support experience. If you have any questions or encounter any issues, please do not hesitate to reach out via the existing support channels.

    Best regards,
    The InterForm Support Team


      • Related Articles

      • Extra PCL commands

        The Extra PCL commands workflow component is an advanced set meta data workflow component. It only has effect, if you later merge into a PCL print data stream later in the same workflow. With this you can add your own PCL commands in the PCL output ...
      • The AS400 commands

        The AS400 commands : It is possible to run a CL command from your CL-programs on the IBM i (AS400) platform. If you want to do that, then you should check out this section for the prerequisites. InterFormNG2 is shipped with two predefined commands, ...
      • Extra PJL commands

        With this advanced set meta data workflow component, you can add your own PJL commands in the PCL/PDF output from InterFormNG2 e.g. for enabling/disabling color printing, stapling, punching to select a specific output bin or include user ID and ...
      • Mime type advanced settings

        Mime type advanced settings: This section covers mime type (printer language specific) specific settings in InterFormNG2. Depending on the type of mime type (the printer language, that is to be used for the specific printer), one of these options are ...
      • Starting and stopping the InterFormNG2 Server

        The InterFormNG servers are running in the IFORMNG2 subsystem. You simply stop or start the servers by stopping or starting the subsystem from the menu or via these commands: ENDSBS IFORMNG2 STRSBS IFORMNG2/IFORMNG2 It is advisable to setup start of ...