| IBM MAINFRAME HELP & SUPPORT FORUMS Technical Forums for IBM Mainframe Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7&11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
|
| View previous topic :: View next topic |
| Author |
Message |
genesis786
Joined: 28 Sep 2005
Posts: 92
Location: London
|
| Posted: Tue Aug 26, 2008 3:32 pm Post subject: Personal List (PL) giving unexpected results. |
|
|
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
Joined: 14 Mar 2007
Posts: 3544
Location: Brussels once more ...
|
| Posted: Tue Aug 26, 2008 3:37 pm Post subject: |
|
|
| Have you tried to run the REXX using TRACE |
|
| Back to top |
|
expat
Joined: 14 Mar 2007
Posts: 3544
Location: Brussels once more ...
|
| Posted: Tue Aug 26, 2008 3:40 pm Post subject: |
|
|
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
Joined: 28 Sep 2005
Posts: 92
Location: London
|
| Posted: Tue Aug 26, 2008 3:49 pm Post subject: |
|
|
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
Joined: 14 Mar 2007
Posts: 3168
Location: italy
|
| Posted: Tue Aug 26, 2008 3:55 pm Post subject: Reply to: Personal List (PL) giving unexpected results. |
|
|
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
Joined: 28 Sep 2005
Posts: 92
Location: London
|
| Posted: Tue Aug 26, 2008 4:10 pm Post subject: |
|
|
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
Joined: 14 Mar 2007
Posts: 3168
Location: italy
|
| Posted: Tue Aug 26, 2008 4:28 pm Post subject: Reply to: Personal List (PL) giving unexpected results. |
|
|
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 |
|
| |
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM
|