× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Buck:



I just installed Eclipse Monkey and it looks really promising! Thanks for
letting us know about this! I could see it replacing the Rexx macro
functions in CODE/400.

I took one of the examples and got it to read a local file for input. This
gets me close to what I want.

In CODE/400 I use the CODESRV function to extract file field information to
a local file then I have Rexx macros process that output to create d-specs,
c-specs, SQL statements and the like.

Since there does not seem to be the equivalent to the CODESRV function in
WDSc, it would be great if we could figure out how get Eclipse Monkey read
field information from the 'iSeries Field Table View'.

Does anyone have any ideas on how to go about extracting that table data?

Thanks,

John

-----Original Message-----

From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx]

On Behalf Of Buck

Sent: 24 September 2007 21:24

To: wdsci-l@xxxxxxxxxxxx

Subject: [WDSCI-L] Eclipse scripting

There is a scripting project called Eclipse Monkey which looks like it

might work with WDSC 7! Use the Eclipse updater (not the IBM updater)

and add remote site Dash

http://download.eclipse.org/technology/dash/update/ then select Monkey

and Rhino. Instructions are at

http://www.eclipse.org/dash/monkey-help.php?key=installing

I tried the one at the Europa site, but I think that's for a more recent

version of Eclipse. The Dash version works with WDSC 7.0.0.2 / Eclipse

3.2.2

When WDSC restarts, there will be a new menu item: Scripts. Click

'Example' and it will create some example scripts for you. Once that's

done, add a comment in an Lpex session, select a few spaces in that line

and then try Scripts->Editors->Replace Selection with Date

The scripts go in a folder inside your WDSC repository. My repository

is c:/buck/wdsc7. The examples went into c:/buck/wdsc7/Eclipse Monkey

Examples/scripts

You can use WDSC to locate and edit these scripts via the Navigator

view. Running them is as easy as editing the source, saving it, and

trying it out! Yay!

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.