Special rules for JCL EXEC statements

Binder options are specified in the PARM field of the EXEC statement and must adhere to the rules for JCL statements. Keep in mind that:

Because commas or blanks are required to specify more than one binder option, the PARM string must be enclosed in either single quotation marks or parentheses if multiple options are being passed to the binder.

Because parentheses or an equal sign must be adjacent to an option name to specify an option value, single quotation marks must be used if options with values are being passed to the binder.

One approach to these restrictions is to enclose the entire PARM= string in single quotation marks. If this is done, the following additional JCL rules must be honored:
Another approach to these restrictions is to enclose the entire PARM= string in parentheses and separate the options by commas with no intervening blanks. Individual options requiring an equal sign or parentheses are then enclosed in single quotation marks, which the binder will remove. Using this approach, the additional JCL rules are:
Figure 1. Example of special rules for JCL EXEC statements
             16↓                              71↓
//BIND   EXEC PGM=IEWL,
//             PARM='linect=55,list(all),map,xref,options=optndd,wkspa
//             ce=(400,10000)'
Figure 2. Example of special rules for JCL EXEC statements
             16↓                              71↓
//BIND   EXEC PGM=IEWL,
//             PARM=('linect=55','list(all)',map,xref,
//         'options=optndd','wkspace=(400,10000)')