Page 1 of 1

overriding a proc step

PostPosted: Tue Dec 29, 2009 8:38 pm
by migusd
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.

Re: overriding a proc step

PostPosted: Tue Dec 29, 2009 10:16 pm
by migusd
never mind guys.
Now seem to be working fine.

Thanks