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

What is ABL equivalent for SELECT IN statement

Anyone please help me for ABL equivalent for SELECT IN statement For e.g. SELECT column_name(s) FROM table_name WHERE column_name IN (value1,value2,...);
user2112700
  • 121
  • 2
  • 8
2
votes
4 answers

Deleting all special characters from a string in progress 4GL

How can I delete all special characters from a string in Progress 4GL?
user3796722
  • 21
  • 1
  • 1
  • 2
2
votes
4 answers

Creating Database Table From Temp-Table (by Code)

I have a temp-table called tt. I want to create a database table with the same field names and types using my temp-table. I can't figure out how to do in Progress-4gl. Is this possible ? Thanks.
pikk
  • 525
  • 1
  • 12
  • 26
2
votes
1 answer

Query a database table whose name is known only at runtime

I get a database table name at run time(let us suppose from user). I need to query the table and return few fields(which I know). How to do this? "FOR EACH" wont accept a variable name in it. So, I cant use it. I have gone through dynamic queries,…
Austin
  • 1,237
  • 1
  • 11
  • 22
2
votes
1 answer

Failed to create an xml node using a document-fragment Progress 4GL (Open Edge)

I am developing in OpenEdge 11.1 and can successfully create an XML document from static data and connect to a third party API via SOAP. I want to add an existing XML object to the new document I am creating, according to the Progress Help I should…
2
votes
2 answers

Openedge - Read XML from URL

I need to read XML file from an URL. I have no problems if the file is physically present. Then i parse it using the SAX reader. Now i need to read a XML file from an URL - twice. First time in need to get it from http://someurl/paging$1,1 , then…
Corwin
  • 645
  • 1
  • 9
  • 17
2
votes
2 answers

How to handle numbers of prowin32.exe

I've been doing an OS-COMMAND that execute the -p "procedure.p" with -param that are inside a loop. My question is how can I handle the number of prowin32.exe that will not spawn too much so it won't consume all my processor and also not less to…
2
votes
1 answer

Implement IComparer - Incompatible data types in expression or assignement. (223)

I am trying to implement System.Collections.IComparer in Progress 4gl. With the following code, I get the error: Incompatible data types in expression or assignement. (223) CLASS Tools.Comparer.ItemByItemNo IMPLEMENTS…
Tom Sawyer
  • 835
  • 2
  • 10
  • 32
2
votes
2 answers

How to exclude building files in Developer Studio?

How do you set up the project in Progress Developer Studio 3.7 (Eclipse 3.7.1) to ignore building specific files and/or folders? src/main src/main/somename.p src/fix I want to ignore building the file src/main/somename.p and the whole folder…
LeoD3
  • 195
  • 10
2
votes
1 answer

OpenEdge 102a export table to xml file

I am new to openedge and i am trying to export initially a table to xml file. My final aim is to export three tables to xml file. I have tried to export in a simple delimited and is working. I have tried For txt OUTPUT TO c:\temp\file.txt. …
kostas ch.
  • 1,960
  • 1
  • 17
  • 30
2
votes
3 answers

Dynamic array or resize extend?

This is a superfluous question. Is there any dynamic array or list in Progress 10.2B? Example: I create a base class called "InventoryTransaction". I read a MSSQL table from Progress and I would like to create an instance of InventoryTransaction…
Tom Sawyer
  • 835
  • 2
  • 10
  • 32
2
votes
1 answer

PROGRESS 4GL - Input from external procedure

I need to update field in program a.p using external program or procedure. But i can't. This is example of a.p: DEF VAR v1 AS CHAR. DEF VAR v2 AS CHAR. DEF VAR v3 AS CHAR. DEF VAR v4 AS CHAR. DEF VAR external_program AS CHAR INITIAL…
Wiktor
  • 754
  • 1
  • 7
  • 24
2
votes
2 answers

How to execute an .exe file in Progress OpenEdge

Before I ask anything, let me tell you I have no experience whatsoever on Progress Openedge, but my company runs an application made in it and now I have to make some SOAP calls through it. So I figured, why not call an external script made in…
pedropeixoto
  • 1,633
  • 2
  • 27
  • 52
2
votes
4 answers

Regular expression in OpenEdge

I want to check if a variable is in pascal case, in OpenEdge. I found the matches operator, and I write the following code: define variable cVariable as character no-undo. cVariable = "cPascalCase":U. message cVariable matches 'c[A-Z]*':U. But it…
Tenzi
  • 101
  • 1
  • 6
  • 12
2
votes
2 answers

Progress 4GL how to count the number of delimiters in a string for use with index function

This code disp entry(5,"1 2 3 4"," "). Returns an error because entry 5 is outside the range. How do I count the number of delimiters in the string so that I don't attempt accessing an entry that doesn't exist?
Donna
  • 149
  • 1
  • 3
  • 7