View previous topic :: View next topic
|
Author |
Message |
sasti_a
New User
Joined: 20 Oct 2008 Posts: 4 Location: UK
|
|
|
|
I've got a very silly question on this SYSUT2 syntax. I have got a sysut2 statement like this - '//SYSUT2 DD SYSOUT=(M,£MON2)'. What do 'M' and '£MON2' in the sysout stand for?? |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1193 Location: Dublin, Ireland
|
|
|
|
The JCL Users Guide gives
Quote: |
SYSOUT=(class,writer-name,form-name) |
so in your case, it's output class M, writer-name £MON2
Garry. |
|
Back to top |
|
|
sasti_a
New User
Joined: 20 Oct 2008 Posts: 4 Location: UK
|
|
|
|
Thanks for the input Garry. I got to know atleast what they stand for. It help if you can detail me about the writer-name and form-name. What are they for?? |
|
Back to top |
|
|
Terry Heinze
JCL Moderator
Joined: 14 Jul 2008 Posts: 1249 Location: Richfield, MN, USA
|
|
|
|
Class, writer name, and form name are site specific. Only your site can answer that. Check with your printer support people. |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1193 Location: Dublin, Ireland
|
|
|
|
In our shop we direct many reports to an online report viewer (to save the rain-forests) with (e.g)
Code: |
//REPORT DD SYSOUT=(Z,,FORM1) |
SYSOUT=Z directs the output to the report viewer product while the FORM1 specifies a form which describes that report to the viewing product. Accessibility to named forms is granted to specific users, so a user only gets to view those forms for which they are authorised. Those people with responsibility for output control associate the forms with the specific reports.
I haven't used the middle parameter, writer-name, but it would appear from the manual to be an application to perform the actual writing.
Garry. |
|
Back to top |
|
|
Douglas Wilder
Active User
Joined: 28 Nov 2006 Posts: 305 Location: Deerfield IL
|
|
|
|
Both the meanings of specific writer-names and form-names are shop specific. The form tells the output device (printer) the form to print on and how to print it (landscape/portrate, single sided/duplex, plain white paper/preprinted form/forms printed by the printer while printing the data, …) We use Mobius to hold most of our reports instead of printing them. A specific class goes to Mobius and Mobius uses the writer-name to tell Mobius the report specifications to use (ie. The Mobius report name of this report). |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
These parameters are part of the JES configuration and setup. If the writer name is the SMTP started task name, for example, and the class is defined appropriately, the output is treated as an email and transferred via SMTP (which processes the output and sends it on).
As mentioned by others, the exact values are site dependent and values that work at one site may very well cause side effects at another site -- for example, the SYSOUT=Z in another post at our site causes the output to be flushed immediately without processing. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
.... the SYSOUT=Z in another post .... |
that' s the usual default, been there since, at least, mvs 3.8
odd choice to ignore such an established standard |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
It's been that way for a long time -- don't know why.
"Standards? We don't need no steenking standards!" |
|
Back to top |
|
|
|