Another library routine to take a look at is strftime(). There are often questions here about how to format a date or time a particular way. You will also need some source of time in UNIX format (seconds since 1970) such as time() and then either gmtime() or localtime().
Charles -----Original Message----- From: IBM Mainframe Assembler List [mailto:[email protected]] On Behalf Of John McKown Sent: Thursday, November 16, 2017 8:27 AM To: [email protected] Subject: Re: A modest proposal: LE enabled HLASM + C runtime On Thu, Nov 16, 2017 at 9:55 AM, Charles Mills <[email protected]> wrote: > fopen() will also a nice variant, DD:ddname(member) where ddname is of > course the DD name of an allocated PDS(E). Not a common format in the z/OS > world, but it makes perfect sense. > fopen() and friends also support RECFM=VBS with no special effort on your > part. > Thanks. I was considering how to more effectively "abuse" fopen(). Right now, I'm in the "gee, this is neat!" stage and probably going a bit overboard on using this "neat, new idea". Eventually, I'll settle down and add this sort of thing into my repertoire of "tricks" to be used when appropriate. > Charles > -- I have a theory that it's impossible to prove anything, but I can't prove it. Maranatha! <>< John McKown
