Sounds like a good candidate for an environment-specific subroutine
using "Metal C" on the mainframe (v1.9 and up only, allows embedded
assembler, so I have read).  If it works as one would hope it does, you
could put the DESERV and ENQ/DEQ and other assembler stuff right into a
C framework ...

And thanks for having the good idea to create ISPF statistics when
updating mainframe PDS's.  Keep up the good work!

Peter

> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
> Behalf Of Kirk Wolf
> Sent: Tuesday, July 29, 2008 2:54 PM
> To: [email protected]
> Subject: Re: Statistics when writing PDS members
> 
> Tom,
> 
> Thanks for clarifying.  Its a pity that the C library doesn't have a
> call to set directory entry user data before closing.  It seems like
> alot of overhead to OPEN/BLDL/POINT/STOW/CLOSE and rewrite the
> directory (at least those entries following the one that you updated)
> each time you replace a member.   I assume that one could also use the
> new DESERV macro...
> 
> As far as the motivation for this: we're working on a file transfer
> tool and I thought that it would be nice if it created ISPF statistics
> when adding/replacing members.   It would also be nice if the C
> library supported the ISPF ENQ/DEQ protocol for partitioned datasets.
> IBM's FTP server supports both and it is written mostly in C and
> doesn't require a TSO or ISPF environment... perhaps they aren't using
> their own crappy C library for PDS I/O ? :-)
> 
> FWIW, the JZOS library uses the C library for dataset and PDS I/O, so
> it suffers the same limitations.   It would be great if the C library
> had general support for DESERV, but I guess eventually z/OS legacy
> file structures will go away :-)
> 
> Kirk


This message and any attachments are intended only for the use of the addressee 
and
may contain information that is privileged and confidential. If the reader of 
the 
message is not the intended recipient or an authorized representative of the
intended recipient, you are hereby notified that any dissemination of this
communication is strictly prohibited. If you have received this communication in
error, please notify us immediately by e-mail and delete the message and any
attachments from your system.


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to