Hi I am trying to compile a RPGIV program and I get an error with my copy books. It gives me a RNF0257 error and says " Form-type entry for main procedure not vaild or out of sequence" This is my first try at writing a RPGIV program. I used the CVTRPGSRC to convert the copy books to ILE. I am lost I went to the IBM site and found out a command that says to use *yes in the EXPAND COPY MEMBER that should fix the problem but it didn't. I have included a copy of how I did the CVTRPGSRC for the copybooks From file . . . . . . . . . . . > SMHENHSRC Name Library . . . . . . . . . . . > SMHENHLIB Name, *LIBL, *CURLIB From member . . . . . . . . . . > IPBDATA3 Name, generic*, *ALL To file . . . . . . . . . . . . > SMHENHSRC Name, *NONE, QRPGLESRC Library . . . . . . . . . . . > SMHENHLIB Name, *LIBL, *CURLIB To member . . . . . . . . . . . > IPBDATA3LE Name, *FROMMBR Additional Parameters Expand copy member . . . . . . . > *YES *NO, *YES Print conversion report . . . . *YES *YES, *NO Include second level text . . . *NO *NO, *YES Insert specification template . *NO *NO, *YES Log file . . . . . . . . . . . . QRNCVTLG Name, *NONE, QRNCVTLG Library . . . . . . . . . . . *LIBL Name, *LIBL, *CURLIB Log file member . . . . . . . . *FIRST Name, *FIRST, *LAST I appreciate any help Frank

Reply With Quote