Move file on windows folder through FTP script in RPGLE

5 pts.
Tags:
AS/400
RPGLE
I am trying to move a file from one folder to another on windows by writing a FTP script in RPGLE. But my file path is too long to come in one line in rpg source. Please can you let me know, how to continue the command in second line.

Software/Hardware used:
AS400 - RPGLE

Answer Wiki

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

Hi,

Just put a ‘+’ (plus sign) at end of each line to be continued like

String = ‘AAAAAA+
BBBBBBBBBBBBB’

Regards,

Wilson

Discuss This Question: 2  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
  • Kycajun
    I am trying to get an excel spread sheet to the as400. I can use a drag drop to ifs as it will be done by different users. Is there a way to do it from the as400. I know how to cpyfrmimpf to get it off the ifs. Help
    15 pointsBadges:
    report
  • TomLiotta
    The best first step is to open a new question. This has nothing to do with the original thread. Also, CPYFRMIMPF is intended for .CSV and similarly delimited files, not Excel spreadsheets. (However, Excel can also use .CSV and similar files to import into and out of spreadsheets.) If you actually have an Excel spreadsheet file, then CPYFRMIMPF isn't appropriate -- the POI/HSSF methods are better. Scott Klement has examples for RPG and Java. Tom
    125,585 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