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

How to Copy MEMPTR to/from a LONGCHAR variable with out getting error or NULL value?

while copying the value of a MEMPTR to a LONGCHAR variable using GET-STRING, i got an error 9324 . Is there any solution ? I've tried this: function x returns longchar(): DEF VAR i_xml_string AS LONGCHAR NO-UNDO. DEF VAR i_mem AS MEMPTR …
Ravi
  • 31
  • 1
  • 5
2
votes
2 answers

Not being able to use function on progress4gl

I've been trying to create a simple function that would accumulate some strings and then I would call it an it would return it, but for some reason I'm getting: Could not understand line 1 (198) Which is too vague, I've been looking in forums…
Kyle
  • 1,568
  • 2
  • 20
  • 46
2
votes
2 answers

Removing Unwanted commas from a csv

I'm writing a program in Progress, OpenEdge, ABL, and whatever else it's known as. I have a CSV file that is delimited by commas. However, there is a "gift message" field, and users enter messages with "commas", so now my program will see additional…
Joseph Kreifels II
  • 554
  • 1
  • 4
  • 17
2
votes
2 answers

Query with inequality in index using Progress

What is the fastest way to query for records using an inequality in Progress 4GL? For example, if I need to find all the records whose state field doesn't match 'MI', how would I write that for best performance and why? Various solutions I have been…
zr00
  • 528
  • 1
  • 7
  • 20
2
votes
2 answers

How to change / assign BGCOLOR to a field/cell/row/column in a freeform query

I am using a freeform query that will populate the temp table fields. i can adjust the width fine but i cant assign a color to the field/cell/row/column. How do you assign color ?
noob
  • 165
  • 3
  • 18
2
votes
1 answer

Converting Progress / 4GL to SQL

I need to convert a number of queries and functions from Progress / 4GL to SQL. Can you help me get started, please? Here is one of the 4GL statements I need to convert. for each Part where ( Part.NonStock = false AND Part.InActive =…
Michael Vincent
  • 1,620
  • 1
  • 20
  • 46
2
votes
1 answer

Progress 4gl- internal procedure name

this seems simple to me, but i can not find the proper attribute. for error reporting purposes, i'd like to know the name of the internal procedure i'm in. Here is the simplest of examples: Run Test. Procedure Test. /* how can i display the…
Jeremy_s
  • 21
  • 2
2
votes
0 answers

Kendo UI Grid - how to increase performance when loading large amounts of data

I have a large dataset with around 1000 records. When I load the data with Kendo Grid it takes too long. I don't want to use paging or virtual scrolling. Should it take so long? Is there a way to load the data instantaneously? Its just plain text…
Simmy Dhanda
  • 139
  • 1
  • 4
  • 13
2
votes
2 answers

OpenEdge progress database insert row - Beginner

i need to insert new rows into my database. OUTPUT TO c:\temp\SMLeiste_bearbeiten.csv. DEFINE VARIABLE size AS CHARACTER NO-UNDO FORMAT "x(3)" LABEL "Size". for each S_Artikel where S_Artikel.Selektion matches "KSE*" or S_Artikel.Selektion…
Guardian
  • 23
  • 5
2
votes
4 answers

progress 4gl OpenEdge parse key/value-pair string aka Query-String

I cant find anything on how i should parse a string of key/value paris AKA query-string like this one: FieldType="String"&FieldFormat="^[a-z0-9!#$%&'*+/=?^_`{|}~-]+$" field separators might be contained in the value like the above example this is…
Zesar
  • 566
  • 2
  • 14
2
votes
1 answer

Single pass EDI parsing without an XML schema - Possible?

Before you sigh and hold your head in your hands, please understand that I'm working with a pretty old system on a rather tight timeline. We have a single pass EDI parser written in a business language. Currently, the data definitions including…
2
votes
3 answers

Length of Array in progress?

Given two arrays, ( for example 1,2,3,4,5 and 2,3,1,0). Find which number of first array is not present in the second array. How can i get Length of Arrays in progress 4gl ?
The Reason
  • 7,705
  • 4
  • 24
  • 42
2
votes
1 answer

Dump subset of records in an OpenEdge database table in the ".d" file format

I am looking for the easiest way to manually dump a subset of records in an OpenEdge database table in the Progress ".d" file format. The best way I can imagine is creating an extra test database with the identical schema as the source database, and…
Bill
  • 97
  • 2
  • 9
2
votes
1 answer

Progress 4gl Matches Queries

I'm having a problem with Progress, our usual programmer for this is out for the holidays and I have no real knowledge of the system. I need to get a list of Branches that are not one of these codes …
Jesse
  • 27
  • 7
2
votes
1 answer

Openedge syntax for TIME minus 4 hours

I am trying to figure out how to write a Openedge query where i can look back 4 hours. i have struggled with the TIME syntax before. If i understand correctly, the TIME representation in Openedge is in seconds starting from midnight. The query i am…