Help needed in resolving A006 PROGRAM error..



Unicenter CA-Easytrieve Plus Report Generator: CA's information retrieval and data management tool

Help needed in resolving A006 PROGRAM error..

Postby tania » Fri Feb 13, 2009 12:02 am

I am getting the following error in my easytrieve program:

66 *******A006 PROGRAM INTERRUPT - CODE 7 (DATA EXCP)
INTERRUPT OCCURRED AT 049C BLOCK 1 FROM EP CA-EASYTRIEVE PLUS 6.4
INSTRUCTION AT 0000F4AC IS FA97402A5093
FIRST OPERAND ADDRESS 0000EC72 CONTENTS 0000000000000000000C
SECOND OPERAND ADDRESS 0002CD73 CONTENTS F2F2F0F8F4F9F8F7

The input file to this prog is getting created using a SAS program and it has 3 amount fields. These fields are defined in input file as follows:
MAILORDERAMT :14.2
AMTPERCYC :10.2
AMTDIFF :10.2

These fields are defined in easytrive as follows:
EXP-MAIL-ORDER-AMT 148 08 P 2
EXP-AMT-PER-CYC 162 06 P 2
EXP-AMT-DIFF 172 06 P 2

I tried defining them as Numeric too, instead of packed, and it still does not work. Can you please help me decipher it.
tania
 
Posts: 5
Joined: Thu Feb 12, 2009 11:56 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Help needed in resolving A006 PROGRAM error..

Postby dick scherrer » Fri Feb 13, 2009 1:11 am

Hello Tania and welcome to the forum,

FIRST OPERAND ADDRESS 0000EC72 CONTENTS 0000000000000000000C
SECOND OPERAND ADDRESS 0002CD73 CONTENTS F2F2F0F8F4F9F8F7
The first value is packed-decimal (comp-3) - the other is not, it is zoned-decimal. They each need to be defined properly to eztrieve. Also, have you been able to confirm that the displacements are correct?

Suggest you look at the data with "hex on" and make sure the data is what you expect.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: Help needed in resolving A006 PROGRAM error..

Postby tania » Fri Feb 13, 2009 4:12 am

I tried changing the input to zoned decimal and it worked.. Thank you so much...
tania
 
Posts: 5
Joined: Thu Feb 12, 2009 11:56 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Help needed in resolving A006 PROGRAM error..

Postby dick scherrer » Fri Feb 13, 2009 4:25 am

You're welcome - thanks for the follow-up :)

d
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times


Return to CA-Easytrieve

 


  • Related topics
    Replies
    Views
    Last post