Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to resolve the soc4 & soc7
other than following answers.
Soc4 can resolved using mispleed dd name and dd name is not
matching with file

and soc7 check the sysdump and copy the offest address then
correct it in the program.

Answers were Sorted based on User's Feedback



How to resolve the soc4 & soc7 other than following answers. Soc4 can resolved using mispleed ..

Answer / baskar

S0C4 occurs mainly due to protection exception. It means
when you trying to move a larger variable to a small
variable. Whereas S0C7 is data exception. It occurs when
you try to move a non numeric value to a Numeric variable.

Is This Answer Correct ?    109 Yes 17 No

How to resolve the soc4 & soc7 other than following answers. Soc4 can resolved using mispleed ..

Answer / sandeep

S0C4 occurs mainly due to protection exception. It means
when you are using subcripts for example my subsripts range
is 11 but I am trying 12 & your compiler option is ssrange
you got soc4 error.

Is This Answer Correct ?    57 Yes 6 No

How to resolve the soc4 & soc7 other than following answers. Soc4 can resolved using mispleed ..

Answer / sujan

Possible causes for the Abend SOC4 include:
1. Invalid address was referenced due to subscript error or
bad parameter passed
2. If we are moving a group move, then the receiving record
variable lenght is defined incorrectly, like the target
field size is less than the moving field size.
4. In Files, if we are trying to read or write a file which
was not open, then we can get SOC4.
5. Tried to goback in the SORT output procedure.

Is This Answer Correct ?    38 Yes 4 No

How to resolve the soc4 & soc7 other than following answers. Soc4 can resolved using mispleed ..

Answer / amit tomer

to resolve soc7, go to spool, check sysdump and copy offset
value,than come to jcl,in command line type F Offset value
then press f5 ,u will get location where the error, then
correct it..

Is This Answer Correct ?    26 Yes 6 No

How to resolve the soc4 & soc7 other than following answers. Soc4 can resolved using mispleed ..

Answer / arun singh

GEnerelly soc-7 occours due to data mismatch it means if u
are placing numeric data in alphabetic field. It can be
resolved by coading PARM=TEST(SYM)
and you will get the local variable whose value you have
given wrong.

Is This Answer Correct ?    16 Yes 8 No

How to resolve the soc4 & soc7 other than following answers. Soc4 can resolved using mispleed ..

Answer / vinutna koritala

soc4 error occurs due to invalid address or out of
subscript.i.e trying to read dataset which is in not open.
or
when read command is read againist empty vsam dataset.
how to ignore out of subscript errors?
write logic:pgm=IGYCRCTL
pgm=IEWL/HEWL,PARM=(SSRANGE,NONSSRANGE)are compiler options
which must be coaded in parm parameter.
soc7 error occurs in the foll situations.
moving data from alphanumeric to editing characters.
moving data from editing characters to alpha numeric data
type.
involve alphanumeric datatypes in arthemetic operations.

Is This Answer Correct ?    11 Yes 6 No

How to resolve the soc4 & soc7 other than following answers. Soc4 can resolved using mispleed ..

Answer / vasantha

resolving soc7.... ans mentioned above is one of the
correct ways...
but let me know how to resolve soc7 when offset address
includes hexadecimal values...
i have followed the same way... but not able to find the
exact location..

Pls help me out..

Is This Answer Correct ?    6 Yes 2 No

How to resolve the soc4 & soc7 other than following answers. Soc4 can resolved using mispleed ..

Answer / sayandeep

for hexadecimal data u have to do hexlock on

Is This Answer Correct ?    4 Yes 1 No

How to resolve the soc4 & soc7 other than following answers. Soc4 can resolved using mispleed ..

Answer / sainath

whenever sco4 error occurs there are two types are reasons
are there.......
1)Array in subscript size we are assign 5bytes of memory.we
are giving 6bytes of memory on that time soc04 error come.

2)in file concept file record length is 80.when ps record
length is not equal to 80,soc04 error will come.
so plz check out ps & file reclength.

Is This Answer Correct ?    5 Yes 3 No

How to resolve the soc4 & soc7 other than following answers. Soc4 can resolved using mispleed ..

Answer / maruthi

Please refer to

mainframe-faqs.blogspot.com/.../soc7-screen-shots-edited.html

Is This Answer Correct ?    3 Yes 2 No

Post New Answer

More COBOL Interview Questions

here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

2 Answers   IBM,


How to open and see copy book ?

3 Answers  


Suppose i want to declare a binary comp fild of 7 byte .how to write?

6 Answers   IBM,


01rec1. 05 a pic 999v99 value 123.12 05 b pic 99v9 value 45.9 02 rec2. 05 x pic 999v99 05 y pic 99v99 05 z pic x(3) value 'abc' if rec1 is moved to rec2 then what is the value of rec2?

5 Answers   Amdocs,


How does IDMS communicate with CICS?

1 Answers   Covansys, Satyam,


study the following code 01 A1 05 B PIC 99 05 C PIC X(4) 01 A2 05 B PIC 99V99 05 C PIC A(4) pick out the valid statement from the following a.A1 and A2 can not have sub-ordinates b.A1 and A2 can have the same sub-ordinates but must have same PIC clause c.there is nothing wrong d.A1 and A2 can have same sub-ordinates provided they are not at 01 level

4 Answers   TCS,


consider the following piece of code 01 GROSS-PAY 05 BASIC-PAY PIC 9(5) 05 ALLOWENCES PIC 9(3) if BASIC-PAY has a value 1000 and ALLOWENCES has a value of 250,what will be displayed by the statement DISPLAY GROSS-PAY a.1250 b.01000250 c.01250 d.1.250

3 Answers   TCS,


what is the purpose of linkage section?

10 Answers  


What is the LINKAGE SECTION used in COBOL?

0 Answers   UGC Corporation,


give the examples of strings in cobol

1 Answers   IBM,


when SE37 SB37 and sd37 occurs how to increase the volume , primary quantity and secondary quantity?

1 Answers   Hewitt,


COBOL program to read the string ' BOMBAY' in reverse order as 'YABMOB'

8 Answers   Barclays, IBM,


Categories