Page 1 of 1

override by adding a new dd name from the jcl

PostPosted: Tue Nov 30, 2010 7:45 pm
by coolnsmart
My requirement is that :-

I have to add a new report to the existing program and it has been added and compiled successfully. For unit testing i copied the proc to my pds and tested it by adding a new DD name in the proc.

But as for full proc testing (which is a big proc)i need to add the new dd name to the proc (for the report in the program)from the jcl.

Kindly help me out in this on how to add or override a new dd name from the jcl to the proc.

Thx,
coolnsmart

Re: override by adding a new dd name from the jcl

PostPosted: Tue Nov 30, 2010 7:49 pm
by coolnsmart
To add some more :-

I have to add a new dd name from the JCL to the proc without making changes in the proc.

Re: override by adding a new dd name from the jcl

PostPosted: Tue Nov 30, 2010 8:06 pm
by coolnsmart
got it.

Thanks and sorry for posting it early.

Re: override by adding a new dd name from the jcl

PostPosted: Tue Nov 30, 2010 8:07 pm
by expat
coolnsmart wrote:I have to add a new dd name from the JCL to the proc without making changes in the proc.
What you are saying here makes no sense. You need to change a PROC without changing the PROC.

Re: override by adding a new dd name from the jcl

PostPosted: Tue Nov 30, 2010 8:51 pm
by enrico-sorichetti
maybe the ts wants to know how to ...
//jobname JOB job parameters
//*
//... exec some procedures
//*
//WEIRD  EXEC <the_weird_procedure>
//somestep.NEWDDNAME DD ... ddname info
//othrstep.NEWDDNAME DD ... ddname info
//*
//... exec the rest of the procedures

Re: override by adding a new dd name from the jcl

PostPosted: Wed Dec 01, 2010 3:45 am
by dick scherrer
Hello,

Hopefully, the people who manage the environment will not tolerate this job running "forever" with DD overrides. . .

If some manager somewhere believes having this report included in the job is important, it is important enough to do the proper change to the PROC and promote it. . .

Re: override by adding a new dd name from the jcl

PostPosted: Wed Dec 01, 2010 2:53 pm
by littlechicken
dick scherrer wrote:Hello,

Hopefully, the people who manage the environment will not tolerate this job running "forever" with DD overrides. . .

If some manager somewhere believes having this report included in the job is important, it is important enough to do the proper change to the PROC and promote it. . .


yup they are doing the change anyway why not do it and migrate it properly - unbelieveable - no they have to make the same effort twice when they could do it once and do it right hahahaha.

Re: override by adding a new dd name from the jcl

PostPosted: Fri Dec 03, 2010 5:00 pm
by Anuj Dhawan
This was an amazing thread. I should log-in to this Forum..more often!