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
 
Personal List (PL) giving unexpected results.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: Personal List (PL) giving unexpected results.
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: 8593
Location: Back in jolly old England

PostPosted: Tue Aug 26, 2008 3:37 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Tue Aug 26, 2008 3:40 pm    Post subject:
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10310
Location: italy

PostPosted: Tue Aug 26, 2008 3:55 pm    Post subject: Reply to: Personal List (PL) giving unexpected results.
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10310
Location: italy

PostPosted: Tue Aug 26, 2008 4:28 pm    Post subject: Reply to: Personal List (PL) giving unexpected results.
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm
No new posts member list compare jzhardy TSO/ISPF 6 Fri May 12, 2017 3:18 pm
No new posts Join giving more records than expected Danielle.Filteau SYNCSORT 2 Thu Mar 09, 2017 3:28 am
No new posts Vision results (also known as DYL-280) CaptBill CA Products 1 Tue Dec 20, 2016 3:35 am
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am

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