× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Aaron

You'll find it after the CCSID
I think its marked as reserved in some API documentation
(ILE declaration below - )
D TrgBuffer       DS
D  Filenm                       10
D  Libnm                        10
D  Mbrnm                        10
D  Trgevt                        1
D  Trgtim                        1
D  CmtLvl                        1
D  Reserved1                     3
D  CCSID                        10I 0
D* Reserved                      8
D  RRN                          10I 0
D  Reserved2                     4
D  ORecofs                      10I 0
D  OReclen                      10I 0
D  ORecnulo                     10I 0
D  ORecnull                     10I 0
D  NRecofs                      10I 0
D  NReclen                      10I 0
D  NRecnulo                     10I 0
D  NRecnull                     10I 0
D  Reserved3                    16
 *
 * Allowances for record buffers
D  Reserved4                  9999
D  Reserved5                  9999

-----Original Message-----
From: rpg400-l-admin@midrange.com [mailto:rpg400-l-admin@midrange.com]On
Behalf Of Bartell, Aaron L. (TC)
Sent: 26 October 2001 17:40
To: 'rpg400-l@midrange.com'
Subject: Trigger Program


Does anyone know how to get the relative record number of a record in
program for a triggered file?  I did not see it in the trigger buffer
contents.

I have trigger programA that gets executed whenever a record gets inserted
into FileA.  If Field1 has a value of 'ST1' I want to send that relative
record to another program to do further processing.

Thanks in advance,
Aaron Bartell
_______________________________________________
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
or email: RPG400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.