CL Programming

50 pts.
Tags:
CL Commands
CL Program
CL programming
RPG Programming
Hi Gurus, in cl how to write download file code.and use it in rpg? Is there any command for download file? Thanks & Regards, Sudheer

Answer Wiki

Thanks. We'll let you know when a new response is added.

what type of file download? FTP from a server or PC drive?

open a file on the /400 and use it in an RPG?

how do you want to use the file?

-Sarge

Discuss This Question: 5  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

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
  • TomLiotta
    What do you mean by "download"? You have an iSeries and you have a remote system. The remote system might be a PC, it might be another server in your local network or it might be some unknown system out on the internet. When you say "download", do you mean "download from the iSeries to the remote system" or "download from the remote system to the iSeries"? Is the remote system in your local network? Can you see the remote system when you run this command:
    WRKLNK '/QNTC/*'
    What protocol will you use for the download -- FTP? HTTP? SMB? something else? Do you have a user ID on the remote system? Tom
    125,585 pointsBadges:
    report
  • Sudheerk99
    It converts .csv format.whenever user clicks download, the will be converted into .csv file and print to the user. Thanks & Regards, Sudheer
    50 pointsBadges:
    report
  • TomLiotta
    ...whenever user clicks download... Clicks "download"? Where is a user going to click "download"? Is that an icon that you will create on their desktops? Is it a button on a web page that you will create? Is it an option in some application that is installed on the users' PCs? Please provide a description of what the user will have available. Please describe how the PC and the AS/400 are connected across a network. Tom
    125,585 pointsBadges:
    report
  • Sudheerk99
    its a functional key(F8). it generates print file in spool. For download file, i have to take one work file and in that all are characters. Sudheer.
    50 pointsBadges:
    report
  • navinnegi
    You are saying that it will generate a spool file. Do you want to change the spool file into a CSV file? If yes you have to write down a program. First copy the spool file into a work file using command CPYSPLF. Write a RPG program with a data structure, change the work file into a comma separated file. FTP it to the PC. All done.
    45 pointsBadges:
    report

Forgot Password

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

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

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

Thanks! We'll email you when relevant content is added and updated.

Following