‎2006 Mar 02 11:32 PM
Hi Experts,
Where I can get the information about adding the filters for using the Unix commands.
I have seen the following Filter to use to unix command in one program.
Eg: open dataset <dsn> for input in text mode filter <b>'dos2ux'</b>.?
Here "dos2ux" is a filter Unix command they used in that program.
Please let me know.
thanks,
‎2006 Mar 03 2:57 AM
Hi,
See http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3d01358411d1829f0000e829fbfe/content.htm
Also see a sample program using filters at:
http://www.kabai.com/abaps/z04.htm
Regards,
Wenceslaus.
‎2006 Mar 03 5:12 AM
Hi
You can execute an operating system command in the OPEN DATASET statement using the FILTER addition:
The following example works under UNIX:
DATA DSN(20) VALUE '/usr/test.Z'.
OPEN DATASET DSN FOR OUTPUT FILTER 'compress'.
OPEN DATASET DSN FOR INPUT FILTER 'uncompress'.
The first OPEN statement opens the file /usr/test.Z so that the displayed data can be read into it in compressed form.
The second OPEN statement opens the file /usr/test.Z so that the data is decompressed when it is read from the file.
regards
austin