On Mon, Mar 14, 2011 at 2:51 PM, Michael Knigge
<[email protected]> wrote:
>> Thats the way I understand it also. We do it in Cobol, with a Select, then
>> build the statement dynamically and open /read/write  close the file.
>
> Yeah, but I don't know the attributes that may be set of an already existing
> OUTPUT-Statement. That's why I need a functionality to just add (or change
> an already existing) TITLE-Attribute dynamically at runtime...
>
> Seems to me that this not an trivial (or even impossible) task...
>
> Bye,
> Michael

Dynamicly allocate or one output per file.
//OUTPUT1  OUTPUT    COPIES=1,PRMODE=LINE,ROOM=12,
//      TITLE="TITLE ONE"
//TSTFILE1 DD SYSOUT=A,OUTPUT=(*.OUTPUT1)
//OUTPUT2  OUTPUT    COPIES=1,PRMODE=LINE,ROOM=12,
//      TITLE="TITLE TWO"
//TSTFILE2 DD SYSOUT=A,OUTPUT=(*.OUTPUT2)
//OUTPUT3  OUTPUT    COPIES=1,PRMODE=LINE,ROOM=12,
//      TITLE="TITLE THREE"
//TSTFILE3 DD SYSOUT=A,OUTPUT=(*.OUTPUT3)
//OUTPUT4  OUTPUT    COPIES=1,PRMODE=LINE,ROOM=12,
//      TITLE="TITLE FOUR"
//TSTFILE4 DD SYSOUT=A,OUTPUT=(*.OUTPUT4)

-- 
Mike A Schwab, Springfield IL USA
Where do Forest Rangers go to get away from it all?

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