Codeparse group

Welcome to the Code Parse Group! Be sure to subscribe, and don't forget to click "my subscription" if you want to subscribe to the mailing list.


Idea for XREF and Code Analysis Project in ABL

People working with 4GL/ABL are always looking for better documentation and XREF data about their source code.

A number of thoughts came together recently, which might trigger some interest in a new project written in ABL. This might also trigger interest in extensions to existing projects.

I found that it is trivial to dump from ProRefactor to XML: the entire syntax tree, the symbol tables, all of the include file and preprocessor information, etc. This is for one compile unit (CU) at a time.


Groovy is so darn cool

I'm using the syntax tree from Proparse+ProRefactor, and the Groovy language, to generate XML data about procedures in an application. I want to generate XML with entries that look like this:

<tableref table='customer' create='true' write='true' delete='true' />

javadoc

Joanju maintains a build of the javadoc on their web site here:
joanju.com/analyst/javadoc/.
The org.prorefactor.* packages are what you need, ignore the com.joanju.* packages.

Of course, you can always svn checkout the source for ProRefactor and build your own complete set of javadoc for it.


Proparse

Hi all,

I am in the process of releasing Proparse under the terms of the Eclipse Public License. Think of it as a wee gift from Judy and I.

I am removing the license protection from the binary installer package on my web site, and I am loading Proparse's source up into a new SVN repository here on the Hive. I am creating a Project and a Group here on the Hive as well for issue tracking, etc.

It's probably going to be a bit sloppy at first, sorry about that. I'm pretty busy with a couple of customers at the moment.


File References

This little 4gl script (two .p files and one .i file) uses Proparse to build temp-tables of file references (for RUN and for include). What you do with those temp-tables is entirely up to you.

Thanks Greg Wutzke for commissioning this effort. It was built for a project where source files were being moved and renamed as part of a code cleanup effort. For each file being moved or renamed, all code references to the file needed to be examined.

See the comments at the top of filerefs.p for notes about configuring and running the script.


OpenEdge Replication 10.1BSP01

And so, my "impish" handles again run into on something not comprehensible.

Progress 10.1BSP01
OpenEdge Replication 10.1BSP01.

After coasting SP01 categorically ceased to work replication on some base on side target-server exactly.
Errors everywhere following: Code:

[2007/07/30@09:25:12.895+0600] P-7347 T--1789493408 I RPLA 66: (10501) The Fathom Replication Agent has been successfully started as PID 7347.
[2007/07/30@09:25:12.896+0600] P-7347 T--1789493408 I RPLA 66: (5485) Service transport TCP is busy.


Registration of proparse on win2003 64bit

On 64bit windows the key for proparse should be imported under

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Joanju\Proparse31]

Instead of

[HKEY_LOCAL_MACHINE\SOFTWARE\Joanju\Proparse31]


Hendrik.groovy

This Groovy script finds variables which use the same name as a database table or field name. It writes its findings, as it runs, to the console. It also accumulates a sorted report which it writes at the end of its run.


ConsoleWaiter.groovy

Provides a wrapper for the console. (Download below)


TreeUtils.groovy

Utilities for working with the syntax tree from ProRefactor. (Download below)


Eclipse UI and Scripting

Scripting opens up an entire new world for working with ProRefactor and the syntax tree. As of version 1.7.2, the Groovy scripting engine has been added to ProRefactor's bundled libraries.

Using Scripts with ProRefactor in Eclipse

A menu item has been added to the context menu on the Navigator view: ProRefactor -> Tool Devel Utils -> Groovy Console. If you have a .p, .w, or .cls file selected when you launch the Groovy console, then within your console the File variable selectedFile is available for your script.


How to Solve the Problem

Hai All,

I am facing a problem while accessing the procedure FactP existed in Progress 4GL file namely FactProc.p. Here i am giving the step-by-step procedure what i did.

i Create a Progress 4GL file namely FactProc.p and it content is:

PROCEDURE FactP:
DEFINE INPUT PARAMETER n AS INTEGER.
DEFINE OUTPUT PARAMETER m AS INTEGER.
m=1.
REPEAT:
IF n EQ 0 THEN LEAVE.
m = m * n.
n = n - 1.
END.
END PROCEDURE.


How To Connect to AppServer

Hai,
This is Shaji Kumar VK. I am fresher to OpenEdge and working on how to connect with OpenEdge from C#.NET. Could anybody help me How to programmatically connect to AppServer and call a simple procedure. Please provide me an example, if your able or tell me the URL from where i will get simple and efficient help on it. Thanks in advance.

Regards & Thanks,
Shaji Kumar.V.K


ProRefactor 1.6.1

ProRefactor 1.6.1 is now available. This is for Proparse version 3.1a, which adds support for new ABL 10.1B syntax.


Could someone help me how to use the deployed web service?

Hi All!

I have created a web service adapter and want to use it on the Progress 4GL client.
I used the WSDL file deployed in the adapter, to connect to the appserver,and it was successful. But I couldn't call the procedures inside the .p file which was deployed as web service. I have a procedure named p-first but i can't call it. I got an error "Failure initializing SOAP Call: cannot find a SOAP operation named p-first(11775)(11762)".

Could anyone help me?

I would be thankful!!

With regards,
Kamal Raj Subedi
Javra Software Nepal
IT Park, Banepa


#
Syndicate content