Guides you through the process of associating the STAFF
enterprise server instance with the CICS project, and building the application for debugging.
Set debug options
- In the
Solution Explorer, right-click the
CICS project, and then select
Properties from the context menu.
- Click the
Debug tab.
- Ensure
Launch is set to
CICS.
- Type
TTEA in the
Transaction field.
- Click
File > Save All.
Associate STAFF with the CICS project
- In the
Server Explorer, right-click
Micro Focus Servers, and then select
Refresh from the context menu.
- Right-click the
STAFF server and click
Associate With Project > CICS.
Start the STAFF server
- In the
Server Explorer, right-click the STAFF server, and select
Start from the context menu.
The
Output window shows the progress as the server starts.
Attention: You might encounter an
Enterprise Server Sign On dialog box as you perform the steps required to create, configure, start, or stop an
enterprise server region from the
Server Explorer. If you do, ensure that the
Server requires credentials,
Use specific server credentials, or
Server is secured
box is
unchecked, and then click
OK.
Also, if prompted to disable password recovery, click
No.
Set breakpoints
- In the
Solution Explorer, expand the
CICS project.
- Click the
STAFF02.pli program to open it in the program editor.
- At the EXEC CICS RECEIVE statement located on line 276 (see the
Ln: field at the bottom of the program editor), place your cursor in the left-most column and click once to set the breakpoint.
- At the EXEC CICS WRITEQ statement located on line 345, set another breakpoint.
- At the EXEC CICS XCTL statement located on line 362, set one last breakpoint.