View previous topic :: View next topic
|
Author |
Message |
Ashwin_mudikon
New User
Joined: 03 Apr 2007 Posts: 32 Location: Chennai
|
|
|
|
Hi,
If I am using some files in a called cobol program where should I have to give the DD names for those files in the run JCL of calling program?
Thanks,
Ashwin |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
What have you tried, and what were the results ? |
|
Back to top |
|
|
Ashwin_mudikon
New User
Joined: 03 Apr 2007 Posts: 32 Location: Chennai
|
|
|
|
I have found out the solution.
The DD names for the called program should be given within calling program step in the run JCL of calling program.
Thanks,
Ashwin |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello Ashwin,
Yes, you've got the solution
Just as a thought, i'd suggest that you might group the DD statements for the called module together and put a comment in the JCL so that someone who looks at it later will quickly understand.
By the way, welcome to the forum |
|
Back to top |
|
|
|