In response to my initial request, I wonder whether anyone has got a skeleton RPG/400 pgm to invoke a system API.. thanks, Roger
Unconfigured Ad Widget
Collapse
Announcement
Collapse
No announcement yet.
API Quickstart ??
Collapse
X
-
API Quickstart ??
Here's a simple one. The D-specs tell the compiler to call the external procedure named "atol", passing a string and returning a numeric value. Later, I can use it in an eval statement. In the C-spec shown, I take a character field (KWVAL), trim it to remove blanks, convert it to a number, and subtract 1 from it. This is obviously a very, very simple example. What exactly are you looking for? Joe
-
API Quickstart ??
Try chapter 5 of this free Redbook: Who Knew You Could Do That with RPG IV? A Sorcerer's Guide to System Access and More http://publib-b.boulder.ibm.com/Redb.../sg245402.html
Comment
Comment