Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Question on the use of SYSUT2 DD

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Question on the use of SYSUT2 DD
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

Active Member


Joined: 08 May 2006
Posts: 992
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Wed Jan 21, 2009 8:38 pm    Post subject:
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    Post subject: Reply to: Question on the use of SYSUT2 DD
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: 1239
Location: Richfield, MN, USA

PostPosted: Wed Jan 21, 2009 9:01 pm    Post subject:
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

Active Member


Joined: 08 May 2006
Posts: 992
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Wed Jan 21, 2009 9:06 pm    Post subject:
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    Post subject:
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: 7936
Location: Bellevue, IA

PostPosted: Wed Jan 21, 2009 9:42 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10211
Location: italy

PostPosted: Wed Jan 21, 2009 9:46 pm    Post subject: Reply to: Question on the use of SYSUT2 DD
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: 7936
Location: Bellevue, IA

PostPosted: Wed Jan 21, 2009 9:55 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Fault Analyzer - listings question. egrove IBM Tools 4 Thu Aug 11, 2016 5:31 pm
No new posts dataset copy question - REPRO or some... atulxp TSO/ISPF 2 Wed Aug 03, 2016 10:56 pm
No new posts SYSUT2 - CONFLICTING DCB PARAMETERS raulravi7 JCL & VSAM 6 Thu May 19, 2016 9:43 am
No new posts SQL Order By related question Joseph K Thomas DB2 8 Fri Mar 18, 2016 12:53 pm
No new posts DFSort Question krrp DFSORT/ICETOOL 9 Mon Mar 07, 2016 7:11 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us