no refund is always good if someone don't respond anymore,
in this cast I think my answer covered the main part of his/her question, so closing wiothour rewarding should be strange.
Regards,
Murph
Main Topics
Browse All TopicsI have a program that is written in VB.Net that is intended to do some work in a Windows environment while a AS400 environment is offline. When the AS400 environment comes back online, I want to be able to:
1) write the work out to a file that I can upload to the AS400 in a predetermined location
2) make a call to an AS400 program to read the uploaded file and process
The work is easily written to the file in that each line will represent a record and the fields are already defined in the AS400 program. I am already using the cwbx.dll module to connect and make calls to the AS400 program. I am currently doing this line by line in that for each line of work done in the Windows environment I am creating a cwbx Parameter List and making a cwbx.Program call using that Parameter List against the AS400. So far I cannot get this to work and instead of beating a dead horse (and at the same time making it more efficient) I want to write out all of the changes to a file and let the program loop through the file until it has exhausted the records.
What I do not know how to do is to write the file to the AS400 to be picked up on easily by the AS400 program. I am in no shape or form familiary with AS400 architecture or lingo. You'll have to answer this as if I know nothing of the subject. Thanks in advance!
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: murphey2Posted on 2008-12-02 at 09:59:31ID: 23079168
Hi pprater1,
You can FTP is to a tempfile and import is to the destination or FTP it directly to the destination file, but then you jave to be sure that the format is exactly the same and no Packed or binary data is used.
You also can add the data to the AS/400 file from VB, using ODBC.
if you know VB this part was easy to understand :)
If a specific process is required, then you need to know a little more about the as/400, what program has to be started and where is it located.
So to help you more I (we) need more info about the process.
Regards,
Murph