In the previous CL Corner column, "Create Reusable Code," we created the TRMLFTCHR command. This command accepted a 10-byte character variable whose value was a numeric representation such as returned by the CHGVAR command when converting a TYPE(*DEC) CL variable, removed any leading zeros found in the numeric value, and returned the remaining character string left-adjusted and blank-padded. In this article, we will look at how to enhance the TRMLFTCHR command to support a CL character variable of virtually any length.
Services and hardware complement each other to get enterprises up and running in a cloud environment.
Written by Chris Smith
Stephen King wrote a short novel called The Mist about New Englanders trapped in a supermarket enshrouded in fog that hides dangerous creatures. I can't help but think of this story when I read IBM literature about the cloud.