Declare a Host Transaction
The host transaction captures the information you need to interact with the host program. This information includes the program name and the data structure definitions.
You must create at least one host transaction before you can create a client operation.
In a CICS environment, the data structure defines the input and output data structure that is used to communicate with the host program that processes one CICS transaction.
If a copybook file that is used to declare a host transaction is moved, renamed, or deleted, the next time Transaction Studio starts, all client operations based on that host transaction will cause an error when loading. Although the files load correctly, they are not displayed in the Transaction Studio list of existing client operations and cannot be edited or deleted. To resolve this issue, restore the copybook file that was changed and restart Transaction Studio.
The COBOL program name must be the name by which it is known on the mainframe.
|If in the data structure
|Inputs are the same as the outputs||One shared data structure layout for both input and output|
|Inputs are different than the outputs||Two separate data structure layouts, one for input and one for output|
If no copybooks are displayed, click Add to browse to the location where the copybooks you want to use are stored. Select the appropriate copybook. Click Next.
The order in which copybooks are placed must match the order expected by the host program. You can use the Up and Down buttons to rearrange the copybooks. The number of data structures displayed (either one or two) depends on your selection on the preceding screen.
By default, the client operation elements will be populated from each data item in the host program data structure and will maintain the same hierarchical relationship.
Your host transaction is saved in the following location: and displayed in the list of existing host transactions.
It is displayed in the list of existing host transactions.
|Create a Client Operation|