Q

Update records in a CL program

What's the best method to replace/update a record in a file from within a CL program?

You can't directly add, change or delete records in a CL program, but you can affect them by using CPYF command or calling a high-level program to do the updates for you.

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

The Best Web Links: tips, tutorials and more.

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

Ask the Experts yourself: Our application development gurus are waiting to answer your programming questions.

Name: Sandy Beich 4. Application Development Tim Granatir Question: Does the iSeries support SFTP? We are running a batch job that FTPs some files to an Unix box. The same job fails when we try to FTP to a Linux box. I know Linux is using SFTP. Does the iSeries support SFTP as well? iSeries supports TFTP(Trivial File Transfer Protocol) which is a basic file transfer without user authentication. I think this is probably what you are looking for. More Information about TFTP can be found in the iSeries Information center under the Networking category.

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

The Best Web Links: tips, tutorials and more.

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

Ask the Experts yourself: Our application development gurus are waiting to answer your programming questions.


This was last published in February 2004

Dig Deeper on RPG iSeries programming

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.

-ADS BY GOOGLE

SearchEnterpriseLinux

SearchDataCenter

Close