Hear from our iSeries experts. Put in your two cents.
IBM needs to deliver free-format D-specs (and P-specs) for ILE RPG, and SOON!
If we're worried about i5 image and productivity, a top priority should be the application "lingua franca" of the system.
Can you imagine Windows Server and .NET offering a language that still requires fixed-format, positional entries?
As a practical matter, free-format D-specs don't need to include all the esoteric options that have been added since the days of the "cycle."
Instead, a free-format D-apec should allow declarations of normal scalar and structure types. For example:
Dcl TRUE Lgl Const( '1' );
Dcl CurItemPrice Dec( 9 : 3 );
Dcl Structure ItemInfo Qualified;
Dcl ItemNbr Integer;
Dcl ItemPrice Like( CurItemPrice );
...
Dcl ItemDesc String(100);
End Structure;
Positional declarations are a stone-age idea anyway, but this syntax is especially cumbersome with:
-- Long identifiers (requiring "..."). This really torques me on procedure interfaces, prototypes, and P-specs!
-- Within subprocedures, where you have to repeatedly bracket code with /Free /End-Free
Hopefully, it won't take IBM another decade to fix this critical deficiency in RPG.
-- Paul
Posted by at May 4, 2005 9:14 AM
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|
| 1 | 2 | |||||
| 3 | 4 | 5 | 6 | 7 | 8 | 9 |
| 10 | 11 | 12 | 13 | 14 | 15 | 16 |
| 17 | 18 | 19 | 20 | 21 | 22 | 23 |
| 24 | 25 | 26 | 27 | 28 | 29 | 30 |
| 31 |
Our blogs are editorial content of System iNetwork. We welcome your comments and opinions and encourage lively debate on the issues, and we reserve the right to edit all postings for clarity, length, civility of tone, and appropriateness to the topic under discussion. Comments consisting of product or job solicitations and other spam, profanity, and extreme rudeness will be deleted. We also reserve the right to publish excerpts from the blogs in our e-mail newsletters and print magazine.