Questions tagged [progress-4gl]

The Progress 4GL is a multi-platform interpreted language typically used to build business applications and is now known as ABL.

With a first official commercial release in 1984, Progress 4GL was initially a procedural language and has since had object-oriented extensions added to the language starting with the OpenEdge 10.1 version. The language offers tight data binding to the Progress OpenEdge database and also runs on the OpenEdge AppServer.

The Progress 4GL is now known as the OpenEdge ABL (Advanced Business Language) and is produced by the OpenEdge division of Progress Software Corporation.

Hello World

DEFINE VARIABLE msg AS CHARACTER   NO-UNDO.
msg = "Hello World!".
MESSAGE msg VIEW-AS ALERT-BOX INFORMATION.

Useful links
Progress Software

Progress Official Developer Network

The OpenEdge Hive

Progress KnowledgeBase

Progress E-mailing list (PEG)

ProgressTalk Forums

Wikipedia
http://en.wikipedia.org/wiki/Progress_Software http://en.wikipedia.org/wiki/OpenEdge_Advanced_Business_Language

1293 questions
2
votes
2 answers

What do the profiler.out contents represent?

I've been working on a script that retrieves test code-coverage data from a profiler.out file. Now generating this file wasn't much of an issue. But I can't seem to understand how the contents of this file relate to the test that were fired (to me…
2
votes
0 answers

XID error being thrown when doing appserver calls using Progress Openedge

We are doing some appserver calls in ABL, which should return a dataset, however most of the time it works perfectly. But a few times the appserver returns this error. ERROR : XID(Yo1owa4MTcG7-XIUvxbm8Q) OK Why is this error being thrown? The…
Gaetano Herman
  • 524
  • 6
  • 22
2
votes
1 answer

How to compile .cls to .r using progress editor 11.6

I have a problem. I want to compile manually using the Progress editor in 11.6. But an error occurred. How to compile Class to r-code using the Progress editor in 11.6? Thank you
2
votes
4 answers

Progress-4GL - What is the fastest way to summarize tables? (Aggregate Functions: Count, Sum etc.) - OpenEdge 10.2A

We are using OpenEdge 10.2A, and generating summary reports using progress procedures. We want to decrease the production time of the reports. Since using Accumulate and Accum functions are not really faster than defining variables to get summarized…
aza
  • 115
  • 13
2
votes
1 answer

Adding row from FOR EACH to TEMP-TABLE

I'm trying to create a temp-table which is exactly like an already existing table in the database. How do I add each row to the temp table? DEFINE TEMP-TABLE o_ttProducts. FOR EACH Product: /*Add current row to the o_ttProducts temp…
sander
  • 1,426
  • 4
  • 19
  • 46
2
votes
1 answer

OpenEdge 10.2A - How to apply the default RETURN / CURSOR-DOWN on Editor widget even if a general code for RETURN / CURSOR-DOWN with ANYWHERE exists?

I have a code for RETURN / CURSOR-DOWN for all widgets in a window which basically makes it as if TAB is pressed. It works just fine but I want the default functionality of RETURN (Break current line into two lines) / CURSOR-DOWN for EDITOR…
aza
  • 115
  • 13
2
votes
2 answers

How to read a XML file and export an item using Progress 4GL

When I execute the following code to read a XML file in progress language, I need only 3 items from that XML file but this code can not read it. The code is: DEFINE VARIABLE hDoc AS HANDLE NO-UNDO. DEFINE VARIABLE hRoot AS HANDLE …
2
votes
1 answer

ABL Substring 1 character to 2 characters

fairly new to ABL here. I have a question where I just cannot figure out the answer. I have job numbers in sequence such 99999-0, 99999-2, 99999-3 and could go well into 99999-150. However, I need to interpret jobs 99999-0 through 99999-9 as…
2
votes
2 answers

Progress Error 54 - unable to get local issuer certificate

I have tried the solution by googling it. But im not able to find. Error Error Code -54 : unable to get local issuer certificate: for 6ae7a2a5.0 in c:\Program Files(86)\OpenEdge_113\cert(9318). As my understanding 6ae7a2a5.0 is uique id for…
Karthikeyan
  • 173
  • 4
  • 18
2
votes
0 answers

How to implement websockets in Progress OpenEdge?

I'm trying to implement a websocket-server with Progress OpenEdge. I still didn't get it working. I've successfully created a socket-server with the example i-sktsv1.p from here. When I run my html-page, which looks like:
Johan Walhout
  • 1,446
  • 3
  • 22
  • 38
2
votes
1 answer

OpenEdge get data-type of property value that is retrieved using DYNAMIC-PROPERTY

I have to use the DYNAMIC-PROPERTY function in OpenEdge to get data out of a class. So far this works just fine, but now I would like to know the data type of the values that was retrieved. This is required because the values are formatted based on…
Johan Vergeer
  • 5,208
  • 10
  • 48
  • 105
2
votes
3 answers

Using delimiter while creating excel sheet in progress 4gl

I have 3 .txt files and I am using COM-Handle to create an Excel sheet. Can anyone help me how to set the delimiter? My Excel sheet is getting created but the columns are not comma separated. Please see attached screenshot of the file I got. I…
Nidhi
  • 25
  • 4
2
votes
1 answer

Progress Database 4GL - Math calculate for export file

The statements below will execute. However, I want the wShipment.Volume divided by 1728 and export that result. For example, if wShipment.Volume is 3456, then it should export the result 2 to the report. OUTPUT TO…
Joe
  • 31
  • 4
2
votes
1 answer

Dynamic Query in OpenEdge

Good day: Quick question: Can I perform a dynamic query in OpenEdge? Example: def temp-table tt-num1 field f1 as int field f2 as int. def temp-table tt-num2 field f1 as int field f2 as int. def temp-table tt-num3 field f1 as int field f2 as…
noob
  • 165
  • 3
  • 18
2
votes
2 answers

How to enable OpenEdge debugger?

I have enabled the debugger with prodebugenable -enable-all as mentioned here: https://documentation.progress.com/output/ua/OpenEdge_latest/index.html#page/pdsoe%2Fenabling-debugging.html%23wwID0EBCZX I have got the success message Debugging is…
user11909
  • 1,235
  • 11
  • 27