Start/stop InterFormNG2 on the IBM i platform

Start/stop InterFormNG2 on the IBM i platform

Before you start the InterFormNG2 service you should consider, if the port number (default 8086) is to be used. If not, you can change the port number.

 

The job running the InterFormNG2 service is started/stopped with the IFORMNG2/IFORMNG2 subsystem.

Please notice, that the Spool2XML monitor jobs are also started/stopped with the subsystem.

 

You can start/stop the subsystem in these ways:

  1. It is recommended to setup your IBM i to start the IFORMNG2/IFORMNG2 subsystem at IPL.
  2. You can start and stop the subsystem, IFORMNG2/IFORMNG2 manually via the menu.
  3. You can also use commands to start and stop the subsystem, IFORMNG2/IFORMNG2.

Start InterformNG2 at IPL

It is recommended to ensure, that the IFORMNG2/IFORMNG2 subsystem is started automatically during IPL. Such an automatic start should be inserted as one of the last commands  in the program referenced in the system value, QSTRUPPGM. You can use the command, IFORMNG2/NG2STRSBS to start the IFORMNG2 subsystem. The command, NG2STRSBS command also includes a cleanup of old workfiles. You can also use the OS400 command, STRSBS SBSD(IFORMNG2/IFORMNG2), which does not perform a cleanup of workfiles. At best a MONMSG CPF0000 should also be added after the start of this subsystem. Please refer to your system administrator or InterForm support for more details.

Start/stop InterFormNG2 via the menu

You can manually start and stop InterFormNG2, if you run the command, IFORMNG2/IFORMNG2:

IFORMNG2                InterForm NG2 Main Menu 

Select one of the following:                         System . . . :  PMK250  
                                                     User . . . . :  KSE      
Administration                                       Version  . . :  20.01    
1. Work with monitored output queues                                    
2. Work with XML definitions                                            
5. Work with IFORMNG2 output queue                                      
                                                               
10. Start IFORMNG2 subsystem 
11. End IFORMNG2 subsystem                                                
12. Work with IFORMNG2 subsystem                                          
                                                                             
31. Display print service log                                            

Selection or command                                                          
===>                                                                          

F3=Exit   F4=Prompt   F9=Retrieve   F12=Cancel                                
F13=Information Assistant  F16=System main menu                            

Here you can use these options to start and stop the IFORMNG2 subsystem and InterFormNG2:

  • Start IFORMNG2 subsystem      

  1. End IFORMNG2 subsystem

Start/stop InterFormNG2 with commands

To start InterFormNG2 and the spool2XML monitor jobs you can run either of these commands:

STRSBS SBSD(IFORMNG2/IFORMNG2) or
IFORMNG2/NG2STRSBS

The last command will include a cleanup of old workfiles.

 

You run this command to stop InterFormNG2 and the Spool2XML monitor jobs:

ENDSBS SBSD(IFORMNG2/IFORMNG2) or
IFORMNG2/NG2ENDSBS

Notes
Remember to specify the OPTION and DELAY parameters to specify how fast the jobs are to be taken down.

    • Related Articles

    • Start/stop InterFormNG2 on Windows platform

      Before you start the InterFormNG2 service you should consider, if the port number (default 8086) is to be used. If not, you can change the port number. The normal, manual start/stop of the InterFormNG2 service is described below, and the procedure to ...
    • Connecting to AS400 from another platform

      Connecting to AS400 from another platform : The section below describes the steps to go through, if you want to monitor output queues with spooled files on the IBM i platform from an InterFormNG2 installation on another platform e.g. Windows or ...
    • Start and stop remote clients

      Refer to this for the complete setup of remote clients. This section contains information of how to start and stop the service, that runs the remote client. Starting a remote client service You can start a remote client in two ways: Via a Windows ...
    • Create a keystore on the IBM i platform

      You might need to create a keystore on the IBM i platform, e.g., for the preview client or the remote client. The steps below explain how to do this in detail. Do NOT place the keystore file inside any of the InterFormNG2 data or program directories, ...
    • Installing InterFormNG2 on IBM i

      Installation of InterFormNG2 on the IBM i platform is described below. Please notice the prerequisites - especially for OS400 and Java. You can also view this video: Please refer to Spool2XML for details regarding use of InterFormNG2 on the IBM i ...