Arrays
An array is a link between a field and an element. An array retrieves data that's stored in the database tables that Global Payroll does not provide in system elements. You can use arrays to retrieve complex data that's stored in any table outside Global Payroll. For example, you can create an array to retrieve birthday data for a payee's dependents from the DEPENDENT_BENEF table in PeopleSoft HR.
Arrays are temporary tables that the COBOL programs use to store the data during processing. Once processing is complete, the programs write the data from the temporary arrays to the output tables.
Using an array is a two-step process:
-
Retrieve data from the database.
-
Use that data for further processing.
When defining an array, you must provide enough information to the system so that it can perform both steps.