Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Program sapevt return code 156 meaning?

Former Member
0 Likes
649

We call the sapevt program from AIX using a script.  We have the trace turned on and in the trace file we get a rc=156. 

When I look at the documentation for sapevt program here is the possible values for the return code (rc).

Does anyone know what rc 156 is trying to tell me or some place I can look to find more documentation on this program?

sapevt return codes

------------------------------------------------------------------------

| Number  | Name               | Description                               |

------------------------------------------------------------------------

| 0      | RAISE_OK           | No errors                               |

| 2      | EVENTID_MISSING    | Too few parameters                      |

| 5      | CANT_MALLOC        | No free memory                        |

| 6      | TARGET_MISSING     | Too few parameters                     |

| 7      | MSHOST_MISSING     | MsHost was not specified                   |

| 8      | MSSERV_MISSING     | MsServ was not specified                    |

| 9      | EVENTPARAM_MISSING | -p without Eventparameter              |

| -9     | MS_NO_PARTNER      | No suitable application server             |

| -100   | MS_ERROR_ATTACH    | Message server cannot be accessed  |

| -20    | MS_ACCESS_DENIED   | Communication to Msg.Server rejected       |

------------------------------------------------------------------------

Thanks,

Tom Byrne

1 REPLY 1
Read only

feng_shi
Product and Topic Expert
Product and Topic Expert
0 Likes
517

Hi,

Where did you  get the rc=156 ?

I believe the the rc=156 is not returned by SAP because there is no 156 return code defined in SAP.

Please refer to following SCN wiki page:

SAPEVT - Troubleshooting Guide - Technology Troubleshooting Guide - SCN Wiki

Thanks and best regards,

Shi Feng