Tuesday, April 27, 2010

Xpeditor Commands.....

AFTER Breakpoint after execution of line

BEFORE Breakpoint before execution of line

BOTTOM Scrolls to bottom of currently displaye data

COUNT Sets execution counters to gather test coverage statistics

DELETE Removes all XPEDITOR commands (e.g. breakpoints)

DLEFT Scroll data in Keep/Peek window to left- can specify amount

DRIGHT As above to the right

END Terminates current function and returns to previous screen

EXCLUDE Excludes data lines from displaying in the source

EXIT Terminates the current test session

FIND Searches for character strings, data names and COBOL structures.

GO 1 Walks through code (equivalent PF9)

GO Goes to next breakpoint (equivalent to PF12)

GOBACK Changes the program logic and returns higher level module

GOTO Repositions the current execution pointer

HELP Displays info about error message or gives tutorial info.

IF Establish a conditional expression in a block of inserted lines

INSERT Temporarily insert XPEDITOR/TSO commands in the program

INCLUDE Include command executes a predefined test script member

KEEP Displays the values in a chosen field in Keep window

LEFT Scrolls source listing to left by specified amount

LOCATE Scrolls to particular line number.

MEMORY Displays memory for a specified location

MONITOR Records program execution in a buffer.

MOVE Changes the contents of program variables

PAUSE Sets a pause breakpoint within inserted lines or commands

PEEK Displays values of program variables.

RESET Restores excluded lines in source screen

RETEST Begins a new test of the same program

REVERSE Reviews the execution path that led to the current breakpoint.

RIGHT Scrolls the source to the right by a specified amount

SET Overrides XPEDITOR/TSO defaults.

SHOW Displays breakpoints, diagnostic info or

SKIP Temporarily bypasses the execution of a statement

SOURCE Changes the module shown on the source display during Interactive debugging

TOP Goes to the top of the data

UP Scrolls to the top of data

WHEN Indicates when a specified condition is true or when program variable changes value.

WS Displays Working storage

ACCEPT Accepts the data from I/P file or from Instream data



line command B => for putting breakpoint
Keep => for monitoring variable values
F12 => for execution till the next breakpoint is encountered.
mon or monitor => to monitor the flow of execution (it is used if you want to go in reverse flow after some time) Rev or Reverse => after typing this command and then pressing F9 will take the flow in reverse flow (but for this monitor is must otherwise it will not remember the reverse flow) If you want to again go in forward direction, again type rev commmand. To delete monitor command is "delete mon"
When command => It is used to keep breakpoint till a variable reaches a value. For example you want the program to execute till "A" = xyz. then command will be when A = 'xyz' and press enter.
After this press F12. The execution will stop as soon as A gets value as 'xyz'.
After this do not forget to give "delete when" command.


No comments:

Post a Comment