Automating Program Development with Scripts
You can automate GRIP program development using UNIX script and command files. With the appropriate switches and arguments you can compile, link, or execute a GRIP program. For UNIX platforms, we supply BOURNE shell scripts.
The scripts are located at "UGII_BASE_DIR/ugii/gripbatch". The scripts start the GCAL image and the NX image. With the provided information, you can also customize and develop your own scripts. You can use the "gripbatch" script in two ways: Compile and Link or Execute a GRIP Program. The syntax for both tasks is listed below.
One use of the gripbatch script is to compile and/or link GRIP programs using the GCAL image, which is located at "UGII_BASE_DIR/ugopen/gcal".
gripbatch {[-compile] [-link]}
[-erlst]
[-device=<listing_device>]
[-name=<output_file_name>]
[-dir=<directory_name>]
[-list]
filespec
Another use of the gripbatch script is to execute GRIP programs using the NX image.
gripbatch -run
[-device=<listing_device>]
[-name=<output_file_name>]
[-dir=<directory_name>]
filespec
["string"]
Arguments in [] brackets are optional, do not type the [] brackets. At least one of the arguments enclosed in {} brackets must be specified, do not type {} brackets.