× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



HI Folks,

Jerry C. Adams,
Just a note about QS36F data. QS36F is no different from any other library.The ease of accessing the data depends solely upon whether or not it is externally defined (SQL-compatible). ....There's nothing really "strange" about QS36F.

Steven
There is nothing different about the data, per se. It is simple sequential or ISAM data, without any referential integrity, relations, editing, field name, etc. built in on a global level. There is a major difference when programs access the data, compared to accessing DB2 data

When a smart utility accessed DB2 data, they are accessing the DDS source (or compiled info returned from the OS), so they have the field layouts.

When QS36F library data is accessed, if it is sequential the operating system has it defined as one big field, F00001. (As the result of the initial BLDFILE or FILE, DISP-NEW commands.) The OS will add the key fields, so perhaps you can have a total of seven fields defined, something like :

F00001, K00001. F00002. K00002, F00003 K00003, F00004.

(I am guessing that this is how a multi-key-part field looks, extrapolating from the single key case which I have seen). However, the RPG programs have internally defined this as maybe 50 or 100 fields. Similarly any F & I spec, IDDU or DDS you have written to look at the file can show all the fields.

So the utility must be explicitly told not to use the OS data, but to use either :

1) DDS, IDDU, or F&I

2) data dictionary, e.g. one that is in the utility program

How this is done by various utilities varies. Even native iSeries utilities like Linoma's Surveyor, Lansa's 4GL and NGS query can use different methods, but generally they will have a method, solid and not too difficult, at most some hand-work into their data dictionary. However, generic SQL lineage systems like Squirrel may or may not have an easy way to handle this, each case much be examined individually.

Presumably the EGL has a method,

Steven Spencer
Queens, NY



As an Amazon Associate we earn from qualifying purchases.

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-2024 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].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.