Originally posted by: Shane.kelly55
Hey Guys,
I'm updating someone else's code and i see the following:
=VALID(RUN ( "M:\WTX\port\ics\bin\mmc\MOVE.mmc", "-WM -P128:16 -Y3:1 "
+ ECHOIN(1, PACKAGE(WriteFile))
+ " -OF1R3:1B " + PathFileNM),
VALID(PUT("FILE", PathFileNM, PACKAGE(WriteFile)),
FAIL("Failure on WriteFile (" + LASTERRORCODE() + ") " + LASTERRORMSG())))
I am outputting to an X12 file but rather than have the output in one long string in the X12text file i'd like to have the X12 segments terminated so its formatted and easier to read.
I'm not even sure if the above is where i accomplish this but any help would be appreciated. I cant seem to find what alot of the above switches even do.
Thanks
Shane
#IBMSterlingTransformationExtender#DataExchange#IBM-Websphere-Transformation-Extender