InterviewSolution
| 1. |
How Do I Do Concatenation In Rpg Iv, Like I Do In Cl? |
|
Answer» In the initial release of RPG IV, the plus sign can be USED to do simple CONCATENATION. When the expression of any of the enhanced operation codes includes STRING expressions, then the plus sign is considered a concatenation operator. In later release of RPG IV, the built-in function %EDITC can be used to allow numeric fields to PARTICIPATE in simple concatenation. The example below illustrates the basic concatenation (LINE 4) and the enhancement introduced in OS/400 V3 R7. .... In the initial release of RPG IV, the plus sign can be used to do simple concatenation. When the expression of any of the enhanced operation codes includes string expressions, then the plus sign is considered a concatenation operator. In later release of RPG IV, the built-in function %EDITC can be used to allow numeric fields to participate in simple concatenation. The example below illustrates the basic concatenation (line 4) and the enhancement introduced in OS/400 V3 R7. .... |
|