Bug or feature in SQL SP

Ask a Question related to IBM DB2, Design and Development.

  1. #1

    Default Bug or feature in SQL SP

    Hi all.

    In db2diag.log I found next record

    2003-07-03-13.21.46.812000 Instance:DB2 Node:000
    PID:2096(db2dari.exe) TID:3144 Appid:
    base_sys_utilities sqle_isMappingNeeded Probe:10

    Mapping is not defined for the following types:

    2003-07-03-13.21.46.812001 Instance:DB2 Node:000
    PID:2096(db2dari.exe) TID:3144 Appid:
    base_sys_utilities sqle_isMappingNeeded Probe:20

    Passed type: ec01 ?.


    2003-07-03-13.21.46.812002 Instance:DB2 Node:000
    PID:2096(db2dari.exe) TID:3144 Appid:
    base_sys_utilities sqle_isMappingNeeded Probe:30

    Signature type: c001 ?.


    I try determine a problem through statement monitor without success. After
    many hours problem was located inside sql sp code

    procedure p1
    ...
    declare v_param1 as bigint;
    declare v_param2 as varchar;
    call p2(v_param1); -- bug, need v_param2

    but procedure p2 declared with

    procedure p2 (in v_param varchar)


    Procedure p1 is compiled without errors and warnings :-(

    Andy

    andreyp#Antispam@mapsitnA#e-vision-group.com Guest

  2. Similar Questions and Discussions

    1. Bug or feature ?
      Within a website I'm working on I include price tables through a php include() statement. Each of these tables itself is derived from a template....
    2. Feature or Bug
      I have noticed while reading these newsgroups for information that when I click on a supplied link in a post, that IE 7 will open but the web page...
    3. Log-in feature
      Okay, I have run into a little problem in creating an asp site. Many thanks to anyone who has any ideas. This is a rather complicated site--let me...
    4. the 3d feature
      other than not having to launch classic and use another app (dimensions) whats the point of the 3d feature in cs? the 3d feature is slo and maybe...
    5. feature or bug?
      Forwarding to Aspnet and Aspnet.Security. They may have run across this question before. Shel -- This posting is provided "AS IS" with no...
  3. #2

    Default Re: Bug or feature in SQL SP

    Er, sorry, responded too quickly my previous answer...in v7, this create
    /exec will get by because call is not a compiled statement, in v8,
    you'll get an error. (in v7, you can ever create a procedure a that
    calls procedure b when procedure b is not cataloged...but not in v8).

    andreyp#Antispam@mapsitnA#e-vision-group.com wrote:
    > Hi all.
    >
    > In db2diag.log I found next record
    >
    > 2003-07-03-13.21.46.812000 Instance:DB2 Node:000
    > PID:2096(db2dari.exe) TID:3144 Appid:
    > base_sys_utilities sqle_isMappingNeeded Probe:10
    >
    > Mapping is not defined for the following types:
    >
    > 2003-07-03-13.21.46.812001 Instance:DB2 Node:000
    > PID:2096(db2dari.exe) TID:3144 Appid:
    > base_sys_utilities sqle_isMappingNeeded Probe:20
    >
    > Passed type: ec01 ?.
    >
    >
    > 2003-07-03-13.21.46.812002 Instance:DB2 Node:000
    > PID:2096(db2dari.exe) TID:3144 Appid:
    > base_sys_utilities sqle_isMappingNeeded Probe:30
    >
    > Signature type: c001 ?.
    >
    >
    > I try determine a problem through statement monitor without success. After
    > many hours problem was located inside sql sp code
    >
    > procedure p1
    > ..
    > declare v_param1 as bigint;
    > declare v_param2 as varchar;
    > call p2(v_param1); -- bug, need v_param2
    >
    > but procedure p2 declared with
    >
    > procedure p2 (in v_param varchar)
    >
    >
    > Procedure p1 is compiled without errors and warnings :-(
    >
    > Andy
    >
    Sean McKeough Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139