overriding a proc step



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

overriding a proc step

Postby migusd » Tue Dec 29, 2009 8:38 pm

Hi guys,
is there a way to override a proc step from a JCL with more than one file using same DDNAME?

I have a proc using only one file and I need to override it with two files.
So I went up and coded both files in my JCL. However, I scan the jcl, and I only see the first file overriding it.
The second file doesn't show up at all.

How can I do it?

here is what I am doing.

PROC xxxx
STEP ps020
//fileyy dd dsn=the.only file, disp...

JCL xx
exec proc = xxxx
//ps020.fileyy dd dsn=the.first.file,disp...
dd dsn=the.second.file,disp...

this is what I can see when the proc is tested using typrun=scan
//fileyy dd dsn=the.first.file,disp...

the second file doesn't show up.

Any way of doing it?

Thanks.
migusd
 
Posts: 40
Joined: Tue Dec 01, 2009 9:26 pm
Has thanked: 6 times
Been thanked: 0 time

Re: overriding a proc step

Postby migusd » Tue Dec 29, 2009 10:16 pm

never mind guys.
Now seem to be working fine.

Thanks
migusd
 
Posts: 40
Joined: Tue Dec 01, 2009 9:26 pm
Has thanked: 6 times
Been thanked: 0 time


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post