Originally posted by: SystemAdmin
Does anybody know of a adapter command length limitation associated with the SHL adapter running on an AIX server?
I'm receiving a "-99999" return code (RC) when using the SHL adapter within a GET function in an output card rule. This RC usually means there's something wrong with the format of my adapter command string. And because the adapter isn't getting executed, I'm not getting any trace output to help in debugging the problem. Here's a scaled down version of the GET portion of the rule...
GET("SHL","-CLI %cmd_line_int% -CMD " + TEXT(D1 Data:PConfig) + " -TRACEV %op_traces%purge.mtr","")
... which at runtime resolves to...
GET("SHL","-CLI /usr/bin/ksh -CMD /mercator/mercappl/op/maps/es_purge_mail_arch.ksh /mercator/mercator/appl/mail/archive/ 90 /ediarch60/ /mercator/merchist/op/logs/ /mercator/mercappl/op/temp/ -TRACEV /mercator/mercappl/op/traces/purge.mtr","")
What the shell script is doing isn't important, but I do want to pass it all 5 arguments and cannot without the adapter failing. Strangely enough, I am able to get this adapter command to work when I send this adapter command without the fifth (last) argument. So it would seem that an adapter string of "/mercator/mercappl/op/maps/es_purge_mail_arch.ksh /mercator/mercator/appl/mail/archive/ 90 /ediarch60/ /mercator/merchist/op/logs/ /mercator/mercappl/op/temp/" (158 characters) is not acceptable, but an adapter string of "/mercator/mercappl/op/maps/es_purge_mail_arch.ksh /mercator/mercator/appl/mail/archive/ 90 /ediarch60/ /mercator/merchist/op/logs/" (130 characters) is OK.
#DataExchange#IBM-Websphere-Transformation-Extender#IBMSterlingTransformationExtender