Chuck you got me rolling on the floor with this one! Trouble is, I love doing this kind of thing!
Now how many civilians know that a context is the MI name for a library!!
And I know I've forgot where the pointers to everything are
- figured it out once when I was contracted at IBM in 2001.
Had to see what was actually happening with auxiliary spaces
and the AXENT stuff. (Just showing off a little - heh!)
Given a sufficiently [presumed to be effectively] unique string to be searched, the STRSST D/A/D find function for an address range could be used to scan the DASD for such data. For occurrences found, visit the base segment address to determine if it is a dataspace segment, then find its owning dataspace object, owning member, and then its context.
Pete Hall wrote:Well, the other day, I needed to find a table that contained a particular ID. Something like: grep "ABC123456789" * Is it possible to do something like that in qsys.lib? Assume the database tables have an unknown schema, and there are a bunch of them. <<SNIP>>
This mailing list archive is Copyright 1997-2013 by MIDRANGE dot 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 here. If you have questions about this, please contact