CL Command Reference - CRTGSS
CL Command List > CRTGSS Reference
Description:
The Create Graphics Symbol Set (CRTGSS) command creates a graphics symbol set object from a physical file that contains symbol set data. Depending upon the contents of the file, the CRTGSS command creates either a vector symbol set (mode 3 graphics characters) or an image symbol set (mode 2 graphics characters).
The symbol set object can be used in a graphical data display manager (GDDM*) or presentation graphics routines (PGR) graphics application program or in a Business Graphics Utility chart as an alternative to an IBM-supplied graphics symbol set.
Restriction: A physical file used with this command must contain records with no less than 80 bytes and no more than 400 bytes, and a source file must contain no less than 92 bytes and no more than 412 bytes. The contents of the file must be in symbol set format.
Examples:
Example 1: Creating Set With Same Name as Source File
CRTGSS GSS(GSSLIB/ADMVARP) FILE(GSSLIB/ADMVARP)
This command creates a symbol set of the same name and in the same library as the source file.
Example 2: Creating Set From Different Library
CRTGSS GSS(*CURLIB/VECTOR1) FILE(GSSLIB/QDATASRC)
MBR(SCHEM) AUT(*ALL) TEXT(¡¯Schematic vector symbols¡¯)
This command creates a symbol set named VECTOR1 in the QGPL library from member SCHEM in file QDATASRC in library GSSLIB. The public has complete authority over the symbol set. Despite the fact that the symbol set data is stored in source physical file QDATASRC, it cannot be edited or shown by the source entry utility (SEU) because some of the contents of the symbol set data cannot be shown.