.autoparagraph .set paragraph 0,1,0 .no flags quote .lm +2 .i -2;1 GENSYM .b Generates symbolic constant definitions. The command has to be defined first - see the use subtopic. Format: .s .i +5;GENSYM file-spec[,...] .i -2;2 Parameters .b file-spec[,...] .b Specifies one or more object files containing symbol definitions. If you do not specify a file type for the first input file, the GENSYM command uses the default file type of OBJ. .i -2;2 Qualifiers .i -2;/BASIC .s .i +2;/BASIC[=file-spec] .i +2;/NOBASIC (D) .b Specifies that GENSYM should produce files of BASIC symbol definitions. The default file-spec is ".BAS". A file is produced for each facility found, with a file name of "DEF". The device, directory and file type are taken from the file-spec given. .i -2;/CC .s .i +2;/CC[=file-spec] .i +2;/NOCC (D) .b Specifies that GENSYM should produce files of C symbol definitions. The default file-spec is ".H". A file is produced for each facility found, with a file name of "DEF". The device, directory and file type are taken from the file-spec given. .i -2;/CONFIRM .s .i +2;/CONFIRM .i +2;/NOCONFIRM (D) .b Specifies whether GENSYM should ask for confirmation before processing each facility found. .i -2;/DCL .s .i +2;/DCL[=file-spec] .i +2;/NODCL (D) .b Specifies that GENSYM should produce files of DCL global symbol definitions. The default file-spec is ".COM". A file is produced for each facility found, with a file name of "DEF". The device, directory and file type are taken from the file-spec given. .i -2;/DEBUG .s .i +2;/DEBUG .i +2;/NODEBUG (D) .b Specifies whether GENSYM should process Debugger records. This qualifier is not supported yet and should not be used. .i -2;/DEFINE .s .i +2;/DEFINE .i +2;/NODEFINE (D) .b Specifies whether GENSYM should create DCL symbols for each symbol found. .i -2;/FORTRAN .s .i +2;/FORTRAN[=file-spec] .i +2;/NOFORTRAN (D) .b Specifies that GENSYM should produce files of FORTRAN symbol definitions. The default file-spec is ".FOR". A file is produced for each facility found, with a file name of "DEF". The device, directory and file type are taken from the file-spec given. .i -2;/GLOBAL .s .i +2;/GLOBAL (D) .i +2;/NOGLOBAL .b Specifies whether GENSYM should process global symbol definitions. .i -2;/LIST .s .i +2;/LIST[=file-spec] (D) .i +2;/NOLIST .b Specifies that GENSYM should produce files listing symbol definitions. The default file-spec is ".LIS". A file is produced for each facility found, with a file name of "DEF". The device, directory and file type are taken from the file-spec given. .i -2;/LOCAL .s .i +2;/LOCAL .i +2;/NOLOCAL (D) .b Specifies whether GENSYM should process local symbol definitions. This qualifier is not supported yet and should not be used. .i -2;/LOG .s .i +2;/LOG .i +2;/NOLOG (D) .b Specifies whether GENSYM should log each facility processed. if you specify /LOG, GENSYM will write each facility name to SYS$OUTPUT. .i -2;/MACRO .s .i +2;/MACRO[=file-spec] .i +2;/NOMACRO (D) .b Specifies that GENSYM should produce files of MACRO symbol definitions. The default file-spec is ".MAR". A file is produced for each facility found, with a file name of "DEF". The device, directory and file type are taken from the file-spec given. .i -2;/PASCAL .s .i +2;/PASCAL[=file-spec] .i +2;/NOPASCAL (D) .b Specifies that GENSYM should produce files of PASCAL symbol definitions, suitable for inclusion in a CONST section. The default file-spec is ".PAS". A file is produced for each facility found, with a file name of "DEF". The device, directory and file type are taken from the file-spec given. .i -2;/SORT .s .i +2;/SORT=(option[,option]) D=(ASCENDING,NAME) .b Specifies how symbols are to be sorted. The possible options are: .i +5;NAME sort by name .i +5;VALUE sort by value .i +5;ASCENDING in ascending order .i +5;DESCENDING in descending order .s .i -2;/SYMBOL .s .i +2;/SYMBOL[=file-spec] .i +2;/NOSYMBOL (D) .b Specifies that GENSYM should produce symbol table files. The default file-spec is ".STB". A file is produced for each facility found, with a file name of "DEF". The device, directory and file type are taken from the file-spec given. These can be used by the Linker or SDA. .i -2;2 use .s To set up GENSYM for use, issue the command .s .i +5;SET COMMAND GENSYM .s where is the directory containing GENSYM.CLD. .s GENSYM.CLD needs to be edited to point to the directory containing GENSYM.EXE.