Page 1 of 1

DataStage BASIC Syntax Highlighting Scheme

Posted: Fri Mar 29, 2013 10:27 am
by haylo75
I posted this announcement to my InfoSphere groups on LinkedIn, but thought it might help to post here as well.
-----

Our team works with DataStage BASIC every day. I use syntax highlighting cues to quickly analyze code, and miss that a lot when working with the DataStage Designer BASIC editor. To bridge the gap, I developed a syntax highlighting scheme for use with Notepad++. See my github repository for details on installation and usage. Feedback is welcome, and if you spot any problems feel free to open an issue on the repository. I hope some folks find this useful!

https://github.com/kerryshireman/dsbasic-npp-udl

Posted: Tue Apr 02, 2013 2:08 pm
by rameshrr3
Good Work. The DS Basic syntax highlighter is available for Text Pad already and I have been using it to debug code that is very long.

Posted: Tue Apr 02, 2013 3:30 pm
by haylo75
Thanks! I did see the syntax highlighter for Text Pad as well. I prefer Notepad++, so it's good to have options. :)

Posted: Tue Apr 02, 2013 4:32 pm
by chulett
FYI - There is also a syntax file available for UltraEdit for anyone using that.

Posted: Thu Apr 04, 2013 10:12 am
by haylo75
Thanks, Craig, I didn't know about the UltraEdit option. I tried the link I found in this thread, but it is dead. I checked it out via the first Google hit for "datastage basic ultraedit" -- http://www.ultraedit.com/files/wf/datastagebasic.uew

It's a workable solution, but I found it lacks support for much of the documented syntax when loading the sample DataStage_BASIC_syntax.dsb file included in my repository. Also, and this is important for me, there is no distinction between BASIC statements and functions in the UltraEdit syntax definition. These things said, the implementation can certainly be updated for all BASIC syntax, and possibly the statement / function delineation. I'm not a regular UltraEdit user, and can't gauge whether there would be much demand for such a retrofit. If folks post desire for that here, I'd be happy to take a look.

On another note, I see the TextPad implementation in the above mentioned thread is pretty complete as of its writing in 2004.