Follow

Eclipse COBOL IDE Support for JCL/EBP

The EBP Server view allows the user to monitor the JCL jobs being handled by the EBP server.

To bring up the view use the Tools/EBP Server menu option from the main menu or use the Window/Show View/Other... to bring up the list of available views. Refer fig 1 & 2 below

1.png                  2.png

                                          Fig 1.                                                                                                                         Fig 2.

 

The view displays the complete job information for each job as shown in the view. See Fig3.

3.png

                                                            Fig 3.

The listed information can be sorted in ascending or descending format based on each column. Clicking on the column header selects the column as the sort sort and toggles between ascending or descending as indicated by the icon next to the column title. Under each job is shown the output for the job as well as outputs for each step within a job. Double clicking the output file will open the file as read-only in the default text editor of the IDE.  Right clicking on a job id brings up a popup menu that can be used to perform actions on the job based on its current status. Using the menu options one can either Cancel/Suspend/Restart or Purge a job. See Fig 4.

4.png

                                                 Fig 4.

 

Expanding a job displays the output files for the job as described above. See Fig5.

5.png

 

                                                                                                                 Fig 5.

The COBOL IDE also has support for submitting JCL jobs from the either from the editor Or from one of Project Explorer/Navigator or Package Explorer views. This action is supported for JCL files that have a ".jcl" extension. To submit from the editor,  open the file using the default editor provided by the IDE and right click to view the context menu. Select the "Submit JCL"  menu option to submit the JCL as shown in the fig 6 below.  To submit from any of the views, right click on the file and select the "Submit JCL" menu option. Refer Fig 6a below.

6.png                      6a.png

                                                                 Fig 6.                                                                                                                                                 Fig 6a.

The output result of the JCL submission is displayed in the Console view as part of the EBP Server Console page which is displayed automatically upon job submission. If the EBP Server view is active, it too updates itself with the newly added job id. See Fig 7.

7.png

                                                                                                                              Fig 7.

The EBP Server can be set up using the EBP Server Settings preference page. This preference page can be viewed by selecting "Window/Preferences..." and "Elastic COBOL/EBP Server Settings" . The refresh rate is the rate in milli-seconds at which the view queries the EBP server for job information. See Fig 8.

8.png

                                                                                                  Fig 8.

 

At times one might want to refresh the EBP Server immediately. In such cases one can select the  "Refresh Server View" toolbar button located at the right top corner of the view as shown in fig 9.

                                                                                          9a.png

                                                                                                           Fig 9.

If there is an error condition while polling the EBP server, the error is reported and the server polling gets stopped. The polling can be re-started by either closing/re-opening the view, submitting a JCL job or clicking the manual refresh.

Also present in the toolbar is a "Help contents" button which opens up a browser window with help on EBP.

The font used on the EBP server view can be modified in the preferences settings for the Eclipse WorkSpace. Select the menu options  "Window\Preferences" and then navigate to  "Elastic COBOL\COBOL IDE Fonts". Select the "EBP Server View" item and set the font.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk