Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

db2 BIND FROM A REXX EXEC

Status
Not open for further replies.

oregon999

Technical User
Sep 14, 2005
2
US
Hello all. I am try to write a rexx exec that will perform a db2 plan bind in a mvs/os390 environment. I have the bind input built and tested in batch. How do I get the BIND control statement to run in TSO?
 
Generally such tasks are handled by queueing the control statements and then activating the program that uses them. When the program wakes up it starts reading from the available input, the queue. So you would
Code:
queue blah blah blah
queue more blah
queue end (or quit or whatever)
address TSO "CRANKO"

Frank Clarke
Tampa Area REXX Programmers' Alliance
REXX Language Assn Listmaster
 
This info may be a few years out of date, but I seem to remember that you can't run DSNC from REXX, but it does work from CLIST. Something to do with authorisation, I think.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top