View previous topic :: View next topic
|
Author |
Message |
Dsingh29
Active User
Joined: 16 Dec 2008 Posts: 132 Location: IBM
|
|
|
|
Hi All,
It may sound weird, but today I saw a proc in our production library which has the proc statement commented out.
I was wondering why? Is it ok not to have the proc keyword in cataloged procedure? It seems that while expanding JCL system only looks for the member name in proc library. |
|
Back to top |
|
|
Peter cobolskolan
Active User
Joined: 06 Feb 2012 Posts: 104 Location: Sweden
|
|
|
|
Your assumption is correct, but there is no need to comment out or remove the proc/pend statements. This just makes life more complicated! |
|
Back to top |
|
|
Dsingh29
Active User
Joined: 16 Dec 2008 Posts: 132 Location: IBM
|
|
|
|
Thanks Pete !! |
|
Back to top |
|
|
Sunilp_cse
New User
Joined: 02 Jul 2012 Posts: 7 Location: INDIA
|
|
|
|
Hi all,
Make sure If member is not there then we can make it as comment other wise it throws abend error s806 |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Sunilp_cse wrote: |
Hi all,
Make sure If member is not there then we can make it as comment other wise it throws abend error s806 |
We are talking here about procedures, not load libraries.
A missing procedure will result in a jcl error. |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
And nothing on the mainframe 'throws' an error - well, unless it is written in JAVA or C++ |
|
Back to top |
|
|
parsesource
New User
Joined: 06 Feb 2006 Posts: 97
|
|
|
|
if you have a proc without a PROC Statement in proclib (only possible if you have no default values set within proc) it´s possible to use the member either as PROC or as INCLUDE. so maybe it was commented out to add flexibility? |
|
Back to top |
|
|
|