4.3.1 JP1/Advanced Shell Editor window
The following figure shows the JP1/Advanced Shell Editor window and the names of the window's components.
- Organization of this subsection
(1) Toolbars
The toolbars display buttons for the most frequently used of the commands that can be selected from the menu bar. You can execute a command by clicking its button on a toolbar. You can also use the View menu to hide the toolbars. Hovering the mouse cursor over a button displays a description of the button's function.
In the JP1/Advanced Shell Editor window, the toolbars that can be displayed are the Standard Toolbar, Edit Toolbar, Debug Toolbar, and Search Toolbar.
-
The following table lists the buttons on the Standard Toolbar and describes their functions.
Button
Description
New button
Creates a job definition script file.
Open button
Enables an existing job definition script file to be opened.
Save button
Saves the job definition script file being edited.
Print button
Prints the job definition script file being edited.
Exit button
Terminates JP1/Advanced Shell Editor and enables you to select whether the file is to be saved.
Help button
Displays Help for JP1/Advanced Shell.
-
The following table lists the buttons on the Edit Toolbar and describes their functions.
Button
Description
Undo button
Undoes the previous operation.
Redo button
Re-executes the previous operation.
Cut button
Cuts a selection and saves it on the clipboard.
Copy button
Copies a selection to the clipboard.
Paste button
Pastes the contents of the clipboard to the selected location.
Select All button
Selects the entire file.
Options button
Enables an operating environment for the editor to be set up.
-
The following table lists the buttons on the Debug Toolbar and describes their functions.
Button
Description
Check Syntax button
Checks the syntax of the job definition script.
Run to Breakpoint button
Starts and restarts execution up to a breakpoint.
Stop Script button
Stops the job definition script. Completes the command whose execution is underway when the Stop Script button is clicked is completed and stops the job definition script before the next command executes.
Quit Debugging button
Completes the command whose execution is underway when the Quit Debugging button is clicked, stops execution before the next command is executed, then stops the job definition script and cancels debugging.
Step In button
Executes the next command or statement. If a function is called, this button also executes one line in the function and then stops execution.
Step Over button
Executes the next command or statement. If a function is called, this button does not stop after executing one line in the function, but stops only when a breakpoint is reached.
Step Out button
Executes through the end of a function call and stops on the line immediately following the function call or at a breakpoint.
Set/Remove Breakpoint button
Sets a breakpoint or releases a selected breakpoint.
Remove All Breakpoints button
Releases all breakpoints that have been set.
Runtime Environment Settings button
Sets up a script file execution environment.
View/Hide Watch List Window button
Changes the view/hide setting for the Watch List window.
Add Variable to Watch List button
Adds a specified variable to the Watch List window.
View Coverage Information button
Displays coverage information during debugging.
-
The following table lists the buttons on the Search Toolbar and describes their functions.
Button
Description
Search button
Enables entry of a character string to be searched for and (optionally) a character string that is replace the search character string.
Find Previous button
Searches for the search character string in the up direction.
Find Next button
Searches for the search character string in the down direction.
(4) Breakpoint area
This area displays the following symbols: a symbol at the line where a breakpoint is set (), a symbol that indicates the line that is to execute next (), and a symbol that indicates the line where the debugger process ends ().
(5) Status bar
The status bar displays messages related to the current processing being executed by JP1/Advanced Shell Editor and messages related to the status after processing has terminated. The following table describes the status bar functions in the JP1/Advanced Shell Editor window.
Status bar |
Description |
---|---|
Job ID |
Displays the job ID of the job that is being debugged. |
Position |
Displays the location of the cursor. |
Total lines |
Displays the total number of lines in the job definition script file being edited. |
INS or OVR |
Displays the overwrite mode that can be switched by toggling the Insert key. The two modes are the following (where the Insert mode is the default):
|