5 pts.
 Move file on windows folder through FTP script in 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
ASKED: September 30, 2009  5:06 PM
UPDATED: June 2, 2011  12:06 AM

Answer Wiki:
Hi, Just put a '+' (plus sign) at end of each line to be continued like String = 'AAAAAA+ BBBBBBBBBBBBB' Regards, Wilson
Last Wiki Answer Submitted:  September 30, 2009  5:41 pm  by  WilsonAlano   2,385 pts.
All Answer Wiki Contributors:  WilsonAlano   2,385 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

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

 

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

 110,135 pts.