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

Missing codepage for table when using dataserver

Problem I use dataserver to create records in MSSQL. I transfer data in bulk, with for each. Lets say tens of records. As I transfer those records with buffer-copy, I can easily verify the transfer with buffer-compare. For unknown reasons, some…
vsobotka
  • 153
  • 6
2
votes
1 answer

How to check if a file is already included?

I have a procedure structure like this: The standardIncludeFile.i-include file can be used with any procedure files. However, it requires other include files to…
W0lfw00ds
  • 2,018
  • 14
  • 23
2
votes
1 answer

_progres.exe command line paramaters

I have the following command: _progres.exe -b -s 128 -p test.p -db testDB.db I would like to know how the -s command is being used, and where I can find any other documentation on all of the command line parameters for _progres.exe.
Preston Martin
  • 2,789
  • 3
  • 26
  • 42
2
votes
1 answer

Publish something else than a jar with gradle to Nexus

I'm trying to use Gradle in combination with Ant to build our OpenEdge projects. OpenEdge is a 4GL language from some centuries ago. ;-) Anyway, I've managed downloading some jar dependencies, but now I'm stuck in how to publish a PL file (Progress…
Lieven Cardoen
  • 25,140
  • 52
  • 153
  • 244
2
votes
2 answers

adding a constant value to the results of an progress query

Is there anyway to add a constant value in the results of a progress query? In sql server you can do it by going select *, 1 As DateID from dbo.customers 1 being the static field inserted Not sure how or if you can do this in a progress db?
Shiniece
  • 37
  • 1
  • 4
2
votes
1 answer

How to add string to date function - Progress 4gl

I am newbie in Progress and I've Trouble in date function Progress 4gl. Example I have string value = '2016 '. How do I put that value into a date in Progress? Example: def var xx as char. def var xq as date. ASSIGN xx = '2016' xq =…
Prabu Karana
  • 302
  • 1
  • 4
  • 15
2
votes
2 answers

Is there any way without using -U or -P parameter to login to openedge application

Suppose we have enabled the "disable blank userid access" option in database options, then is there any way without using -U or -P parameter to login to openedge or progress application? Thanks
Saroj
  • 25
  • 4
2
votes
3 answers

How to add the IF THEN ELSE in the BY/BREAK BY keyword of FOR EACH?

here is the sample that i want to ask: FOR EACH table-name.... NO LOCK BY (IF TRUE THEN sort-this ELSE sort-that + sort-that2). END. This would result in an error. if it is just FOR EACH .. NO LOCK BY (IF TRUE THEN sort-this ELSE…
noob
  • 165
  • 3
  • 18
2
votes
2 answers

Hash a temp-table row

Backstory I work on the backend for Android clients. There are a lot of data to be displayed and some offline functionality needed, so I have to solve synchronization. Said data consists of temp-tables. Our solution Right now, to let the client know…
vsobotka
  • 153
  • 6
2
votes
2 answers

Source Control for remote clients with custom versions

I'm looking for source control options for code that resides on multiple client sites outside my network. The core of the code files are all the same but each client needs certain files customized for their own purposes. I'm wondering if there's a…
2
votes
1 answer

Clear displayed data with default frame in Progress OpenEdge

I'm trying to find a way to clear displayed data from the screen before return to the calling procedure. For example: FIND FIRST table NO-LOCK NO-ERROR. DISPLAY table WITH 1 COLUMN. /* data gets displayed */ PAUSE. Now how do I clear it before…
Ivan
  • 143
  • 2
  • 12
2
votes
6 answers

how to create comma separated value in progress openEdge

newbie question here. I need to create a list. but my problem is what is the best way to not start with a comma? eg: output to /usr2/appsrv/test/Test.txt. def var dTextList as char. for each emp no-lock: dTextList = dTextList + ", " +…
BobNoobGuy
  • 1,551
  • 2
  • 30
  • 62
2
votes
1 answer

Progress ABL: BREAK BY With multiple joins in an OPEN QUERY

I'm pretty new to ABL (and I'm French so please excuse my English) so I need your help. I'd like to know how to use a BREAK BY in an OPEN QUERY. Here's what I do: define query Q-REQ for…
Corentin
  • 21
  • 4
2
votes
1 answer

Progress hide json fields

I'm using Progress OpenEdge. I've created a dataset and nested a few temp-tables. I put in specific fields in order to relate the temp-tables. In xml if you want to hide the fields that you use to relate the temp-tables you would use xml-node-type…
Ivan
  • 143
  • 2
  • 12
2
votes
1 answer

How to iterate through temp-table that is being accessed using buffer?

I have found an article, about accessing temp-table that is declared inside the class, from outside the class. I'm trying to use 2nd solution(using handles and buffer). And while it works(i can get 1st or last element from it), i can't find a way…
Deniss
  • 317
  • 2
  • 12