IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

TSO START inside rexx...


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
genesis786

Active User


Joined: 28 Sep 2005
Posts: 210
Location: St Katherine's Dock London

PostPosted: Sun Sep 21, 2008 12:54 pm
Reply with quote

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.

Code:
address tso"start"


and

Code:
 address ispexec"start"


both not working. Can you please suggest some way to execute start command from inside rexx...
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Sun Sep 21, 2008 5:28 pm
Reply with quote

START is not a TSO command, but an ISPF command.

O.
Back to top
View user's profile Send private message
genesis786

Active User


Joined: 28 Sep 2005
Posts: 210
Location: St Katherine's Dock London

PostPosted: Sun Sep 21, 2008 6:34 pm
Reply with quote

hi ofer71.

Code:
address ispexec"start"


didn't work either... have i coded the command correctly?
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Sun Sep 21, 2008 9:43 pm
Reply with quote

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
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2546
Location: Silicon Valley

PostPosted: Sun Sep 21, 2008 11:27 pm
Reply with quote

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
View user's profile Send private message
genesis786

Active User


Joined: 28 Sep 2005
Posts: 210
Location: St Katherine's Dock London

PostPosted: Mon Sep 22, 2008 1:40 pm
Reply with quote

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:

Code:
 tso ibro myksds1


it should display the ksds in a browse panel.

now.. if i give the command on this panel.. say

Code:
 tso ibro myksds2


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
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2546
Location: Silicon Valley

PostPosted: Mon Sep 22, 2008 9:37 pm
Reply with quote

Please read 'ISPF Dialog Guide and Reference' again and study the section that describes the parameters to ISPSTRT.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Execute secondary panel of sdsf with ... CLIST & REXX 1
Search our Forums:

Back to Top