Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > IBM DB2 > ANSI Dynamic SQ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 8870 of 9053
Post > Topic >>

ANSI Dynamic SQL syntax in DB2 [789] for z/OS

by Gary <postmaster@[EMAIL PROTECTED] > May 9, 2008 at 09:39 AM

Is the above available?

I've been looking at ISO/IEC 9075-2:2003 and the dynamic SQL syntax 
contained there works fine on Oracle when embedded in a COBOL 
application but I get errors such as:

    43   SQL0104N  An unexpected token "'inlist'" was found
                   following "ALLOCATE".  Expected tokens may include:
                   "<identifier>".

When trying to do this:

exec sql allocate descriptor 'inlist' end-exec.

Using DB2 LUW 9.1 on Linux - I really want it to work on z/OS though (we 
don't yet have 9 running on z/OS, but we could if we had to. We have 8 
on z/OS at the moment).

In the past I've found DB2 to be more ANSI than Oracle if you like.

Am I missing something or has this ANSI syntax not been implemented yet 
in DB2?

Thanks

Gary




 1 Posts in Topic:
ANSI Dynamic SQL syntax in DB2 [789] for z/OS
Gary <postmaster@[EMAI  2008-05-09 09:39:12 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Fri Jul 4 18:41:53 CDT 2008.