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 first 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.

0 comments

Oldest 

Forgot Password?

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

Your password has been sent to:

SearchEnterpriseLinux

SearchDataCenter

Close