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
 

 

What is the use of output DD statement

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
chandu321
Currently Banned

New User


Joined: 27 Jun 2006
Posts: 8

PostPosted: Thu Jul 02, 2009 12:19 pm    Post subject: What is the use of output DD statement
Reply with quote

I have a step
//PSTEP045 EXEC PGM=FTP,
// REGION=4096K,
// PARM='(EXIT=12'
//*
//INPUT DD DSN=&PARMLIB(&PARMMEM3),
// DISP=SHR

//*
//OUTPUT DD DCB=LRECL=132,
// SYSOUT=*
//SYSOUT DD SYSOUT=*

Can any let me what is the use of output dd statement

Warning: Title changed from 'JCL'
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Jul 02, 2009 12:24 pm    Post subject:
Reply with quote

First of all, please use a meaningful title in your threads.

Second, what do you think that it does. What research have you carried out before posting.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10257
Location: italy

PostPosted: Thu Jul 02, 2009 12:24 pm    Post subject: Reply to: JCL
Reply with quote

do not use as a topic title the forum name
that' pretty useless
will upset people
will usually imply that the topic will not be read
- if You do not care about asking properly, why should we care about replying icon_evil.gif

will get You a warning from the moderators
Back to top
View user's profile Send private message
Gousiya Mulla

New User


Joined: 02 Jun 2008
Posts: 87
Location: Bangalore

PostPosted: Fri Jul 03, 2009 4:30 pm    Post subject:
Reply with quote

Hi Chandu ..

From manuals ...

Code:

 The OUTPUT parameter is used with the SYSOUT parameter to connect a       
 sysout data with an OUTPUT JCL statement.  JES combines the options       
 on the OUTPUT JCL statement with the options on the DD statement         
 containing the OUTPUT keyword and use the combined options to             
 determine how the SYSOUT data set is processed/printed.                   
                                                                           
 When the OUTPUT parameter references more than one OUTPUT JCL statement, 
 the system produces separate output for each OUTPUT JCL statement.       
                                                                           


Hope this helps .. !
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Fri Jul 03, 2009 4:39 pm    Post subject:
Reply with quote

Gousiya Mulla

I think that you are confusing the OUTPUT statement with a DD name of OUTPUT, as shown in the post by the OP.

Two totally different animals.
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 find RACF group for access to spooled... jzhardy JCL & VSAM 1 Mon May 08, 2017 11:46 am
No new posts Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts How to get current date -1 and curren... murali.andaluri DFSORT/ICETOOL 3 Wed Mar 08, 2017 2:09 pm
No new posts ROUNDED Problem with COMPUTE statement shalem COBOL Programming 11 Thu Feb 09, 2017 8:16 pm


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