Skip to Content
author's profile photo Former Member
Former Member


In my zprogram i got the short dump in the below st.



can u give suggestion.

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Posted on Aug 02, 2006 at 04:07 AM

    how are your variables defined and what values are causing this to happen? I suspect that v_verz1 is packed decimal and is too small to hold the result of the subtraction. The right fields look like dates which are 8 digits so the v_verz1 should be able to hold 8 digits in case p_keydt = 0.

    try defining it as: data v_verz1(8) as type p.

    Add comment
    10|10000 characters needed characters exceeded

    • verz1 can only hold 5 decimal digits. faedt can hold 8. You didn't say but I guess p_keydt is a date and can therefore also hold 8 digits.

      You need to declare verz1 so that it can hold 8 digits. This is because if p_keydat is 0 and faedt holds 20060802

      then it will try to put -20060802 into a 5 digit variable and will fall over.

      So, Declare v_verz1 as: data v_verz1(8) type p.