Xpeditor Commands: Below Are Few Commands Which I Have Found Out While Working in Xpeditor
Xpeditor Commands: Below Are Few Commands Which I Have Found Out While Working in Xpeditor
Xpeditor Commands: Below Are Few Commands Which I Have Found Out While Working in Xpeditor
Below are few commands which I have found out while working in Xpeditor
1: You would be able to do a PF10 or PF11 only for those variables, which will have SAME->
or MORE-> in number line.
2: Viewing the variable : Apart from Keeps(K) and Peeks(P) you have twso more commands
View(V) and Hex(H) to view values in the variables.
Keep(K) : Shows the value of the variable in data window of Xpeditor it remains in the window
unless and until you delete kept variable.
Peek(P) : Shows the value of the variable at the place where it is defined either in source
program or in copybook. This data view is temporary and once you execute any instruction all
the peeks gets deleted.
View(V) : View command shows the value of the variable in Hex format.
You can give above mentioned commands either in number line or in command line if you are
giving these commands in command line then you need to give variable name along with
command. E.g. K/V/H/V Variable-1
You can see values in Hexadecimal format by writing V in front of a variable in number line.
Data view of variable before giving ‘V’ command in number line.
Data view of H00ENT after hitting enter.
If you will give ‘V’ command in command line then it will show the value of the variable where
ever it would be defined in source.
Data view after hitting enter H00FORM which is defined in a copybook is showed as below.
3: You can see values of variable in Packed HexaDecimal format by writing H in number line
Data view of H00ENT in Packed HexaDecimal format
4: Removing break points and keeps
If you want to remove all the break point or keeps, view, counts etc in source program, then you
can write following command in command line
GOTO 0016E0
And after pressing enter control will come to line 0016E0 without executing lines between
0016D2 and 0016E0
7: Expanding A Macro:
If you want to expand any macro then you can type ‘V’ or ‘G’ in number line. The only
difference between ‘V’ and ‘G’, in this case is ‘V’ command expands the macro with displaying
then line number while ‘G’ command expands the macro without displaying line number
If you want to Keep, Peek or View multiple data variables then you can go to any DSECT or
data definition and can do KK………….KK or PP…………………….PP or VV………..VV,
DD…………..DD, etc.
If you will do a H in this stmt then Xpeditor would peek the value of VAR1 in hex where ever it
would be defined. Same applies with View also.
B LABEL1
17: If you want to pause the execution of programme based upon some conditions. Then you can
add condition using WHEN command.
For example I want to pause the execution of the program when value of BRKLINE is 25 then I
will write the command
When BRKLINE = 28
Now if you’ll do a PF12 the execution of the program will take a pause when value of BRKLINE
would be 28.
Execution of the program halts as value of BRKLINE is 28.
D WHEN BRKLINE=28
18: SYSUT2 #COMPXT# would show values of all the keeps after every GO command.
After we finish execution of the program in Xpeditor, we can check SYSUT2 for checking value
of any kept variable. This information is very much helpful if we want to check value of any
variable at different stages of program execution all together.
It show value of all the keeps.