Allocate a storage location for all the output files, and set the graphics environment.DEV= specifies the GIF device. GOUTMODE=REPLACE specifies that the output graphics use the same filenames each time you run the program, instead of appending numbers to the filenames.


/* set the graphics environment */
goptions reset=all dev=gif gunit=pct goutmode=replace border;