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
0
votes
1 answer

How to create Pascal?

I am very difficult to display all the output results. this code. DEF VAR INPUTAN AS INTEGER. DEF VAR i AS INTEGER. DEF VAR j AS INTEGER. DEF VAR a AS INTEGER. DEF VAR rows AS INT. DEF VAR pascal AS CHAR FORMAT "x(25)". SET INPUTAN. a = 1. REPEAT i…
0
votes
1 answer

Is there a way of using the "Segoe MDL2 Assets" Icons as Image-sources in Genero 2.5?

As far as I know, you can use only actual images/URLs to images as sources for the image-attribute. Is there a way to circumvent this restriction and use the icons of a font like the one stated above? Currently using Genero 2.5.
A-Tech
  • 806
  • 6
  • 22
0
votes
1 answer

how set code page to export xml file ion progress 4gl

In the case when generating the xml I wanted to define the utf-16 code page when generating the file in the command: hDoc: SAVE ("file", "c: \ tmp \ lantek.xml"). (export to utf-16)
0
votes
2 answers

how to make function in react js.with function definition and function call

how to make function in react js .in my below code i try to make function in react js. i want to make in my below code some function in written but i want to make this function is written in react js . how can we we write this function in react…
sneha
  • 183
  • 1
  • 5
  • 14
0
votes
1 answer

Looking for Informix4GL by Example header file 'fgicfunc.h'

I am working through the Informix4GL by Example cookbook. Exercise 13 deals with creating external callable modules written in C. The example code contains this line: #include "fgicfunc.h" But I cannot find this file or a description of its…
James B. Byrne
  • 1,048
  • 12
  • 27
0
votes
1 answer

Is there a way to set the input option "wrap" as the default behavior for an entier project?

When tabbing through an input the default behavior is to exit the input after the last field, instead of going back to the first field. By using OPTIONS INPUT WRAP in the before input block, this can be avoided. However, this has to be done for each…
A-Tech
  • 806
  • 6
  • 22
0
votes
1 answer

Is there a way in Genero 4gl to create a drag and drop to insert files?

In know the method ui.Interface.frontCall to open the Windows-Explorer dialog and select files there, but I found nothing so far about an equivalent drag & drop method.
A-Tech
  • 806
  • 6
  • 22
0
votes
1 answer

Copy some table records into the same table make some problems

DEFINE BUFFER bfSource FOR tableA. DEFINE BUFFER bfTarget FOR tableA. DO FOR bfTarget TRANSACTION: FOR EACH bfSource WHERE bfSource.user_id = 0 NO-LOCK: CREATE bfTarget. BUFFER-COPY bfSource EXCEPT id TO bfTarget. …
JulesVerne
  • 43
  • 8
0
votes
1 answer

Progress 4gl - change font color of specific values while exporting temp table to .html file

I have a situation where I would like to change the font color of the specific values in a temp table while exporting to .html using progress 4gl. Below is the program I wrote to output the values to .html file. Please help me to solve this. OUTPUT…
0
votes
1 answer

Trying to write to VIM from Genero using 4gl

I would like to open a .4gl file in VI terminal and write to it, this is the code I have currently: let p_command = "test -f ", MTGENDIR CLIPPED,"/",p_prog clipped,".4gl" run p_command returning p_status let p_command = "vi ",p_prog…
0
votes
1 answer

decimal number valued datetime formatting in 4gl

The value of the field is in (deci-5 99999999.99999) format, like: 20201231.65624 where 2020 is year, 12 is month, 31 is date and .65624 is the hour and minute value. I want to display it like 31/12/2020 18:13. I mean DD/MM/YY hh:mm like this…
Rafailo
  • 29
  • 4
0
votes
0 answers

Progress 4GL DECRYPT fails

I need help. I ENCRYPT json packages with our clients' data with AES_CBC_256 and a different key for each package. Out of about a million data packets generated, the first several dozen cannot be DECRYPT, which returns "?" Subsequent data packets…
0
votes
1 answer

FORALL LOOP in oracle update not respecting a where clause (inside SAS proc sql)

i am trying to update over 500 millions records with forall loop inside proc sql of SAS, I want to take the value of NG_OFRRELPRD1 from CMBATCH.HashedCNumbers and put it into CDM.EVN_OFFER_ARCH using the UNIQUE_ID field in both tables. here is the…
Mari
  • 143
  • 10
0
votes
1 answer

Passing a date parameter into a SAS code from table

I have to perform a number of processing for past 2 years (2017-2019) within SAS for every month. I have a job that uses a YYMMDD parameter to indicate what data should be used from the data warehouse. Lets say i have a table with JOB_NAME and…
Mari
  • 143
  • 10
0
votes
1 answer

how to create variable column from my table SAS 4GL - RETAIN?

I have dataset in the followin format. The first 5 variables are already exist. I need to create the "NEED_TO". It means that after row with '1' on column MTH_SATTL and when date on START column is older then date on DATA column then fill in 1 till…
ecart
  • 3
  • 2