Re: can the ENTER key be simulated in an ISPF panel

2008-09-22 Thread Barkow, Eileen
you can also go to ispf display panel option in order to bring in a new
version of panel, so I was told. 

-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Ted MacNEIL
Sent: Friday, September 19, 2008 3:24 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: can the ENTER key be simulated in an ISPF panel

If it's doing that, it means you're picking up an old version of the
panel (e.g. probably from cache). A quick way to prove that would be to
simply logoff and logon.

You don't have to logoff.
Just exit and re-enter ISPF.
-
Too busy driving to stop for gas!

--
For IBM-MAIN subscribe / signoff / archive access instructions, send
email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search
the archives at http://bama.ua.edu/archives/ibm-main.html

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



SV: can the ENTER key be simulated in an ISPF panel

2008-09-21 Thread Thomas Berg
Or using ISPF 7.2.

__
Thomas Berg   Specialist   IT-U   SWEDBANK
 

 -Ursprungligt meddelande-
 Från: IBM Mainframe Discussion List 
 [mailto:[EMAIL PROTECTED] För Ted MacNEIL
 Skickat: den 19 september 2008 21:24
 Till: IBM-MAIN@BAMA.UA.EDU
 Ämne: Re: can the ENTER key be simulated in an ISPF panel
 
 If it's doing that, it means you're picking up an old 
 version of the panel (e.g. probably from cache). A quick way 
 to prove that would be to simply logoff and logon.
 
 You don't have to logoff.
 Just exit and re-enter ISPF.
 -
 Too busy driving to stop for gas!
 
 --
 For IBM-MAIN subscribe / signoff / archive access 
 instructions, send email to [EMAIL PROTECTED] with the 
 message: GET IBM-MAIN INFO Search the archives at 
 http://bama.ua.edu/archives/ibm-main.html
 
 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: can the ENTER key be simulated in an ISPF panel

2008-09-20 Thread Kenneth E Tomiak
If you want TSO/E REXX to wait only a certain duration after having called 
another program (ISPEXEC), there is no such function. REXX waits for the 
called program to return control. Sounds like you want ISPF to have an option 
that when a panel is displayed it would 'timeout' if the user did not press an 
interrupt key (ATTN). Not the normal behavior for an interactive application. 
Similar to how some other functions, CONSOLE() and SOCKET() come to mind, 
have their own settings for how long they can have control before returning 
control back to the caller.

ISPF was designed to be interactive, so it waits for the user to interact, not 
optionally interact. Just like CICS displaying a map and waiting for the user 
to 
do something, then running the transaction without letting the user start 
another transaction or press a PFKEY. In CICS it could ugly if users tried 
running three transactions at the same time that all displayed a different map 
to be used for data entry. Same with ISPF. The CONTROL LOCK option seems 
to be trying to match the windows 'progress bar' method of keeping the user 
occupied while doing things that take awhile and let them know the system is 
fine, just has a lot to do. That is how ISRDDN search uses it, and I use it to 
display which member my PDSEDIT code is currently executing on. Since you 
have just the one active TCB doing your work there is no ISPF reason to let 
them press any keys while your Rexx code is doing your work. They could not 
swap to another screen because you did not spin off a disconnected process 
under another TCB. You can't scroll around because your code is still 
executing. Generically it makes no sense to let the user change the display if 
your program is going to display a different panel. ISPF is not a multi-tasking 
operating system, only one TCB is active at a time, when control returns to 
them, they can swap to another ISPF session/screen and do something else, 
there are no swap but leave the session running in the background options. It 
stops running when they swap. Although I have wanted the ability to scroll 
down a long data set list while something else was chugging away. And having 
to press the attention key to break out to my multi-session monitor so I can 
swap logical terminal sessions is dangerous if I hit it twice, it sends the 
attention to my rexx code.


Ask John L. to open an ISPF Requirement for a TIMEOUT parameter on 
ISPEXEC SELECT and DISPLAY PANEL().


It would be nice to have some code running under session 1, swap to session 
2 and leave session 1 running while continuing to do work under session 2. 
The lack of that functionality is what led users to have multiple tso userids 
and being able to logon with the same userid on multiple systems in a 
JESPLEX. And more recelty asking why not use the same userid more than 
once on the same system.





On Fri, 19 Sep 2008 14:28:25 -0400, Barkow, Eileen 
[EMAIL PROTECTED] wrote:

Dave,
thank you very much for your synopsis on this.
we were trying to find a way whereby the process can be interrupted.
 The programmer did manage to do this with an assembler program that
waits and accepts an interrupt from the attention key - if none is
received the panel is jus reinvoked with the time updated.

unfortuneatly, I do not see a WAIT facility in TSO REXX - there is one
in Netview- which would have eliminated the need for an assembler
program.

you are correct about the attention key, but that can be set with
emulators.


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: can the ENTER key be simulated in an ISPF panel

2008-09-20 Thread Ted MacNEIL
If you want TSO/E REXX to wait only a certain duration after having called 
another program (ISPEXEC), there is no such function

You need TSO to be a multi-tasking environment, where a parent process can kill 
another after a specific interval.

I've done this in UNIX, GCOS, LINUX, and an experimental OS (in University), 
but TSO is a single task.

-
Too busy driving to stop for gas!

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: can the ENTER key be simulated in an ISPF panel

2008-09-20 Thread J R
 ... but TSO is a single task.  
 
Actually, TSO is far from a single task.  The problem is 
that, if you have more than one active task that can 
issue a TGET, when you enter a response, you don't 
know to whom you are responding.  
 
ISPF gets around this by only having an outstanding 
TGET on the current screen.  
 
 Date: Sat, 20 Sep 2008 18:36:33 +
 From: [EMAIL PROTECTED]
 Subject: Re: can the ENTER key be simulated in an ISPF panel
 To: IBM-MAIN@BAMA.UA.EDU
 
 If you want TSO/E REXX to wait only a certain duration after having called 
 another program (ISPEXEC), there is no such function
 
 You need TSO to be a multi-tasking environment, where a parent process can 
 kill another after a specific interval.
 
 I've done this in UNIX, GCOS, LINUX, and an experimental OS (in University), 
 but TSO is a single task.
 
 -
 Too busy driving to stop for gas!
 
 
_
Get more out of the Web. Learn 10 hidden secrets of Windows Live.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: can the ENTER key be simulated in an ISPF panel

2008-09-20 Thread Ted MacNEIL
Actually, TSO is far from a single task.  The problem is that, if you have 
more than one active task that can issue a TGET, when you enter a response, 
you don't know to whom you are responding.  

Okay. But, it acts as a single task.
Only one is active at a time.

Tomayto - tomatto! (8-{]}

-
Too busy driving to stop for gas!

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: can the ENTER key be simulated in an ISPF panel

2008-09-20 Thread J R
Well, I just thought a little more about this.  ;-)  
 
ISPF does the TGET.  Based on context, i.e. where the 
cursor is, the appropriate logical screen is given control.  
 
 Date: Sat, 20 Sep 2008 15:29:50 -0400
 From: [EMAIL PROTECTED]
 Subject: Re: can the ENTER key be simulated in an ISPF panel
 To: IBM-MAIN@BAMA.UA.EDU
 
  ... but TSO is a single task. 
 
 Actually, TSO is far from a single task. The problem is 
 that, if you have more than one active task that can 
 issue a TGET, when you enter a response, you don't 
 know to whom you are responding. 
 
 ISPF gets around this by only having an outstanding 
 TGET on the current screen. 
 
 
 
_
Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: can the ENTER key be simulated in an ISPF panel

2008-09-20 Thread Ted MacNEIL
Well, I just thought a little more about this.  ;-)  
 
ISPF does the TGET.  Based on context, i.e. where the cursor is, the 
appropriate logical screen is given control.  


Yes, but that is just context.
There's still only one task listening.

That's like 'one hand clapping'?

-
Too busy driving to stop for gas!

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: can the ENTER key be simulated in an ISPF panel

2008-09-20 Thread J R
 Okay. But, it acts as a single task.   Only one is active at a time.  
 
