Convert "text" to "packed-decimal"?

Is there a way with HP-UX Release 10.20 (but going to HP-UX 11) to convert a regular "text" file to a packed data format (such as is created by a Cobol program)?

Yeah, write a COBOL program to do it. I don't think there are any standard Unix tools, if that is what you are asking.

What I was hoping for was a utility (like an IBM utility IEBGENER, IEBCOPY) that will do it.

My problem is that the new version of unix/oracle that we are going to does not have a procobol compiler, so we cannot compile (or write) a cobol program.