IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Error - When inserting records into ESDS


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rjayaprakash

New User


Joined: 13 Dec 2005
Posts: 3

PostPosted: Fri May 05, 2006 9:53 am
Reply with quote

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
View user's profile Send private message
KS

New User


Joined: 28 Feb 2006
Posts: 91
Location: Chennai

PostPosted: Fri May 05, 2006 9:58 am
Reply with quote

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
View user's profile Send private message
rjayaprakash

New User


Joined: 13 Dec 2005
Posts: 3

PostPosted: Fri May 05, 2006 10:01 am
Reply with quote

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
View user's profile Send private message
KANCHAN ROY

New User


Joined: 08 May 2006
Posts: 2

PostPosted: Wed May 10, 2006 4:36 pm
Reply with quote

Explanation: your program attempted to access a storage location to which
it was not authorized.

Thanks
Kanchan
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Pulling a fixed number of records fro... DB2 2
Search our Forums:

Back to Top