4GL/ABL General Programming


How to execute mfg/pro progress code in unix by bash file

Dear all,

I want to call progress code by bash scripts.
The db version is progress 9.1d.
The bash code like this:

#!/bin/sh

DLC=/mfgpro/dlc91d;export DLC
PATH=$PATH:$DLC;export PATH
PROMSGS=$DLC/promsgs;export PROMSGS
PROTERMCAP=$DLC/protermcap;export PROTERMCAP
PROPATH=$PROPATH:/mfg/hhh/,/mfg/hhh/ch/xx,/mfgpro/qadeb2sp4/,/mfgpro/qadeb2sp4/bbi,/mfgpro/qadeb2sp4/src/,/mfgpro/qadeb2sp4/xrc; export PROPATH

#$DLC/bin/mbpro -pf $1 -p $2 > /dev/null
$DLC/bin/mpro -pf $ -p $2

The parameter 1 is db pf file.
The parameter 2 is my progress code.


Progress Naming Conventions

Is there any community information out there in the Progress world on naming standards?


Trying to run GUI on Linux?

Hi,
I wanted to run prowin (10.1b) gui with Wine in Debian 6. Infact It's working slow but working...

When I start the program the procedure screen comes with the error "Put/Get functions not allowed on uninitialized memory. (2914)". This screen stay on the window but my code is working normal. When I close my GUI code then this error procedure screen disappear...

Any information?...

Regards,
Mucip:)


Error 303 when running a process

Hello,

I'm not sure it's the right forum, but i hope somebody could help me.

I'm using progres 9.1B on unix systeme.

I run a progress procedure. I'm reading a first file and i use the data of this file to write another file. During the treatment, the following error occured "UNIX maximum file size exceeded. . (303)".

But the size of my input file is only 122 M, and it stops to write the output when the size of the output is 76 M. When i use the ulimit command on my system, it returns "unlimited".


Spreadsheet Generator for Progress

I have come across what appears to be a good and thorough Progress program that will generate excel spreadsheets on Linux. This is the link :
http://code.google.com/p/spreadsheet-generator-for-progress/

but there no contact info in the manual and the only contact on the web page is the email. Has anyone heard of this program or is there a similar solution available.

Many Thanks
Gary


Loading data definitions from 4GL

Hi,

Is there a way to load data definitions using 4GL code?

Thanks in advance

Stuart Richler


Performance issues

hi to all im new in here also kinda newbie in oe i have some problems about db server and client performance forgive me if i posted this message to wrong forum.

how can i maximize size of cache openedge using. recently i tried to use client and server performance parameters
but i couldnt make a progress. how can i prepare high performance db and server client relation. i am inexperienced about db management.

thanks for your interest.


progress and google maps

Hope you are well...

Was wondering if anyone has had any experience with using the google Maps in a progress environment

I've gotten as far as using a static map and manipulting the URL
So building up a URL like

http://maps.googleapis.com/maps/api/staticmap?size=1000x600&maptype=roadmap&markers=color:blue%7Clabel:A%7C"kanaalweg+9411"&markers=color:green%7Clabel:B%7C"kernweg+1627"&markers=color:red%7Ccolor:red%7Clabel:C%7C"eikenlaan+2404"

Then using a web browser OCX to post the URl this then displays the Map

Has anyone had any dealings with putting in waypoints and routes etc


Write Trigger

How do I know triggger write a new record in


Finding the name of the calling procedure...

Hi...

I'm trying to develop some code which writes an audit record.
Basically I want to put the calling procedure name into record when I write it

The code is run something like this

/*Test.p*/
run pctest.
Procedure pcTest:
run audit.p("this is some audit code")
end.

How can I get access to both the name of the .p and the name of the internal procedure from within audit.p??????

i.e. test.p pcTest

I want to write this to the log file so I ca easily see what called it

Thanks in advance
ryan


Syndicate content