I agree.  The outstanding TGET is the reason why.  
 
 Date: Sat, 20 Sep 2008 19:32:09 +
 From: [EMAIL PROTECTED]
 Subject: Re: can the ENTER key be simulated in an ISPF panel
 To: IBM-MAIN@BAMA.UA.EDU
 
 Actually, TSO is far from a single task. The problem is that, 
 if you have more than one active task that can issue a TGET, 
 when you enter a response, you don't know to whom you are responding. 
 
 Okay. But, it acts as a single task.
 Only one is active at a time.
 
 Tomayto - tomatto! (8-{]}
 
 -
 Too busy driving to stop for gas!
 
 
_
Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



can the ENTER key be simulated in an ISPF panel

2008-09-19 Thread Barkow, Eileen
maybe some TSO/ISFP/REXX guru knows how to do this?

 

we have a simple panel and a clist that displays it.

the panel stops after displaying and the enter key has to be issued

before it continues to the next clause (SAY '' in this example).

 

we  want the panel to continue without having to hit enter.

the ISPEXEC LOCK option seems to work for this but prevents the pf  keys
from interrupting

the clist. Attention key can be entered but it gets of out the clist. 

 

is there another way to simulate the enter key without using LOCK? 

 

 

/* REXX */

 

ISPEXEC CONTROL  DISPLAY  LOCK

ADDRESS ISPEXEC DISPLAY PANEL(PANEL1) 

SAY ' S'

EXIT

 

*PANEL1**

)body window(50,15)

+ PANEL1 +

+ This is +

+ +

+ good bye+

)end

 


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: can the ENTER key be simulated in an ISPF panel

2008-09-19 Thread Visser, Hans (PinkRoccade Infrastructure Services Technisch Specialist)
Is CONTROL NONDISPL ENTER maybe what you are looking for?

Mvg,

Hans Visser

Technisch Specialist

Getronics PinkRoccade
Fauststraat 1, 7323 BA Apeldoorn
Postbus 9105, 7300 HN Apeldoorn

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: can the ENTER key be simulated in an ISPF panel

2008-09-19 Thread Barkow, Eileen
NONDISPL does not display the panel - we want the panel displayed but to
continue.

-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Visser, Hans (PinkRoccade Infrastructure Services Technisch
Specialist)
Sent: Friday, September 19, 2008 10:11 AM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: can the ENTER key be simulated in an ISPF panel


Is CONTROL NONDISPL ENTER maybe what you are looking for?

Mvg,

Hans Visser

Technisch Specialist

Getronics PinkRoccade
Fauststraat 1, 7323 BA Apeldoorn
Postbus 9105, 7300 HN Apeldoorn

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: can the ENTER key be simulated in an ISPF panel

2008-09-19 Thread Wolfgang Schäfer

Then you should try CONTROL DISPLAY LOCK

Cheers
Wolfgang
- Original Message - 
From: Barkow, Eileen [EMAIL PROTECTED]

Newsgroups: bit.listserv.ibm-main
To: IBM-MAIN@BAMA.UA.EDU
Sent: Friday, September 19, 2008 4:15 PM
Subject: Re: can the ENTER key be simulated in an ISPF panel



NONDISPL does not display the panel - we want the panel displayed but to
continue.

-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Visser, Hans (PinkRoccade Infrastructure Services Technisch
Specialist)
Sent: Friday, September 19, 2008 10:11 AM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: can the ENTER key be simulated in an ISPF panel


Is CONTROL NONDISPL ENTER maybe what you are looking for?

Mvg,

Hans Visser

Technisch Specialist

Getronics PinkRoccade
Fauststraat 1, 7323 BA Apeldoorn
Postbus 9105, 7300 HN Apeldoorn

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: can the ENTER key be simulated in an ISPF panel

2008-09-19 Thread Barkow, Eileen
we do not want to use LOCK since it prohibits the use of pfkeys.
we are looking for another way to do this.

-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of 
Wolfgang Schäfer
Sent: Friday, September 19, 2008 10:42 AM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: can the ENTER key be simulated in an ISPF panel

Then you should try CONTROL DISPLAY LOCK

Cheers
Wolfgang
- Original Message - 
From: Barkow, Eileen [EMAIL PROTECTED]
Newsgroups: bit.listserv.ibm-main
To: IBM-MAIN@BAMA.UA.EDU
Sent: Friday, September 19, 2008 4:15 PM
Subject: Re: can the ENTER key be simulated in an ISPF panel


 NONDISPL does not display the panel - we want the panel displayed but to
 continue.
 
 -Original Message-
 From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
 Behalf Of Visser, Hans (PinkRoccade Infrastructure Services Technisch
 Specialist)
 Sent: Friday, September 19, 2008 10:11 AM
 To: IBM-MAIN@BAMA.UA.EDU
 Subject: Re: can the ENTER key be simulated in an ISPF panel
 
 
 Is CONTROL NONDISPL ENTER maybe what you are looking for?
 
 Mvg,
 
 Hans Visser
 
 Technisch Specialist
 
 Getronics PinkRoccade
 Fauststraat 1, 7323 BA Apeldoorn
 Postbus 9105, 7300 HN Apeldoorn
 
 --
 For IBM-MAIN subscribe / signoff / archive access instructions,
 send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
 Search the archives at http://bama.ua.edu/archives/ibm-main.html
 
 --
 For IBM-MAIN subscribe / signoff / archive access instructions,
 send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
 Search the archives at http://bama.ua.edu/archives/ibm-main.html


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: can the ENTER key be simulated in an ISPF panel

2008-09-19 Thread Scott Barry
On Fri, 19 Sep 2008 10:45:05 -0400, Barkow, Eileen [EMAIL PROTECTED]
wrote:

we do not want to use LOCK since it prohibits the use of pfkeys.
we are looking for another way to do this.

-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf
Of Wolfgang Schäfer
Sent: Friday, September 19, 2008 10:42 AM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: can the ENTER key be simulated in an ISPF panel

Then you should try CONTROL DISPLAY LOCK

Cheers
Wolfgang
- Original Message -
From: Barkow, Eileen [EMAIL PROTECTED]
Newsgroups: bit.listserv.ibm-main
To: IBM-MAIN@BAMA.UA.EDU
Sent: Friday, September 19, 2008 4:15 PM
Subject: Re: can the ENTER key be simulated in an ISPF panel


 NONDISPL does not display the panel - we want the panel displayed but to
 continue.

 -Original Message-
 From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
 Behalf Of Visser, Hans (PinkRoccade Infrastructure Services Technisch
 Specialist)
 Sent: Friday, September 19, 2008 10:11 AM
 To: IBM-MAIN@BAMA.UA.EDU
 Subject: Re: can the ENTER key be simulated in an ISPF panel


 Is CONTROL NONDISPL ENTER maybe what you are looking for?

 Mvg,

 Hans Visser

 Technisch Specialist

 Getronics PinkRoccade
 Fauststraat 1, 7323 BA Apeldoorn
 Postbus 9105, 7300 HN Apeldoorn



I force the ENTER command with multiple semi-colon characters, but that is
done directly on an ISPF panel, when stacking commands.  Not sure if
applicable to your requirement though.

Scott Barry
SBBWorks, Inc.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: can the ENTER key be simulated in an ISPF panel

2008-09-19 Thread Barkow, Eileen
Scott,
do you have an example of using the semi-colon characters?
  thank you

-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of 
Scott Barry
Sent: Friday, September 19, 2008 10:49 AM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: can the ENTER key be simulated in an ISPF panel

On Fri, 19 Sep 2008 10:45:05 -0400, Barkow, Eileen [EMAIL PROTECTED]
wrote:

we do not want to use LOCK since it prohibits the use of pfkeys.
we are looking for another way to do this.

-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf
Of Wolfgang Schäfer
Sent: Friday, September 19, 2008 10:42 AM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: can the ENTER key be simulated in an ISPF panel

Then you should try CONTROL DISPLAY LOCK

