Figure 349 shows how to specify the GDF keyword.
Figure 349. Specifying the GDF Keyword
|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8 A* A R REC1 GDF(GRAPHLIB/GFILE MYGRAPH 1.557 + A 2.831 7.0 4.5 90) A* A R REC2 GDF(&GLIB/&GFILE &GRAF &POSD + A &POSA &GDEP &GWID &GROT); A GLIB 10A P A GFILE 10A P A GRAF 10A P A POSD 5S 3P A POSA 5S 3P A GDEP 5S 3P A GWID 5S 3P A GROT 3S 0P A* A R REC3 GDF(GFILE MYGRAF 2.0 7.0 4.5 11.25 + A 180) A* A GDF(GFILE YOURGRAF 0.1 0.5 3.67 + A 6.5 90) A* A R REC4 A 01 GDF(YOURFILE THATGRAF 2.5 7.3 3.0 + A 5.25 0) A*
REC1 prints member MYGRAPH from file GFILE in library GRAPHLIB. The chart prints 1.557 units down and 2.831 units across from the margins specified on the FRONTMGN or BACKMGN parameter on the CRTPRTF command. The chart is 7.0 units deep, 4.5 units wide, and is rotated 90 degrees.
REC2 allows the application program to specify the library, file, and graph names by setting the fields GLIB, GFILE, and GRAF, respectively. The chart prints 1.3 units down and 5.1 units across from the margins specified on the FRONTMGN or BACKMGN parameter on the CRTPRTF command. The chart is 5.25 units deep, 6.75 units wide, and is rotated 180 degrees.
REC3 prints two charts. MYGRAF prints 2.0 units down and 7.0 units across from the margins specified on the FRONTMGN or BACKMGN parameter on the CRTPRTF command. The chart is 4.5 units deep, 11.25 units wide, and is rotated 180 degrees. YOURGRAF prints 0.1 units down and 0.5 units across from the margins specified on the CRTPRTF command. The chart is 3.67 units deep, 6.5 units wide, and is rotated 90 degrees. Both charts are located using *LIBL and file GFILE.
REC4 prints THATGRAF only if indicator 01 is on.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.