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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using REXX to talk to DBRC

Status
Not open for further replies.

ijm1

Programmer
Jul 25, 2003
1
US
Hi,

I want to write a REXX program that issues commands to DBRC and examines the replies.

The only way I can think to do this is to write out my command(s) to a file. CALL *(DSPURX00) which reads in said file via the SYSIN DD card and outputs to a file on the SYSPRINT DD. The program would then read the results back in.

This seems to be a terribly clumsy and inelegant method. I was wondering if there was a better way. For example, you can issue IDCAMS commands and capture the output into a stem variable with OUTTRAP.

My program is going to 'interact' with DBRC and so will need to issue many many commands. The performance would be much improved if I could only limit all the file reads and writes.

Any help would be most appreciated.

Many thanks.

Ian.
 
What is DBRC and how do you run it? Will it run under TSO?

bobh
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top