View previous topic :: View next topic
|
Author |
Message |
anand1204
New User
Joined: 16 Jan 2015 Posts: 12 Location: USA
|
|
|
|
Hi All,
this is my first post in this forum.
Here is my question below..
I need help with using WHEN command in Xpeditor. I'm trying to read a value from database which is of 1000+ records, I need to xped the program to stop the control when a specific value is met.
For e.g I need to stop the pgm control when ABC = 1000.
but here is my pblm, I have ABC coded in 2 different copybooks,
ABC OF ABCDEFGHIJKLMN & ABC OF ZXCBHHUILLLLKJHHHE
when I try to peform WHEN operation for ABC, I'm getting "DUPLICATE DATA NAME, QUALIFICATION IS REQUIRED"
So, If I decide to use ABC OF ABCDEFGHIJKLMN = '1000' it exceeds the window length. is there a way to increase the command line scroll length?
or how can I specify the correct variable in the when command? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
From the Fine Manual:
Quote: |
The primary command area can be extended up to three lines by using the SET CMDSIZE command. The previous primary command can be recalled by entering a question mark (?). |
|
|
Back to top |
|
|
anand1204
New User
Joined: 16 Jan 2015 Posts: 12 Location: USA
|
|
|
|
Great. it worked.. thanks Rob |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
Glad to hear it worked.
And I go by "Robert", not "Rob". |
|
Back to top |
|
|
|