Introducing Free-Format RPG IV, Part 3

You can combine fixed-format (both original and extended Factor 2) and free-format calculations within the same program, but the resulting code, although perfectly functional, may not look very good or be maintained easily by other programmers.
Listing 4-6 shows a program segment that mixes use of RPG’s original format, the extended Factor 2 format, and free format in its calculations.

If you’re on #IBMi V7R5 and want to do me a favor and test a bug, please do the following: 1) Cut/Paste the 16 line SQL Function source code into a source file member on the IBM i system. 2) Run the RUNSQLSTM CL command over that source member and let me…

If you’re on #IBMi V7R5 and want to do me a favor and test a bug, please do the following:
1) Cut/Paste the 16 line SQL Function source code into a source file member on the IBM i system.
2) Run the RUNSQLSTM CL command over that source member and let me…lnkd.in/d9WjgmTz

– SQL iQuery for #IBMi (@sqliquery)14:15 – Jul 13, 2022

Verified by MonsterInsights