• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • Data Structure Parameters in RPG Prototypes

    November 15, 2002 Hey, Ted

    Hey, Ted:

    Back in my RPG III (RPG/400) days, it was easy to define an entry parameter as a data structure.

    IPARM1      DS 
    I                                       1   8 ACTION 
    I                                       9  10 CODE   
    I                                      11  120RTNVAL 
    I* 
    C          *ENTRY    PLIST
    C                    PARM           PARM1
    

    I used this same method in RPG IV before I started prototyping entry parameters.

    D Parm1          DS 
    D  Action                1      8  
    D  Code                  9     10  
    D  RtnVal               11     12  0 
    I*  
    C     *entry       plist                        
    C                  parm                    Parm1
    

    Now I prototype entry parameters, as you described in the November 16, 2001 issue of Midrange Guru. Since the D-spec for …

    Read more

Content archive

  • The Four Hundred
  • Four Hundred Stuff
  • Four Hundred Guru

Recent Posts

  • POWERUp 2025 –Your Source For IBM i 7.6 Information
  • Maxava Consulting Services Does More Than HA/DR Project Management – A Lot More
  • Guru: Creating An SQL Stored Procedure That Returns A Result Set
  • As I See It: At Any Cost
  • IBM i PTF Guide, Volume 27, Number 19
  • IBM Unveils Manzan, A New Open Source Event Monitor For IBM i
  • Say Goodbye To Downtime: Update Your Database Without Taking Your Business Offline
  • i-Rays Brings Observability To IBM i Performance Problems
  • Another Non-TR “Technology Refresh” Happens With IBM i TR6
  • IBM i PTF Guide, Volume 27, Number 18

Subscribe

To get news from IT Jungle sent to your inbox every week, subscribe to our newsletter.

Pages

  • About Us
  • Contact
  • Contributors
  • Four Hundred Monitor
  • IBM i PTF Guide
  • Media Kit
  • Subscribe

Search

Copyright © 2025 IT Jungle