This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Hi Frank, gpend should be run from within the script as a standard executable program, meaning you want it *AFTER* the "EOF" block and not inside that block: gdplot2 << EOF GDFILE = ... GDATTIM = ... run exit EOF gpend --- Michael James Unidata Program Center Boulder, CO > I have been looking over a number of my scripts that create postscript > files. I have realized that my placement of the command "gpend" is a > little all over the place at the end of my scripts. What is the proper > order? > > run > exit > EOF > gpend Ticket Details =================== Ticket ID: JPY-269795 Department: Support GEMPAK Priority: Normal Status: Open =================== NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.