Previous Topic: RPGIV User Source

Next Topic: RPGIV Generator Notes

Model Value YRP4SGN

The RPGIV generator includes some source generation options that you can set at a model level. These options are in the new model value YRP4SGN in a data area called YRP4SGNRFA (RPGIV source generation options). YRP4SGNRFA is a 16-character data area, and a copy is created in each version 7.0 model library. The 16 characters are:

The default value, which is UG, means that the RPGIV source is upper case with green comments. If you change the value to MW, the source would be mixed case with white comments. Therefore, RPG would generate a field name as WUABVN, but RPGIV generates it as Wuabvn. Likewise, op-codes such as EVAL, IF, and SETOFF are Eval, If, and Setoff.