Midrange News for the IBM i Community


Posted by: Bob Cozzi
Rogue Programmer
Cozzi Productions, Inc.
Chicagoland
RPG 2014 The Next Generation - Discussion
has no ratings.
Published: 15 Jan 2013
Revised: 23 Jan 2013 - 4105 days ago
Last viewed on: 16 Apr 2024 (10664 views) 

Using IBM i? Need to create Excel, CSV, HTML, JSON, PDF, SPOOL reports? Learn more about the fastest and least expensive tool for the job: SQL iQuery.

RPG 2014 The Next Generation - Discussion Published by: Bob Cozzi on 15 Jan 2013 view comments(5)

IBM has completed the review of "RPG V" and will potentially release it along with IBM i version 8. From my experience with them, the only new component I know of is the move to completely free format; not as an option but as the standard.

Please use this Discussion Thread to post your requirements for an "RPG V" language" and to discuss those suggestions.

Remember, the ship has sailed so regardless of what we want, we're going to get what we get.

Return to midrangenews.com home page.
Sort Ascend | Descend

COMMENTS

(Sign in to Post a Comment)
Posted by: bobcozzi
Site Admin ****
Chicagoland
Comment on: RPG 2014 The Next Generation - Discussion
Posted: 11 years 3 months 5 days 1 hours 53 minutes ago

My Wish List

  1. Integrated Embedded SQL
  2. Any-type parameter on sub-procs
  3. Additional %Built-in Functions:
    • %Joblog
    • %SndPgmMsg
    • %SbmJob or %Spawn
    • %ToUpper and %ToLower
    • %XLate enhanced to handle CCSID-only:
      • myData = %xlate(37 : 819 : myData)
    • %StdOut
  4. Implicit conversion of numeric to character/character to number in expressions
  5. Native Teraspace storage model only (up to 10 TB currently)
  6. Elimination of RPG Cycle unless explicitly requested via kwd
  7. Understanding/translation of native C language prototypes by the compiler.
    • No need for RPG prototypes for C functions
  8. Integrated UTF-8 and UTF-16 support
  9. Built-in IFS file system I/O opcodes or built-in functions
  10. Ability to generate code using these features to n-2 (*PRV support)
Posted by: Ringer
Premium member *
Comment on: RPG 2014 The Next Generation - Discussion
Posted: 11 years 3 months 4 days 23 hours 13 minutes ago

I'd like to see RPG tightly integrated with PHP the way it is with Java. Right now to use PHP in CLI mode, I have RPG run PHP !--script--s with args through QSHELL, PHP writes the results to the IFS and RPGs read the IFS file. Not pretty. Well, my PHP Zend Framework created PDF's are pretty. :o)

And some built-in HTTP functions would be great, like consume a SOAP web service. Right now I use Klement's tool.

Chris Ringer

Posted by: clbirk
Premium member *
Comment on: RPG 2014 The Next Generation - Discussion
Posted: 11 years 3 months 3 days 18 hours 31 minutes ago

obvisiouly bob did not like my suggestions for commands and deleted the post.

 

chris, in relationship to your comments aout rpg running php !--script--s, one thing you might do (depending on the php !--script--s) would be to use klements or brad stones geturi to call the !--script--, and maybe even return the results back to the program.

 

Posted by: Ringer
Premium member *
Comment on: RPG 2014 The Next Generation - Discussion
Posted: 11 years 3 months 3 days 3 hours 37 minutes ago

clbirk,

That's a good idea. I could use LIBHTTP to call my PHP !--script-- via a web server and get a parseable response back. This project is ready to install to production so I'll try this method on the next project. BUT I still wish RPG could call PHP directly like it can with java. There is much more interest these days in PHP than java on the AS400/iSeries/i5/IBM i. 

Chris Ringer

Posted by: bobcozzi
Site Admin ****
Chicagoland
Comment on: RPG 2014 The Next Generation - Discussion
Posted: 11 years 3 months 3 days 2 hours 4 minutes ago

If you want to discussion solutions to existing problems, let's try to start new threads so this one is about the next generation RPG and not about some other programming language.

Thanks people.