I want ALL jcl ERROR cods



I want ALL jcl ERROR cods..

Answer / asmara

SOC013 - Incorrect BLK Size in DCB Parameter
Solution : check the BLK size in the DCB parameter to
insure that to match the blksize of the dataset.

SOC001 - Invalid instruction or operation exception error
Solution : check the portion of your program with data or
bad address which will produce this error

SOC004 - This is storage protection violation error or
store unwanted data for along time or bad data(many reasons
are there in one step we say as protection violation error).
IMP: Tried to moving larger record length to smaller
destination record space.
Solution: Make sure not to exceed the boundary specified.

SOC005: Tried to use write with out "FROM" option on APPLY
WRITE ONLY.
Solution : Check for Subprograms details before passing or
sending it.

SOC007 : Manipulated data by the packed decimal
instructions in the program(Alphanumeric values going to
pass to numeric field)
Solution: Make sure while passing any values.
Thru offset no. we can go directly to that record and we
can solve it one more option is also their that by giving
the dataset name in the xpediter command path also we can
identify it where the error is and we can easily resolve it.

SOC008 : Fixed point overflow
Solution : While declaring the decimal make sure

SOC009 : If we divide by Zero.
Solution : While doing calucalation make sure dont divide
which will be lesser than the value which u cant divide it

Is This Answer Correct ?    6 Yes 1 No

Post New Answer

More COBOL Interview Questions

If we put three reads in COBOL in the same para one after the other, to read a PS file,will it read the same record thrice or it will read three records sequentially? For example : Input File 01 02 03 Para 900 Read infile Display Infile rec Read infile Display infile rec Read infile Display infile rec. What will be the output?

2 Answers  


I have a source program compiled with Cobol-2. The output file has a record length of 100 defined in the program but a record of 60 bytes getting written into it. i.e. The rest of 40 bytes I am not Writing anything. But it by default puts some values into the last 40 bytes. However it does not impact anything. But when Compiled the module with Enterprise Cobol the last 40 bytes were spaces as fillers. Can anyone explain?

5 Answers   Cognizant,


How do pass the values to the parameters in cobol

2 Answers  


what is the use of comp2 ? where can we use it with example ?

3 Answers   Covansys,


Can we move X(9) to 9(9). If yes what are the ways for doing this?

3 Answers  






What is file status 39 ?

10 Answers   JPMorgan Chase,


Difference between lrecl, blksize among PS, PDS issues? i.e in jcl at dcb

1 Answers  


a pic s9(4) comp b pic s9(4) comp-3 c ???????????????? d ???????????????? move a to c add a+B giving d. what is ur declaration for c,d?

4 Answers  


hi is there any means of deletin a record from a ps usin cobol not using jcl?eg if i am reading a record and if some condition is matched tat particular record must be deletd fom the ps

5 Answers   iNautix,


What is diff betn PS and ESDS file? What is the diffrent compiler options in cobol and there discription? What is retrive nth maximum salary from salary DB2 table. Can we redefine COM-3 variable with varchar variable?

4 Answers  


The maximum number of dimensions that an array can have in COBOL-85 is ?

11 Answers  


Minimum how many Number of Paragraphs are there in ID- Divison?

7 Answers   IBM,


Categories