View previous topic :: View next topic
|
Author |
Message |
pushpagiri
New User
Joined: 07 Jul 2005 Posts: 51
|
|
|
|
Hi,
I am calling a sub-routine (Dynamically).when I Run it ,i am getting the
following error with abend code S0C4.Why is it so?
Anybody please answer me.
SUBROUTINE ENTRY
CEE3204S The system detected a protection exception (System Completion Code=0C4).
From compile unit ERTRAN at entry point ERTRAN at statement 51 at compile unit offset +00000660 at entry
offset +00000660 at address 0002D678. |
|
Back to top |
|
|
parikshit123
Active User
Joined: 01 Jul 2005 Posts: 269 Location: India
|
|
|
|
When executing a COBOL/VSE program in
a partition that crosses the 16MB line
and the COBOL program is using
multi-file tape(s) and a file sequence
number is specified on the TLBL, a
protection exception occurs
The address of the current DTF may be located above the 16MB
line when running an AMODE(ANY) or AMODE(31) COBOL/VSE
program. LE/COBOL issues VSE macros that require switching to
AMODE(24) temporarilily and is attempting to access the DTF
address while still in AMODE(24). This causes the incorrect
DTF address to be retrieved and any changes made, such as tape
file control, to the DTF cause attempted modification to
storage not available to the LE/COBOL runtime. |
|
Back to top |
|
|
pushpagiri
New User
Joined: 07 Jul 2005 Posts: 51
|
|
|
|
pushpagiri wrote: |
Hi,
I am calling a sub-routine (Dynamically).when I Run it ,i am getting the
following error with abend code S0C4.Why is it so?
|
I am accessing a vsam file inside subroutine.
Is this the reason for this error code.
What is the way to access VSAM file contents
inside a sub-routine. |
|
Back to top |
|
|
parikshit123
Active User
Joined: 01 Jul 2005 Posts: 269 Location: India
|
|
|
|
Pushpa,
Can you post your question globaly, rather than private messages ?
Probably, other are more capable to help you out ! |
|
Back to top |
|
|
pushpagiri
New User
Joined: 07 Jul 2005 Posts: 51
|
|
|
|
MY subroutine works fine if i am not accessing any vsam files
inside it.
Is that the reason for the abend code.
please help me.
regards,
push. |
|
Back to top |
|
|
gsnvsr
New User
Joined: 06 Jul 2005 Posts: 40
|
|
|
|
Can you tell us what you are trying to do in the subroutine? Are you using arrays and stuff? Without knowing what the program is actually doing, its difficult to predict any such abends.
Regards,
Prasad |
|
Back to top |
|
|
pushpagiri
New User
Joined: 07 Jul 2005 Posts: 51
|
|
|
|
hi,
A very silly mistake happned.
In my runJCL
instead of giving ERROR1 (This is my ASSIGN filename-step name in jcl)
I gave it as ERR0R1--->ERR(zero)R1.
ie.,
//ERROR1 DD DSN=<FILENAME>
So friends please be careful in this.It took
a day for me to find out.
Does anybody have any idea of debuging such errors.
REgards,
Push. |
|
Back to top |
|
|
parikshit123
Active User
Joined: 01 Jul 2005 Posts: 269 Location: India
|
|
|
|
Hi pushpagiri,
Well come to the league of "Zero / O " victims.
This has happened with me as well.
You know, on keyboards, zero ( 0) and oo (o) are very close. |
|
Back to top |
|
|
|