DBSQLPR examines any input parameters passed programmatically or through the command line (the PARM= specification in the JCL). See DBSQLPR Options.
The options file is opened and processed. With the exception of the OPTFILE= parameter, which may only appear on the PARM= input parameter string, any option may appear in either the options file or the PARM= specification. Those specified on the PARM= input parameter string override any duplicate specification in the options file.