I copy the code to my PC as a text file and then FTP it into my source code. I usually put the .txt file into my C:/ root directory.
From my PC, I bring up “Run” and at the command prompt, I key in ftp ‘22.214.171.124’ to get to my iSeries. Once in ftp, I key “put xyzsource.txt MYLIB/QRPGLESRC.XYZSOURCE”. Viola, the source file is in my QRPGLESRC file.
Simplest for me is to paste it into a text file in my IFS /home directory through a basic mapped drive. Then it’s just a CPYFRMSTMF into ‘/qsys.lib/mylib.lib/qrpglesrc.file/mynewmbr.mbr’.
Since I create the text file from Windows, it automatically has the correct CCSID. And because my system has a valid QCCSID specified, there’s no need for any CCSID parms on the command. (You can probably issue CHGJOB CCSID(37) if your system has the incorrect QCCSID 65535.)