Ask the Expert

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

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
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
Sort by: OldestNewest

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: