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

Reading input string from a text file in progress4gl

I have a .txt file having some text. I want to read this file and store it into a string. Is there available any function for that? Or how to do it ? please help
Bhavin Bhaskaran
  • 572
  • 5
  • 17
  • 41
2
votes
1 answer

Using pstimer to run an event

I want to execute a function or a procedure or a block in regular intervals of 60seconds. Do i have to use PS timer for that? let this be my block MyString = myEditor.Screen-Value. Message MyString. //myEditor is my Editor widget in the frame. //My…
Bhavin Bhaskaran
  • 572
  • 5
  • 17
  • 41
2
votes
3 answers

Copy character values from character array variable to character (string) variable

this is my issue define varibale MyArray as character extent 40 no-undo. define variable Mychara as character no-undo. Mychara = "hai this is checking how to copy values" Now i want to copy this string to my "MyArray". So that it should…
Bhavin Bhaskaran
  • 572
  • 5
  • 17
  • 41
2
votes
4 answers

Progress 4gl and C structs

I need to work in a project that involves interaction between a Progress 9.1D application and C language functions. I'm in charge of writing the C function, and the Progress people have asked me to investigate if it is possible to send a Progress…
user1274605
  • 405
  • 2
  • 6
  • 17
2
votes
2 answers

Getting Updated Value while using lock?

this is my first Procedure. define frame LockFrame Customer.Name Customer.CreditLimit Customer.Balance. pause. DO TRANSACTION: for each Customer exclusive-lock: assign Customer.CreditLimit = Customer.CreditLimit + 5. pause 1…
Bhavin Bhaskaran
  • 572
  • 5
  • 17
  • 41
2
votes
1 answer

Is there a Microsoft SQL Server Profiler equivalent for Progress OpenEdge ABL?

I am looking for an equivalent of Microsoft SQL Profiler for a Progress 4GL database.
Daria Trainor
  • 5,545
  • 4
  • 23
  • 30
2
votes
1 answer

How to make OpenEdge ABL loop continue after error

I would expect the following loop to execute 5 times, going to the next iteration if an error occurs, but it stops after the first iteration. What am I doing wrong ? I can make it continue even if errors occur inside the loop by placing an extra do…
carl verbiest
  • 1,113
  • 1
  • 15
  • 30
2
votes
1 answer

already exists with Record ID 0. (132) - PROGRESS 4GL
I have written below query to create a record in table but its throwing error - " already exists with Record ID 0. (132)". I queried the table but record is not available. I am not sure why am getting this error. Kindly help on the same. define…
David
  • 23
  • 3
2
votes
1 answer

How to use more than one screen with Progress Openedge

Is it possible to define on which screen a window appears? I tried to find a solution, but all the time get only info about how to put somthing on screen or how to monitor a database.
JulesVerne
  • 43
  • 8
2
votes
2 answers

My file is not being created in the mapped drive when I try to create it using progress 4gl

I mapped a drive and tried to generate a text file through progress 4gl in that mapped drive. But file was not generated in that mapped drive. When I tried to generate the same file in a local drive then it was generated successfully. Can someone…
2
votes
1 answer

Create XML file via Progress 12 using WRITE-XML statement

I am trying to generate an XML file in Progress 12 using temp tables and a WRITE-XML statement. I am almost there. The format should be xxx
JSS
  • 27
  • 2
2
votes
2 answers

Using num-entries() with more than one possible delimitor

I have a list of email addresses that I am reading in from a csv file, that are sometimes separated by commas and sometimes by semicolons when the person has more than 1 email address. Examples: Pin email_address 11 heidi@gmail.com,hh@yahoo.com 12 …
Felice
  • 61
  • 5
2
votes
1 answer

What happens if we don't delete object handle? How it affects? How do we see that? - PROGRESS 4GL

I am using below query which has handle but I can see nothing happens even if I delete/not delete the object of the handle. But everyone says always delete the object finally. Why we need to delete them? what happens if we don't delete them? How do…
Bharat
  • 177
  • 7
2
votes
1 answer

PROGRESS 4GL - When to use FOR FIRST, CAN-FIND and FIND FIRST?

I am new to progress 4GL. I'm always willing to write a proper code and willing to know each end every keyword that we are using but following sample queries giving same results. I don't know when to use FIND FIRST, FOR FIRST and CAN-FIND? Please…
Bharat
  • 177
  • 7
2
votes
2 answers

How to run .exe/.bat file with INPUT/OUTPUT in Progress 4GL

I try to create a PDF-File via wkhtmltopdf.exe in Progress4GL. I have written a procedure which downloads a html file as an INPUT. procedure downloadhtml: define input parameter i-benutzer as character no-undo. define variable…
NudeDude
  • 25
  • 4