Archive for the Category: macOS (Mac OS X)

Capitalware releases World Clocks v1.0.0

Capitalware Inc. would like to announce a new ‘Licensed As Free’ product called: World Clocks. World Clocks application allows the user to quickly view the time and date from various time zones from around the world. World Clocks can display as many time zones that will fit on the user’s display. Vertical layout (default) Normal […]

Also posted in Capitalware, Licensed As Free, Linux, Windows Comments Off on Capitalware releases World Clocks v1.0.0

What time is it in a customer’s time zone?

I have customers from various cities around the world. Sometimes when I working on a problem, I like to stay focused on it. So if I get an email from a customer somewhere else in the world, I like to know if I need to answer it ASAP (because it is off hours for them) […]

Also posted in Capitalware, Linux, Windows Comments Off on What time is it in a customer’s time zone?

IBM MQ, Java and MQ MI and/or MQ HA

Sometimes you come across things that make you just scratch your head and say who the hell wrote this @#$% code. I’m not trying to say that I’m the world’s greatest programmer but some of the shit that the MQ/Java team writes just makes my head spin. They need to share what they’re smoking! IBM’s […]

Also posted in HPE NonStop, IBM i (OS/400), IBM MQ, IBM MQ Appliance, Java, Linux, Programming, Raspberry Pi, Unix, Windows, z/OS Comments Off on IBM MQ, Java and MQ MI and/or MQ HA

memmem() Function for a C Program

Last week, I needed a function for a C program that would search a string not null terminated for a string not null terminated. Hence, I could not use strstr() function because it requires the strings to be null terminated. So, I checked my trusty C Runtime Library Reference and found nothing that matched. Now […]

Also posted in C, HPE NonStop, IBM i (OS/400), Linux, Open Source, Programming, Unix, Windows, z/OS Comments Off on memmem() Function for a C Program

Java’s Missing Byte Array Class

After 25 years, it is still surprising that Java doesn’t have a proper byte array class. There can be many reasons that the data a Java program needs to work with is in a byte array. It could be the contents of a file or MQTT message or IBM MQ message, etc. Since there is […]

Also posted in HPE NonStop, IBM i (OS/400), Java, JMS, Linux, Open Source, Programming, Raspberry Pi, Unix, Windows, z/OS 3 Comments

Updated Request & Reply JMS/MQRFH2 Messaging Scenario

The person on StackOverflow made a comment that I was using a static string as my reply message. Humm. Some times people cannot see the forest for the trees. So, I have updated my sample Java/MQ (i.e. MQTest77.java) in this posting to do the following: Connect to a remote queue manager Open an input queue, […]

Also posted in IBM i (OS/400), IBM MQ, Linux, Programming, Unix, Windows, z/OS Comments Off on Updated Request & Reply JMS/MQRFH2 Messaging Scenario

Inhibit/Allow the Get & Put Actions of a Queue

On StackOverflow, someone asked a question about inhibiting get actions against a queue. Here is a simple Java/MQ program that will set inhibit or allow for the GET and PUT attributes of a queue. You can download the source code from here. Regards, Roger Lacroix Capitalware Inc.

Also posted in HPE NonStop, IBM i (OS/400), IBM MQ, IBM MQ Appliance, Java, Linux, Open Source, Programming, Raspberry Pi, Unix, Windows, z/OS Comments Off on Inhibit/Allow the Get & Put Actions of a Queue

Request & Reply JMS/MQRFH2 Messaging Scenario

Sometimes people over think a problem and write a complicated solution when really the solution is no different than any other Request/Reply scenario (use case). On StackOverflow, someone asked a question about sending a reply JMS/MQRFH2 message using the RFH2 header and folder values from the original request message. The code will copy the RFH2 […]

Also posted in HPE NonStop, IBM i (OS/400), IBM MQ, IBM MQ Appliance, Java, JMS, Linux, Open Source, Programming, Raspberry Pi, Unix, Windows, z/OS Comments Off on Request & Reply JMS/MQRFH2 Messaging Scenario

SQLite v3.31.0 Released

D. Richard Hipp has just released SQLite v3.31.0. http://www.sqlite.org/news.html SQLite is a software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine. SQLite is the most widely deployed SQL database engine in the world. The source code for SQLite is in the public domain. Regards, Roger Lacroix Capitalware Inc.

Also posted in C, Database, IBM i (OS/400), Linux, Open Source, Programming, Unix, Windows, z/OS Comments Off on SQLite v3.31.0 Released

JMS/MQRFH2 Message Properties in “other” Folder

On StackOverflow, someone asked about having an “other” folder (not “usr”) with an MQRFH2 (aka JMS) message. That day, I played around with a MQ/Java program that created various folders in an MQRFH2 message. i.e. When I ran a MQ/JMS program to retrieve the messages, the MQ/JMS programs simply ignore all folders outside of ‘mcd’, […]

Also posted in C, IBM i (OS/400), IBM MQ, Java, JMS, Linux, Programming, Unix, Windows, z/OS Comments Off on JMS/MQRFH2 Message Properties in “other” Folder