30 pts.
 Creating multiple files from a single code base and FTP.
This is a two part question. 1. I'm looking to use a COBOL program to create multiple files in a standard library. Is there a way to programatically write multiple files from a single program. I had someone indicate that I could call to CL instream and actually create multiple files on the fly. 2. Second question. I'm looking for a general position on FTP type of efforts. I have a client that wants me to do everything on the 400. In this scenario, we need a means to pull these multiple files (as listed above) from the 400 without having to pull them down to a unix or windows server. Can anyone comment on security and means to move these files. Initially, I can set these ftp files to be received solely by a single TCPIP address (using concise filtering). However, the need will grow to other TCPIP addresses shortly. Thanks.

Software/Hardware used:
ASKED: May 5, 2009  2:52 PM
UPDATED: May 6, 2009  4:46 PM

Answer Wiki:
For your first question: absolutely. You run an appropriate OVRDBF from your COBOL program using one of of the command execute APIs, open the file, write your records, close the file, issue the next OVRDBF, open the file, write records, close the file, OVRDBF, and so on. For your second question, I do not understand your scenario. Can you expand on what you need to accomplish? Bruce <a href="http://www.brucevining.com/">Bruce Vining Services</a>
Last Wiki Answer Submitted:  May 6, 2009  4:46 pm  by  bvining   6,055 pts.
All Answer Wiki Contributors:  bvining   6,055 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _