35 years in TSO and NOW I learn that the TSO session uses SYSTSPRT, not
SYSPRINT?! Guess I don't run batch programs in the foreground very often or
I would have known.
When I run it in TRACE mode my ALLOC statement looks like this:
12 *-* 'ALLOC DDN(SYSPRINT) SYSOUT'
>L> "ALLOC DDN(SYSPRINT) SYSOUT"
UTILITY DATA SET NOT ALLOCATED, SYSTEM OR INSTALLATION ERROR+
TEXT UNIT X'0018' CONTAINS INVALID PARAMETER
+++ RC(12) +++
I've tried other variations of the ALLOC, of course. My idea in the end
will be to write the data to ...
...to, um...
Ok, this is embarrassing. I just realized what the problem is. I don't
understand that message, but what I want to do is write it to a temporary
dataset, then use EXECIO to read the resulting report and parse out pieces
of it. I was going to gussy up the ALLOCATE statement more exactly once I
had the bare bones of it working. But I'll never be able to read SYSOUT
regardless.
So thanks for your reply, which forced me to spell out (where even I could
hear it) what I'm after. One question, though: I see why ALLOCATE
DDN(SYSPRINT) SYSOUT isn't suitable for my needs. But why is it
unacceptable? What if I DID want it to go to SYSOUT?
/* God's never been disappointed in me, because he never had any illusions
about me. -Clay McLean */
-----Original Message-----
From: TSO REXX Discussion List [mailto:
TSO-...@VM.MARIST.EDU] On Behalf Of
Nims,Alva John (Al)
Sent: Friday, December 12, 2014 14:57
Under TSO SYSPRINT is not normally allocated, the usual default is SYSTSPRT.
You state you cannot allocate SYSPRINT, why? The ALLOC command failing with
what error message?
You can do a FREE FI(SYSPRINT) then the ALLOC or add REDO to the ALLOC
command.
Do you want SYSPRINT allocated to your terminal [ALLOC FI(SYSPRINT) DA(*)],
to SYSOUT [ALLOC FI(SYSPRINT) SYSOUT(outclass)] or to a data set, [alloc
fi(sysprint) da(---dsn--) OLD/NEW..........]?
-----Original Message-----
From: TSO REXX Discussion List [mailto:
TSO-...@vm.marist.edu] On Behalf Of
Bob Bridges
Sent: Friday, December 12, 2014 2:40 PM
This isn't really a REXX question; it has to do with TSO, I think. But I'm
trying to run in the foreground a program that normally runs in batch, and
I'm having trouble figuring out how to allocate SYSPRINT for its use.
SYSPRINT, I presume, is already in use by my TSO session. So what must I do
to run the program in the foreground? I have to allocate SYSPRINT, but I
can't allocate SYSPRINT. I figure there's either some simple "Doh!" way to
go about it, or else you'll say it can't be done. What am I missing?