Found the problem.
The x'0000000000000000' to get 8 bytes of binary zeros to prefix the af_n
et
segment should be '0000000000000000'x. Then I also need to xlate from 104
7
to 819 since the SYSLOGD is expecting 819 data from a linux system.
This exec works.
/* 2SYSLOGD - Send argstring data to SYSLOGD server */
parse arg datastring
'PIPE literal af_inet 514 205.254.145.36' ,
'| ip2socka' ,
'| var udppref' ,
'| spec 1-* c2x 1' ,
'| console'
udppref = '0000000000000000'x || udppref
'PIPE var datastring' ,
'| xlate from 1047 to 819' ,
'| var datastring'
'PIPE literal' udppref || datastring ,
'| udp 0 STAT LOCALIP 205.254.145.36' ,
'| console'
exit
/Tom Kern
/301-903-2211