IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Question on the use of SYSUT2 DD


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sasti_a

New User


Joined: 20 Oct 2008
Posts: 4
Location: UK

PostPosted: Wed Jan 21, 2009 8:29 pm
Reply with quote

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
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Wed Jan 21, 2009 8:38 pm
Reply with quote

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
View user's profile Send private message
sasti_a

New User


Joined: 20 Oct 2008
Posts: 4
Location: UK

PostPosted: Wed Jan 21, 2009 8:53 pm
Reply with quote

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
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Wed Jan 21, 2009 9:01 pm
Reply with quote

Class, writer name, and form name are site specific. Only your site can answer that. Check with your printer support people.
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Wed Jan 21, 2009 9:06 pm
Reply with quote

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
View user's profile Send private message
Douglas Wilder

Active User


Joined: 28 Nov 2006
Posts: 305
Location: Deerfield IL

PostPosted: Wed Jan 21, 2009 9:10 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Jan 21, 2009 9:42 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Jan 21, 2009 9:46 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Jan 21, 2009 9:55 pm
Reply with quote

It's been that way for a long time -- don't know why.


"Standards? We don't need no steenking standards!"
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Question for file manager IBM Tools 7
No new posts question for Pedro TSO/ISPF 2
No new posts question on Outrec and sort #Digvijay DFSORT/ICETOOL 20
No new posts panel creation question TSO/ISPF 12
No new posts Sort w/OUTREC Question DFSORT/ICETOOL 2
Search our Forums:

Back to Top