Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

Symptoms

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

↑ Back to the top


Cause

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

↑ Back to the top


Resolution

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

↑ Back to the top


Status

This behavior is by design.

↑ Back to the top


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

↑ Back to the top


Keywords: KB884380, kbprb, kbtshoot

↑ Back to the top

Article Info
Article ID : 884380
Revision : 3
Created on : 12/4/2007
Published on : 12/4/2007
Exists online : False
Views : 342