Chris,
The file exit record structure is listed in the Administrator's Guide. The
file exit structure is the same as an user-exit event structure. The structure
contains the event name, number, commethod, tcpip address, etc. The main
reasons for writing the file exit event as a data structure are:
1: Consistency with the user-exit
2: Easier parse when the structure change in the future - you won't have
different line lengths, you simply read records.
The fields themselves may change in size in the future, not just the
number of fields.
-Bruce Huang-
IBM ADSM Development
IBM ADSM Development
ADSM-L AT VM.MARIST DOT EDU on 06/11/98 06:54:06
Please respond to ADSM-L AT VM.MARIST DOT EDU
To: ADSM-L AT VM.MARIST DOT EDU
cc:
Subject: Rubbish in FILEEXIT file
Hi all,
I enabled some server events for the FILE receiver and now I see those
events appear in the configured file. So far so good.
When I try to grep on the file I get "Maximum line length exceeded".
It looks like all events that occur between 'begin eventl file' and
'end eventl file' are written on one line.
I also note the appearance of a lot of null-characters in the file.
Does anyone know why the server does not write one clean line per
event?
Server is 3.1.1.5 on AIX 4.2.1
Thank you,
Chris Roelofs
|