Posted by Grant Foraker on May 03, 2011 at 08:30:51:
1000 WORKDISC RPG
1010 LOG GLBALLOG,NEW
1100 INPUT GL.MASTER
1200 ERASE GLBAL.CSV,NEW
1300 PRINTER GLBAL.CSV,NEW,H
1400 REPORT
1500 SELECTING IF F.CODE GE '3'
1600 PRINT GL.ACCT.NO.;TITLE;A.CODE;YTD.AMT
1700 ENTER CUTLCPY,,"GLBAL.CSV,NEW,GLBAL.CSV,$(MyDocuments),N,Y,T"
1800 !!!!!ENTER CUTLCPY
============================================================Getting an Error 51 - Invalid Command on the ENTER. Both the
simple (line 1800) and the complicated (1700).CUTLCPY does exist on UTL.
Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.