Yep, thats another solution, you build your own, so they are modifable by the 
application ..
The dynamic alloc interface has beena round awhile and I have some doc on 
BPXWDYN and PUTEV for example , this interface is 

also similar or same to SVC 99, which has been around a long time, so there 
should be doc and examples, I would think IMHO.
 
Scott J Ford
 




________________________________
From: Binyamin Dissen <[email protected]>
To: [email protected]
Sent: Mon, March 14, 2011 8:52:23 AM
Subject: Re: How to modify/add an OUTPUT-Statement to an DD at runtime?

On Mon, 14 Mar 2011 13:43:54 +0100 Michael Knigge
<[email protected]> wrote:

:>I need to change the attribute (in my case, the TITLE) of an 
:>OUTPUT-Statement at runtime. I've digged around a little bit in the IBM 
:>Manuals (Auth. Assember, ...) but I did not find the information I need.

:>If I understand the docs correctly, it is not possible to modify an 
:>OUTPUT-Statement at runtime - I only can add with OUTADD and delete with 
:>OUTDEL an OUTPUT-Statement.

:>So my idea is to create an additional OUTPUT-Statement with OUTADD at 
:>runtime. But I wonder if it is possible to *ADD* an additional 
:>OUTPUT-Statement to an existing DD-Statement (the DD-Statement may have 
:>already an associated/assigned OUTPUT-Statement)....

:>Changing an existing TITLE-Attribute of an associated OUTPUT-Statement 
:>would make me happy also ;) But I did not find the data area that holds 
:>the OUTPUT-Statements (I know that I can find all DD-Statements at the 
:>TIOT, but I did not find the area that holds the OUTPUT-Statements). 
:>Well, and I guess (.... or afraid) that overwriting the title in memory 
:>would cause an S0C4).

Well, you can certainly free the existing file and descriptor and allocate new
ones.

Or you can internally issue $TO

--
Binyamin Dissen <[email protected]>
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel


Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.

----------------------------------------------------------------------
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




----------------------------------------------------------------------
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