Question

  Asked: Oct 26 2005   5:33 AM GMT
  Asked by: Mainframeft


Need help in sloving some JOB Abends


Mainframe, 390, DB2, Zseries, Update from Search390.com staff, Development, Programming Languages, COBOL, REXX, SQL

Hi All,

I am new to the mainframe application development environment.Can anyone help me how to solve JCL Abends like say SOC7,SOC4.

regards,
Aravind

Subscribe to Alerts! Get questions and answers delivered to your Inbox.


E-mail me updates on this question



   SUBSCRIBE

hidden modal window

Answer Wiki (Improve, edit or add to this answer)


 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0



one is an error encountered when attempting to perform math ops on alpha data (that is in fields defined as num).

the other is an attempt to address memory outside the defined memory space of a task. common causes are parameter mismatch in call-using and proced-using, definition mismatch of passed/referenced areas, bad index-register manipulation.

if you would like specific help you can e-mail me directly at dick-brenholtz@t-online.de
  • AddThis Social Bookmark Button

Browse more Questions and Answers on DataCenter, Database and Development.

Looking for relevant DataCenter Whitepapers? Visit the SearchDataCenter.com Research Library.


Discuss This Answer


You must be logged-in to discuss a question. Log-in/Register

FabioMor  |   Oct 26 2005  7:45AM GMT

I suggest you to look at the IBM Library (http://publibz.boulder.ibm.com/cgi-bin/bookmgr/library), where you can find some answers to the ABEND Codes.
Anyway, you can find the explanation of the abnormal end codes by looking at the ABEND-AID report. In that report you can see the contents of the working area of the program, as well as the contents of the files you’re reading/writting and the address of the program where the error occured.
By the way, a S0C7 code usually is received when you’re moving a non-numeric value to a numeric field or when you try to do a mathematic operation using a working field that was not initialized with “VALUE …” (in COBOL).
About S0C4, it’s very common to occur when there is an area invasion in the working-storage section. For example, you have a table with 50 occurs and move a value to this table with a value greater than 50. But S0C4 can be a lot of other errors. I use to call S0C4 as the “else” of the ABENDS :-)
Hope I could help you, a have a nice day.