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: 10211
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 Incorrect output when trying to add n... monica1 PL/I & Assembler 10 Fri Jan 13, 2017 5:02 pm
No new posts -913/-911 Deadlock during UPDATE stat... NoSleep319 DB2 5 Fri Nov 18, 2016 12:37 am
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm
No new posts Syncsort - Hard coded Value in output PORYES SYNCSORT 1 Thu Nov 03, 2016 9:23 am
No new posts output data in CSV Format janmejay COBOL Programming 8 Sat Oct 15, 2016 2:20 pm


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