Cheers
Wolfgang
- Original Message -
From: Barkow, Eileen [EMAIL PROTECTED]
Newsgroups: bit.listserv.ibm-main
To: IBM-MAIN@BAMA.UA.EDU
Sent: Friday, September 19, 2008 4:15 PM
Subject: Re: can the ENTER key be simulated in an ISPF panel


 NONDISPL does not display the panel - we want the panel displayed but to
 continue.

 -Original Message-
 From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
 Behalf Of Visser, Hans (PinkRoccade Infrastructure Services Technisch
 Specialist)
 Sent: Friday, September 19, 2008 10:11 AM
 To: IBM-MAIN@BAMA.UA.EDU
 Subject: Re: can the ENTER key be simulated in an ISPF panel


 Is CONTROL NONDISPL ENTER maybe what you are looking for?

 Mvg,

 Hans Visser

 Technisch Specialist

 Getronics PinkRoccade
 Fauststraat 1, 7323 BA Apeldoorn
 Postbus 9105, 7300 HN Apeldoorn



I force the ENTER command with multiple semi-colon characters, but that is
done directly on an ISPF panel, when stacking commands.  Not sure if
applicable to your requirement though.

Scott Barry
SBBWorks, Inc.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: can the ENTER key be simulated in an ISPF panel

2008-09-19 Thread Scott Barry
On Fri, 19 Sep 2008 10:55:44 -0400, Barkow, Eileen [EMAIL PROTECTED]
wrote:

Scott,
do you have an example of using the semi-colon characters?
  thank you

-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf
Of Scott Barry
Sent: Friday, September 19, 2008 10:49 AM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: can the ENTER key be simulated in an ISPF panel

On Fri, 19 Sep 2008 10:45:05 -0400, Barkow, Eileen [EMAIL PROTECTED]
wrote:

we do not want to use LOCK since it prohibits the use of pfkeys.
we are looking for another way to do this.

-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf
Of Wolfgang Schäfer
Sent: Friday, September 19, 2008 10:42 AM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: can the ENTER key be simulated in an ISPF panel

Then you should try CONTROL DISPLAY LOCK

Cheers
Wolfgang
- Original Message -
From: Barkow, Eileen [EMAIL PROTECTED]
Newsgroups: bit.listserv.ibm-main
To: IBM-MAIN@BAMA.UA.EDU
Sent: Friday, September 19, 2008 4:15 PM
Subject: Re: can the ENTER key be simulated in an ISPF panel


 NONDISPL does not display the panel - we want the panel displayed but to
 continue.

 -Original Message-
 From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
 Behalf Of Visser, Hans (PinkRoccade Infrastructure Services Technisch
 Specialist)
 Sent: Friday, September 19, 2008 10:11 AM
 To: IBM-MAIN@BAMA.UA.EDU
 Subject: Re: can the ENTER key be simulated in an ISPF panel


 Is CONTROL NONDISPL ENTER maybe what you are looking for?

 Mvg,

 Hans Visser

 Technisch Specialist

 Getronics PinkRoccade
 Fauststraat 1, 7323 BA Apeldoorn
 Postbus 9105, 7300 HN Apeldoorn



I force the ENTER command with multiple semi-colon characters, but that is
done directly on an ISPF panel, when stacking commands.  Not sure if
applicable to your requirement though.

Scott Barry
SBBWorks, Inc.


As mentioned, I enter these characters directly on an ISPF panel,
interactively.  Sorry, I do not have a suitable example for what you need.

Scott

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



SV: can the ENTER key be simulated in an ISPF panel

2008-09-19 Thread Thomas Berg
Could .RESP = ENTER in the )INIT section 
help you, maybe ?


