View previous topic :: View next topic
|
Author |
Message |
genesis786
Active User
Joined: 28 Sep 2005 Posts: 210 Location: St Katherine's Dock London
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Have you tried to run the REXX using TRACE |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
genesis786
Active User
Joined: 28 Sep 2005 Posts: 210 Location: St Katherine's Dock London
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
genesis786
Active User
Joined: 28 Sep 2005 Posts: 210 Location: St Katherine's Dock London
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
|