Focal Point
Create zip file inside a channel

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/1381057331/m/132102412

August 19, 2009, 10:24 AM
<pharris>
Create zip file inside a channel
I need to be able to create a zip file from the output of the HIPAA ebix, before sending it via ftp to medicaid. The service manager is running on an aix box. Any ideas?
August 20, 2009, 08:21 AM
PBrightwell
You can embed UNIX commands in your fex to handle the zipping. FILEDEF your output. You may need to use the UNIX ftp with this as well.

-UNIX cd &&PATH.EVAL
-* -UNIX ls -l
-SET &FLENAME1 = '&&FLE.EVAL';
-SET &FLN='&FLENAME.EVAL'|'_'|| &EXTNT.EVAL |'.ZIP';
-* -UNIX -rm -f &FLN
-UNIX /usr/bin/zip &FLN.EVAL &&FLE.EVAL


Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes
August 20, 2009, 08:22 AM
<nklamen>
iWay Service Manager ships a service called the XDRunCmdAgent. It allows you to call native operating system facilities. I recommend that you use it in your process flow and then call native AIX zip/tar to bundle up the output of your HIPAA transformation. Please let me know if you require any additional information
August 20, 2009, 08:29 AM
RivoU
Hi,

Maybe trying to use the Zip Out Service (com.ibi.agents.XDZipOutAgent)?
This service converts an input document into a compressed .zip file.

Link to reference: http://ecl.informationbuilders.../source/topic128.htm

Regards,
Rivo


iSM 6.0
iDM 7.6.5 - 7702
WF 7.6.4 - 7702

All output formats