Skip to Content
0
Former Member
Dec 31, 2007 at 11:18 AM

How to write a file into UNIX!

24 Views

Hi Group!

I am trying to write an error file into UNIX directory using 'OPEN DATASET ERRFILE FOR OUTPUT IN TEXT MODE ENCODING DEFAULT'. But unfortunately i am getting a dump as it is giving the subrc 8 and dumping with CX_SY_FILE_OPEN_MODE.

The path looks like /sap/DE1/batch/data/SCM_YM/partfiles/HGMEH011.20071001150344

Is there any special command or way to write the file into UNIX?

Quick response would be of great help.

Suresh