[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Trigger Error
Not RPG World! Wrong list Mauricio.
-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Mauricio Diaz-Lapham
Sent: Tuesday, April 16, 2013 9:21 AM
To: 'ftpapi@xxxxxxxxxxxxxxxxxxxxxx'
Subject: Trigger Error
Hello RPG World!
I wrote a trigger program and I am getting the values is to small error. I don't understand why I am getting this error.
D BImage s *
D AImage s *
D Intarr s 1A Based(Intptr) DIM(32767)
D Intptr s *
'
'
'
'
'
D QDBORO 49 52B 0 this is part of the trigger buffer data structure I copied from an IBM example code.
D* Old Record Offset
D QDBNRO 65 68B 0
D* New Record Offset
Eval Intptr = %Addr(QDBTB);
Eval BImage = %Addr(INTARR(QDBORO+1)); This is where I get the error that the receiver is too small. BImage is a pointer how can it be too small?
Eval AImage = %Addr(INTARR(QDBNRO+1));
Thank You
Mauricio
[cid:image001.jpg@01CE3A83.71D6EA80]
iSeries Software Engineer
563 468 4806
mdiazlapham@xxxxxxxxxxx
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------