× 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.



Are you familiar with Query? You could always query the file. Try WRKQRY
and see if that works. If it does then you should be able to view the
output file with that.

A crude dump of the file can be done with DSPPFM against the file. That
stands for DiSPlay Physical File Member.

If you want to find the layout of the file you can always use DSPFFD. That
stands for DiSPlay File Field Description.

Another way to get the layout of the table is to use iNav's Run Sql
Scripts and this:
SELECT *
FROM syscolumns
WHERE SYSTEM_TABLE_SCHEMA='MYLIB' AND
SYSTEM_TABLE_NAME='MYFILE'
replacing MYLIB and MYFILE with your output file from the SAV command.

However, if you feel you must program against it you can define the file
as externally defined and it will pick up the column names.

Also, you can start System i Navigator. It's free (with the OS). It will
display the layout of the table. It will also give you a nice view of the
contents of the table.


Rob Berendt

As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.