ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » IIB9: ESQL Fiddle

Post new topic  Reply to topic
 IIB9: ESQL Fiddle « View previous topic :: View next topic » 
Author Message
akil
PostPosted: Wed Jun 17, 2015 7:02 am    Post subject: IIB9: ESQL Fiddle Reply with quote

Partisan

Joined: 27 May 2014
Posts: 338
Location: Mumbai

Hi

Is there something like the following for ESQL?

http://sqlfiddle.com/

Is there a runtime available to invoke and interpret ESQL statements?
_________________
Regards
Back to top
View user's profile Send private message Visit poster's website
smdavies99
PostPosted: Wed Jun 17, 2015 10:29 am    Post subject: Re: IIB9: ESQL Fiddle Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

akil wrote:
Hi

Is there something like the following for ESQL?

http://sqlfiddle.com/


Why?

Quote:

Is there a runtime available to invoke and interpret ESQL statements?


Why would you want to do this? You must have some reasons. Care to share them with us?
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Jun 17, 2015 10:42 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

akil wrote:
Is there a runtime available to invoke and interpret ESQL statements?


Yes.

IIB.
Back to top
View user's profile Send private message
akil
PostPosted: Wed Jun 17, 2015 6:01 pm    Post subject: Reply with quote

Partisan

Joined: 27 May 2014
Posts: 338
Location: Mumbai

Hi

A fiddle can make learning the language fun and faster. The build / deploy / trace cycle is long . I think I would have saved a couple of hours yesterday when I was trying to learn / practice the field patterns in ESQL.

It helps to share snippets of code, when one is asking questions in a forum or giving an answer.

Regards
_________________
Regards
Back to top
View user's profile Send private message Visit poster's website
smdavies99
PostPosted: Wed Jun 17, 2015 10:04 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

akil wrote:
Hi

A fiddle can make learning the language fun and faster. The build / deploy / trace cycle is long . I think I would have saved a couple of hours yesterday when I was trying to learn / practice the field patterns in ESQL.

It helps to share snippets of code, when one is asking questions in a forum or giving an answer.

Regards


The fiddle is IMHO called real learning. Doing for yourself and not just relying upon the word of 'some guy/gal on the internet' makes you understand it all a lot more clearly.
The snippets of code should all go into your toolbox (or in my case a Git repo) to be kept for future reference.
That couple of hours you spent yesterday will stay with you a lot longer than if you had just cut/paste some code from here.
Just my £0.02 of thoughts on the subject.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
akil
PostPosted: Thu Jun 18, 2015 12:01 am    Post subject: Reply with quote

Partisan

Joined: 27 May 2014
Posts: 338
Location: Mumbai

I agree, in-fact the fiddle promotes it .

Yesterday, when I was doing some variations on the field selection, i had to do a change, deploy , run a message flow , see the trace (or debug), & then start over.. this takes 5 mins for 1 round .. and at times the debugger gets stuck (ubuntu 9.0.0.2), for which i've to restart the broker, which is like another 5 mins..

The fiddle would save me those 5 mins per iteration .. with around 15 cases, it's a 45 min wait cycle.!
_________________
Regards
Back to top
View user's profile Send private message Visit poster's website
smdavies99
PostPosted: Thu Jun 18, 2015 1:43 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

akil wrote:
I agree, in-fact the fiddle promotes it .

Yesterday, when I was doing some variations on the field selection, i had to do a change, deploy , run a message flow , see the trace (or debug), & then start over.. this takes 5 mins for 1 round .. and at times the debugger gets stuck (ubuntu 9.0.0.2), for which i've to restart the broker, which is like another 5 mins..

The fiddle would save me those 5 mins per iteration .. with around 15 cases, it's a 45 min wait cycle.!


Ah that apology for Linux called Ubuntu. (sorry personal gipe with it).
5 minutes? Debugger gets stuck? Hmmmm...... Perhaps that is why I never use the debugger. Yes I'm an old school But with a script to start user trace, another script to stop it and format the log AND send it to EMACS I can cycle things very quickly.
Served me well since the MQSI 2.0.2 days and having only command line access to the Unix Server. no debugger back then either.

I have a VM with a 'fiddle broker' all setup on it. The TK is integrated with my GIT repo of 'useful stuff'. Job Done (IMHO).

But hey, each to their own style and way of working. Whatever suits you is best for you.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
missing_link
PostPosted: Thu Jun 18, 2015 2:00 am    Post subject: Reply with quote

Acolyte

Joined: 08 Jan 2004
Posts: 60

nice to see i'm not the only

usertrace over debugger every time for me.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Jun 18, 2015 5:51 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

A simple message flow with an MQInput and MQOutput node and single compute node is an excellent way to learn ESQL fast and easy.

Drag&drop to build and deploy is not terribly "hard" to my way of thinking.

Yes, something akin to the DFDL Test environment would be useful... but ESQL is much more complicated and has much more dependencies on the runtime environment. It's hard to access fields in the message tree without a message tree.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » IIB9: ESQL Fiddle
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.