JCL program Copy Book Copylib

You have mentioned the copylib in JCL program but the copy book is not expanded in the program what is the possible error you get?

Questions by ravtej556

Showing Answers 1 - 10 of 10 Answers

If you put a copylib in the compile JCL and don't reference it in your program, then nothing happens.

If you don't include it and do reference the copybook definitions, you will get a 'not found' error.

  Was this answer useful?  Yes

dhs01

  • Sep 3rd, 2010
 

Copybooks are used with compilers. JCL can use something somewhat comparable but it is a PROC.

  Was this answer useful?  Yes

Gyani01

  • Mar 9th, 2011
 

Actually if you mention the copybook library in JCL it doesnt expand it in output. While compiling the program, there will be a option asking "Do you need to expand copy book".

Hope this is what you are asking.

  Was this answer useful?  Yes

Nandhakumar Babu

  • Aug 20th, 2015
 

Unless there is no variable from the copybook is used in the program there is no issue, but it would result in return of severe code (12) when a variable in the copybook has been used in your application program.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions