Appendix D. Using GDFs in AFP Utilities
IBM Advanced Function Printing Utilities for AS/400 cannot create GDF in itself.
Graphics data format (GDF) is a means of storing pictures. GDDM uses it
internally, and also makes it available to application programs. It consists of a set of
orders with similar meanings to the GDDM graphics call statements. In many cases
there is a one-for-one mapping between GDF orders and GDDM call statements.
You can create GDF easily by using AS/400 Business Graphics Utility (BGU), and
also by application programs. You can also create GDF on System/390.
To use a System/390 GDF file, you must first convert the GDF file for use on the
AS/400 system. To convert the GDF file, use the GDF Bridge Utility of the
Graphical Display and Query Facility (QGDF) Licensed Program. You can do
conversions in either VM or in MVS/TSO.
If the System/390 supports VM, type the following to start the GDF Bridge Utility
and press Enter:
EMGGDFB fn TOGDF |EXPAND|
The entries in this procedure are as follows:
fn The filename of a CMS file whose filetype is ADMGDF. This file
contains the ADMGDF object.
TOGDF Indicates that the specified file is to be converted to a GDF file.
EXPAND Specifies that vector symbols and arcs be expanded to lines.
If the System/390 supports MVS/TSO, type the following to start the GDF Bridge
Utility and press Enter:
EMGGDFB indsn outdsn member TOGDF |EXPAND|
The entries in this procedure are as follows:
indsn The fully qualified name of the dataset that contains the ADMGDF
object.
outdsn The fully qualified name of the dataset that is to contain the GDF object.
member The name of the member in the above datasets that contains the
input/output.
TOGDF Specifies that the input member is to be converted into a GDF file and
stored in the output member.
EXPAND Specifies that vector symbols and arcs be expanded to lines.
The GDF file created by these procedures can then be migrated to the AS/400
system for use by AS/400 system.
Note: GDFs created by System/390 GDDM releases subsequent to release 1.3
may not be supported by the AS/400 system.
The following table shows the GDF orders generated by S/390, AS/400 system,
and the GDF orders supported by AFP Utilities.
Copyright IBM Corp. 1996, 1998 441