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.

175 questions
2
votes
1 answer

Creating a temporary table in informix 4gl using prepare statement

I've been trying to create a function to load some files insert them into a temp table based on an existing table, then verifying that there are not duplicated rows on the files loaded and then inserting them into proper tables in the DB, tried…
2
votes
3 answers

Using delimiter while creating excel sheet in progress 4gl

I have 3 .txt files and I am using COM-Handle to create an Excel sheet. Can anyone help me how to set the delimiter? My Excel sheet is getting created but the columns are not comma separated. Please see attached screenshot of the file I got. I…
Nidhi
  • 25
  • 4
2
votes
2 answers

What is the difference between 4GL and DSL?

What is the difference between 4GL and DSL? Both seem to target a specific domain, but is it safe to say that 4GL is business oriented, while DSLs target any possible domain?
Michiel Borkent
  • 34,228
  • 15
  • 86
  • 149
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
3 answers

Comparison with NULL value and date in 4gl

I have a value comming from database which is a date in informix.Sometimes this value will be null or else it will be a date.I am comparing that value with todays date like the following. if(value_from_db <= todays_date){ //display Todays…
웃웃웃웃웃
  • 11,829
  • 15
  • 59
  • 91
2
votes
1 answer

Tibco RV and threads

I'm facing a difficult situation while running an application built with IBM Informix 4GL and Tibco RV library (libtibrv.so). Informix 4GL is not thread safe and Tibco always create a thread (I think it creates it as sson as we call tibrv_Open(),…
Fernando Nunes
  • 391
  • 1
  • 6
2
votes
2 answers

Function definition not found in 4gl file

I am working on 4gl language but a new bie. In a file custom.4gl a function cleanup() is called, but I didn't find the function definition. I am trying to find that. I got a file named 'tags' with following line of code in which a hint for cleanup…
Kiren S
  • 3,037
  • 7
  • 41
  • 69
2
votes
2 answers

What are the main competitors to Servoy?

Our company uses Servoy for rapid application development. It is a 4GL environment, that can target web-applications running in Tomcat as well as Java applications, all from the same program. While it is standards based, some aspects of the…
Fred Barnes
2
votes
0 answers

Equivalent of 4gl "RECORD LIKE" statement in Java

In 4gl, the statement DEFINE IO_AFPOPF1 RECORD LIKE AFPOPF1.* means all content of table AFPOPF1 assigned to IO_AFPOPF1 variable. If AFPOPF1 table changes, IO_AFPOPF1 also changes automatically. Can I do the same function in Java? Now I just define…
user1774492
  • 71
  • 2
  • 3
2
votes
1 answer

How do I reference a TEXT type in Informix 4gl?

I have the following code in a 4gl module: DEFINE f_drec RECORD LIKE verhistd.* DEFINE f_input RECORD long_desc LIKE verhistd.long_desc END RECORD Let f_input.long_desc = f_drec.long_desc Where verhistd.long_desc is a TEXT data type. …
Richard Holyoak
  • 569
  • 5
  • 18
2
votes
2 answers

Turning off "Wy-60" in 4GL Informix?

We have an Informix 4GL forms interface to our database, accessed using a terminal emulator running in WY-60 or "Wyse-60" terminal emulation mode. From what I'm reading, where I would previously understood a "terminal" to just be a display of a text…
Frosty840
  • 7,965
  • 12
  • 50
  • 86
2
votes
1 answer

Type Conversion in Informix 4GL

I want to convert a variable of type VARCHAR to INTEGER and vice versa (i.e. from INTEGER type to VARCHAR) in Informix 4GL.
Abhi421987
  • 107
  • 2
  • 6
1
vote
2 answers

Removing similar rows in SAS

I've got two tables with similar structure: - First table: id and col1,col2,col3 - all numerics. - Second table: id and col4,col5,col6 - all numerics. I want to remove from the first one all rows which are similar to any of the rows from the…
Tomek Tarczynski
  • 2,785
  • 8
  • 37
  • 43
1
vote
2 answers

Pretty Print for (Informix-)4gl code

i'm searching for a pretty print program (script, code, whatever) for Informix-4GL sources. Do you know any ? Than you, Peter.
peterm
1
vote
1 answer

Variable variables in Progress 4GL

Is there a way to dynamically reference a variable? Apparently value() does not work on a variable reference. def var export-columns as char extent. def var i as int. def var my-columns as char extent ["column1, column2"]. export-columns =…
jpfuentes2
  • 2,085
  • 1
  • 18
  • 19
1
2
3
11 12