On Fri, Apr 4, 2014 at 10:20 AM, Paul Gilmartin <[email protected]>wrote:
> On Fri, 4 Apr 2014 08:16:01 -0700, Lizette Koehler wrote: > > > >You can use IEBGENER to dump the TMC, port it to the OS of your choice ... > > > Is the format of the TMC such that it can be copied with IEBGENER to > a flat file. > Yes. It is FB/340/6120 on our system. At present. I've heard vague rumors that CA is considering the possibility of looking at the feasibility (<grin/>) of migrating the TMC to CA-Datacom/AD. > > Or, move it to the OS of choice with FTP, STRU R. > I did that just now. Of course, processing z/OS EBCDIC CP-037 characters and integer binary data on Linux/Intel will be a "bother". Integer binary is not too bad. Just use ntohl() to convert int_32 values from z binary to Intel binary. And, nicely, the exact same C code would work on z/OS because z binary (host) is identical to "network" binary (big endian). Translating the char[...] arrays from EBCDIC CP-037 to ISO8859-1 "ascii", and then to a C string is not as nice. Yes, I know about the iconv() to do this. > > -- gil > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > -- There is nothing more pleasant than traveling and meeting new people! Genghis Khan Maranatha! <>< John McKown ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
