MDCLGEN is a batch tool alternative to generating copybooks and include files using the OpenESQL Assistant. For the most part, MDCLGEN generates code using the current options set for the OpenESQL Assistant; however, you can override certain default settings via command-line parameters.
For details on using the MDCLGEN tool, see MDCLGEN command-line tool. For more information on OpenESQL Assistant options, see To set OpenESQL Assistant options and OpenESQL Assistant - Options.