DB4GLGEN(1) (db4glgen 4.03) DB4GLGEN(1) NAME db4glgen - generates 4gl code for a basic data-entry screen SYNOPSIS db4glgen -d dbname -t tabname [-bCOL -bCOL] [-cflo] program DESCRIPTION Db4glgen generates Informix-4GL code, C code, and a Makefile to build a basic data-entry screen. If Db4glgen finds the file $INFORMIXDIR/bin/fglpc, it will create a Makefile and an "fgiusr.c" file for use with Informix-4GL/RDS. The following functions are in usr_funcs.c and can be used in the 4GL code genereated by Db4glgen. fgl_prtscr() - This function will print the entire screen. fgl_getkey() - This function waits for a key to be hit and returns its value. OPTIONS -d database name -t table name -b create "browse" ring option using COL1 and COL2 -c create code for color displays -f force overwrite of existing files -l create code for databases with transactions -o create code for databases using Online program is the filename that will contain the source code NOTES Makefile-4gi has a target for "newfgldb" (for people with the Debugger) The "bform" generated by Db4glgen with the -b options will default COL1 to 10 characters and COL2 to 20 characters. Tweek as necessary. Warning statements during compiling with Informix-4GL (not RDS) are caused by the "ON KEY" clauses in the ctrl_p() function. They can be ignored as they are just warnings. SUPPORT Send bug reports to Dave Snyder Page 1 (printed 6/12/03)