MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

JCL OUTPUT statement

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
rohitmangal
Beginner


Joined: 11 Jul 2006
Posts: 3
Topics: 1

PostPosted: Tue Aug 22, 2006 8:21 am    Post subject: JCL OUTPUT statement Reply with quote

hi,
can anyone tell, output staments does stands for what?

//MYJOB1 JOB (12345),'DO SOMETHING',
// CLASS=4,
// MSGCLASS=X
/*JOBPARM S=*,P=PROCPROD
/*ROUTE PRINT LOCAL
//OUTL1 OUTPUT CHARS=GT12,PAGEDEF=0600,FORMDEF=0101LA
//*
//MYPROC EXEC PROC,


Thanx in advance.

Rohit
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12372
Topics: 75
Location: San Jose

PostPosted: Tue Aug 22, 2006 8:25 am    Post subject: Reply with quote

rohitmangal,

Check this link which explains in detail about the OUTPUT parameter

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2B631/12.41?DT=20030423085347

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
anbesivam
Beginner


Joined: 09 Aug 2006
Posts: 66
Topics: 14

PostPosted: Tue Aug 22, 2006 8:31 am    Post subject: Reply with quote

Hi Rohitmangal,

The OUTPUT statement is used to specify processing options for a system output data set. These options are used only when the OUTPUT statement is explicitly or implicitly referenced by a sysout DD statement.

Code:
//name OUTPUT FORMDEF=fdef,PAGEDEF=pdef,CHARS=ch,FORMS=form,
// COPIES=n,DEST=dest,DEFAULT=dd

name - a 1 to 8 character name given to the OUTPUT statement

OUTPUT - OUTPUT statement identifier

FORMDEF=fdef - specifies whether to use duplex or simplex and overlay
DUP1 duplex, no overlay
DUP2 duplex, grey bar overlay
SMP1 simplex, no overlay
SMP2 simplex, grey bar overlay

PAGEDEF=pdef - specifies the logical page length and width, fonts, lines within a page, and multiple logical pages on a physical page
POR1 portrait, 62 lines at 6 lines per inch
POR2 portrait, 70 lines at 6 lines per inch
POR3 portrait, 2 up format, 62 lines per frame
LAN1 landscape, 62 lines at 8 lines per inch
LAN2 landscape, 2 up format, 80 lines per frame

CHARS=ch - names the character set
GT12 Gothic font at 12 characters per inch
GT13 Gothic font at 13 characters per inch
GT18 Gothic font at 18 characters per inch

FORMS=form - specifies the type of form
BOND plain bond paper
HOLE 3 hole drilled bond paper

COPIES=n - specifies how many copies of the sysout data set are to be printed

DEST=dest - specifies a printer destination for the sysout data set
LOCAL Boyd Graduate Studies
SSS02 Journalism Building
SSS03 Aderhold Building
NCT19 Brooks Hall

DEFAULT=dd - specifies that this OUTPUT statement can or cannot be referenced by a sysout DD statement
YES specifies that this is the default OUTPUT statement for for all print files within a job
NO specifies that this is not the default OUTPUT statement

* Note if you are going to HOLD a print dataset with an OUTPUT statement associated with it, you will have to fully specify all of the parameters on the OUTPUT statement.

EXAMPLES OF THE OUTPUT STATEMENT

To request that the "gray bar" overlay not print on a landscape sysout class for all print files, code:

Code:
//OUT1 OUTPUT FORMDEF=DUP1,DEFAULT=YES



To request simplex (one sided) printing for a duplex sysout class for all print files, code:

Code:
//OUT1 OUTPUT FORMDEF=SMP1,DEFAULT=YES



To request multiple copies of a print file, code:

Code:
//OUT1 OUTPUT COPIES=12


- with -

Code:
//ddname DD SYSOUT=F,OUTPUT=*.OUT1



Hope this info will helps you.
Back to top
View user's profile Send private message
rohitmangal
Beginner


Joined: 11 Jul 2006
Posts: 3
Topics: 1

PostPosted: Tue Aug 22, 2006 8:51 am    Post subject: Reply with quote

thanx anbesivam for the quick reply... can u please explain the meaning of:
PAGEDEF=0600 and FORMDEF=0101LA
Back to top
View user's profile Send private message
Bill Dennis
Advanced


Joined: 03 Dec 2002
Posts: 579
Topics: 1
Location: Iowa, USA

PostPosted: Tue Aug 22, 2006 9:16 am    Post subject: Reply with quote

PAGEDEF and FORMDEF are AFP print resource names. They define the physical and logical page formatting options.
_________________
Regards,
Bill Dennis

Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity.
Back to top
View user's profile Send private message
shekar123
Advanced


Joined: 22 Jul 2005
Posts: 528
Topics: 90
Location: Bangalore India

PostPosted: Tue Aug 22, 2006 9:18 am    Post subject: Reply with quote

rohitmangal,

Check this link for PAGEDEF parameter:

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2B631/22.46?DT=20030423085347

Check this link for FORMDEF paramter:

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2B631/22.24?DT=20030423085347
_________________
Shekar
Grow Technically
Back to top
View user's profile Send private message
rohitmangal
Beginner


Joined: 11 Jul 2006
Posts: 3
Topics: 1

PostPosted: Tue Aug 22, 2006 11:47 pm    Post subject: Reply with quote

thanx a lot to all of u for giving the information on output parameter..
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group