Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search 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
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
References
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 6471
Location: Brussels once more ...

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: 5391
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
Unlocked: Thu Jul 02, 2009 12:24 pm by enrico-sorichetti
Gousiya Mulla

New User


Joined: 02 Jun 2008
Posts: 62
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: 6471
Location: Brussels once more ...

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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL All times are GMT + 6 Hours
Page 1 of 1