Programming Languages COBOL Subjective
Mar 15, 2013

What are the causes for S0C1, S0C4, S0C5, S0C7, S0CB abends ?

Detailed Explanation

S0C1 - May be due to
• Missing or misspelled DD name
• Read/Write to unopened dataset
• Read to dataset opened output
• Write to dataset opened input
• Called subprogram not found.
S0C4 may be due to
• 1.Missing Select statement(during compile)
• Bad Subscript/index
• Protection Exception
• Missing parameters on called subprogram
• Read/Write to unopened file
• Move data from/to unopened file.
S0C5 May be due to
• Bad Subscript/index
• Close an unopen dataset
• Bad exit from a perform
• Access to I/O area(FD) before read.
S0C7 may be due to
• Numeric operation on non-numeric data
• Un-initialize working-storage
• Coding past the maximum allowed sub script.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback