Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

TSO START inside rexx...

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: TSO START inside rexx...
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: 2360
Location: Israel

PostPosted: Sun Sep 21, 2008 5:28 pm    Post subject:
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    Post subject:
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: 2360
Location: Israel

PostPosted: Sun Sep 21, 2008 9:43 pm    Post subject:
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

Senior Member


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

PostPosted: Sun Sep 21, 2008 11:27 pm    Post subject: Reply to: TSO START inside rexx...
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    Post subject:
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

Senior Member


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

PostPosted: Mon Sep 22, 2008 9:37 pm    Post subject: Reply to: TSO START inside rexx...
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Passing data from REXX to C programme... chong.zhou CLIST & REXX 2 Wed Jul 26, 2017 9:11 pm
No new posts Passing data from REXX to C programme... chong.zhou All Other Mainframe Topics 0 Wed Jul 26, 2017 4:55 pm
No new posts REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm
No new posts How system know which REXX to excute? jackzhang75 CLIST & REXX 14 Thu Jul 06, 2017 1:09 am
No new posts REXX - Dynamic file Creation d_sarlie CLIST & REXX 7 Tue Jun 27, 2017 7:30 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us