Search results

  1. RealHeavyDude

    Socket programming with Java - can't send data to Java

    In your ABL code, the input to the socket must contain a line break terminator '~n'. Otherwise nothing will be written onto the socket.
  2. RealHeavyDude

    Question How to change the Freeze / Unfreeze status of all tables in a database using the progress editor?

    Just my 2 cents: You should protect your database against unauthorized access instead of freezing the schema. Freezing the schema does not distinguish - that means when your try to apply a legit schema update you will fail miserably unless you unfreeze the involved tables in the first place...
  3. RealHeavyDude

    Type 1 and type 2

    The point is that with a storage area of type I you don't have any control over what is stored in the blocks. To be precise, records from different tables can and will be stored in one database block. In a storage area of type II only records from one table a stored in a database block. Plus...
  4. RealHeavyDude

    ROWID when a lock is on the run

    If you need the ROWID of a record for which you only know the RECID then you have basically 1 1/2 options: For understanding the difference between RECID and ROWID you may want to have a look @ Progress KB - FAQ: Recid and Rowid. You fetch the record with the RECID ( bufferName no-lock where...
  5. RealHeavyDude

    mfg/pro on Unix, .Net Open Client with WCF webservice on Windows - How to connect?

    The .NET Open Client uses a TCP network connection ( host and port ) to connect to the AppServer. From that point of view it is not relevant on which operating system the AppServer is running - given that the OS is supported by Progress of course. In almost all casese you may want to host your...
  6. RealHeavyDude

    ROWID when a lock is on the run

    You get the RECID - which, in a nutshell, is the predecessor of ROWID. Although one is urged to use ROWID and forget RECID, it is still used in many places in the meta-schema, VSTs and other system tables. One of the disadvantages of RECID - amongst lots of others which are more relevant to not...
  7. RealHeavyDude

    The Keyword forget list and other nuggets

    IMHO one always needs to balance between code transparancy and readability and not having to code lots of "boiler plate" code. Of course it is up to each developer to decide, but, I've been forced to wade through so much bad code that I am in favor of code transparency and readability. Using the...
  8. RealHeavyDude

    Progress 9.1E : How to fix errn0=22.(781)

    There was a similar issue with OE10.2B and Windows 7. Maybe this is relevant for your socket errno=22.(781) Nevertheless, Progress 9.1E is more than 20 years old software which isn't supported on Windows 10. I doubt that it even was supported on Windows 7. I guess there is something in the...
  9. RealHeavyDude

    The Keyword forget list and other nuggets

    There may be lot of others - but to me the RELEASE statement regardless of the case it is coded in belongs there too. I've not had one valid case to use it in some 25+ years.
  10. RealHeavyDude

    Question Difference between HTTP and HTTPS-Request ?

    So far I've never used the built-in OpenEdge.Net.HTTP client since it doesn't support the SSL client certificate which is required in the environment I work in. I did use the Microsoft .Net HTTP client on Windows and wget or curl on Solaris to do the job. I have several different scenarios where...
  11. RealHeavyDude

    Avoiding SSL-Verification

    Forgot to add: The Google Chrome and M$ browsers like Edge and IE use the Windows certificate store ( Mozilla FireFox uses its own ). Via the MMC (Microsoft Management Console) you can also export root certificates from the Windows certificate store and import them into the Progress OpenEdge...
  12. RealHeavyDude

    Avoiding SSL-Verification

    As fas as I know, the no host verify still needs the root certificate but it does not verify the host name in the ssl server certificate presented to the client. Without no host verify, when you visit for example www.amazon.com the host name in the ssl server certificat must match the domain...
  13. RealHeavyDude

    Question Write an ABL program which captures the triggers of Customer table and stores it in a table "EventLog" (action,time,date,oldvalue,newvalue).

    Without providing detailed information on your requirements it is not possible to give a proper advice. There are many possible solultions if you want to create some form of audit. But which one is the one that suits you best depends. Using 4GL procedures has one big disadvantage which...
  14. RealHeavyDude

    Question How to calculate the best number of records per block for Storage Areas

    For one - in recent version of OE11 you should be fine with 8K block size on Windows too. There are old versions of OE10 and Progress V9 in which you could end up with a silently corrupted database. You still could end up with a corrupted database in more recent versions of OE11 but it won't go...
  15. RealHeavyDude

    REST API on Unix (Solaris)

    The first is the built-in WebService client for - as far as I know - SOAP based WebServices only. The latter is the one you need for REST based WebServices. But, I have to admit that I haven't used the first one in years and the latter one not all since the environment I am working requires the...
  16. RealHeavyDude

    REST API on Unix (Solaris)

    AFAIK, you only need to use the .NET HTTTPClient when the web service you are calling requires the client to present the SSL client certificate. If that is not the case then you should be fine with the HTTP client incorporated into the ABL.
  17. RealHeavyDude

    Question about compatibility with Red Hat Linux?

    Does that help? OpenEdge 11 Platform and Product Availability Guide (PAG) - Updated on January 10, 2017 - Documents - OpenEdge General - Progress Community
  18. RealHeavyDude

    Question Import SSL Certificate from CA to AppServer

    You need a PEM file - not PPK. Never had anything to do with PPK so I can't tell much about it. The PEM file must contain the private and public key and mine look like this: -----BEGIN CERTIFICATE----- ... -----END CERTIFICATE----- -----BEGIN RSA PRIVATE KEY----- Proc-Type: 4,ENCRYPTED...
  19. RealHeavyDude

    Question OOABL, BLOCK-LEVEL ON ERROR UNDO, THROW. & CATCH eAppError

    For one I found out the hard way that a return error, especially when returned from the constructor or a property setter, is not always caught in the caller as I expected. Since I like my code to hold water I changed my habit and always undo and throw a new AppError instead. I think mixing an...
Back
Top