Thank you for your help! I got it to work in one of my environments, but when I try it in a different one, I receive the message: FMTOPT(*MAP) or FMTOPT(*NOCHK) required for copy. Edit: pretty easy fix (I'm still learning my way around AS400/RPG in case that isn't painfully obvious...) I added FMTOPT(*MAP) to the end of both CPYF commands in CVTRPGFREC.CLLE. After some testing it seems I had to add it to both for it to work. Thank you again for your help!
Thank you for your help! I got it to work in one of my environments, but when I try it in a different one, I receive the message: FMTOPT(*MAP) or FMTOPT(*NOCHK) required for copy. Edit: pretty easy fix (I'm still learning my way around AS400/RPG in case that isn't painfully obvious...) I added FMTOPT(*MAP to the end of both CPYF commands in CVTRPGFREC.CLLE. After some testing it seems I had to add it to both for it to work. Thank you again for your help!
Thank you for your help! I got it to work in one of my environments, but when I try it in a different one, I receive the message: FMTOPT(*MAP) or FMTOPT(*NOCHK) required for copy. Edit: pretty easy fix (I'm still learning my way around AS400/RPG in case that isn't painfully obvious...) I added FMTOPT(*MAP to the end of both CPYF commands in CVTRPGFREC.CLLE. After some testing it seems I had to add it to both for it to work. Thank you again for your help, I'm really happy with what I'm seeing so far...
Thank you for your help! I got it to work in one of my environments, but when I try it in a different one, I receive the message: FMTOPT(*MAP) or FMTOPT(*NOCHK) required for copy. Do you know if there's anything I can do to fix this?
Thank you for your help!! I got it to work now, awesome. Looks really good so far, I think it's likely I will be using this. : D
I'm now able to compile CVTRPGFRER.rpgle, but am still having a problem. On the command line, I type: CVTRPGFREE F4 I receive the command prompt screen, fill in the values, but when I hit Enter it says, "Program CVTRPGFREE not found in library *LIBL" My compiled objects are as follows: CVTRPGFREC.pgm.clle CVTRPGFRER.pgm.rpgle CVTRPGFRP1.file.prtf CVTRPGFREE cmd Thank you for your help so far.
CVTRPGFRER.rpgle does not compile
I'm relatively new to RPG and could use some help getting this to work. What I've done so far: 1. Created new source file: CVTRPGFREE 2. Created CVTRPGFREC.clle, CVTRPGFREE.cmd, CVTRPGFRER.rpgle, CVTRPGFRP1.prtf 3. Was able to compile all except for CVTRPGFRER.rpgle 4. Tried to run the command: ===> CVTRPGFREE FROMMBR(MYPROGRAM1) FROMFILE(MYLIB/MYFILE) TOFILE(MYLIB/MYFILE) TOMBR(MYPROGRAM2) 5. Received the message: Program CVTRPGFREE not found in library *LIBL. I know I'm not doing this correctly......