Regards,
Thomas Berg
__
Thomas Berg   Specialist   IT-U   SWEDBANK
 

 -Ursprungligt meddelande-
 Från: IBM Mainframe Discussion List 
 [mailto:[EMAIL PROTECTED] För Barkow, Eileen
 Skickat: den 19 september 2008 16:45
 Till: IBM-MAIN@BAMA.UA.EDU
 Ämne: Re: can the ENTER key be simulated in an ISPF panel
 
 we do not want to use LOCK since it prohibits the use of pfkeys.
 we are looking for another way to do this.
 
 -Original Message-
 From: IBM Mainframe Discussion List 
 [mailto:[EMAIL PROTECTED] On Behalf Of Wolfgang Schäfer
 Sent: Friday, September 19, 2008 10:42 AM
 To: IBM-MAIN@BAMA.UA.EDU
 Subject: Re: can the ENTER key be simulated in an ISPF panel
 
 Then you should try CONTROL DISPLAY LOCK
 
 Cheers
 Wolfgang
 - Original Message -
 From: Barkow, Eileen [EMAIL PROTECTED]
 Newsgroups: bit.listserv.ibm-main
 To: IBM-MAIN@BAMA.UA.EDU
 Sent: Friday, September 19, 2008 4:15 PM
 Subject: Re: can the ENTER key be simulated in an ISPF panel
 
 
  NONDISPL does not display the panel - we want the panel 
 displayed but to
  continue.
  
  -Original Message-
  From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
  Behalf Of Visser, Hans (PinkRoccade Infrastructure Services 
 Technisch
  Specialist)
  Sent: Friday, September 19, 2008 10:11 AM
  To: IBM-MAIN@BAMA.UA.EDU
  Subject: Re: can the ENTER key be simulated in an ISPF panel
  
  
  Is CONTROL NONDISPL ENTER maybe what you are looking for?
  
  Mvg,
  
  Hans Visser
  
  Technisch Specialist
  
  Getronics PinkRoccade
  Fauststraat 1, 7323 BA Apeldoorn
  Postbus 9105, 7300 HN Apeldoorn
  
  
 --
  For IBM-MAIN subscribe / signoff / archive access instructions,
  send email to [EMAIL PROTECTED] with the message: GET 
 IBM-MAIN INFO
  Search the archives at http://bama.ua.edu/archives/ibm-main.html
  
  
 --
  For IBM-MAIN subscribe / signoff / archive access instructions,
  send email to [EMAIL PROTECTED] with the message: GET 
 IBM-MAIN INFO
  Search the archives at http://bama.ua.edu/archives/ibm-main.html
 
 
 --
 For IBM-MAIN subscribe / signoff / archive access instructions,
 send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
 Search the archives at http://bama.ua.edu/archives/ibm-main.html
 
 --
 For IBM-MAIN subscribe / signoff / archive access instructions,
 send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
 Search the archives at http://bama.ua.edu/archives/ibm-main.html
 
 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: can the ENTER key be simulated in an ISPF panel

2008-09-19 Thread Jousma, David
Here is some sample code from ISP.SISPPENU([EMAIL PROTECTED]).  Not sure if 
this sample is what  you are looking for...

IF (ZLOGO = 'YES') /* [EMAIL PROTECTED]/ 
  IF (ZSPLIT = 'NO')  /* Not in split screen@L5A*/ 
IF (ZCMD = Z)/* No command pending @L5A*/ 
  IF (ZLOGOPAN ¬= 'DONE') /* No logo displayed yet  @L5A*/ 
.MSG = ISRLO999/* Set logo information   @L5A*/ 
.RESP = ENTER  /* Simulate enter @L5A*/ 
ZLOGOPAN = 'DONE' /*@L5A*/ 
ZCLEAN = 'NO' /*@L5A*/ 
IF (ZCMD ¬= Z) ZLOGOPAN = 'DONE'   /* command pending @L5A*/ 
VPUT (ZLOGOPAN) SHARED /*@L5A*/ 
  IF (ZSPLIT = 'YES') ZLOGOPAN = 'DONE'   

_
Dave Jousma
Assistant Vice President
Mainframe Services
[EMAIL PROTECTED]
616.653.8429




This e-mail transmission contains information that is confidential and may be 
privileged.   It is intended only for the addressee(s) named above. If you 
receive this e-mail in error, please do not read, copy or disseminate it in any 
manner. If you are not the intended recipient, any disclosure, copying, 
distribution or use of the contents of this information is prohibited. Please 
reply to the message immediately by informing the sender that the message was 
misdirected. After replying, please erase it from your computer system. Your 
assistance in correcting this error is appreciated.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: can the ENTER key be simulated in an ISPF panel

2008-09-19 Thread Dave Salt
 On Fri, 19 Sep 2008 10:45:05 -0400, Barkow, Eileen 
 wrote:

we do not want to use LOCK since it prohibits the use of pfkeys.
we are looking for another way to do this.

Try putting this in the INIT section of the panel:

.RESP = ENTER

This may give you what you want. However, you'll need a way for the user to 
eventually be able to exit the panel (e.g. by pressing END). So, to ensure the 
.RESP=ENTER logic only executes once you could do something like this:

IF (BEENHERE = ' ')
```BEENHERE = 'Y'
```.RESP = ENTER

Treat the ``` as spaces (it is simply there to ensure the indentation comes 
through).

Hope that helps,

Dave Salt

SimpList(tm) - try it; you'll get it!
http://www.mackinney.com/products/SIM/simplist.htm




_

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: can the ENTER key be simulated in an ISPF panel

2008-09-19 Thread Barkow, Eileen
I tried this but .RESP shows up as data and enter still to be hit.
)INIT
.RESP = ENTER
)PROC
)body window(50,15)
+ PANEL1 +
+ This is +
+ +
+ good bye+
)end

..results in
.RESP = ENTER
, PANEL1 ,
, This is ,
, ,
, good bye,
.RESP


-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of 
Thomas Berg
Sent: Friday, September 19, 2008 11:05 AM
To: IBM-MAIN@BAMA.UA.EDU
Subject: SV: can the ENTER key be simulated in an ISPF panel

Could .RESP = ENTER in the )INIT section 
help you, maybe ?


Regards,
Thomas Berg
__
Thomas Berg   Specialist   IT-U   SWEDBANK
 

 -Ursprungligt meddelande-
 Från: IBM Mainframe Discussion List 
 [mailto:[EMAIL PROTECTED] För Barkow, Eileen
 Skickat: den 19 september 2008 16:45
 Till: IBM-MAIN@BAMA.UA.EDU
 Ämne: Re: can the ENTER key be simulated in an ISPF panel
 
 we do not want to use LOCK since it prohibits the use of pfkeys.
 we are looking for another way to do this.
 
 -Original Message-
 From: IBM Mainframe Discussion List 
 [mailto:[EMAIL PROTECTED] On Behalf Of Wolfgang Schäfer
 Sent: Friday, September 19, 2008 10:42 AM
 To: IBM-MAIN@BAMA.UA.EDU
 Subject: Re: can the ENTER key be simulated in an ISPF panel
 
 Then you should try CONTROL DISPLAY LOCK
 
 Cheers
 Wolfgang
 - Original Message -
 From: Barkow, Eileen [EMAIL PROTECTED]
 Newsgroups: bit.listserv.ibm-main
 To: IBM-MAIN@BAMA.UA.EDU
 Sent: Friday, September 19, 2008 4:15 PM
 Subject: Re: can the ENTER key be simulated in an ISPF panel
 
 
  NONDISPL does not display the panel - we want the panel 
 displayed but to
  continue.
  
  -Original Message-
  From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
  Behalf Of Visser, Hans (PinkRoccade Infrastructure Services 
 Technisch
  Specialist)
  Sent: Friday, September 19, 2008 10:11 AM
  To: IBM-MAIN@BAMA.UA.EDU
  Subject: Re: can the ENTER key be simulated in an ISPF panel
  
  
  Is CONTROL NONDISPL ENTER maybe what you are looking for?
  
  Mvg,
  
  Hans Visser
  
  Technisch Specialist
  
  Getronics PinkRoccade
  Fauststraat 1, 7323 BA Apeldoorn
  Postbus 9105, 7300 HN Apeldoorn
  
  
 --
  For IBM-MAIN subscribe / signoff / archive access instructions,
  send email to [EMAIL PROTECTED] with the message: GET 
 IBM-MAIN INFO
  Search the archives at http://bama.ua.edu/archives/ibm-main.html
  
  
 --
  For IBM-MAIN subscribe / signoff / archive access instructions,
  send email to [EMAIL PROTECTED] with the message: GET 
 IBM-MAIN INFO
  Search the archives at http://bama.ua.edu/archives/ibm-main.html
 
 
 --
 For IBM-MAIN subscribe / signoff / archive access instructions,
 send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
 Search the archives at http://bama.ua.edu/archives/ibm-main.html
 
 --
 For IBM-MAIN subscribe / signoff / archive access instructions,
 send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
 Search the archives at http://bama.ua.edu/archives/ibm-main.html
 
 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: can the ENTER key be simulated in an ISPF panel

2008-09-19 Thread Dave Salt
Put the panel sections in this order:
 
)ATTR
)BODY
)INIT
)PROC
)END
 
 
Hope that helps, Dave SaltSimpList(tm) - try it; you'll get it!   
http://www.mackinney.com/products/SIM/simplist.htmFrom: [EMAIL PROTECTED] 
I tried this but .RESP shows up as data and enter still to be hit. )INIT 
.RESP = ENTER )PROC )body window(50,15) + PANEL1 + + This is + + + + good 
bye+ )end  ..results in .RESP = ENTER , PANEL1 , , This is , , , , good 
bye, .RESP   -Original Message- From: IBM Mainframe Discussion 
List [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Berg Sent: Friday, 
September 19, 2008 11:05 AM To: IBM-MAIN@BAMA.UA.EDU Subject: SV: can the 
ENTER key be simulated in an ISPF panel  Could .RESP = ENTER in the )INIT 
section  help you, maybe ?   Regards, Thomas Berg 
__ Thomas Berg Specialist IT-U 
SWEDBANK-Ursprungligt meddelande-  Från: IBM Mainframe 
Discussion List   [mailto:[EMAIL PROTECTED] För Barkow, Eileen  Skickat: 
den 19 september 2008 16:45  Till: IBM-MAIN@BAMA.UA.EDU  Ämne: Re: can the 
ENTER key be simulated in an ISPF panelwe do not want to use LOCK since 
it prohibits the use of pfkeys.  we are looking for another way to do this. 
   -Original Message-  From: IBM Mainframe Discussion List   
[mailto:[EMAIL PROTECTED] On Behalf Of Wolfgang Schäfer  Sent: Friday, 
September 19, 2008 10:42 AM  To: IBM-MAIN@BAMA.UA.EDU  Subject: Re: can the 
ENTER key be simulated in an ISPF panelThen you should try CONTROL 
DISPLAY LOCKCheers  Wolfgang  - Original Message -  
From: Barkow, Eileen [EMAIL PROTECTED]  Newsgroups: 
bit.listserv.ibm-main  To: IBM-MAIN@BAMA.UA.EDU  Sent: Friday, September 
19, 2008 4:15 PM  Subject: Re: can the ENTER key be simulated in an ISPF 
panel   NONDISPL does not display the panel - we want the panel   
displayed but to   continue.  -Original Message-   
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On   Behalf Of 
Visser, Hans (PinkRoccade Infrastructure Services   Technisch   
Specialist)   Sent: Friday, September 19, 2008 10:11 AM   To: 
IBM-MAIN@BAMA.UA.EDU   Subject: Re: can the ENTER key be simulated in an 
ISPF panel Is CONTROL NONDISPL ENTER maybe what you are 
looking for?  Mvg,  Hans Visser  Technisch 
Specialist  Getronics PinkRoccade   Fauststraat 1, 7323 BA 
Apeldoorn   Postbus 9105, 7300 HN Apeldoorn
--   For 
IBM-MAIN subscribe / signoff / archive access instructions,   send email to 
[EMAIL PROTECTED] with the message: GET   IBM-MAIN INFO   Search the 
archives at http://bama.ua.edu/archives/ibm-main.html
--   For 
IBM-MAIN subscribe / signoff / archive access instructions,   send email to 
[EMAIL PROTECTED] with the message: GET   IBM-MAIN INFO   Search the 
archives at http://bama.ua.edu/archives/ibm-main.html  
--  For 
IBM-MAIN subscribe / signoff / archive access instructions,  send email to 
[EMAIL PROTECTED] with the message: GET IBM-MAIN INFO  Search the archives at 
http://bama.ua.edu/archives/ibm-main.html
--  For 
IBM-MAIN subscribe / signoff / archive access instructions,  send email to 
[EMAIL PROTECTED] with the message: GET IBM-MAIN INFO  Search the archives at 
http://bama.ua.edu/archives/ibm-main.html  
-- For 
IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at 
http://bama.ua.edu/archives/ibm-main.html  
-- For 
IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at 
http://bama.ua.edu/archives/ibm-main.html 
_


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: can the ENTER key be simulated in an ISPF panel

2008-09-19 Thread Wolfgang Schäfer

Not sure what you really want ...

If it is like this:
Panel displays and processing executes a rexx exec
(with CONTROL DISPLAY LOCK)
the exec could have a signal routine that captures the attention. With 
CLISTs this is also possible, but I haven't done it for years ...


Cheers
Wolfgang

- Original Message - 
From: Barkow, Eileen [EMAIL PROTECTED]

Newsgroups: bit.listserv.ibm-main
To: IBM-MAIN@BAMA.UA.EDU
Sent: Friday, September 19, 2008 4:15 PM
Subject: Re: can the ENTER key be simulated in an ISPF panel



NONDISPL does not display the panel - we want the panel displayed but to
continue.

-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Visser, Hans (PinkRoccade Infrastructure Services Technisch
Specialist)
Sent: Friday, September 19, 2008 10:11 AM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: can the ENTER key be simulated in an ISPF panel


Is CONTROL NONDISPL ENTER maybe what you are looking for?

Mvg,

Hans Visser

Technisch Specialist

Getronics PinkRoccade
Fauststraat 1, 7323 BA Apeldoorn
Postbus 9105, 7300 HN Apeldoorn

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



SV: can the ENTER key be simulated in an ISPF panel

2008-09-19 Thread Thomas Berg
Why do you have )body *after* )INIT and )PROC ?
Try with )body first and then )INIT etc.


Regards,
Thomas 
__
Thomas Berg   Specialist   IT-U   SWEDBANK
 

 -Ursprungligt meddelande-
 Från: IBM Mainframe Discussion List 
 [mailto:[EMAIL PROTECTED] För Barkow, Eileen
 Skickat: den 19 september 2008 17:16
 Till: IBM-MAIN@BAMA.UA.EDU
 Ämne: Re: can the ENTER key be simulated in an ISPF panel
 
 I tried this but .RESP shows up as data and enter still to be hit.
 )INIT
 .RESP = ENTER
 )PROC
 )body window(50,15)
 + PANEL1 +
 + This is +
 + +
 + good bye+
 )end
 
 ..results in
 .RESP = ENTER
 , PANEL1 ,
 , This is ,
 , ,
 , good bye,
 .RESP
 
 
 -Original Message-
 From: IBM Mainframe Discussion List 
 [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Berg
 Sent: Friday, September 19, 2008 11:05 AM
 To: IBM-MAIN@BAMA.UA.EDU
 Subject: SV: can the ENTER key be simulated in an ISPF panel
 
 Could .RESP = ENTER in the )INIT section help you, maybe ?
 
 
 Regards,
 Thomas Berg
 __
 Thomas Berg   Specialist   IT-U   SWEDBANK
  
 
  -Ursprungligt meddelande-
  Från: IBM Mainframe Discussion List 
  [mailto:[EMAIL PROTECTED] För Barkow, Eileen
  Skickat: den 19 september 2008 16:45
  Till: IBM-MAIN@BAMA.UA.EDU
  Ämne: Re: can the ENTER key be simulated in an ISPF panel
  
  we do not want to use LOCK since it prohibits the use of pfkeys.
  we are looking for another way to do this.
  
  -Original Message-
  From: IBM Mainframe Discussion List 
  [mailto:[EMAIL PROTECTED] On Behalf Of Wolfgang Schäfer
  Sent: Friday, September 19, 2008 10:42 AM
  To: IBM-MAIN@BAMA.UA.EDU
  Subject: Re: can the ENTER key be simulated in an ISPF panel
  
  Then you should try CONTROL DISPLAY LOCK
  
  Cheers
  Wolfgang
  - Original Message -
  From: Barkow, Eileen [EMAIL PROTECTED]
  Newsgroups: bit.listserv.ibm-main
  To: IBM-MAIN@BAMA.UA.EDU
  Sent: Friday, September 19, 2008 4:15 PM
  Subject: Re: can the ENTER key be simulated in an ISPF panel
  
  
   NONDISPL does not display the panel - we want the panel 
  displayed but to
   continue.
   
   -Original Message-
   From: IBM Mainframe Discussion List 
 [mailto:[EMAIL PROTECTED] On
   Behalf Of Visser, Hans (PinkRoccade Infrastructure Services 
  Technisch
   Specialist)
   Sent: Friday, September 19, 2008 10:11 AM
   To: IBM-MAIN@BAMA.UA.EDU
   Subject: Re: can the ENTER key be simulated in an ISPF panel
   
   
   Is CONTROL NONDISPL ENTER maybe what you are looking for?
   
   Mvg,
   
   Hans Visser
   
   Technisch Specialist
   
   Getronics PinkRoccade
   Fauststraat 1, 7323 BA Apeldoorn
   Postbus 9105, 7300 HN Apeldoorn
   
   
  
 --
   For IBM-MAIN subscribe / signoff / archive access instructions,
   send email to [EMAIL PROTECTED] with the message: GET 
  IBM-MAIN INFO
   Search the archives at http://bama.ua.edu/archives/ibm-main.html
   
   
  
 --
   For IBM-MAIN subscribe / signoff / archive access instructions,
   send email to [EMAIL PROTECTED] with the message: GET 
  IBM-MAIN INFO
   Search the archives at http://bama.ua.edu/archives/ibm-main.html
  
  
  
 --
  For IBM-MAIN subscribe / signoff / archive access instructions,
  send email to [EMAIL PROTECTED] with the message: GET 
 IBM-MAIN INFO
  Search the archives at http://bama.ua.edu/archives/ibm-main.html
  
  
 --
  For IBM-MAIN subscribe / signoff / archive access instructions,
  send email to [EMAIL PROTECTED] with the message: GET 
 IBM-MAIN INFO
  Search the archives at http://bama.ua.edu/archives/ibm-main.html
  
  
 
 --
 For IBM-MAIN subscribe / signoff / archive access instructions,
 send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
 Search the archives at http://bama.ua.edu/archives/ibm-main.html
 
 --
 For IBM-MAIN subscribe / signoff / archive access instructions,
 send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
 Search the archives at http://bama.ua.edu/archives/ibm-main.html
 
 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: can the ENTER key be simulated in an ISPF panel

2008-09-19 Thread Mark Zelden
A better place for this question would be ISPF-L.   As a matter of fact, I
think this
subject came up again a couple of months ago.   Might try searching the ISPF-L
archives or google groups.

Mark
--
Mark Zelden
Sr. Software and Systems Architect - z/OS Team Lead
Zurich North America / Farmers Insurance Group - ZFUS G-ITO
mailto:[EMAIL PROTECTED]
z/OS Systems Programming expert at http://expertanswercenter.techtarget.com/
Mark's MVS Utilities: http://home.flash.net/~mzelden/mvsutil.html

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: can the ENTER key be simulated in an ISPF panel

2008-09-19 Thread Barkow, Eileen
I really do not know the first thing about writing these panels - someone else 
here is working this and i am trying to help.

anyway, i tried this and still get the .RESP showing up in the data and enter 
has to be entered.

)body window(50,15)
+ PANEL1 +
+ This is +
+ +
+ good bye+
)INIT
.RESP=ENTER
)end

-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Dave 
Salt
Sent: Friday, September 19, 2008 11:19 AM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: can the ENTER key be simulated in an ISPF panel

Put the panel sections in this order:
 
)ATTR
)BODY
)INIT
)PROC
)END
 
 
Hope that helps, Dave SaltSimpList(tm) - try it; you'll get it!   
http://www.mackinney.com/products/SIM/simplist.htmFrom: [EMAIL PROTECTED] 
I tried this but .RESP shows up as data and enter still to be hit. )INIT 
.RESP = ENTER )PROC )body window(50,15) + PANEL1 + + This is + + + + good 
bye+ )end  ..results in .RESP = ENTER , PANEL1 , , This is , , , , good 
bye, .RESP   -Original Message- From: IBM Mainframe Discussion 
List [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Berg Sent: Friday, 
September 19, 2008 11:05 AM To: IBM-MAIN@BAMA.UA.EDU Subject: SV: can the 
ENTER key be simulated in an ISPF panel  Could .RESP = ENTER in the )INIT 
section  help you, maybe ?   Regards, Thomas Berg 
__ Thomas Berg Specialist IT-U 
SWEDBANK-Ursprungligt meddelande-  Från: IBM Mainframe 
Discussion List   [mailto:[EMAIL PROTECTED] För Barkow, Eileen  Skickat: 
den 19 september 2008 16:45  Till: IBM-MAIN@BAMA.UA.EDU  Ämne: Re: can the 
ENTER key be simulated in an ISPF panelwe do not want to use LOCK since 
it prohibits the use of pfkeys.  we are looking for another way to do this. 
   -Original Message-  From: IBM Mainframe Discussion List   
[mailto:[EMAIL PROTECTED] On Behalf Of Wolfgang Schäfer  Sent: Friday, 
September 19, 2008 10:42 AM  To: IBM-MAIN@BAMA.UA.EDU  Subject: Re: can the 
ENTER key be simulated in an ISPF panelThen you should try CONTROL 
DISPLAY LOCKCheers  Wolfgang  - Original Message -  
From: Barkow, Eileen [EMAIL PROTECTED]  Newsgroups: 
bit.listserv.ibm-main  To: IBM-MAIN@BAMA.UA.EDU  Sent: Friday, September 
19, 2008 4:15 PM  Subject: Re: can the ENTER key be simulated in an ISPF 
panel   NONDISPL does not display the panel - we want the panel   
displayed but to   continue.  -Original Message-   
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On   Behalf Of 
Visser, Hans (PinkRoccade Infrastructure Services   Technisch   
Specialist)   Sent: Friday, September 19, 2008 10:11 AM   To: 
IBM-MAIN@BAMA.UA.EDU   Subject: Re: can the ENTER key be simulated in an 
ISPF panel Is CONTROL NONDISPL ENTER maybe what you are 
looking for?  Mvg,  Hans Visser  Technisch 
Specialist  Getronics PinkRoccade   Fauststraat 1, 7323 BA 
Apeldoorn   Postbus 9105, 7300 HN Apeldoorn
--   For 
IBM-MAIN subscribe / signoff / archive access instructions,   send email to 
[EMAIL PROTECTED] with the message: GET   IBM-MAIN INFO   Search the 
archives at http://bama.ua.edu/archives/ibm-main.html
--   For 
IBM-MAIN subscribe / signoff / archive access instructions,   send email to 
[EMAIL PROTECTED] with the message: GET   IBM-MAIN INFO   Search the 
archives at http://bama.ua.edu/archives/ibm-main.html  
--  For 
IBM-MAIN subscribe / signoff / archive access instructions,  send email to 
[EMAIL PROTECTED] with the message: GET IBM-MAIN INFO  Search the archives at 
http://bama.ua.edu/archives/ibm-main.html
--  For 
IBM-MAIN subscribe / signoff / archive access instructions,  send email to 
[EMAIL PROTECTED] with the message: GET IBM-MAIN INFO  Search the archives at 
http://bama.ua.edu/archives/ibm-main.html  
-- For 
IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at 
http://bama.ua.edu/archives/ibm-main.html  
-- For 
IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at 
http://bama.ua.edu/archives/ibm-main.html 
_


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at 

Re: can the ENTER key be simulated in an ISPF panel

2008-09-19 Thread Dave Salt
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] 
 [EMAIL PROTECTED]
Content-Type: text/plain; charset=iso-8859-1
MIME-Version: 1.0
X-OriginalArrivalTime: 19 Sep 2008 15:49:13.0996 (UTC) 
FILETIME=[43EB5CC0:01C91A6F]
X-Antivirus: checked in 0.015sec at bama.ua.edu ([130.160.4.114])
by smf-clamd v1.2.1 - http://smfs.sf.net/
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by bama.ua.edu id 
m8JFnV7g013619



.RESP=ENTER would NOT show up in the data for the sample code you posted. If 
it's doing that, it means you're picking up an old version of the panel (e.g. 
probably from cache). A quick way to prove that would be to simply logoff and 
logon. Note that panels are cached in memory, so each and every time you make a 
change to a panel you have to make sure you pick up the new version and not the 
old version from memory. Three ways of doing that are:


1) Use ISPF option 7 to refresh the panel.

2) Logoff/logon.

3) Run ISPF in TEST mode.


Hope that helps,

Dave Salt

SimpList(tm) - try it; you'll get it!
http://www.mackinney.com/products/SIM/simplist.htm


 Date: Fri, 19 Sep 2008 11:31:24 -0400
 From: [EMAIL PROTECTED]
 Subject: Re: can the ENTER key be simulated in an ISPF panel
 To: IBM-MAIN@BAMA.UA.EDU

 I really do not know the first thing about writing these panels - someone 
 else here is working this and i am trying to help.

 anyway, i tried this and still get the .RESP showing up in the data and enter 
 has to be entered.

 )body window(50,15)
 + PANEL1 +
 + This is +
 + +
 + good bye+
 )INIT
 .RESP=ENTER
 )end

 -Original Message-
 From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of 
 Dave Salt
 Sent: Friday, September 19, 2008 11:19 AM
 To: IBM-MAIN@BAMA.UA.EDU
 Subject: Re: can the ENTER key be simulated in an ISPF panel

 Put the panel sections in this order:

 )ATTR
 )BODY
 )INIT
 )PROC
 )END


 Hope that helps, Dave SaltSimpList(tm) - try it; you'll get it! 
 http://www.mackinney.com/products/SIM/simplist.htm From: [EMAIL PROTECTED] 
 I tried this but .RESP shows up as data and enter still to be hit. )INIT 
 .RESP = ENTER )PROC )body window(50,15) + PANEL1 + + This is + + + + 
 good bye+ )end ..results in .RESP = ENTER , PANEL1 , , This is , , , 
 , good bye, .RESP -Original Message- From: IBM Mainframe 
 Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Berg Sent: 
 Friday, September 19, 2008 11:05 AM To: IBM-MAIN@BAMA.UA.EDU Subject: SV: 
 can the ENTER key be simulated in an ISPF panel Could .RESP = ENTER in the 
 )INIT section help you, maybe ? Regards, Thomas Berg 
 __ Thomas Berg Specialist IT-U 
 SWEDBANK -Ursprungligt meddelande- Från: IBM Mainframe 
 Discussion List [mailto:[EMAIL PROTECTED] För Barkow, Eileen Skickat: den 
 19 september 2008 16:45 Till: IBM-MAIN@BAMA.UA.EDU Ämne: Re: can the 
 ENTER key be simulated in an ISPF panel we do not want to use LOCK since 
 it prohibits the use of pfkeys. we are looking for another way to do 
 this. -Original Message- From: IBM Mainframe Discussion List 
 [mailto:[EMAIL PROTECTED] On Behalf Of Wolfgang Schäfer Sent: Friday, 
 September 19, 2008 10:42 AM To: IBM-MAIN@BAMA.UA.EDU Subject: Re: can the 
 ENTER key be simulated in an ISPF panel Then you should try CONTROL 
 DISPLAY LOCK Cheers Wolfgang - Original Message - From: 
 Barkow, Eileen  Newsgroups: bit.listserv.ibm-main To:  Sent: Friday, 
 September 19, 2008 4:15 PM Subject: Re: can the ENTER key be simulated in 
 an ISPF panel NONDISPL does not display the panel - we want the 
 panel displayed but to continue. -Original Message- 
 From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of 
 Visser, Hans (PinkRoccade Infrastructure Services Technisch 
 Specialist) Sent: Friday, September 19, 2008 10:11 AM To: 
 IBM-MAIN@BAMA.UA.EDU Subject: Re: can the ENTER key be simulated in an 
 ISPF panel Is CONTROL NONDISPL ENTER maybe what you are looking 
 for? Mvg, Hans Visser Technisch Specialist Getronics 
 PinkRoccade Fauststraat 1, 7323 BA Apeldoorn Postbus 9105, 7300 HN 
 Apeldoorn 
 -- For 
 IBM-MAIN subscribe / signoff / archive access instructions, send email to 
 [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the 
 archives at http://bama.ua.edu/archives/ibm-main.html 
 -- For 
 IBM-MAIN subscribe / signoff / archive access instructions, send email to 
 [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the 
 archives at http://bama.ua.edu/archives/ibm-main.html 
 -- For 
 IBM-MAIN subscribe / signoff / archive access instructions, send email to 
 [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives 
 at 

Re: can the ENTER key be simulated in an ISPF panel

2008-09-19 Thread Barkow, Eileen
Thanks so much for this info - i was wondering why i was not seeing any changes 
in the panel.
now we are not seeing the panel at all.

more later

-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Dave 
Salt
Sent: Friday, September 19, 2008 11:49 AM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: can the ENTER key be simulated in an ISPF panel


 [EMAIL PROTECTED]
 [EMAIL PROTECTED] 
 [EMAIL PROTECTED]
Content-Type: text/plain; charset=iso-8859-1
MIME-Version: 1.0
X-OriginalArrivalTime: 19 Sep 2008 15:49:13.0996 (UTC) 
FILETIME=[43EB5CC0:01C91A6F]
X-Antivirus: checked in 0.015sec at bama.ua.edu ([130.160.4.114])
by smf-clamd v1.2.1 - http://smfs.sf.net/
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by bama.ua.edu id 
m8JFnV7g013619



.RESP=ENTER would NOT show up in the data for the sample code you posted. If 
it's doing that, it means you're picking up an old version of the panel (e.g. 
probably from cache). A quick way to prove that would be to simply logoff and 
logon. Note that panels are cached in memory, so each and every time you make a 
change to a panel you have to make sure you pick up the new version and not the 
old version from memory. Three ways of doing that are:


1) Use ISPF option 7 to refresh the panel.

2) Logoff/logon.

3) Run ISPF in TEST mode.


Hope that helps,

Dave Salt

SimpList(tm) - try it; you'll get it!
http://www.mackinney.com/products/SIM/simplist.htm


 Date: Fri, 19 Sep 2008 11:31:24 -0400
 From: [EMAIL PROTECTED]
 Subject: Re: can the ENTER key be simulated in an ISPF panel
 To: IBM-MAIN@BAMA.UA.EDU

 I really do not know the first thing about writing these panels - someone 
 else here is working this and i am trying to help.

 anyway, i tried this and still get the .RESP showing up in the data and enter 
 has to be entered.

 )body window(50,15)
 + PANEL1 +
 + This is +
 + +
 + good bye+
 )INIT
 .RESP=ENTER
 )end

 -Original Message-
 From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of 
 Dave Salt
 Sent: Friday, September 19, 2008 11:19 AM
 To: IBM-MAIN@BAMA.UA.EDU
 Subject: Re: can the ENTER key be simulated in an ISPF panel

 Put the panel sections in this order:

 )ATTR
 )BODY
 )INIT
 )PROC
 )END


 Hope that helps, Dave SaltSimpList(tm) - try it; you'll get it! 
 http://www.mackinney.com/products/SIM/simplist.htm From: [EMAIL PROTECTED] 
 I tried this but .RESP shows up as data and enter still to be hit. )INIT 
 .RESP = ENTER )PROC )body window(50,15) + PANEL1 + + This is + + + + 
 good bye+ )end ..results in .RESP = ENTER , PANEL1 , , This is , , , 
 , good bye, .RESP -Original Message- From: IBM Mainframe 
 Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Berg Sent: 
 Friday, September 19, 2008 11:05 AM To: IBM-MAIN@BAMA.UA.EDU Subject: SV: 
 can the ENTER key be simulated in an ISPF panel Could .RESP = ENTER in the 
 )INIT section help you, maybe ? Regards, Thomas Berg 
 __ Thomas Berg Specialist IT-U 
 SWEDBANK -Ursprungligt meddelande- Från: IBM Mainframe 
 Discussion List [mailto:[EMAIL PROTECTED] För Barkow, Eileen Skickat: den 
 19 september 2008 16:45 Till: !
 IBM-MAIN@BAMA.UA.EDU Ämne: Re: can the ENTER key be simulated in an ISPF 
panel we do not want to use LOCK since it prohibits the use of pfkeys. we 
are looking for another way to do this. -Original Message- From: 
IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Wolfgang 
Schäfer Sent: Friday, September 19, 2008 10:42 AM To: 
IBM-MAIN@BAMA.UA.EDU Subject: Re: can the ENTER key be simulated in an ISPF 
panel Then you should try CONTROL DISPLAY LOCK Cheers Wolfgang 
- Original Message - From: Barkow, Eileen  Newsgroups: 
bit.listserv.ibm-main To:  Sent: Friday, September 19, 2008 4:15 PM 
Subject: Re: can the ENTER key be simulated in an ISPF panel NONDISPL 
does not display the panel - we want the panel displayed but to 
continue. -Original Message- From: IBM Mainframe Discussion 
List [mailto:[EMAIL PROTECTED] On Behalf Of Visser, Hans (PinkRoccade 
Infrastructure!
  Services Technisch Specialist) Sent: Friday, September 19, 20
08 10:11 AM To: IBM-MAIN@BAMA.UA.EDU Subject: Re: can the ENTER key be 
simulated in an ISPF panel Is CONTROL NONDISPL ENTER maybe what you 
are looking for? Mvg, Hans Visser Technisch Specialist 
Getronics PinkRoccade Fauststraat 1, 7323 BA Apeldoorn Postbus 9105, 7300 
HN Apeldoorn 
-- For 
IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives 
at http://bama.ua.edu/archives/ibm-main.html 
-- For 
IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[EMAIL 

Re: can the ENTER key be simulated in an ISPF panel

2008-09-19 Thread Jürgen Kehr

Hello,

I'm not sure what you are planning to do: if you want to display some 
kind of in-process messages, then DISPLAY LOCK is correct : the usage of 
PF keys  doesn't make sense, because your REXX is running,  it has the 
control at that time. Only ATTN key makes sense to interrupt the running 
REXX, this may controlled by a REXX SIGNAL.


In any other case the panel would only flash up for a very short moment, 
anyway the user will not have time enough to press any key - there you 
might use NONDISPL ENTER.



Barkow, Eileen schrieb:

maybe some TSO/ISFP/REXX guru knows how to do this?

 


we have a simple panel and a clist that displays it.

the panel stops after displaying and the enter key has to be issued

before it continues to the next clause (SAY '' in this example).

 


we  want the panel to continue without having to hit enter.

the ISPEXEC LOCK option seems to work for this but prevents the pf  keys
from interrupting

the clist. Attention key can be entered but it gets of out the clist. 

 

is there another way to simulate the enter key without using LOCK? 

 

 


/* REXX */

 


ISPEXEC CONTROL  DISPLAY  LOCK

ADDRESS ISPEXEC DISPLAY PANEL(PANEL1) 

SAY ' S'

EXIT

 


*PANEL1**

)body window(50,15)

+ PANEL1 +

+ This is +

+ +

+ good bye+

)end

 



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

  


--

___



Freundliche Gruesse / Kind regards



Dipl.Math. Juergen Kehr, IT Schulung  Beratung, IT Education + Consulting

Tel.  +49-561-9528788  Fax   +49-561-9528789  Mobil +49-172-5129389

ICQ 292-318-696 (JKehr)



mailto:[EMAIL PROTECTED]

mailto:[EMAIL PROTECTED]

___

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: can the ENTER key be simulated in an ISPF panel

2008-09-19 Thread Barkow, Eileen
I agree that DISPLAY LOCK is the way to got and is about the only thing that 
works. .resp=enter seems to work except that you cannot see the panel.

thanks everyone for your responses.

-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of 
Jürgen Kehr
Sent: Friday, September 19, 2008 12:14 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: can the ENTER key be simulated in an ISPF panel

Hello,

I'm not sure what you are planning to do: if you want to display some 
kind of in-process messages, then DISPLAY LOCK is correct : the usage of 
PF keys  doesn't make sense, because your REXX is running,  it has the 
control at that time. Only ATTN key makes sense to interrupt the running 
REXX, this may controlled by a REXX SIGNAL.

In any other case the panel would only flash up for a very short moment, 
anyway the user will not have time enough to press any key - there you 
might use NONDISPL ENTER.
 

Barkow, Eileen schrieb:
 maybe some TSO/ISFP/REXX guru knows how to do this?

  

 we have a simple panel and a clist that displays it.

 the panel stops after displaying and the enter key has to be issued

 before it continues to the next clause (SAY '' in this example).

  

 we  want the panel to continue without having to hit enter.

 the ISPEXEC LOCK option seems to work for this but prevents the pf  keys
 from interrupting

 the clist. Attention key can be entered but it gets of out the clist. 

  

 is there another way to simulate the enter key without using LOCK? 

  

  

 /* REXX */

  

 ISPEXEC CONTROL  DISPLAY  LOCK

 ADDRESS ISPEXEC DISPLAY PANEL(PANEL1) 

 SAY ' S'

 EXIT

  

 *PANEL1**

 )body window(50,15)

 + PANEL1 +

 + This is +

 + +

 + good bye+

 )end

  


 --
 For IBM-MAIN subscribe / signoff / archive access instructions,
 send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
 Search the archives at http://bama.ua.edu/archives/ibm-main.html

   

-- 

___

 

Freundliche Gruesse / Kind regards

 

Dipl.Math. Juergen Kehr, IT Schulung  Beratung, IT Education + Consulting

Tel.  +49-561-9528788  Fax   +49-561-9528789  Mobil +49-172-5129389

ICQ 292-318-696 (JKehr)

 

mailto:[EMAIL PROTECTED]

mailto:[EMAIL PROTECTED]

___

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: can the ENTER key be simulated in an ISPF panel

2008-09-19 Thread Dave Salt
 From: [EMAIL PROTECTED]
 I agree that DISPLAY LOCK is the way to got and is about the only thing that 
 works. .resp=enter seems to work except that you cannot see the panel.


DISPLAY LOCK is usually used when some sort of processing is being performed 
that may take a while. For example, if a user has just requested 20,000 members 
be copied to an existing data set you might want to use DISPLAY LOCK to inform 
the user that the request is being processed, and to periodically show how many 
members have been copied so far. Once all 20,000 members have been copied, you 
would then redisplay the panel with a success message. The panel would become 
unlocked and the user could press END or ENTER to continue with the next 
task. In other words, there is no action required on the part of the user for 
the panel to eventually become unlocked.

If what you are trying to do is similar to the above, then everything is fine. 
But I think you mentioned earlier that you wanted users to be able to press 
function keys while the panel is locked? If so, something is very wrong with 
this picture. The whole point of displaying a panel in locked mode is to 
*prevent* users from being able to press function keys (or other keys) until 
the program has decided it's ready for the panel to be unlocked.

If you are somehow counting on a user to take some sort of action that will 
cause a panel to become unlocked, I would strongly urge you to reconsider this 
design. Just about the only thing a user could do is press the ATTENTION key, 
and this can have *very* undesired consequences. For one thing, different 
emulators use different keys for Attention, so some users might not even know 
where the attention key is. They might try to press Attention and instead press 
SysReq (or something similar) which could totally mess them up. This would be 
especially true if they switch to a different emulator that uses different 
keys. In addition, users like myself (who always run ISPF in TEST mode so that 
panel changes are always refreshed) are usually kicked out of ISPF if the 
Attention key is pressed. Still other users will use their Attention key to 
interact with a session manager, and so on. In other words, you cannot 
guarantee that a user will even *have* an attention key to press, or if they do 
that they'll know where it is. Because of this I would strongly advise against 
coding something that *requires* an attention key to be pressed. But hopefully 
yours is similar to the first scenario I described where the panel 
automatically unlocks after a given period of time?

Dave Salt

SimpList(tm) - try it; you'll get it!
http://www.mackinney.com/products/SIM/simplist.htm

_

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: can the ENTER key be simulated in an ISPF panel

2008-09-19 Thread Barkow, Eileen
Dave, 
thank you very much for your synopsis on this.
we were trying to find a way whereby the process can be interrupted.
 The programmer did manage to do this with an assembler program that
waits and accepts an interrupt from the attention key - if none is
received the panel is jus reinvoked with the time updated.

unfortuneatly, I do not see a WAIT facility in TSO REXX - there is one
in Netview- which would have eliminated the need for an assembler
program.

you are correct about the attention key, but that can be set with
emulators.

 thank you again for your response

-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Salt
Sent: Friday, September 19, 2008 1:46 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: can the ENTER key be simulated in an ISPF panel

 From: [EMAIL PROTECTED]
 I agree that DISPLAY LOCK is the way to got and is about the only
thing that works. .resp=enter seems to work except that you cannot see
the panel.


DISPLAY LOCK is usually used when some sort of processing is being
performed that may take a while. For example, if a user has just
requested 20,000 members be copied to an existing data set you might
want to use DISPLAY LOCK to inform the user that the request is being
processed, and to periodically show how many members have been copied so
far. Once all 20,000 members have been copied, you would then redisplay
the panel with a success message. The panel would become unlocked
and the user could press END or ENTER to continue with the next task. In
other words, there is no action required on the part of the user for the
panel to eventually become unlocked.

If what you are trying to do is similar to the above, then everything is
fine. But I think you mentioned earlier that you wanted users to be able
to press function keys while the panel is locked? If so, something is
very wrong with this picture. The whole point of displaying a panel in
locked mode is to *prevent* users from being able to press function keys
(or other keys) until the program has decided it's ready for the panel
to be unlocked.

If you are somehow counting on a user to take some sort of action that
will cause a panel to become unlocked, I would strongly urge you to
reconsider this design. Just about the only thing a user could do is
press the ATTENTION key, and this can have *very* undesired
consequences. For one thing, different emulators use different keys for
Attention, so some users might not even know where the attention key is.
They might try to press Attention and instead press SysReq (or something
similar) which could totally mess them up. This would be especially true
if they switch to a different emulator that uses different keys. In
addition, users like myself (who always run ISPF in TEST mode so that
panel changes are always refreshed) are usually kicked out of ISPF if
the Attention key is pressed. Still other users will use their Attention
key to interact with a session manager, and so on. In other words, you
cannot guarantee that a user will even *have* an attention key to press,
or if!
  they do that they'll know where it is. Because of this I would
strongly advise against coding something that *requires* an attention
key to be pressed. But hopefully yours is similar to the first scenario
I described where the panel automatically unlocks after a given period
of time?

Dave Salt

SimpList(tm) - try it; you'll get it!
http://www.mackinney.com/products/SIM/simplist.htm

_

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: can the ENTER key be simulated in an ISPF panel

2008-09-19 Thread Ted MacNEIL
If it's doing that, it means you're picking up an old version of the panel 
(e.g. probably from cache). A quick way to prove that would be to simply 
logoff and logon.

You don't have to logoff.
Just exit and re-enter ISPF.
-
Too busy driving to stop for gas!

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html