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: 23
Location: chennai

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: 23
Location: chennai

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 OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm
No new posts Invoke Webservice Fails with DFHPI100... divated CICS 2 Thu Nov 24, 2016 5:57 pm
No new posts Error during restore rename archanamuthukrishnan All Other Mainframe Topics 2 Fri Oct 14, 2016 3:30 pm
No new posts Error IEC161I 052(009,XXXRS00)-084 wh... amitc23 JCL & VSAM 10 Wed Oct 12, 2016 5:00 pm


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