Problem with ZCMD



TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...

Problem with ZCMD

Postby Quasar » Sat Aug 25, 2012 12:57 pm

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
Quasar Chunawala,
Software Engineer, Lives at Borivali, Mumbai
User avatar
Quasar
 
Posts: 102
Joined: Wed Nov 10, 2010 7:11 pm
Location: Borivali, Mumbai
Has thanked: 13 times
Been thanked: 2 times

Re: Problem with ZCMD

 

Re: Problem with ZCMD

Postby Quasar » Sat Aug 25, 2012 1:43 pm

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
Quasar Chunawala,
Software Engineer, Lives at Borivali, Mumbai
User avatar
Quasar
 
Posts: 102
Joined: Wed Nov 10, 2010 7:11 pm
Location: Borivali, Mumbai
Has thanked: 13 times
Been thanked: 2 times

Re: Problem with ZCMD

Postby Quasar » Sat Aug 25, 2012 2:54 pm

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.
Quasar Chunawala,
Software Engineer, Lives at Borivali, Mumbai
User avatar
Quasar
 
Posts: 102
Joined: Wed Nov 10, 2010 7:11 pm
Location: Borivali, Mumbai
Has thanked: 13 times
Been thanked: 2 times

Re: Problem with ZCMD

Postby Quasar » Sun Aug 26, 2012 7:37 am

Awaiting a reply..
Quasar Chunawala,
Software Engineer, Lives at Borivali, Mumbai
User avatar
Quasar
 
Posts: 102
Joined: Wed Nov 10, 2010 7:11 pm
Location: Borivali, Mumbai
Has thanked: 13 times
Been thanked: 2 times

Re: Problem with ZCMD

Postby NicC » Sun Aug 26, 2012 2:09 pm

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.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2690
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 105 times

Re: Problem with ZCMD

Postby mongan » Mon Aug 27, 2012 3:11 pm

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.
User avatar
mongan
 
Posts: 212
Joined: Tue Jan 11, 2011 8:32 pm
Has thanked: 1 time
Been thanked: 5 times


Return to TSO & ISPF

 


  • Related topics
    Replies
    Views
    Last post