Is it possible to address a data area by name from a variable field?
The idea is to keep last used report-no by dept/company in data areas - one for each dept/company. Multiple data areas (all *dec 7 0) are needed as report-pgm can print for several different departments/companies.
Dept-id shall be passed as a parm when report-program is called, and program-process shall address proper data area by dept-id.
Software/Hardware used: IBM Power i with V6R1, RPGLE
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!