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
 

 

Printing Error instead of printing 2 copies it is printing 1

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
scdinesh
Warnings : 1

New User


Joined: 06 Sep 2006
Posts: 37
Location: United States

PostPosted: Mon Oct 22, 2007 1:46 pm    Post subject: Printing Error instead of printing 2 copies it is printing 1
Reply with quote

Hi Guys,

I need a quick help.Could you guys please help me out here


In my JCL i've used

//out1 output copies=2,pagedef=xxxx

After that using IEBGENER utility :

//sysut2 dd sysout=A,output=(*.out1)....

here am referring OUT1 statement from previous, here instead of printing 2 copies it is printing one copy.In addition do i need to code any other parameters?

Thanks,
S.Dinesh


Thanks
Back to top
View user's profile Send private message

Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Mon Oct 22, 2007 5:30 pm    Post subject:
Reply with quote

Hi,

If the OUTPUT JCL statement contains a FORMDEF parameter, which specifies a library member, the COPYGROUP parameter on a FORMDEF statement in that member overrides any group-value subparameters on the OUTPUT JCL COPIES parameter or the sysout DD COPIES parameter.
Back to top
View user's profile Send private message
scdinesh
Warnings : 1

New User


Joined: 06 Sep 2006
Posts: 37
Location: United States

PostPosted: Mon Oct 22, 2007 7:20 pm    Post subject:
Reply with quote

Anuj,

Thanks for your response!

Here FORMDEF parameter was not used in the OUTPUT JCL statement ,Shall i use COPIES parameter in SYSUT2 also...

Thanks,
S.Dinesh
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed Oct 24, 2007 5:47 pm    Post subject:
Reply with quote

Hi,

Bit tough for me predict from my end, however, can you please share your JCL here. Please enclose your JCL in "code" while posting.
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Thu Oct 25, 2007 8:09 am    Post subject: Reply to: Printing Error instead of printing 2 copies it is
Reply with quote

Hi,
I tried your output statement and it works fine for me.

Are you viewing the output via SDSF or are you actually printing the output ?

When I view the output via SDSF, the TOT-REC shows double the number of records of my input file.

Cheers
Gerry
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 Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm
No new posts INVOKE WEBSERVICE error danik56 CICS 11 Thu Mar 09, 2017 11:52 am
No new posts Row not found Sql error GaganGarg DB2 7 Tue Mar 07, 2017 6:29 am
No new posts DB2 SQL Error: SQLCODE=-440, SQLSTATE... kishpra DB2 1 Sat Feb 18, 2017 2:31 am


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