|
The SQL SET OPTION is SQL's version of the H spec.
For example: C/EXEC SQL C+ Set Option C+ Naming = *Sys, C+ Commit = *None, C+ UsrPrf = *User, C+ DynUsrPrf = *User, C+ CloSqlCsr = *EndMod C/END-EXEC
Here's something you can do in a SET OPTION that you cannot do on an H spec. Why?
C/EXEC SQL
C+ Set Option
C+ TgtRls = V5R1M0
C/END-EXEC
Rob Berendt
H/if defined(*V5R2M0) H TGTRLS(*V5R1M0) H/elseif defined(*V5R1M0) H TGTRLS(*V5R2M0) H/endif H* ;-)
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.