For Programmers: Free Programming Magazines  


Home > Archive > Cobol > June 2007 > Re: Getting SQLCODE -302 after migrating DB2 V7 to V8 IN ibm z/os









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Getting SQLCODE -302 after migrating DB2 V7 to V8 IN ibm z/os
Su Nombre

2007-06-04, 7:55 am

Asking Google about sqlcode302:

http://www.google.es/search?hl=es&q=sqlcode302&meta=

My firts hit:

http://www-1.ibm.com/support/docvie...uid=swg21159584

In owr shop, solution was increasing buffer size +1 and setting SQL string
length as 'buffer size' -3

Regards

Vicente



Michael Russell

2007-06-05, 3:55 am

Well done, Vicente.

and that's that.

Someone using up-to-date stuff (well, Google) and it's a hole
in one - that's funny.

Regards

Michael
Su Nombre wrote:
> Asking Google about sqlcode302:
>
> http://www.google.es/search?hl=es&q=sqlcode302&meta=
>
> My firts hit:
>
> http://www-1.ibm.com/support/docvie...uid=swg21159584
>
> In owr shop, solution was increasing buffer size +1 and setting SQL string
> length as 'buffer size' -3
>
> Regards
>
> Vicente
>
>
>

Michael Mattias

2007-06-05, 7:55 am

> Su Nombre wrote:[color=darkred]


Well gee whiz, I guess I'd better stop assuming posters have tried the
obvious before asking here.

MCM





Sri

2007-06-05, 9:55 pm

Thank you Michael . I changed the code and Its working in both V7 as well as
in V8
Thanks
Ravi


"Michael Mattias" <mmattias@talsystems.com> wrote in message
news:Xqc9i.6477$u56.1003@newssvr22.news.prodigy.net...
>
>
> Well gee whiz, I guess I'd better stop assuming posters have tried the
> obvious before asking here.
>
> MCM
>
>
>
>
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com