cancel
Showing results for 
Search instead for 
Did you mean: 

EBCIDIC to ASCII or Mainframe to PI

Former Member
0 Kudos

I am trying to get a file from mainframe to PI using regular file adapter using FTP protocol. But I am getting the following error:

-size 0 bytes with QoS EO

-Returning to application. Exception: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Premature end of file

Any advise please would be greatly appreciated.

Thanks,

Srujanks

Accepted Solutions (0)

Answers (2)

Answers (2)

udo_martens
Active Contributor
0 Kudos

Hi Srujanks,

you can force the Communiction Channel "do not process empty files" with a checking the corresponding box.

Regards,

Udo

former_member200962
Active Contributor
0 Kudos
-size 0 bytes with QoS EO

-Returning to application. Exception: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Premature end of file

If you open the file in the source directory can you see the complete message structure (along with payload)? Are you using FCC?

The error message indicates that the file received in XI/ PI is not complete.

Regards,

Abhishek.