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

data set: This engine does not support the REPLACE option

data ABC.TABLE_1 (REPLACE=YES); set ABC.TABLE_1 (OBS=0); run; ERROR: The TERADATA table TABLE_1 has been opened for OUTPUT. This table already exists, or there is a name conflict with an existing object. This table will not be replaced.…
aola
  • 87
  • 3
  • 8
0
votes
2 answers

How to find end of line or start of new line in progress openedge 4gl?

I have a .csv file and I need to manipulate the data based on start or end of a line . How can I find starting point of each line ?
mac100
  • 137
  • 2
  • 13
0
votes
1 answer

sas penultimate &syserrortext

How can I get the penultimate &syserrortext? %if %length(&syserrortext) ne 0 %then %do; because I suppose %abort cancel; overrides me an error that interests me. thanks for help, aola
aola
  • 87
  • 3
  • 8
0
votes
0 answers

polish characters in the file, include function - sas

I have a problem with include function in Enterprise Guide, I have a polish e-mail there, but instead of polish characters I just see � If I don't use the include function and I have the e-mail directly in the sas program - is ok, when I do it…
aola
  • 87
  • 3
  • 8
0
votes
2 answers

How to trim a string from leftmost nearest + and rightmost nearest +? in progress 4gl

I need to trim a string , say abc+cd+ze:::123:::12+abcd , given 123 , I need to extract ze:::123:::12.
mac100
  • 137
  • 2
  • 13
0
votes
2 answers

Check if something got committed after an update in Informix 4GL program

I have to check upon saving my 4GL program if changes were actually made in this update. Sometimes users will just update and save but no updates were actually made to the tables. I would assume that throughout the update it must do a commit work to…
Moses Davidowitz
  • 982
  • 11
  • 28
0
votes
1 answer

Installing AUBit4GL via binary package

I am trying to experiment with AUBIT4GL, an Informix clone. I am running into a problem with the process as the steps outlined in the manual and the instructions given in the ./etc/aubitrc file seem to be a tad incomplete. My questions are: What…
James B. Byrne
  • 1,048
  • 12
  • 27
0
votes
3 answers

Issue calculating month end date in 4GL

This routine is returning 12/31/2016 instead of 12/31/2015 and messing up a report. Any idea where it is going wrong? LET date_month = MONTH(p_selection.date_from) IF date_month = 12 THEN LET date_month = 1 LET p_selection.date_from =…
0
votes
2 answers

have 2 C files which I need to link with the compiler

So I finally cleared all the errors and warnings on the C files, and proceeded to link them. I have 2 C files which I need to link with the compiler. et5ibwqm0.c intfac_fl.c The compile command I was provided: gcc -shared -o et5stcklib.so…
0
votes
3 answers

Informix 4gl Split a String or Char

I wanted to know the Informix 4gl command to split a variable such as lv_var = variable01;variable02 into lv_var01 = variable01 lv_var02 = variable02 Is there something in Informix 4gl that can do this. In python I could do lv_array =…
TheLovelySausage
  • 3,838
  • 15
  • 56
  • 106
0
votes
1 answer

Why does this OpenEdge 10.2B Code work, and not generate a run-time error?

Shouldn't this simple program generate a run-time error? When I run it, the value of 4 is displayed on the screen. RUN pTest ( 2 + 2 ). PROCEDURE pTest: DEF INPUT PARAM cData AS CHAR NO-UNDO. DISPLAY cData. END.
Bill
  • 97
  • 2
  • 9
0
votes
2 answers

I4GL to .NET — trying to understand decimal and int

Coming from .NET, I'm trying to understand the following. DEFINE total_real DECIMAL(12,5) DEFINE total_dec DECIMAL(6,5) DEFINE total_int SMALLINT LET total_real = (total_real / 50) LET total_int = total_real LET total_dec = total_real -…
causita
  • 1,607
  • 1
  • 20
  • 32
0
votes
2 answers

Positioning a 4GL window in center

I'm having multiple windows throughout my 4gl program where I have to position to the center of the screen. For example: OPEN WINDOW w_yesno AT 10, 10 WITH 4 ROWS, 56 COLUMNS ATTRIBUTE (BORDER, MESSAGE LINE FIRST+1, PROMPT LINE…
Moses Davidowitz
  • 982
  • 11
  • 28
0
votes
1 answer

How can I make the Informix 4GL press a key for me?

I have a situation where the program waits for the user to press accept and then starts to do some actions. If a certain condition is true, I would like to get all the actions. I could type: if condition = true then ... But the 'then' is too much…
Moses Davidowitz
  • 982
  • 11
  • 28
0
votes
1 answer

Concurrency Operation in Progress 4GL

REPEAT With FRAME: prompt-for IN-SCAN3.scan. if input IN-SCAN3.scan="" then Do: Message "please input date.". undo,retry. end. else DO: FIND FIRST in-scan3 USING IN-SCAN3.scan NO-LOCK NO-WAIT NO-ERROR. if avail In-scan3…
kevinwong
  • 1
  • 1