Problem solve Get help with specific problems with your technologies, process and projects.

Sending a PC file to the database file

In a CL program, how can I run a command that will 'SEND' a PC file from my PC's hard drive to a database file on my iSeries? I am doing it now by selecting the SEND button on my CA/400 tool bar which runs PC5250$A.tfr, but would like to do it by selecting an option on an iSeries menu.
This can be done by using STRPCCMD. Please take a look at the following CL code snippet:

strpccmd cmd('rtopcb xx.tto')

Most emulation products will run STRPCCMD with no problems.


Visit the ITKnowledge Exchange and get answers to your connectivity questions fast.

The Best Web Links: Tips, tutorials and more.

PC/Windows connectivity expert Shahar Mor is available to answer your toughest networking questions. Ask Shahar a question or read his previously answered questions here.

This was last published in November 2004

Dig Deeper on FTP

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

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

Please create a username to comment.