Page 1 of 1

Hex Location error...

PostPosted: Fri Apr 24, 2009 6:57 am
by dj127
...usually happens to my program when other jobs are running at the same time with it. how can this be prevented?

Re: Hex Location error...

PostPosted: Fri Apr 24, 2009 7:39 am
by dick scherrer
Hello and welcome to the forum,

I'm sure your post means something to you, but it tells us absolutely nothing we can use to help you.

What is a "hex location error"? What did you do to cause it? Knowing the cause will help find a prevention. What does this program do?

You were given some abend or message or some other kind of diagnostic info. We can do nothing until you post it.

If you received any messages from the system, you need to post the message(s) and the message id(s).

To post something from a mainframe screen, use copy/paste and the "Code" tag. Do not use screenshots - they will be deleted and you will have to re-post anything done via screenshot.

After you copy, paste, and "Code" the info, use Preview to see how the post will appear to the forum. When the post appears as you want it to, Submit.

Re: Hex Location error...

PostPosted: Fri Apr 24, 2009 8:50 am
by dick scherrer
Hello,

I suspect there is one or more Annn / Bnnn messages or EXxxxxxxx messages. . .

Which release of Easytrieve are you using?

Re: Hex Location error...

PostPosted: Fri Apr 24, 2009 1:01 pm
by dj127
Thank you for the welcome :)

Sorry for being vague...my program produces a report and re formats a file. Here's the specific error...

63 MLWTR-AMT W 15 N VALUE 0 MASK 'Z,ZZZ,ZZZ,ZZZ,ZZ9.99'
64 GLOBE-CTR W 5 N VALUE 0 MASK 'ZZ,ZZ9'
64 *******B027 NOT A VALID NAME - 0 JOBNAME=BILWACDD DATE=04/22/2009 TIME=07:48:03 CPUID=000020BF 20868000 COMP=56860660675C PAGE 1

0S03I PROGRAM CHECK INTERRUPTION - HEX LOCATION 0070E5B4 - INTERRUPTION CODE 04 - PROTECTION EXCEPTION
0S00I JOB BILWACDD CANCELED
0S07I PROBLEM PROGRAM PSW = 075D2000 0070E5BA
0S30I DUMP STARTED. MEMBER=DF802123.DUMP IN SUBLIB=SYSDUMP.F8
1I49I DUMP LIBRARY FULL

SYMPTOM RECORD

Re: Hex Location error...

PostPosted: Fri Apr 24, 2009 7:17 pm
by Bill Dennis
Protection exception (S0C4) means you are trying to access storage outside your area. Perhaps a record layout is wrong or an array has run too far.

Re: Hex Location error...

PostPosted: Fri Apr 24, 2009 9:26 pm
by dj127
Bill Dennis wrote:Protection exception (S0C4) means you are trying to access storage outside your area. Perhaps a record layout is wrong or an array has run too far.


But when I rerun the program, with no other jobs running concurrently the error doesn't occur anymore and the program finishes its run. Could the resources or the environment cause this?

Re: Hex Location error...

PostPosted: Sat Apr 25, 2009 1:40 am
by dick scherrer
Hello,

The first thing you need to do is correct the Easytrieve error - the B027. Look in the documentation for the specifics of this error.

You need to post the Easytrieve code from the beginning down thru a few lines past line 64 (more may be needed, but that shoujld be a start). When posting the code, use copy/paste dand the "Code" tag. Do not use a "screenshot" as they are deleted. Use Preview to see your post as it will appear to the forum and when you are satisfied with the appearance, Submit.

Why do you believe you have a "hex location error"? It is not a good practice to create abend terminology :)