How To Solve Socb Error
Contents |
topic Author Message anita_mBeginnerJoined: 20 Sep 2006Posts: 41Topics: 12Location: Venus Posted: Thu May 24, 2007 10:38 am Post subject: S0CB I am getting following abend on execution of a program PGMXXX. Sysout Code: CEE3211S The system detected a decimal-divide exception (System Completion Code=0CB). From compile unit PGMXXX at entry point PGMXXX at compile unit socb abend in mainframe offset at address 25101254. s0c1 Abendaid : Code: * Analysis of Error soc4 abend * ******************************************* soc7 abend The failing operand is located in the Constant Global Table (CGT) and contains X'0F'. The operand is at displacement 176 from register 10 which points to the CGT. The failing operand is located in the CGT due to optimization or because it is a constant. Refer to the compiler listing to determine the field in error. Now
Abend Codes
is there a way to know which field is causing this. There are a lot of decimal fields being used in this program. I dont know what a CGT is. [/code] Back to top Nic CloustonAdvancedJoined: 01 Feb 2007Posts: 972Topics: 6Location: At Home Posted: Thu May 24, 2007 10:42 am Post subject: I think - but I am almost certain to be wrong - that you are dividing by 0. I have not used Abendaid in donkey's year so cannot help on the finding of the variable at fault._________________Utility and Program control cards are NOt, repeat NOT, JCL. Back to top kolusuSite AdminJoined: 26 Nov 2002Posts: 11548Topics: 74Location: San Jose Posted: Thu May 24, 2007 10:57 am Post subject: anita_m, Read this http://www.mvsforums.com/helpboards/viewtopic.php?p=965#965 Kolusu_________________Kolusu - DFSORT Development Team (IBM) DFSORT is on the Web at: www.ibm.com/storage/dfsort Back to top anita_mBeginnerJoined: 20 Sep 2006Posts: 41Topics: 12Location: Venus Posted: Thu May 24, 2007 11:00 am Post subject: I receive an amount field with a squiggle at the end-> 1234567890{ It is to be converted to S9(9)V99 comp-3. So in easytrieve, I defined this amount field as 11N then moved it to a 6 P 2 using '=' operater 6 P 2 = 11N This could be the cause of this abend. But I dont know how to solve it. Back to top anita_mBeginnerJoined: 20 Sep 2006Posts: 41Topics: 12Location: Venus Posted: Thu May 24, 2007 11:07 am Post subject: This program has only adds and moves. This is an exisitng production program too. Hence I think the data I am loading in is the problem. Back to top kolusuSite AdminJoined: 26 Nov 2002Posts: 11548Topics: 74Location: San Jose
MainFrame >> JCL Suggest New Category What are the causes for S0C1, S0C4, S0C5, S0C7, S0CB abends ? Question Posted / guest 11 Answers 147329 Views Tesco, I also Faced E-Mail Answers Answers were Sorted based on User's Feedback
Cond Parameter In Jcl
Answer / guest S0C1-May be due to 1.Missing or misspelled DD name 2.Read/Write to unopened sqlcode dataset 3.Read to dataset opened output 4.Write to dataset opened input 5.Called subprogram not found S0C4-may be due to 1.Missing Select statement(during compile) 2.Bad Subscript/index 3.Protection Exception 4.Missing parameters on called subprogram 5.Read/Write to unopened file 6.Move data from/to unopened file S0C5-May be due to 1.Bad Subscript/index 2.Closing an unopened dataset 3.Bad exit from a perform 4.Access to I/O area(FD) before read S0C7-may be due to 1.Numeric http://mvsforums.com/helpboards/viewtopic.php?t=8452&sid=422e3ca3fc2220c0fdb668d75c889f7f operation on non-numeric data 2.Un-initialize working-storage 3.Coding past the maximum allowed sub script S0CB-may be due to 1.Division by Zero Is This Answer Correct ? 107 Yes 18 No Answer / aap I completely agree with Answer 1. Just to add to B37 abend (while agreeing to it) - we get abends like SB37, SD37 etc. Actually S is for system, 37 denotes the space abend. But the 2nd alphabet B is for blocks, D is for DASD etc...the unit of colume for which http://www.allinterview.com/showanswers/19842/what-are-the-causes-for-s0c1-s0c4-s0c5-s0c7-s0cb-abends.html the space parameter has been defined..This helps to resolve a lot of confusions :-) Is This Answer Correct ? 47 Yes 8 No Answer / brian B37 - Runtime ABEND usually encountered when writing to a file and running out of space allocated in the dataset paramemters of the DD statement. Is This Answer Correct ? 35 Yes 11 No Answer / rja S0C7-may be due to Numeric operation on non-numeric data Is This Answer Correct ? 13 Yes 1 No Answer / varun jain SOC 1 - JCL DD name missing. SOC 4 / SOC 5 - Subscript error Is This Answer Correct ? 11 Yes 3 No Answer / sujitha THE ANSWER 1 IS EXACTLY CORRECT SOC1-DD NAME MIS SPELT READ THE FILE IN OUTPUT MODE WRITE THE FILE IN INPUT MODE SOC4-BAD SUBSCRIPT OR INDEX OPENING THE ALREADY OPENED FILE SOC7-WHEN WE TRY TO PERFORM THE NUMERIC OPERATION ON NON NUMERIC DATA AND THE SPACE ABENDS THAT WE GET ARE SB37,SE37 AND SD37 SB37-END OF THE VOLUME SE37-IN THE SPACE PARAMETER IF WE DONT SPECIFY THE NO OF DIRECTORY BLOCKS SD37-IN THE SPACE PARAMETER IF WE DONT SPECIFY THE SECONDARY QUANTITY Is This Answer Correct ? 11 Yes 12 No Answer / sampath kumar soc1 :-operation exceptions... causes for this abend misspelled ddname error in parameters passed to subroutins.. etc soc4 :- protection exception- invalid address was refferenced due to subscript error or bad parms..etc soc7 :- decimal exception- dicimal data is incorrect or impro
Log in MAINFRAME - TIP OF THE DAY : All available storage is assigned to the job or jobstep, If http://www.mainframegurukul.com/ibmmainframeforums/viewtopic.php?t=6213 REGION is coded 0K or 0M Web mainframegurukul.com Programmers Voted for below topics. Please Vote for good Posts. Votes Salutes Topic Title Votes Salutes EJECT Verb in COBOL 22 Cobol Multiple Choice Questions By Shravan Wipro 18 what is index or subscript in cobol. please give me brief ex 15 jcl sort how to to add leading zeroes 13 SOC 7 abend - interview question 13 what is static or dynamic call in cobol 13 How to resolve soc7? 12 Hexadecimal to decimal conversion - SORT JCL INREC OUTREC 12 Infosys Training Program for freshers 11 HOW TO FIND LINKAGE LENGTH 10 VSAM File status 23 ,but records are present in the file 7 Changes in copybook 6 splitting of how to solve records using cobol 6 JOIN UNPAIRED,F1,F2,ONLY 6 Endevor 6 Difference Between XCTL and LINK 5 Frequently used commands in FileAid. 5 Interview questions - 3 years Exp - BOA, HCL and CTS 4 Various Locking mechanism for cursors and other SQL? 4 GDG interview question 4 Comparing two files 4 JCL return codes 4 COBOL Program performance tuning tips 4 JOIN UNPAIRED,F1,F2,ONLY 3 3 alphanumeric to numeric value padding with ZEROS in COBOL 3 3 How to Display COMP-3 value in report 3 3 JCL to Purge All Held output? 3 IKJ56500I COMMAND DSN NOT FOUND 3 S322 abend while sorting records 3 Call & Execute a COBOL-DB2 from a COBOL program? 3 compare two files using SORT 3 Submit a JCL thru Cobol - sysout=(INTRDR,*) 3 Comparing 2 files based on Acct number without using tables 3 Sort fields difference 3 Sending an Email from JCL with attachment 3 Control flow from one STEP to another 3 Recently faced mainframe cobol Interview Questions. 3 RESTART - Executing 2 and 3 rd step in 5 step jcl 3 sort two files with same sort condition 3 static and dynamic calls 3 What are the issues related