Creating multiple files from a single code base and FTP.

30 pts.
Tags:
AS/400 FTP
CL
COBOL
TCP/IP
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.
ASKED: May 5, 2009  2:52 PM
UPDATED: May 6, 2009  4:46 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

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>

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following