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?
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!