• 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

  • 2025: An IBM i Year In Review
  • A Tale Of Two Server Markets
  • Guru: CRTSRVPGM Parameters That Can Save or Sink You
  • As I See It: What’s Past is Prologue
  • IBM i PTF Guide, Volume 27, Numbers 49 Through 52
  • Learning And Laughing With Scott Forstie And Tim Rowe
  • IBM’s CEO Says GenAI Is Great For Enterprise, But It Will Not Be AGI
  • Guru: A First Look at Bob, The IBM i Assistant That’s Closer Than You Think
  • Happy Holidays To All Of You From All Of Us
  • IBM i PTF Guide, Volume 27, Number 48

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