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
0
votes
1 answer

Progress 4GL query with optional "break by"

I have a query: for each a where ..., each b where ..., each c where ..., break by c.xxx by c.yyy by c.zzz. I need the break by's to vary according to user input. When I try to define a query: def query qa for a, b, c. if ... then…
Donna
  • 149
  • 1
  • 3
  • 7
0
votes
1 answer

How to change length of field in Progress Browse based on value in a variable?

I've used a BROWSE widget to display search results in. The search based on one of several available fields in a TEMP-TABLE. What I want to do is to dynamically set the format of the matching field to "x(16)" instead of "x(11)". The matching field…
Anburaja
  • 1
  • 1
  • 3
0
votes
1 answer

executing a webservice created in progress with php

hello I have a webservice created in Progress, and I need to create a client in php. I have this example created in Progress to create the client: //connect CREATE SERVER…
user1256477
  • 10,763
  • 7
  • 38
  • 62
0
votes
1 answer

What Progress 4GL parameters could affect default frame width?

While upgrading an application from Progress 4GL 7.4 to 10.2b ABL a problem has arisen in the menu display, for which I have no source code. Instead of showing 2 columns of menu choices I am seeing 3 columns with only two visible at a time (the…
0
votes
3 answers

Connecting to Progress database from Mac OSX

Does anyone know how to connect to a Progress 9.1E database from a Mac (or even from Linux)? I can connect successfully from Windows but the JDBC driver requires that the Progress install directory and it's bin directory are in the path. It seems to…
Damo
  • 11,410
  • 5
  • 57
  • 74
0
votes
1 answer

Can you use TCL (Expect) to script operations on a Progress Character UI legacy app on Solaris?

The title says it all, really. On a Sun OS 5.1, can I automate some operations on a legacy Progress (ported to v.10, but still running as a character based UI, launched by Procedure Editor) using Expect? Anyone had any real experience with this…
p.marino
  • 6,244
  • 3
  • 25
  • 36
0
votes
2 answers

using System.Text.RegularExpressions within OpenEdge ABL

I am trying to make use of the .NET assembly, System.Text.RegularExpressions within our business applications to make validation less of a burden. I have tried adding the assembly using using the OpenEdge Architect "Assembly References" option but…
Gary Green
  • 87
  • 2
  • 9
0
votes
1 answer

SQL equivalent of 'this' ABL statement

Someone might understand this ABL statement... FOR EACH BREAK BY : .... IF FIRST-OF() THEN DO: .... END. .... IF LAST-OF() THEN DO: .... END. .... END. Above…
0
votes
2 answers

How to connect from Python on Linux server A to Progress OpenEdge DB on Linux server B

I'm trying to write a Python routine on "Server A" that can pull data from a Progress (http://www.progress.com) DB on "Server B"... probably via pyodbc, but I'm flexible on the Python side. Both servers are running Linux OS. From reading the…
slumtrimpet
  • 3,159
  • 2
  • 31
  • 44
0
votes
2 answers

Create CSV file from Progress Data

I'm trying to export some database record to create a CSV file. The following code creates the CSV file: METHOD PRIVATE VOID GenerateCSV(): OUTPUT TO VALUE ("c:users\mark\test.csv"). FOR EACH a-table WHERE a-table.id = 1: …
Mark
  • 15
  • 1
  • 3
0
votes
2 answers

Get notified that MS Excel file is no longer used in Progress 4GL (ABL)

There is a GUI ADM2 Progress v9 application using AppServer. It needs to give users an ability to view MS Excel files stored on the AppServer. So far it: Pulls .xls file from AppServer to a local drive. Fires up a copy of MS Excel and opens the…
John Stern
0
votes
1 answer

Setting add-calc-column() values for each browse row?

With static browses, on a ROW-DISPLAY I would calculate variables that are columns on a static browse. However, with ADD-CALC-COLUMN() how do I for each row in a browse go about setting that columns value? Thanks.
user556634
  • 157
  • 1
  • 10
0
votes
3 answers

What is the easiest way to 'dump' a temp-table into SQL format

Version: 10.2b So lets say I have a table dogs in progress: table: dogs fields: name, age, breed I want to load them into oracle database using the standard load utility. But the table in oracle looks like this table: dog fields: name, age,…
Bill
  • 1,237
  • 4
  • 21
  • 44
0
votes
1 answer

C# COM object access from Progress 4GL

This question was already asked previously as: Create COM-Object from own C# Dll in Progress 4GL The question at that link was only partially answered, and I'm at the same stopping point. Given the example at the link, has anyone ever gotten it…
0
votes
3 answers

Adding HourGlass Cursor in Progress 4GL

I am trying to add HourGlass cursor in my code.I tried this code session:set-wait-state('HourGlass'). But I did not get HourGlass Cursor.Please help me to get cursor.