Archive for the Category: C

EBCDIC Code Pages and Square Brackets

Back in the previous millennium, I created a set of simple routines for handling initialization files (section & parameters) that worked all platforms. i.e. Windows, Linux, Unix, IBM i (OS/400) and z/OS (mainframe). And over the years, the routines have worked well on any platform I tested them on. i.e. Sample initialization file The problem […]

Also posted in Capitalware, IBM i (OS/400), Open Source, Programming, z/OS Comments Off on EBCDIC Code Pages and Square Brackets

NSA Suggests Companies Shift To Memory Safe Programming Languages

NSA is advising companies to look into switching to memory safe languages such as C#, Go, Java, Ruby, or Swift. From the report: https://www.nsa.gov/Press-Room/News-Highlights/Article/Article/3215760/nsa-releases-guidance-on-how-to-protect-against-software-memory-safety-issues/ Here is a direct link to the NSA report: https://media.defense.gov/2022/Nov/10/2003112742/-1/-1/0/CSI_SOFTWARE_MEMORY_SAFETY.PDF Regards, Roger Lacroix Capitalware Inc.

Also posted in .NET, Assembler, C#, C++, Java, Perl, Programming, Swift Comments Off on NSA Suggests Companies Shift To Memory Safe Programming Languages

Idea: Make IBM MQ for Windows on ARM available

I have posted an “IBM idea” called: Make IBM MQ for Windows on ARM available. If you are interested in it, please add your vote/comment to it. Regards, Roger Lacroix Capitalware Inc.

Also posted in C#, C++, IBM MQ, Java, JMS, Operating Systems, Programming, Windows Comments Off on Idea: Make IBM MQ for Windows on ARM available

Putting a File as a Message to a Queue

IBM has posted a support document describing the various ways to put a file as a message to a queue. https://www.ibm.com/support/pages/node/6409594 I would like to point out that both MQ Visual Edit and MQ Batch Toolkit can put a file as a message to a queue. MQ Visual Edit is a GUI program, so you […]

Also posted in Capitalware, HPE NonStop, IBM i (OS/400), IBM MQ, IBM MQ Appliance, Linux, macOS (Mac OS X), MQ Batch Toolkit, MQ Visual Edit, Programming, Raspberry Pi, Unix, Windows Comments Off on Putting a File as a Message to a Queue

C Code to Lookup MQ Reason Code

Starting with the release of IBM MQ v8.0, IBM included a new header file called: cmqstrc.h. The file description says: This file provides mappings between MQI constant values and string versions of their definitions. In the cmqstrc.h file, from IBM MQ v9.2, there are 342 subroutines for looking up the various integer values and returning […]

Also posted in Capitalware, HPE NonStop, IBM i (OS/400), IBM MQ, Linux, macOS (Mac OS X), Open Source, Programming, Raspberry Pi, Unix, Windows, z/OS Comments Off on C Code to Lookup MQ Reason Code

Redbooks on IBM MQ

I have created a new section on Capitalware’s IBM MQ Documentation Library page called Redbooks on IBM MQ. I searched the internet and IBM’s Redbook site and found 20 redbooks on the subject of IBM MQ (formally WebSphere MQ, MQSeries). I have listed them in chronologically order. Note: Some of them may be old but […]

Also posted in .NET, C#, C++, Capitalware, E-Book, Education, IBM i (OS/400), IBM MQ, IBM MQ Appliance, Java, JMS, Linux, Programming, Security, Unix, Windows, z/OS Comments Off on Redbooks on IBM MQ

IBM MQ information from IBM Developer

Here is some IBM MQ information from IBM Developer that you might find interesting: Article: Improving your IBM MQ applications Article: IBM MQ cheat sheet for developers Article: IBM MQ Downloads for developers Tutorial: Writing and running MQ applications on your Mac Tutorial: Secure communication between IBM MQ endpoints with TLS Regards, Roger Lacroix Capitalware […]

Also posted in .NET, C#, C++, IBM i (OS/400), IBM MQ, Java, JMS, Linux, macOS (Mac OS X), Programming, Security, Unix, Windows Comments Off on IBM MQ information from IBM Developer

Mark Taylor’s MQ API Exits – FAQ

Mark Taylor of IBM has published a blog item called MQ API Exits – FAQ which details a variety of questions (and answers) that Mark has received over the last several months. https://marketaylor.synology.me/?p=700 I have also added Mark’s blog (category: IBM MQ) as a widget on the sidebar of my blog. Regards, Roger Lacroix Capitalware […]

Also posted in IBM i (OS/400), IBM MQ, Linux, Programming, Unix, Windows Comments Off on Mark Taylor’s MQ API Exits – FAQ

Working from Home – Open Source Software

The other day I wrote about working from home, since I recently upgraded both my desktop and laptop to Windows 10 64-bit, I thought I should review/list the open source software I use to get the job done. You don’t need to go broke setting up your PC/laptop with software. Here is a list of […]

Also posted in .NET, C#, C++, Capitalware, Java, JMS, Open Source, Programming, Rexx, Windows Comments Off on Working from Home – Open Source Software

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 HPE NonStop, IBM i (OS/400), Linux, macOS (Mac OS X), Open Source, Programming, Unix, Windows, z/OS Comments Off on memmem() Function for a C Program