As a work around I extracted Sublime’s default SQL.sublime-package and added it to my user packages and commented out the section with the number sign entry in the syntax file. I changing the name to JSQL and it worked out great.
Now, I’d like to edit the autocomplete settings for this package and I have no idea where to start. I want the autocomplete suggestions to include the # if it part of a field name. For example, I have a field named “OSSEQ#” yet the autocomplete option is “OSSEQ”.
I’ve tried Oracle package suggested by @deathaxe. Using the Oracle/Oracle SQL syntax setting the autocomplete works but the syntax highlighting is incomplete. Oracle/Oracle PL/SQL has much better syntax highlighting but autocomplete no longer includes '#'s if they’re part of variable names.
I inherited a DB2 database from the dark ages (System 36) with a lot of custom programs spread across CL and several versions ILE RPG so I’m stuck with the naming schemes.