BT4
With the advent of the /free directive and named indicators, RPG finally can be coded in a manner almost consistent with English syntax. However, I am frustrated with IBM\'s definition of free-format. No such thing. Statements must begin past column 7 and cannot extend beyond column 80. When I bring up notepad for a quick and dirty HTML I can start coding in column 1 and if I were silly enough to do it, type tye whole document on 1 line. That is free-format. I can\'t understand why, in order to use a free format language like SQL within RPG, I have to exit free-format. Does anybody else see the irony of having to end free-format syntax in order to enter free-format SQL syntax? Why does an OPM construct, a subroutine fit into free-format and an ILE construct, subprocedure require me to exit free-format? (P,B E statements are not free-format.) Free-format still does not support a MOVE op code, or MOVEA, or CASxx. Fixed-format BITON/BITOFF operations are far easier to use than bitwise BIF\'s. But nice tool, good article. PS Indentation is good practice in RPG, or Java...
[size="1">Code[/size>
Please login to make comments.
User Rating: / 1
PoorBest 

WHITE PAPERS

The following White Papers can be found at the MC White Paper Center

 

 


   MC-STORE.COM