|
You need to understand subroutines vs. procedures, and procedures vs. service programs.
https://www.mcpressonline.com/programming/rpg/how-to-create-compile-and-use-service-programs
Then you can understand service programs in more detail:
https://www.mcpressonline.com/programming/rpg/ile-rpg-service-programs-a-tutorial
You also need to understand binding, especially static vs. dynamic:
http://www.go4as400.com/chapterload.aspx?cid=401
I suggest Googling RPG service programs; that's how I got to these great articles. The authors of the first two articles, Thomas Snyder and David Shirey, have written extensively. The Go4AS400 site (the last article) has a ton of tutorial information. Also look specifically for things written by Jon Paris, Susan Gantner and Barbara Morris (among many others). Be sure to check the comments on the articles.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.