IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Personal List (PL) giving unexpected results.


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
genesis786

Active User


Joined: 28 Sep 2005
Posts: 210
Location: St Katherine's Dock London

PostPosted: Tue Aug 26, 2008 3:32 pm
Reply with quote

Hi, I have an input ZVAR in my panel (country code) like this:

Code:
 _ TYPE(INPUT) INTENS(HIGH) COLOR(TURQ) HILITE(USCORE) CAPS(ON)


When I capture the input through my rexx (specifically PL), a new panel opens up

Code:
EZYEDIT Personal Lists


I want to capture PL (being a country code) but not sure why new panel is opening up only for PL.

Can anyone please help. Let me know if I am being unclear at any point.

Regards
Rahul.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Aug 26, 2008 3:37 pm
Reply with quote

Have you tried to run the REXX using TRACE
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Aug 26, 2008 3:40 pm
Reply with quote

Use TRACE I from the point you wish to start your trace, and use TRACE O to stop the trace.

It shows you what happens in the REXX
Back to top
View user's profile Send private message
genesis786

Active User


Joined: 28 Sep 2005
Posts: 210
Location: St Katherine's Dock London

PostPosted: Tue Aug 26, 2008 3:49 pm
Reply with quote

I tried using the TRACE but not much luck. Pasting the screenshots below:

This is the input panel:

Code:
                             QIK-Refresh 1.0                               
                                                                           
                                                                           
DATE :  26 AUG 2008                                       USERID :  LECURK
TIME :  12:14:31                                                           
                                                                           
                                                                           
     COUNTRY*   ==>     (US, FR, S1)        '*' = Mandatory Field         
     AIX'S      ==>     ('Y if you want to re-build AIX's also..)         


When I give 'PL' (happening only for PL) in the Country field following panel opens up:

Code:

 EZYEDIT Personal Lists --------------------------------------------- Row 1  …
 COMMAND ===>                                                  SCROLL ===> C …
                                                                             …
 Enter:  S=Select  D=Delete  E=Edit  R=Rename  UP=UPdate  X=eXclude  F1=Help …
 Command Name     Description                          Message    Changed    …
 --------------------------------------------------------------------------- …
         LECURK   Datasets Starting with LECURK                 2008/08/26 1 …
 ******************************* Bottom of Data **************************** …


Not sure why it is happening.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Aug 26, 2008 3:55 pm
Reply with quote

its happening because the panel design is wrong...

unless specified otherwise the first entry filed will be considered also as the command field

when You enter PL in the first field ispf will interpret it as a command and take You to the Personal dataset list
Back to top
View user's profile Send private message
genesis786

Active User


Joined: 28 Sep 2005
Posts: 210
Location: St Katherine's Dock London

PostPosted: Tue Aug 26, 2008 4:10 pm
Reply with quote

ohh! now i understand..

Thanks a lot. Now i have moved the AIX to the first list and it is taking PL as an input and not as a command.

Thanks again!
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Aug 26, 2008 4:28 pm
Reply with quote

or if You want to keep the fields in an application logic order
You can use ...
)BODY CMD()
to disable the command field completely



Quote:
CMD(field-name) Identifies the panel field (variable name) to be treated as the command field. The field type must be a CUA input type. If the CMD keyword is omitted from a )BODY statement, ISPF uses the first input field as a default command field. You can specify that you do not want a command field by using CMD(). Do not use this option for a table display. You must have a command field for a table display.

Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts 3270 personal communications. Can't c... TSO/ISPF 2
No new posts DB2 Statistics - Using EXPLAIN and qu... DB2 1
No new posts Build dataset list with properties us... PL/I & Assembler 4
No new posts list pds members name starting with xyz CLIST & REXX 11
Search our Forums:

Back to Top