Walt Farrell wrote:
On 10/18/2005 2:52 PM, Steve Comstock wrote:

Strangely enough, all this is in service of newer technology.

At the request of IBM we are developing training on how to
use WebSphere Developer for zSeries (WD4z). As one of the
labs we want the students to run a rexx exec. Since we are
not under ISPF, edit macros are not an option.


Does something stop you from instantiating an ISPF environment?

    Walt

Well, there is a built-in TN3270 emulator(!) so I can
get into ISPF. But I'm looking to solve problems without
all that.

You can send TSO commands, including the 'exec' command,
to the host; the command is sent using APPC and run as an
APPC transaction. The command is run asynchronously, so
(good news / bad news) 1) you don't have to wait for it
to complete and 2) you cannot interact with the command,
but you can send arguments with the command.

Alternatively, I could run an exec that allocated all the ISPF
files and then invoked ISPSTART, including an exec that
uses all the ISPEXEC services I want, including edit
macros. But this just seemed cleaner and simpler. It
was just that I had never used TSO EDIT under REXX before;
now I have, so I think it's useful to know how to use the
existing, simple, low-overhead tools.

Kind regards,

-Steve Comstock

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to