At work I’ve been splitting my time between two projects … one project is IBM i based using RPG … the other is Windows/*nix based using Java.
One of my gripes about the other project is that that some of the error messages we get are difficult to figure out because we don’t get enough information. The errors tend to be quite general without any specifics as to what caused it.
Errors on IBM i are never like that … there’s tons of details as to what caused the error, including what program … details as to the cause, reason codes, etc.
So today I’m looking at a joblog, related to a customers problem, and see the cause of the issue … a CPFA0A2 error.
Message ID . . . . . . . . . : CPFA0A2 Message file . . . . . . . . : QCPFMSG Library . . . . . . . . . : QSYS Message . . . . : Information passed to this operation was not valid. Cause . . . . . : Possible causes: --The operation could not use the data passed to it. --A name may not be correct. --Directory was expected, but a file was specified. --File was expected, but a directory was specified. --The function requested is not supported by the file system. Recovery . . . : Check the input data to determine the cause of the problem. Correct the error, and retry the operation.
Hmmm … a general error without any specifics as to what caused it.
David is a Principal Software Engineer for PTC, Integrity Business Unit. He cut his teeth on the S/36 and has more than 25 years of experience on the IBM i / System i / iSeries / AS400. He primarily works in Java and ILE RPG specializing in cross platform integrations. David has received the COMMON Distinguished Service award and was named an IBM Power Systems Champion. David also runs and maintains midrange.com. His personal blog is Geeky Ramblings.