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
11
votes
3 answers

How to get table schema from Progress database via odbc

I have a linked server set up between sql 2008 and a Progress OpenEdge 10.1b server. How do I get the table schemas?
NotMe
  • 87,343
  • 27
  • 171
  • 245
11
votes
3 answers

Pros and Cons of using object oriented programming for progress openedge

I understand the pros and cons of using object oriented programming as a concept. What I'm looking for are the pros and cons of using oo in progress/openedge specifically. Are there challenges that I need to take into account? Are there parts of the…
Bill
  • 1,237
  • 4
  • 21
  • 44
9
votes
2 answers

Publish a zip file to Nexus (Maven) with Gradle

Say you have a PL file you want to upload to Nexus with Gradle. How would such a script look like. group 'be.mips' version = '1.4.0-SNAPSHOT' In settings.gradle --> rootProject.name = 'stomp' And let's say that the pl file is in a subdirectory dist…
Lieven Cardoen
  • 25,140
  • 52
  • 153
  • 244
8
votes
3 answers

running a loop on a comma delimited list of items progress 4GL

def var cList as char no-undo. assign cList = "one,two,three,four". cList logic... What's the best way to loop through a comma delimited list in a char variable so that in this example I would get one then two then three then four.
Bill
  • 1,237
  • 4
  • 21
  • 44
7
votes
4 answers

Getting first 100 records from the table in Progress OpenEdge database (e.g. SELECT TOP 100..)

How can I get a limited number of records from the table in Progress OpenEdge database? Something like in SQL: SELECT TOP 100 * FROM MyTable The only ugly solution I can find is looping through all records and breaking when 100 of them were…
Daria Trainor
  • 5,545
  • 4
  • 23
  • 30
7
votes
1 answer

Displaying progress records by sorting using any one attribute

Displaying progress records by sorting using any one attribute. I am new to progress so I want to know that how records in table can be displayed according to sorting on one attribute.
sajid shaikh
  • 81
  • 1
  • 3
7
votes
1 answer

In progress 4gl get field names of temp-table

I have some temp-tables in my script that I will be exporting to a csv file. I need to also export the field names as well as their values. How can I get the field names of temp-tables?
Donna
  • 149
  • 1
  • 3
  • 7
7
votes
10 answers

How to get end of month date in progress 4gl

How can I get the last day of the month in progress 4gl?
Daria Trainor
  • 5,545
  • 4
  • 23
  • 30
6
votes
2 answers

How to clear buffer with ZPL II [Zebra GK420d]

In documentation of ZPL II language there is command "~JA" which allow to clear all jobs in buffer. Unfortunately it seems to not working on Zebra GK420d ( but I can't also find any word about it in printer specification ). I can print labels with…
Wiktor
  • 754
  • 1
  • 7
  • 24
6
votes
4 answers

How do I do HTTP GET and POST in Progress/OpenEdge ABL?

The Progress docs spill plenty of ink on SOAP, but I'm having trouble finding the example for a simple HTTP GET/POST with Progress ABL. How do I GET and POST strings to/from a URL? Can the URL be https://? Can Progress provide HTTP Basic or HTTP…
joeforker
  • 40,459
  • 37
  • 151
  • 246
6
votes
1 answer

Use of Break by keyword in progress 4GL

What is the exact use of break by keyword in Progress 4GL? I am not getting a clear idea from the keyword help of OpenEdge. What is the main difference between by and break by keywords.
MrNeilP
  • 349
  • 1
  • 5
  • 19
5
votes
1 answer

Creating a Buffer with the Same Name as the Database Table

I've run across this code in a number of places: DEFINE BUFFER Customer FOR Customer. I have two questions: What is the purpose of this? Why is it beneficial to create a buffer with the same name as the table? When writing code to access this…
pmartin
  • 2,731
  • 1
  • 25
  • 30
5
votes
1 answer

what is the meaning of NO-UNDO on define variable in progress 4gl?

I am the beginner for progress 4GL language and I'd like to know about the difference between NO-UNDO and NO-ERROR in progress 4gl language.
Thiru
  • 231
  • 6
  • 20
5
votes
1 answer

How can i use FOR each, going through the table for one of the fields ascending in OpenEdge?

So for example i have a table with field "sub_id" with is not sorted ascending or descending. I want to do FOR EACH from the smallest sub_id to biggest, how can i do that?
Deniss
  • 317
  • 2
  • 12
5
votes
1 answer

try catch in Progress

Is there a method that is similar to the try catch in php? try { ... } catch (Exception $e) { ... } I already use the blocks of this type: DO ON ERROR UNDO ... but I wonder if there is another way to do it. Thanks.
doydoy44
  • 5,720
  • 4
  • 29
  • 45
1
2 3
86 87