You can access program parameters in a number of ways. For example, you can use one of the following formats of the ACCEPT statement:
accept data-name from command-line
or
accept data-name from mnemonic-name
where the parameters are:
data-name | The data item to receive the command line parameters. |
mnemonic-name | Defined in the Special-Names paragraph as: command-line is mnemonic-name |
For full details on the available methods of accessing command line parameters see Writing Efficient Programs in your Program Development book.