+1

All this copying back and forth between stream files and library objects makes me think about DLO objects - /QDLS in the IFS. The docs and folders in /QDLS are actually implemented as library system objects in library QDOC. Now I recognize that there isn't copying back and forth - the comparison is about mixing file systems.

Cheers
Vern

On 11/17/2015 6:34 AM, rob@xxxxxxxxx wrote:
Justin,

I would find your technique onerous to the system.
First there's the I/O of going from outside the qsys.lib system into the
qsys.lib system with both. Then there's the overhead of the merge. Then
there's the conversion of them back into the non qsys.lib system.
Then there's the temporary space to consider. If you have a 10GB stream
file being posted into your 200GB stream file and you copy them into DB2,
do the merge, and then put them back outside of the qsys.lib system it
really starts to add up.

This is why I often cringe when people want to do DSPOBJD to output files
and then massage that to no end when there's perfectly good APIs to use,
like open list of objects and whatnot.

Another thing to consider is that IBM often uses internals far past the
APIs that even many in the community consider stretching past their
comfort zone. For example, when I started thinking about some of the SQL
services and how I would do it using various APIs only to be told by IBM
that they shave off a bunch of the overhead by accessing the internals not
available to those APIs. For example, having to use the open list of
objects API followed by the retrieve object description API when IBM
really could do that with one less API by accessing the internals in the
first place.

Chuck often mentions these internals.

I like his explanation as to why IBM does not have *CMD object duplicates
of many of these qsh commands. I may not be totally happy with it as I
have a hang up with qsHell but that's my problem.


Rob Berendt


This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].