You do not see parameter lists when you use the Import RPG Wizard in Host Integration Server 2004 (884380)



The information in this article applies to:

  • Microsoft Host Integration Server 2004

SYMPTOMS

When you try to use the Import RPG Wizard, you cannot see any parameter lists.

CAUSE

If the *ENTRY PLIST statement does not come before the parameter list, the parameter list does not appear in the Import RPG Wizard.

RESOLUTION

To resolve this problem, change the Report Program Generator (RPG) code so that the *ENTRY PLIST statement comes before the parameter list.

STATUS

This behavior is by design.

MORE INFORMATION

Host Integration Server 2004 can communicate with RPG programs on an AS/400 computer through a feature that is named Transaction Integrator (TI). When you use the TI Designer to build TI components in Microsoft Visual Studio .NET, the Import RPG Wizard reads a text file that contains RPG code, and then the Import RPG Wizard extracts information about input parameters and output parameters to be used. The RPG Import Wizard only recognizes parameter entries if the *ENTRY PLIST statement comes before these parameter entries in the RPG code.

The following code sample from the Host Integration Server 2004 Software Development Kit (SDK) shows the correct placement of the *ENTRY PLIST statement.
**********************************
      *  PROGRAM      - CDRBANKRPG 
      *  DESCRIPTION  - AS400 CEDAR BANK SERVER
      *  WRITTEN FOR  - MICROSOFT Corporation
      ********************************************
            
     H                  
      *                 
      * Data Definitions
      *                                  
     D Name            s             30A 
     D AccBal          S              9P 2  
     D AcctNum         S              6A 
      *                                  
      * Mainline                        
      *                                 
     C     *ENTRY        PLIST  
     c                   PARM                    NAME
     c                   PARM                    AcctNum
     c                   PARM                    AccBal
      *                                                
     c                   Z-ADD     2003.66       AccBal
      *                                                
     C                   EVAL      *INLR         = *ON

Modification Type:MajorLast Reviewed:8/31/2004
Keywords:kbtshoot kbprb KB884380