> > I'm not porting anything to a different system. The NT and Mainframe
> > are seperate. I'm using the mainframe unload as an example of how the
[quoted text clipped - 41 lines]
> DB2 z/OS Utilities Development
> IBM Germany
>> > I'm not porting anything to a different system. The NT and Mainframe
>> > are seperate. I'm using the mainframe unload as an example of how the
[quoted text clipped - 39 lines]
>
> What's an "FB" data set?
FB = fixed-length records and blocked. That tells z/OS (MVS) how the data
is stored on the volumes. Data sets on MVS are comparable to files.
> How would I get rid of delimiters? If I don't specify the delimiters,
> it takes the default delimiters like double-quotes and periods for
> character string indicators and decimal point indicators.
You could use a "sed" or a Perl script (or whatever you have available on
your platform) to massage the output of EXPORT in any way you like.
> Anyway, I have copybooks that can read in a record-sequential data
> file and will immediately have the correct values in the fields. This
> is what happens on MVS when reading in the unloaded db2 tables.
You haven't answered the question regarding fixed/variable length records
yet...
> On NT, an unload to a record sequential file doesn't seem to be
> possible because unload is not supported on NT.
Well, it is. It's just named EXPORT there.
> However, I did see the
> IXF export type does create a record-sequential file.
All files generated by EXPORT are "record-sequential". The difference is
just the internal encoding in the files. So what exactly do you need
there? Plain text in ASCII? (IXF is binary not text)
> But the problem
> with that is it also includes column information in a header since
> this file is meant to be imported into a database, creating the tables
> if they don't already exist. Your suggestion on the Select statement
> did get rid of the headers for that I see. But unfortunately, that
> doesn't work to eliminate the headers in the IXF export.
What I posted above only redirects the output of a query into a file.
The -x removes everything that is not data. Thus, it has nothing to do
with EXPORT or UNLOAD.

Signature
Knut Stolze
DB2 z/OS Utilities Development
IBM Germany