Pasting Syntax from Dialog Boxes
The easiest way to build a command syntax file is to make selections in dialog boxes and paste the syntax for the selections into a syntax window. By pasting the syntax at each step of a lengthy analysis, you can build a job file that allows you to repeat the analysis at a later date or run an automated job with the Production Facility.
In the syntax window, you can run the pasted syntax, edit it, and save it in a syntax file.