× 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.



Troy,

What do you mean by length notation? You should be using the offsets to calculate pointers to the different buffers. Then it doesn't really matter whether there are gaps or not.

Joep Beckeringh


T.Bryant@xxxxxxxxxxxxxx wrote:



I am using length notation for the trigger buffer in my program and am getting unexpected results. There is a blank gap between the 'Original record null byte map' and the 'New record' fields. The information I have on trigger buffers does not identify this gap. Thus far I have created two different trigger programs and this 'blank gap' is 15 characters and 18 characters respectively. What is this gap and why is it variable?

The following is the data structure for a file with 6 fields and a record
length of 24

TrgBuffer       DS
FileName                      10
LibName                       10
MbrName                       10
TrgEvent                       1
TrgTime                        1
CmtLevel                       1
Reserved1                      3
CCSID                         10I 0
Reserved2                      8
OrgRecOffset                  10I 0
OrgRecLength                  10I 0
OrgRecNulOff                  10I 0
OrgRecNulLen                  10I 0
NewRecOffset                  10I 0
NewRecLength                  10I 0
NewRecNulOff                  10I 0
NewRecNulLen                  10I 0
Reserved3                     16
OrgRecord                     24
OrgRecordNul                   6
blank_gap                     18
NewRecord                       24
NewRecordNul                   6
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Troy Bryant
Analyst Programmer
Patrick Autocare.
Phone: +61 03 9926 9913
Fax: +61 03 9926 9977
Mobile: +61 0408 397 333
T.Bryant@xxxxxxxxxxxxxx

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.