Connect With Us

IBM Announces RPG Free Format Enhancements

RSS

After introducing /Free format calculation specs over a decade ago in V5R1, IBM is completing the move to /Free with the introduction of free-format H, F, D, and P specs.

This has been in the works for a while now, and I've been patiently keeping my mouth shut about it. But it's finally been announced, so now I can talk about it! This has been an especially hard secret to keep because I've been asked if this would ever happen at least a dozen times this year. Starting in Technology Refresh 7 of IBM i 7.1, RPG is finally going to be able to be completely free form. That's right! No more /Free and /End-Free to jump out of free format for a ...

REGISTER NOW TO ACCESS THIS ARTICLE

All registered users get access to premium content on iPro Developer for free.

Already registered? here.

Discuss this Blog Entry 3

on Oct 11, 2013

I like that we are getting this update. I have already sent the administrator in our shop the information and said we need this installed as soon as we can get it! My only real qualm with the new changes has to be the *N place holder. I haven't seen anything saying that it will be optional, but... I am hopeful. I know I am going to get several questions from programmers in my shop about this.

on Oct 22, 2013

Honestly, the jury is still out for me on the *N. I have no doubt I can get used to it, though.

on Mar 24, 2014

I am using RSE for entry of RPG code and converting code to the new specs.
System is running V7 with the latest service pack applied.

I have the following Control and File specs.

CTL-OPT DATFMT(*USA)
// File Specifications
dcl-f LSEC710B usage(*update);
dcl-f lpSEC705;
dcl-f PPAY201;

I issue the command to CRTBNDPGM, and take the default options. It is a standalone program.
Getting error RNF0257 Form-Type entry for main procedure not valid or out of sequence.
Any ideas on what might be wrong?

Please or Register to post comments.

What's Open Your i?
Blog Archive

Sponsored Introduction Continue on to (or wait seconds) ×