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

FTPing RPG programs

I am trying to FTP some RPG programs from our production box to the test box. I tried to FTP RPGLESRC in a *SAVF and I restored it. But when I went into PDM it wasn't there to work with. The restored object does exist on the system, but will not display in PDM. I have the right LIB selected and the file name.
First, you need to save all the *PGM objects you want to move to other systems in a save file. Next, create a save file on each of the systems to which you want to send these objects. From the system on which you created the save file with the *PGM objects, FTP to each of the other systems (one at a time). You must make sure that after you sign on through FTP, you enter the BIN command before the PUT command. Once the save file has been FTP'd from the source system, go to the target system and do a RSTOBJ using the created save file. If you want to move the source, for example QCLSRC of the RPG programs, simply save the QCLSRC physical file to the save file and proceed as above.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

The Best Web Links: Tips, tutorials and more.

Ask your systems management questions--or help out your peers by answering them--in our live discussion forums.

Read this Search400.com Featured Topic: Managing your iSeries.

Ask the Experts yourself: Our systems management gurus are waiting to answer your technical questions.

This was last published in February 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.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

Close