cancel
Showing results for 
Search instead for 
Did you mean: 

Getting Dumps DATASET_READ_ERROR

Former Member
0 Kudos

Hi,

I ve been getting dumps since today morning and trying to find a way out with this. Any help highly appreciated

Runtime Errors DATASET_READ_ERROR

Exception CX_SY_FILE_IO

What happened? |

The executed program "Z_DAILY_SALES_CONNSHIP" had to be terminated because a

reading error

occurred when accessing the file.

Error analysis

An exception occurred that is explained in detail below.

The exception, which is assigned to class 'CX_SY_FILE_IO', was not caught in

procedure "GET_SALES_FILE" "(FORM)", nor was it propagated by a RAISING clause.

Since the caller of the procedure could not have anticipated that the

exception would occur, the current program is terminated.

The reason for the exception is:

Error when reading the file "/interfaces/Conship/Receiver/Arch".

Error text: "Is a directory"

Error code: 21

-


File attributes /interfaces/Conship/Receiver/Arch

Authorizations rwxrwxrwx

Last change 02-02-2010 11:08:32

Last access 02-02-2010 08:28:04

Last Status Change 02-02-2010 11:08:32

Size 114688 Bytes

Current Position 0

Error in file

-


Information on where terminated

Termination occurred in the ABAP program "Z_DAILY_SALES_CONNSHIP" - in

"GET_SALES_FILE".

The main program was "Z_DAILY_SALES_CONNSHIP ".

In the source code you have the termination point in line 405

of the (Include) program "Z_DAILY_SALES_CONNSHIP".

The program "Z_DAILY_SALES_CONNSHIP" was started as a background job.

Job Name....... "DAILY SALES JOURNAL - MANIFEST"

Job Initiator.. "NSOMERS"

Job Number..... 11123100

The termination is caused because exception "CX_SY_FILE_IO" occurred in

procedure "GET_SALES_FILE" "(FORM)", but it was neither handled locally nor

declared

in the RAISING clause of its signature.

The procedure is in program "Z_DAILY_SALES_CONNSHIP "; its source code begins

in line

| 360 of the (Include program "Z_DAILY_SALES_CONNSHIP ".

Please help

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

sunny_pahuja2
Active Contributor
0 Kudos

Hi,

>

> Error analysis |

> | An exception occurred that is explained in detail below. |

> | The exception, which is assigned to class 'CX_SY_FILE_IO', was not caught in |

> | procedure "GET_SALES_FILE" "(FORM)", nor was it propagated by a RAISING clause. |

> | Since the caller of the procedure could not have anticipated that the |

> | exception would occur, the current program is terminated. |

> | The reason for the exception is: |

> | Error when reading the file "/interfaces/Conship/Receiver/Arch". |

> | Error text: "Is a directory" |

> | Error code: 21

>

> -


>

> File attributes /interfaces/Conship/Receiver/Arch |

As per the logs, it looks like that the path which you have given for your job Z_DAILY_SALES_CONNSHIP is incorrect. It is trying to read file but (/interfaces/Conship/Receiver/Arch) this is directory.

Thanks

Sunny

Former Member
0 Kudos

I want to add more to this reply since i'm also discovered same error message.

What happen is the text file supply to the program might be have unwanted space or empty line

we might able to check this code when we compared with other working file when runnin the program

Thats all