How To Solve Soc 7 Error In Production
Management Accounting Operating System Operating System Android iOS Microsoft Coding Programming J2EE Languages Database Database Data Warehousing Oracle Applications Applications Clarify CRM Oracle Apps Peoplesoft Siebel Software Testing Testing Testing Tools Miscelleanous Helpdesk Mainframe Networking SAP R/3 Web Interview Coaching Career Counseling Job Interview Interview eBooks Accounting eBook C eBook Citrix eBook Job Interview eBook Career Advice Career Change Jobs Help Projects Requests Resume Help Training Advice Engineering Chemical Engineering Civil Engineering Electrical Engineering Electronics Engineering Micro Processor Mechanical Engineering By Company Ask Question Home Interview QuestionsMainframe Explain the process of resolving soc4& soc7 errors? Interview Candidate Dec 6th, 2005 22 26582 Mainframe Answer First Prev Next Last Showing Answers 1 - 22 of 22 Answers Geetha Dec 22nd, 2005 Steps taken to resolve to resolve S0C71. Get the offet of the abend from sysout e.g lets say the offset is 0005DA2. Go the compile listing and locate the offset. This will be present in the assembly listing of the program.000067 MOVE 0005D6 4820 8018 LH 2,24(0,8) WS-COMP 0005DA 4E20 D100 CVD 2,256(0,13) TS2=0 0005DE F332 8020 D105 UNPK 32(4,8),261(3,13) WS-DEST 0005E4 96F0 8023 OI 35(8),X'F0' WS-DEST+3 000068 DISPLAY 0005E8 5820 905C L 2,92(0,9) TGTFIXD+92 0005EC 58F0 202C L 15,44(0,2) V(IGZCDSP ) 0005F0 4110 A1F6 LA 1,502(0,10) PGMLIT AT +490 0005F4 05EF BALR 14,15 000069 DISPLAY 0005F6 58F0 202C L 15,44(0,2) V(IGZCDSP ) 0005FA 4110 A1E0 LA 1,480(0,10) PGMLIT AT +468 0005FE 05EF BALR 14,15 3. Get the statement number from the listing, here the offet 0005DA is the expansion for the statrement number 000067.4. Using the statement number obtain the statement.which would be something like this:000067 MOVE WS-COMP TO WS-DEST. Now this is the problematic statement.Look in to this to resolve the abend.Hope this helps.Regards,Geetha
Was this answer useful?Yes 3 Reply ratnesh Jan 16th, 2006 why do we get this abends?? . whats the process to resolve soc4 abend?/ Was this answer useful?Yes Reply sharmila Jan 18th, 2006 S0C4 may be due to 1.Missing Select statement(during compile) 2.Bad Subscript/indeLog in MAINFRAME - TIP OF THE DAY : programming pearls - Good judgement comes from experience, and experience comes from bad judgement. Web mainframegurukul.com Programmers Voted for below topics. Please Vote for good Posts. Votes Salutes Topic Title Votes Salutes EJECT Verb in COBOL 21 Cobol Multiple Choice Questions By Shravan Wipro 16 what is index or subscript in cobol. please give me brief ex 14 jcl sort to add leading zeroes 13 SOC 7 abend - interview question 13 what is static or dynamic http://www.geekinterview.com/question_details/19646 call in cobol 13 How to resolve soc7? 12 Hexadecimal to decimal conversion - SORT JCL INREC OUTREC 12 Infosys Training Program for freshers 10 HOW TO FIND LINKAGE LENGTH 10 VSAM File status 23 ,but records are present in the file 7 Changes in copybook 6 splitting of 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 - http://www.mainframegurukul.com/ibmmainframeforums/viewtopic.php?t=3586 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 with correlated subqueries? 3 restart question 3 Eliminate duplicate records in file 3 What is the difference between Copy and Include? 3 JCL SORT - Count number of records in a file 3 Regarding TSQ 3 What is the difference between SYNONYM and ALI
mainframes?UpdateCancelAnswer Wiki9 Answers Malikarjun HugarWritten 34w agoSOC7 occurs mainly because of bad data. Using abend aid you can find which statement is causing soc7 . check if non numeric data is being https://www.quora.com/How-do-I-resolve-SOC7-error-in-mainframes assigned to numeric variables.Sometimes such data might be fetched from database , check those values and correct it.Soc4 arises when accessing illegal memory, like accessing array index greater than array size.301 Views · View UpvotesRelated QuestionsMore Answers BelowWhat are some common errors one will face in mainframe production support projects and how to resolve them?How can I resolve the error: ERR_NAME_RESOLUTION_FAILED?How do you resolve ORA-00937 error?How can how to I resolve curl error 6?How do I resolve the following error? Ankush AgarwalWritten 29w agoSOC7 abend when there is invalid data in comp field and program is trying some computation on it.Try to check what data you are passing as input, there must be some corrupt data which is causing soc7.ResolutionTwo approach1) If input source is file & you have file-aid and input data layout(copybook)You can use file-aid how to solve to view file data segregated on field levelFile-aid will highlight any incorrect data as InvalidFix data issue.2)If approach 1 doesn't workSoc7 abend will display the offset value(memory address) of your code where instruction is failing, figure out the statement where your code is failing using the offset value.Search offset value in compiler listing of the program you will get the statement where code is having abend114 Views Rupesh KumarWritten 30w agosoc7 mainly occurs because of wrong input or trying to move data between two fields having different datatypes,for removing soc7 give use list compile option it will open your cobol programme and search with the offset address it will bring you to the exact location of error.106 Views Manu Varghese, Mainframe developerWritten 29w agoSOC7 error in mainframes is due to a variable or field holding values which it is not intended to hold. Example of one such scenario would be a numeric field holding characters like a,b etc.I got a SOC7 abend in my program last day primarily because my field which was supposed to hold a premium amount was simply blank. So if I do some operation like multiply or add with this variable it would give me a SOC7
be down. Please try the request again. Your cache administrator is webmaster. Generated Mon, 17 Oct 2016 21:03:21 GMT by s_ac15 (squid/3.5.20)