AS/400 question 10:
In RPG 1 I have 6 parameters and in RPG2 I have 9 parameters being passed.
I have RPG 3 which processes the request based on RPG1 and RPG2. if RPG 1 is called then 6 parameters will be received and the rest 7,8,9 should be initiated to Zeroes. If RPG 2 is called then all 9 parameters have to be received.
Without getting a decimal data error and without loosing any parameters data how can I accomplish this task?