EGL Reference Guide for iSeries
An EGL record that accesses an external file, printer, or queue has a
logical file or queue name. (In the case of a printer, the logical file
name is printer for most run-time systems.) The name can be
no more than 8 characters and is meaningful only as a way of relating the
record to a system name, which the target system uses to access a
physical file, printer, or queue.
In relation to files or queues, the file or queue name is a default for the
system name. In relation to printers, a default exists only for COBOL
output.
Instead of accepting a default, you can take one or both of these
actions:
- At generation time, you control the generation process with a build
descriptor that in turn references a specific resource associations
part. The resource associations part relates the file name with a
system name on the target platform where you intend to deploy the generated
code.
- At run time (in most cases) you can change the value in the
record-specific variable resourceAssociation (for files or queues) or in the
system variable sysVar.printerAssociation (for print output).
Your purpose is to override the system name that you specified either by
default or by specifying a resource associations part.
The resource associations part does not apply to these record types:
- basicRecord, because basic records do not interact with data stores
- SQLRecord, because SQL records interact with relational databases
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.