Dynamicly allocate or one output per file.
//OUTPUT1  OUTPUT    COPIES=1,PRMODE=LINE,ROOM=12,
//      TITLE="TITLE ONE"
//TSTFILE1 DD SYSOUT=A,OUTPUT=(*.OUTPUT1)

Eh, where is this dynamic?

ok, once again, maybe I wasn't clear enough...

The JCL:

//OUTPUT2  OUTPUT    COPIES=1,PRMODE=LINE,ROOM=12,
//      TITLE="TITLE TWO"
//TSTFILE2 DD SYSOUT=A,OUTPUT=(*.OUTPUT2)


The contents/attributes of the "OUTPUT2" Statement are totally unknown to the application.

Now at runtime, the application decides that the file TSTFILE2 needs the TITLE-Attribute set to "FOOOOO".... And the application doesn't know the contents of the associated OUTPUT-Statement. It even doesn't know if there is an OUTPUT-Statement....



Bye,
Michael

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

Reply via email to