IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Printing Error instead of printing 2 copies it is printing 1


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
scdinesh

New User


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

PostPosted: Mon Oct 22, 2007 1:46 pm
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

Superior Member


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

PostPosted: Mon Oct 22, 2007 5:30 pm
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

New User


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

PostPosted: Mon Oct 22, 2007 7:20 pm
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

Superior Member


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

PostPosted: Wed Oct 24, 2007 5:47 pm
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: 1702
Location: Australia

PostPosted: Thu Oct 25, 2007 8:09 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Getting Error while trying to establi... DB2 3
Search our Forums:

Back to Top