Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
XPED - When command usage

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools
View previous topic :: :: View next topic  
Author Message
anand1204

New User


Joined: 16 Jan 2015
Posts: 7
Location: USA

PostPosted: Tue Sep 15, 2015 12:50 am    Post subject: XPED - When command usage
Reply with quote

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
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8154
Location: East Dubuque, Illinois, USA

PostPosted: Tue Sep 15, 2015 1:08 am    Post subject:
Reply with quote

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
View user's profile Send private message
anand1204

New User


Joined: 16 Jan 2015
Posts: 7
Location: USA

PostPosted: Tue Sep 15, 2015 1:25 am    Post subject:
Reply with quote

Great. it worked.. thanks Rob
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8154
Location: East Dubuque, Illinois, USA

PostPosted: Tue Sep 15, 2015 1:43 am    Post subject:
Reply with quote

Glad to hear it worked.

And I go by "Robert", not "Rob".
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to change a string containing the... chong.zhou TSO/ISPF 6 Tue Aug 29, 2017 4:54 pm
No new posts Failure after DIR command Hank Watson All Other Mainframe Topics 2 Tue Aug 29, 2017 3:14 am
No new posts Command to find TMEMBER name for a TPIPE Siva NKK Kothamasu IMS DB/DC 0 Wed Aug 16, 2017 6:08 pm
This topic is locked: you cannot edit posts or make replies. rexx to create a tso command Bharath Vikraman CLIST & REXX 1 Tue Aug 08, 2017 3:32 pm
No new posts )SEL and )ENDSEL usage cvnlynn TSO/ISPF 4 Thu Jun 15, 2017 1:15 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us