Questions tagged [4gl]

A programming language with a specific domain intended, such as business or science, in which the basic units are of a higher abstraction or power.

Following on the heels of 3GL languages such as C, COBOL and Pascal, the promise of the 4GL was to solve the problem at a higher level of abstraction. A 4GL would be designed with a specific problem domain in mind, such as commerce.

Many 4GLs did not go on to fulfill their initial promise, as 3GLs continued to expand in power and scope, and standardized libraries became more pervasive. The line today between a 3GL and a 4GL is blurry; most modern languages could be considered 4GLs.

Simply tagging your post should be avoided. It's better to tag your post with a tag of your specific 4GL-language. Or at least add the language tag to the 4GL-tag.

Examples:

Informix 4gl can be tagged .

Progress 4GL/ABL -->

Ingres -->

etc.

137 questions
1
vote
1 answer

How to list all lines in a field with Progress 4GL

An address field in a Progress database evidently is multiple lines. So if I do something simple like: for each customer where customer-number = "123" no-lock. display customer-number customer-name customer-address. I get results…
Trey
  • 13
  • 2
1
vote
1 answer

Can't debug using Informix 4GL Interactive Debugger

I am pretty new to Informix and I have a program that I am adding some functionality to. It seems that the program has some existing issues with it though. When I run make -f makefile.mk I get success and the .4ge gets generated and I am able to run…
1
vote
2 answers

What does String formatter "<<<&" in Informix 4GL code mean?

I am reading through a legacy 4GL script. In the report section I came across the following: int_type_variable USING “<<<&” I understand this is supposed to convert the integer into a String using the String formatter. According to IBM Informix…
Ron
  • 107
  • 1
  • 11
1
vote
1 answer

Can Python talk to Informix 4GL Forms?

I am an Informix 4GL developer. Due to maintainability I was tasked to write a wrapper to automate some tasks on a 4GL forms based command line application. Does anyone have any idea how this can be done on python ? (I‘ll take other languages too…
Karl
  • 103
  • 1
  • 1
  • 7
1
vote
2 answers

Command (.4gl) executed with SSH.NET SshClient.RunCommand fails with "No such file or directory"

I have a web service that uses SSH.NET to call a shell script on a Unix box. If I run the script normally, it works fine, does its work correctly on the Informix DB. Just some background: I call a script that executes a .4gl (cant show this as its…
JvD
  • 382
  • 2
  • 14
1
vote
1 answer

How to tell if a row is locked?

When doing select on a table row in INFORMIX, how do you know if it is currently being locked by another user without using "for update" construct?
mihirp724
  • 119
  • 5
1
vote
2 answers

Informix 4GL report to screen - Reverse

I have a generated report in Informix 4GL that prints to the screen. I need to have one column displayed in reverse format. I tried the following: print line_image attribute(reverse) But that doesn't work. Is this possible at all?
Moses Davidowitz
  • 958
  • 11
  • 24
1
vote
1 answer

Progress 4GL - get today + 1 day

Today keyword gives me today's date, but how can add one (or more) days so I can compare it? I've tried the following code. FOR EACH foo where date(today) +1 > end_date NO-LOCK The error I get is "PREPARE syntax is {FOR|PRESELECT} EACH..."
Baked Inhalf
  • 2,358
  • 21
  • 38
1
vote
1 answer

OpenEdge - Progress ABL: How to open a web browser inside a dialog window

For the moment i have a code that allow me to open a web browser directly from my Progress application. DEFINE VARIABLE cProgramName AS CHARACTER NO-UNDO. DEFINE VARIABLE cPageAddress AS CHARACTER NO-UNDO. DEFINE VARIABLE iReturnResult AS…
hamzarh
  • 330
  • 2
  • 6
  • 19
1
vote
2 answers

Progress 4GL nesting blocks to display related data

First all I'm very new to Progress 4GL and still trying to get my head around how nesting FOR EACH blocks works. I have the following two tables that I'm getting information out of, ivc_header and ivc_mchgs: ivc_header invoice_nbr |…
CuriousOne
  • 51
  • 9
1
vote
4 answers

Use an "IF statement" on the "ORDER BY" in a report in INFORMIX 4GL

I'm having a report which is called many times but I want the order to be different each time. How can I change the "order by" depending on a variable. For example report print_label() If is_reprint then order by rpt.item_code,…
Moses Davidowitz
  • 958
  • 11
  • 24
1
vote
1 answer

Position the cursor to end of line

I am trying to validate an input, if invalid; I want to return to that field but to the end of the line. I don't want the cursor to jump to the beginning of the line. Rather, to the end. Any idea? I moved my code from "after field" to "on key…
Moses Davidowitz
  • 958
  • 11
  • 24
1
vote
1 answer

Can a Progress Client & ODBC Client access a Personal database at the same time?

Working on Progress 9.1E on a Windows box. We've got a standard 4GL GUI application up and running which connects to a series of personal databases running on the same box. It's sort of like a big graphical catalogue application with ordering…
Mat Nadrofsky
  • 8,059
  • 8
  • 47
  • 73
1
vote
1 answer

ON CTRL-D how to use it?

In this program if you select item code it will display 3 fields and asks for update if you update it will update the records. Up to this program was fine. I added one condition if user press Ctrl+D it asks for delete question yes or no, it it is…
Lovely Bobby
  • 43
  • 1
  • 6
1
vote
1 answer

SAS %errmail macro

Although I have the error handling: filename myfile email to=&e_mail. …
aola
  • 87
  • 2
  • 8
1 2
3
9 10