Writing sysout messages to specified DD

From: summit (sumit.sengupta_at_gmail.com)
Date: 12/19/04


Date: 19 Dec 2004 13:55:30 -0800

Hi,

  I have got a common C module running on OS/390 , which will write to
separate DD SYSOUT files (for different programmes).

We have setup separate DDs for each transaction/programmes
(for ex:
//PROGAOUT DD DISP=SHR,DSN= MVSSYS.SUMMIT.OUTPUTA defined in the
startup job of the WLM) , so that the common C module will write to
those SYSOUT DDs depending on whatever DD name is passed into it.

The module is running in the WLM of DB2 .

Question is, once the DDs have been setup by the system programmers,
how do I write to each DD ? i.e. Can i just issue a
fopen("DD:PROGAOUT","a+") , which will do the trick?

Please note that each caller to this C programme will pass in the DD
name (PROGAOUT in this case).

Please advise.

Summit



Relevant Pages

  • Writing sysout messages to specified DD
    ... separate DD SYSOUT files (for different programmes). ... We have setup separate DDs for each transaction/programmes ... those SYSOUT DDs depending on whatever DD name is passed into it. ...
    (comp.lang.cobol)
  • Re: Writing sysout messages to specified DD
    ... > separate DD SYSOUT files (for different programmes). ... > We have setup separate DDs for each transaction/programmes ... > those SYSOUT DDs depending on whatever DD name is passed into it. ...
    (comp.lang.cobol)