View previous topic :: View next topic
|
Author |
Message |
rjayaprakash
New User
Joined: 13 Dec 2005 Posts: 3
|
|
|
|
Hi,
Can anyone help me out to sort the below error,
CEE3204S The system detected a protection exception (System Completion Code=0C4).
From compile unit ESDSPROG at entry point ESDSPROG at compile unit offset +00000272
at address 1FE006AA.
I get this error while I try to insert records into ESDS through a COBOL program (ESDSPROG).
Jai. |
|
Back to top |
|
|
KS
New User
Joined: 28 Feb 2006 Posts: 91 Location: Chennai
|
|
|
|
Hi,
Y don't u put up the program .So tht it will be easy to find out the error .
Thanks,
KS |
|
Back to top |
|
|
rjayaprakash
New User
Joined: 13 Dec 2005 Posts: 3
|
|
|
|
Yep,
COBOL PROGRAM :
IDENTIFICATION DIVISION.
PROGRAM-ID. ESDSPROG.
ENVIRONMENT DIVISION.
INPUT-OUTPUT SECTION.
FILE-CONTROL.
SELECT INFILE ASSIGN TO DD1-AS
ORGANIZATION IS SEQUENTIAL
ACCESS IS SEQUENTIAL
FILE STATUS IS VSAM-STATUS-CODE.
DATA DIVISION.
FILE SECTION.
FD INFILE.
01 EMP-REC.
02 EMPID PIC 9(4).
02 NAME PIC X(9).
02 SAL PIC 9(4).
02 FILLER PIC X(63).
WORKING-STORAGE SECTION.
77 VSAM-STATUS-CODE PIC X(2).
PROCEDURE DIVISION.
P1.
OPEN OUTPUT INFILE.
PERFORM P2 1 TIMES.
CLOSE INFILE.
STOP RUN.
P2.
ACCEPT EMPID.
ACCEPT NAME.
ACCEPT SAL.
WRITE EMP-REC.
*****************************************************
RUNJCL :
//ZZZR JOB 1,'RUN',CLASS=1,MSGCLASS=Y,MSGLEVEL=(1,1),
// NOTIFY=&SYSUID
//JOBLIB DD DSN=ZZZ.TEST.LOADLIB,DISP=SHR
//STEP1 EXEC PGM=ESDSPROG
//DD1 DD DSN=ZZZ.VSAM.ESDS,DISP=SHR
//SYSIN DD *
1111
BUILD
1000
2222
GOODS
2000
/*
// |
|
Back to top |
|
|
KANCHAN ROY
New User
Joined: 08 May 2006 Posts: 2
|
|
|
|
Explanation: your program attempted to access a storage location to which
it was not authorized.
Thanks
Kanchan |
|
Back to top |
|
|
|