An EGL fixed 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 runtime 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, or a substring derived from that
name, is a default for the system name. In relation
to printers, a default exists only for COBOL output and therefore
is not used in Java™ generation.
Instead of accepting a default, you can take one or both of the
following 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 to 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 ConverseVar.printerAssociation system
variable (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 applies to these record stereotypes:
- SerialRecord
- IndexedRecord
- RelativeRecord
- MQRecord