View previous topic :: View next topic
|
Author |
Message |
jramuk
New User
Joined: 14 Nov 2007 Posts: 18 Location: US
|
|
|
|
Posted: Tue Sep 09, 2008 10:33 am Post subject: ISPD224 while interacting between the panels
--------------------------------------------------------------------------------
Hi,
While executing the below code
.CURSOR = ZCMD
&CURPANL = ASSEH
&PRVPANL = ' '
VPUT (CURPANL PRVPANL) PROFILE
)PROC
&MYKEY = .PFKEY
&MYRESP = .RESP
&ZSEL=TRANS(TRUNC(&ZCMD,'.')
1,'CMD(%CLST1)'
2,'CMD(+CLST2)'
X,'CMD(+CLST3)')
)END
I'm getting an error
***************************************************************
* ISPD223
*
* Invalid command
* Command 'CLST1' not found or contains invalid syntax.
*
Attaching the screen shots of error and code...
But my CLIST1 is executing separately, I'm getting this error only when I call from this panel. Could some one help me resolve this prob... |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
May be the reason is that your command name is CLIST1, but in the panel you coded CLST1?
O. |
|
Back to top |
|
|
jramuk
New User
Joined: 14 Nov 2007 Posts: 18 Location: US
|
|
|
|
No that was a typo both the names are CLIST1 |
|
Back to top |
|
|
jramuk
New User
Joined: 14 Nov 2007 Posts: 18 Location: US
|
|
|
|
the actual code is
.CURSOR = ZCMD
&CURPANL = ASSEH
&PRVPANL = ' '
VPUT (CURPANL PRVPANL) PROFILE
)PROC
&MYKEY = .PFKEY
&MYRESP = .RESP
&ZSEL=TRANS(TRUNC(&ZCMD,'.')
1,'CMD(%CLIST1)'
2,'CMD(+CLIST2)'
X,'CMD(+CLIST3)')
)END |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
DO NOT double post your question, and do not use attachments as many people can not open them, so will not be able to help. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
Quote: |
No that was a typo both the names are CLIST1 |
Sorry, but 1) your post and 2) actual screen capture and 3) the error message all say that you used CLST1.
If you fixed it now and still had the problem, it is because ISPF remembers panels. You have to exit ISPF and start with ISPF TEST command. |
|
Back to top |
|
|
|