View previous topic :: View next topic
|
Author |
Message |
genesis786
Active User
Joined: 28 Sep 2005 Posts: 210 Location: St Katherine's Dock London
|
|
|
|
Hi,
I am trying to do a
Code: |
address tso "br '"dsn'" |
before this I want to open a new screen, i.e. 'start 3.4' etc kind of.
and
Code: |
address ispexec"start" |
both not working. Can you please suggest some way to execute start command from inside rexx... |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
START is not a TSO command, but an ISPF command.
O. |
|
Back to top |
|
|
genesis786
Active User
Joined: 28 Sep 2005 Posts: 210 Location: St Katherine's Dock London
|
|
|
|
hi ofer71.
Code: |
address ispexec"start" |
didn't work either... have i coded the command correctly? |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
ISPEXEC/ISPLINK interfaces are for ISPF services, not commands.
Search the forum for examples on how to invoke ISPF commands programmatically.
O. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2546 Location: Silicon Valley
|
|
|
|
Look at ISPF option 3.9 to see how START (or other commands) are done.
You should be able to use ISPSTRT to start your application. See ISPF Dialog Guide and Reference to see how to use ISPSTRT. |
|
Back to top |
|
|
genesis786
Active User
Joined: 28 Sep 2005 Posts: 210 Location: St Katherine's Dock London
|
|
|
|
hi pedro, i tried with ispstrt and it worked.. but i realized my requirement is something different..
basically, i am trying to design a command to browse ksds files. so if i give this in my command field:
it should display the ksds in a browse panel.
now.. if i give the command on this panel.. say
myksds2 is shown in a new panel, but i cannot swap to myksds1.
i want to keep this flexibility to swap between the browsed files..
i tried using ispstrt.. but it worked differently.. first it opened a new dialog.. but unless i come out of that myksds1 will not be browsed. i have coded something like this:
Code: |
if input_ok = 1 then
address ispexec'select pgm(ispstrt)'
address tso"br '"dsn"'"
end
|
|
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2546 Location: Silicon Valley
|
|
|
|
Please read 'ISPF Dialog Guide and Reference' again and study the section that describes the parameters to ISPSTRT. |
|
Back to top |
|
|
|