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: 2038
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: 2038
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
This topic is locked: you cannot edit posts or make replies. Need help on If condition continuatio... ashok_uddaraju CLIST & REXX 4 Fri May 19, 2017 8:55 am
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts REXX cdoe to purge a JOB from spool a... Sulabh Agrawal CLIST & REXX 11 Thu Mar 09, 2017 11:36 am
No new posts Overriding PS data in rexx Shaheen Shaik CLIST & REXX 8 Fri Mar 03, 2017 5:08 pm


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