ok, could be possible that exist a problem in Toad, and patch will be
But, also remember that || is a SQL short cut of SQL statement CONCAT.
My suggest is try using syntax like followings:
STRIP(DBNAME) CONCAT ‘.’ CONCAT STRIP(TSNAME)
WHERE NAME = ‘AAAAAA’ OR
NAME = ‘BBBBBB’;
’ SELECT ‘’’,STRIP(NAME)),’’’’),’, '),
STRIP(‘COUNT(*) FROM’)),’ ‘),STRIP(NAME)),’;’)
WHERE CREATOR=‘my_creator’ AND TYPE=‘T’;
Cordiali Saluti, Best Regards, Bonne Réception, Mit Freundlichen Gruessen,
Venlig Hilsen, Saludos, Atenciosamente, Pokà/Met Vriendelijke Groeten
Certified Senior IBM System Engineer
for: zOS, DB2zOS, TCPIP, CICS, MQ, RACF, TWS, DB2LUW
IT Security is a Smart Investment
The human mind is our fundamental resource.
John Fitzgerald Kennedy
Data: 30/08/2016 19:18
Oggetto: [Toad for IBM DB2 - Discussion Forum] DB2 z/OS use of the ||
characters to concatenate a string.
DB2 z/OS use of the || characters to concatenate a string.
Thread created by edward.j.spencer_656
Has anyone run into this issue. Normally, using || between strings will
concatenate them into a single string. However, when using Toad, the
Characters do not seem to convert correctly and you get a -418 A STATEMENT
STRING TO BE PREPARED CONTAINS AN INVALID USE OF PARAMETER MARKERS.
I know other ways around it, but I should not have to jump through hoops to
get existing SQL that works on z/OS to work in Toad.
To reply, please reply-all to this email.
Stop receiving emails on this subject.
Or Unsubscribe from Toad for IBM DB2 Forum notifications altogether.
Toad for IBM DB2 - Discussion Forum
Flag this post as spam/abuse.