MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Do We have any limit in COBOL Linkage Section?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
ramu_mohan21
Beginner


Joined: 29 Jun 2004
Posts: 106
Topics: 41
Location: Bangalore, INDIA

PostPosted: Wed Jun 08, 2005 2:38 pm    Post subject: Do We have any limit in COBOL Linkage Section? Reply with quote

HI Board,
Always I'm getting S0C4 error.
Quote:

The System dected a protection exception (System Completion Code=04).


It seems to the whole Source Code and JCL is correct.

Still I'm getting a same error.

Anyone can help?
_________________
Best Regards,
----------------
Rammohan Pabba
Software Engineer
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Wed Jun 08, 2005 3:04 pm    Post subject: Reply with quote

Quote:

It seems to the whole Source Code and JCL is correct.


Ramu_mohan21,

Wrong assumption. In cobol you would get this error if

Code:

1. Invalid address was referenced due to subscript error or bad parameter passed
2. In group move, receiving record variable length defined incorrectly     
3. Tried moving variable length record that was larger than target field size         
4. Tried to read or write a file which was not open
5. Used DD DUMMY with logic that moves high values to FD
6. Tried to call within COBOL SORT I/O procedure
7. Tried to "goback" in the SORT output procedure


Also check this link which discusses about the error S0c4

http://mvsforums.com/helpboards/viewtopic.php?t=339&highlight=s0c4

http://mvsforums.com/helpboards/viewtopic.php?t=770&highlight=s0c4

Check this link for COBOL compiler limits

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IGY3LR10/APPENDIX1.2?DT=20020920180651

Hope this helps...

Cheers

kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
dtf
Beginner


Joined: 10 Dec 2004
Posts: 110
Topics: 8
Location: Colorado USA

PostPosted: Thu Jun 09, 2005 11:02 am    Post subject: Reply with quote

Can you post your code?
________
Chevette
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group