Re: SYSOUT class of a data set

2011-05-26 Thread Shmuel Metz (Seymour J.)
In b870629719727b4ba82a6c06a31c2912323ac78...@hqmailsvr01.voltage.com, on 05/20/2011 at 12:37 PM, Phil Smith p...@voltage.com said: From a program, how can I find out the SYSOUT class of a JES-owned data set? Others have answered, but note that there may be more than one class. For example,

Re: SYSOUT class of a data set

2011-05-26 Thread Paul Gilmartin
On Thu, 26 May 2011 12:35:50 -0400, Shmuel Metz (Seymour J.) wrote: If all that you care about is what's in the SYSOUT keyword on the DD statement, ... Which may be none, if the programmer takes the system default. .., then looking at the SIOT will suffice. If you want to know what

Re: SYSOUT class of a data set

2011-05-21 Thread Gerhard Postpischil
On 5/20/2011 11:17 PM, DanD wrote: FYI, I was not criticizing anyone. How did you ever read into my post that I was? Whenever you begin a post with You must remember you're changing a technical discussion into a personal one. To avoid being misunderstood, something like In addition to ...

Re: SYSOUT class of a data set

2011-05-21 Thread Martin Packer
Taking this back to the technical :-) it seems there isn't a definitive API for this. Reminded by the fact we code SYSOUT=K,HOLD=YES on our system I'm wondering whether other attributes such as HOLD status are discernable. Not that I have an immediate need... more for completeness. Martin

Re: SYSOUT class of a data set

2011-05-21 Thread DanD
Grammar was never my strong suite. Next time I'll simply post in assembler, my language of choice for the last 35 years ;-) Dan -Original Message- From: Gerhard Postpischil Whenever you begin a post with You must remember you're changing a technical discussion into a personal one.

Re: SYSOUT class of a data set

2011-05-21 Thread DanD
Packer Sent: Saturday, May 21, 2011 5:19 AM Newsgroups: bit.listserv.ibm-main Subject: Re: SYSOUT class of a data set Taking this back to the technical :-) it seems there isn't a definitive API for this. Reminded by the fact we code SYSOUT=K,HOLD=YES on our system I'm wondering whether other

Re: SYSOUT class of a data set

2011-05-21 Thread Phil Smith
Gerhard Postpischil wrote: Whenever you begin a post with You must remember you're changing a technical discussion into a personal one. To avoid being misunderstood, something like In addition to ... consider ... would have been technically correct and possibly helpful with sounding accusatory.

Re: SYSOUT class of a data set

2011-05-21 Thread Tony Harminc
On 21 May 2011 05:18, Martin Packer martin_pac...@uk.ibm.com wrote: Taking this back to the technical :-) it seems there isn't a definitive API for this. Reminded by the fact we code SYSOUT=K,HOLD=YES on our system I'm wondering whether other attributes such as HOLD status are discernable.

SYSOUT class of a data set

2011-05-20 Thread Phil Smith
From a program, how can I find out the SYSOUT class of a JES-owned data set? For example, given: SYSOUT DD SYSOUT=x How can a program find out what x is? -- ...phsiii Phil Smith III p...@voltage.commailto:p...@voltage.com Voltage Security, Inc. www.voltage.comhttp://www.voltage.com (703)

Re: SYSOUT class of a data set

2011-05-20 Thread Tony Harminc
On 20 May 2011 15:37, Phil Smith p...@voltage.com wrote: From a program, how can I find out the SYSOUT class of a JES-owned data set? For example, given: SYSOUT DD SYSOUT=x How can a program find out what x is? I don't believe there is any general way, since while there is limited Dynalloc

Re: SYSOUT class of a data set

2011-05-20 Thread Gerhard Postpischil
On 5/20/2011 3:37 PM, Phil Smith wrote: From a program, how can I find out the SYSOUT class of a JES-owned data set? For example, given: SYSOUT DD SYSOUT=x How can a program find out what x is? I'm including a copy of some code I've had for a while. It uses local macros and subroutines,

Re: SYSOUT class of a data set

2011-05-20 Thread DanD
: Re: SYSOUT class of a data set On 5/20/2011 3:37 PM, Phil Smith wrote: From a program, how can I find out the SYSOUT class of a JES-owned data set? For example, given: SYSOUT DD SYSOUT=x How can a program find out what x is? I'm including a copy of some code I've had for a while. It uses

Re: SYSOUT class of a data set

2011-05-20 Thread Gerhard Postpischil
On 5/20/2011 7:46 PM, DanD wrote: You have to remember that sysout class can come from a number of places... - SIOT (SYSOUT=x) - JCT (MSGCLASS=) - SWB (//XYZ OUTPUT CLASS=) - JES3 (not sure) The OP asked specifically for a DD SYSOUT=, so SIOT and JCT suffice. Do you usually go around

Re: SYSOUT class of a data set

2011-05-20 Thread DanD
=YES OUTPUT statement coded. If he needs an example of extracting data from SWBs he can contact me offline. Dan -Original Message- From: Gerhard Postpischil Sent: Friday, May 20, 2011 8:18 PM Newsgroups: bit.listserv.ibm-main Subject: Re: SYSOUT class of a data set On 5/20/2011 7:46