override by adding a new dd name from the jcl



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

override by adding a new dd name from the jcl

Postby coolnsmart » Tue Nov 30, 2010 7:45 pm

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
coolnsmart
 
Posts: 3
Joined: Tue Nov 30, 2010 7:38 pm
Has thanked: 0 time
Been thanked: 0 time

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

 

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

Postby coolnsmart » Tue Nov 30, 2010 7:49 pm

To add some more :-

I have to add a new dd name from the JCL to the proc without making changes in the proc.
coolnsmart
 
Posts: 3
Joined: Tue Nov 30, 2010 7:38 pm
Has thanked: 0 time
Been thanked: 0 time

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

Postby coolnsmart » Tue Nov 30, 2010 8:06 pm

got it.

Thanks and sorry for posting it early.
coolnsmart
 
Posts: 3
Joined: Tue Nov 30, 2010 7:38 pm
Has thanked: 0 time
Been thanked: 0 time

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

Postby expat » Tue Nov 30, 2010 8:07 pm

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.
expat
 
Posts: 382
Joined: Sat Jun 09, 2007 3:21 pm
Has thanked: 0 time
Been thanked: 1 time

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

Postby enrico-sorichetti » Tue Nov 30, 2010 8:51 pm

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
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2644
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times

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

Postby dick scherrer » Wed Dec 01, 2010 3:45 am

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. . .
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

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

Postby littlechicken » Wed Dec 01, 2010 2:53 pm

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.
littlechicken
 
Posts: 25
Joined: Thu Oct 28, 2010 10:15 am
Has thanked: 0 time
Been thanked: 0 time

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

Postby Anuj Dhawan » Fri Dec 03, 2010 5:00 pm

This was an amazing thread. I should log-in to this Forum..more often!
Anuj
Anuj Dhawan
 
Posts: 274
Joined: Mon Feb 25, 2008 3:53 am
Location: Mumbai, India
Has thanked: 6 times
Been thanked: 4 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post