How to solve SOC7. I have the cobol coded as below
01 A PIC 9(4).
01 AIN REDEFINES A.
05 AIN1 PIC S9(4)
01 B PIC 9(4)V99.
01 BIN REDEFINES B.
05 BIN1 PIC S9(4)V99.
PROCEDURE DIVISION.
START-PARA.
INITIALIZE A AIN B BIN.
ACCEPT A B.
DISPLAY 'VALUE OF A=' A.
DISPLAY 'VALUE OF B=' B.
DISPLAY 'VALUE OF BIN1=' BIN1.
DISPLAY 'VALUE OF AIN1=' AIN1.
COMPUTE AIN1 = BIN1 - AIN1.
DISPLAY 'VALUE OF AIN1=' AIN1.
When i'm executing this code i'm getting SOC7 for A = 12 &
B=34. Can someone explain
SDSF OUTPUT DISPLAY TCOM058R JOB05458 DSID 102 LINE
0 COLUMNS 02- 81
COMMAND INPUT
===> SCROLL ===>
CSR
********************************* TOP OF DATA
**********************************
VALUE OF
A=12
VALUE OF
B=34
VALUE OF
BIN1=34
VALUE OF
AIN1=12
CEE3207S The system detected a data exception (System
Completion Code=0C7).
From compile unit PROG1 at entry point PROG1 at
statement 29 at compile
+000004CE at address 00007ECE.
Please address how to solve this issue Thanks in
advance.
Answer / guest
try by providing the input values as A=0012 and B=003400 through the JCL SYSIN.
| Is This Answer Correct ? | 1 Yes | 0 No |
what is difference between cobol and cobol/400
How many maximum number of procedures can we write in one COBOL program?
which is better comp or comp-3 in terms of memory utilization?
What is the file organization clause ?
I have a sequential file of 100 records. How do I load the records into a two dimensional array ?
Difference between ps, esds
if a pic 9(3) value 354,b pic x(2) value '46' then a)a>b 2)a<b 3)error
What is SQL Code -904 and -903 in DB2 And how to handle it?
How do u know what version of cobol u are using?
Minimum how many Number of Paragraphs are there in ID- Divison?
what do you mean by copybook? and what is the difference between the copybook which we are using in working storage and procedure division.
What are ISOLATION LEVELS? Where do we need to specify them in compiling JCL (Exactly which statement and what is syntax for it)?