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 JES2 doesn't honor the priority of th... Aron Lendvai JCL & VSAM 7 Thu Jun 29, 2017 1:41 pm
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am


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