Page 1 of 1

Problem with ZCMD

PostPosted: Sat Aug 25, 2012 12:57 pm
by Quasar
Hi everyone -

I have run into a problem, where I cannot figure out, what needs to be done. I have a panel, PAN110 and an ISPF Table SCHEMATB. I am displaying the SCHEMATB Ispf Table on the ISPF Panel PAN110.

ADDRESS ISPEXEC
"TBDISPL SCHEMATB PANEL(PAN110)


Image

Now, I have set the Keys PF7 and PF8 to the UP and DOWN Commands. The scrolling is taken care of by ISPF. However, if the user modifies any of the SCHEMATB Table rows, say he enters 'S' against one of the entries NAME or CREATOR, and then presses PF8, the variable ZCMD shows up as SPACES, and doesnt contain anything. Moreover, the control returns back to my program. I want the UP/DOWN Scrolling to be handled by ISPF(just as when I don't enter any inputs).

Thanks,
Quasar

Re: Problem with ZCMD

PostPosted: Sat Aug 25, 2012 1:43 pm
by Quasar
Hi -

The issue is even merkier. When I enter one of the system-recognised commands(such as UP, DOWN), the ZCMD variable remains BLANK. But, if enter any junk/garbage value on the command-line, this value is correctly stored in the ZCMD System variable.

Thanks,
Quasar

Re: Problem with ZCMD

PostPosted: Sat Aug 25, 2012 2:54 pm
by Quasar
Just for the record, I was facing the same issue with a previous post http://www.ibmmainframeforum.com/clist-rexx/topic8010.html. I am not doing a VGET.

Re: Problem with ZCMD

PostPosted: Sun Aug 26, 2012 7:37 am
by Quasar
Awaiting a reply..

Re: Problem with ZCMD

PostPosted: Sun Aug 26, 2012 2:09 pm
by NicC
You can wait for a reply - it does not mean anyone will reply. There is no requirement for ANYONE to reply. And that is all I am going to say in this topic - whether I have real input or not.

Re: Problem with ZCMD

PostPosted: Mon Aug 27, 2012 3:11 pm
by mongan
You did not post enough of your routine, or you are not doing enough. Try examining an existing table display routine to find out how to process line commands.