Setting preferences for COBOL requester templates
Use the COBOL Requester Templates page of the Preferences window to modify the COBOL requester templates.
Opening the COBOL Requester Templates page
In the left pane of Preferences window select . The COBOL Requester Templates page opens in the right pane.
General information
The COBOL requester templates are COBOL source code modules from which you can select a template for Generate Client Requester wizard to use in generating a COBOL source code module for a CICS® requester client (see Creating a test program using the Generate Client Requester wizard):
CSFRCONT: The wizard uses this template to generate a COBOL source code module for invoking the CICS Service Flow Runtime using a LINK with Channel.
CSFRCOMM: The wizard uses this template to generate a COBOL source code module for invoking the CICS Service Flow Runtime using a LINK with COMMAREA.
The advantage of a template is that if you add custom source code to it -- such as code to handle return codes or error codes -- then this custom source code is included in the generated COBOL source code module every time you run the Generate Client Requester wizard.
The COBOL requester templates are global only. A change that you make in a COBOL requester template affects all the service flow projects in your work area.
Controls for working with COBOL requester templates
- Edit
- This button opens the selected COBOL requester template in an
editor so that you can make changes. When you are finished making
changes, click OK on the editor window to keep
the changes or click Cancel on the editor window
to discard the changes.Note: These changes are lost if you click Cancel on the main window, or saved if you click Apply on the main window.
- Import
- This button allows you to import a COBOL requester template from
the local file system. Note: The name of the file that you are importing must match the name of an existing COBOL requester template.
- Import from Host
- This button allows you to import one or more COBOL requester templates
from members in partitioned data sets on a remote z/OS® system. Important: This option is available only if you have created an MVS™ connection to the remote z/OS system (see Step B3(a). Create a connection to the remote z/OS system).
- Export
- This button allows you to export the selected COBOL requester template to a directory in the local file system as a text file.
- Export all
- This button allows you to export all the COBOL requester templates to a directory in the local file system as text files.