View previous topic :: View next topic
|
Author |
Message |
Gangaraju
New User
Joined: 15 Dec 2005 Posts: 6
|
|
|
|
HI Frnds,
i am giving 5 select clauses in cobol, but i am declaring 4 dd statements in jcl. ok any error will occur i gave like this......clarify me and
i gave 4 selects in cobol program....and 5 dd statement in jcl what will happen when i am compile the program...
please give reply soon....... |
|
Back to top |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
While compiling the program there won't be any error because of this problem.
Regards,
Priyesh. |
|
Back to top |
|
|
Gangaraju
New User
Joined: 15 Dec 2005 Posts: 6
|
|
|
|
Hi,
what will be do if we get an error code while compling.
please clarify this doubt |
|
Back to top |
|
|
mak_tcs
New User
Joined: 23 Nov 2005 Posts: 69 Location: Minneapolis, MN USA
|
|
|
|
Hi Gangaraju,
Could you tell me the purpose behind this question? Just Curious..
Because the answer lies in your question.
DDnames you specify in Program and JCL should match.
If you get error at compile, then You verify the number of occurence.
Thanks,
Mani |
|
Back to top |
|
|
muffirulz
New User
Joined: 14 Sep 2005 Posts: 74 Location: Atlanta, (USA)
|
|
|
|
hi there,
there wont be any error in compilation unless there are two same dd names in the cobol program. And wy should compilation give error?
It will compile perfectly. But when you try to run then there an erorr will occur. |
|
Back to top |
|
|
|