Panel cannot receive 'exit' as input?



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

Panel cannot receive 'exit' as input?

Postby RazVorox » Mon Dec 04, 2023 7:56 pm

The title pretty much says it all.
basic panel, default input field, whenever i type 'exit' in it
it just receives ' ' (blank).
any other word works.

did i miss something in the manual? is it a known thing?
RazVorox
 
Posts: 16
Joined: Wed Oct 19, 2022 11:52 am
Has thanked: 7 times
Been thanked: 1 time

Re: Panel cannot receive 'exit' as input?

Postby Pedro » Mon Dec 04, 2023 10:16 pm

EXIT is a ISPF dialog command. It normally results in your application being stopped and maybe RC=8. Possibly you have something that ignores the return code and still shows your panel.

If you want to process EXIT in your application, you have to define it as PASSTHRU in your application command table.

Or maybe you can detect it in the )PROC section of your panel:
)PROC
IF (&ZCMD = EXIT)
    &MYCMD = EXIT
    &ZCMD  =
 
Pedro Vera
User avatar
Pedro
 
Posts: 684
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times

Re: Panel cannot receive 'exit' as input?

Postby RazVorox » Tue Dec 05, 2023 11:06 am

Roger, and thank you.
I've tried a few more. like START.
Funny thing though, is that some work, most don't.

PASSTHROUGH. got it.
Learned a new skill right there :)
RazVorox
 
Posts: 16
Joined: Wed Oct 19, 2022 11:52 am
Has thanked: 7 times
Been thanked: 1 time


Return to TSO & ISPF

 


  • Related topics
    Replies
    Views
    Last post