Blogs

Memroy

Progress uses the buffer pool which is the single largest memory usage by the database engine. Other than that, the 102B user each uses around 30M of memory. So for 1000 users, the system will use about 4G of memory and that is not a lot. The VST stats are part of the memory, they go away when you shutdown the database. VST has many parts, so if you are not careful, they might bite you when you least expected.


LRU skip

In the 102B06 release, one of the most beneficial improvements is the LRU skip.


Tool to Explore the Program

Hi All,

I want a tool which helps me in getting the info of all called procedures and include files inside an external procedure. I came to know that there is a tool called Pro Explore which helps solve this purpose. But I am not able to get that tool here. I am not sure if I am searching with the right name. If anyone have some idea of such a tool kindly let me know which would be helpful for some of my development purpose.

Regards
Mani


Progress 4GL Contractors

If you are in need of Progress 4GL resources or contractors please email progresscontractjobs@gmail.com


Soundex Sample

Soundex sample

{slib/slibstr.i}

message str_soundex( "Alon" ) str_soundex( "Alan" ) str_soundex( "Allon" ).


text color

I am trying to come up with an off blue color for my text using PDF Include. I downloaded some freeware called color spy and it told me the red,green,blue values for the color I am trying to create are 25,123,181. when I code the following statement the result is I cannot see any text at all. What am I doing wrong?
"RUN pdf_text_color ("pdffile",25.0,123.0,181.0)."


Why Can't I Use a Bullet Character - CHR(149) - MESSAGE alert-boxes?

They don't show, even though I am using the standard character set, and this is a standard ASCII character.

MESSAGE "This is a bullet:" CHR(149) VIEW-AS ALERT-BOX.
... shows no bullet.


inserting .tif images into PDF file

Does anyone know if it is possible to use PDFinclude to insert .tif images into a PDF file instead of .jpg files for images?


Can't get schtasks.exe to work in Windows 7

I have a functioning command in Windows XP to schedule a task to run every minute with the Windows scheduler. It looks like this:

ASSIGN l-cmd = 'schtasks /Create /SC minute /RU "" /TN "Capture AutoSync" /TR "\"C:\Auto.lnk"'.
OS-COMMAND NO-CONSOLE VALUE(l-cmd).

On Windows 7, I get "The task XML is missing a required element or attribute."

However, the MS example (from their website) shows the following example:

SCHTASKS /Create /S system /U user /P password /RU runasuser
/RP runaspassword
/SC HOURLY /TN rtest1 /TR notepad


OS-COMMAND Fails Due to Windows Command-Line Parsing

I know I have seen the solution for this before, but I'll be darned if I can find it...

Windows does some funky parsing of command line parameters, requiring embedded quotes, tildas, etc. to pass a parameter that has embedded quotes from OS-COMMAND. Hoping somebody has the key.

Example:

l-db = "C:\My Folder\My Subfolder\My.db".
l-cmd = "C:\PROGRESS\OpenEdge\bin\prostrct repair " + l-db.

OS-COMMAND VALUE(l-cmd).

I've also tried:

l-db = "C:~"\My Folder~"\~"My Subfolder~"\My.db".
l-cmd = "C:\PROGRESS\OpenEdge\bin\prostrct repair " + l-db.


Syndicate content