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
5
votes
5 answers

How to test if string is numeric using Progress 4GL

Does Progress 4GL have a function for testing whether a string is numeric, like PHP's is_numeric($foo) function? I've seen the function example at http://knowledgebase.progress.com/articles/Article/P148549 to test if a character in a string is…
Donna
  • 149
  • 1
  • 3
  • 7
5
votes
2 answers

How to get Current Time in Progress (OpenEdge)

I am coding in Progress (aka OpenEdge ABL). I have a variable that holds a time and I want to figure out if it is greater than the current time. But I cannot find anything in the documentation I've read that shows me how to retrieve the current…
user2592449
  • 51
  • 1
  • 1
  • 3
4
votes
4 answers

How to get the ROWID from a Progress database

I have a Progress database that I'm performing an ETL from. One of the tables that I'm reading from does not have a unique key on it, so I need to access the ROWID to be able to uniquely identify the row. What is the syntax for accessing the ROWID…
Stefan Moser
  • 6,663
  • 9
  • 35
  • 48
4
votes
1 answer

Progress ODBC Problem with Sql-width (DBTool?)

I have been given the task of getting some data out of a third party progress database. The problem is that, some tables are reporting an error "Column in table has value exceeding its max length or precision (7864)". Some Googling…
CYMR0
  • 566
  • 6
  • 16
4
votes
2 answers

ROWID and RECID

what is ROWID and RECID actually in progress.Can we use the RECID instead of ROWID.what is the diffrrence between them??
ratna
4
votes
0 answers

How to interprete private bytes and memory leaks in a Progress/.Net application

I have a question regarding memory leaks in our application. First of all, it's a Progress ABL Application. Progress has added .NET support a couple of years ago, so it's really hard to know where memory leaks are coming from. Progress is written in…
Lieven Cardoen
  • 25,140
  • 52
  • 153
  • 244
4
votes
1 answer

4GL ABL Openedge loop through handle?

here is my current code def var hbTT as handle. for each Cust: hbTT:buffer-create(). assign hbTT::Name = Cust.Name hbTT::address = Cust.Address. end. now what I want to do is to loop through hbtt. How can I do that? I tried for…
BobNoobGuy
  • 1,551
  • 2
  • 30
  • 62
4
votes
2 answers

Strange results when deleting all special characters from a string in Progress / OpenEdge

I have the code snippet below (as suggested in this previous Stack Overflow answer ... Deleting all special characters from a string in progress 4GL) which is attempting to remove all extended characters from a string so that I may transmit it to a…
4
votes
1 answer

How to assign content of a file to a string variable in progress openedge 4gl?

Assigning content of a huge file around 80 KB to a string variable copy-lob from file "E:\edifact\test\22685.EDI" to text-memptr. v-edistring = get-string(text-memptr,1). shows error attempt to exceed maximum size of character variable.
mac100
  • 137
  • 2
  • 13
4
votes
1 answer

Escape curly braces progress abl

How do i escape curly braces progress abl from a display statement ?? Our friend google didn't find any info DISPLAY "{"httCust":[]}"
madalinivascu
  • 32,064
  • 4
  • 39
  • 55
4
votes
1 answer

How can I add a number and string in a variable on Progress4GL

How can I add a number and string into a character variable on Progress4GL like the following (it's just an example to show the idea). a = 'Code' b = 1 c = a+b So c's value is "Code1" How can I do it on progress4GL? Any help is appreciated.
Kyle
  • 1,568
  • 2
  • 20
  • 46
4
votes
2 answers

How to make a multidimensional array in Progress 4GL?

There are multidimensional arrays in Progress 4GL? If "yes", how to make this in this language. Any ideas?
4
votes
2 answers

How to find the procedure handle of the calling procedure?

I'm trying to write some testing programs and I have an idea to run a procedure, and have the procedure call internal functions and procedures in the calling program. As I understand it, you can use RUN x IN y where y is any procedure in the calling…
Screwtape
  • 1,337
  • 2
  • 12
  • 27
4
votes
2 answers

How can I get the name of a calling program over an app server connection?

I have a program called Test.p. The program calls another program ServerTest.p via an appserver call. In ServerTest.p, I want to know the name of the program that called (in this case Test.p). I tried using the program-name() function but it only…
briddums
  • 1,826
  • 18
  • 31
4
votes
1 answer

Multiple Constructors

I have a class called ErrorItem that have multiple construtors. Is it possible to call another constructor inside of the constructor to manage default values? Example: CONSTRUCTOR PUBLIC ErrorItem(): ErrorItem("", "", "", -1, "", ""). …
Tom Sawyer
  • 835
  • 2
  • 10
  • 32
1
2
3
86 87