Okay, I'm still learning this stuff myself, so I've not done this...but it's
supposed to work from what I've read.

You can create and share an IFS folder with any PC. You simply map the IFS
folder to a network drive on the PC.  This much I know works because I've
done it. Attached is a Word document from a project design that explains how
to share an IFS folder and map it to a network drive on a PC.

If you use some examples from others on this list to create a COBOL program
that reads DB2 files and writes CSV records to a stream file, then you can
have the program write the stream file to the shared/mapped IFS folder.
Users can access the CSV file from their PC just like they access any other
file in a mapped drive.

The iSeries job scheduler could run the COBOL program that writes the stream

Just some ideas...


-----Original Message-----
From: cobol400-l-bounces+kcookson=dotfoods.com@xxxxxxxxxxxx
[mailto:cobol400-l-bounces+kcookson=dotfoods.com@xxxxxxxxxxxx]On Behalf
Of Phil Campbell
Sent: Monday, March 08, 2004 1:01 PM
To: cobol400-l@xxxxxxxxxxxx
Subject: [COBOL400-L] Downloading from COBOL to a .csv

I've download files to .csv's before.  I would like to

1) have the operator run a nightly job that executes the COBOL program that
creates a .csv.
2) Somehow EVOKE (might not be the write term) a job to have the data
transferred from the .csv to the common area on our host PC.

        Every Morning I come into work and use the AS400 data transfer
facility to transmit data to a user.  I sure would like to get away from
having to do this.

Thanks .. Phil  :)

Phil Campbell
Wisco Envelope



This is the COBOL Programming on the iSeries/AS400 (COBOL400-L) mailing list
To post a message email: COBOL400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/cobol400-l
or email: COBOL400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/cobol400-l.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2022 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.