Is it possible to address a dataarea by name from a variable field ?
The idea is to keep last used report-no by dept/company in dataareas - one for each dept/company. Multiple dataareas (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-proces shall address proper dataarea by dept-id.
IBM Power i with V6R1, RPGLE
June 8, 2010 3:27 PM
June 8, 2010 8:40 PM