Page 1 of 1

V7R1 issue with PUIBNDRPG

Posted: Thu Mar 24, 2011 11:43 pm
by grmarks
We have recently moved to V7R1 and I find now that I can't recompile any programs due to the following error

From module . . . . . . . . : GRP4CPP
From procedure . . . . . . : cleanup
Statement . . . . . . . . . : 19
To module . . . . . . . . . : PUIBNDRPG
To procedure . . . . . . . : PUIBNDRPG
Statement . . . . . . . . . : 632
Message . . . . : The specified target release, 0 PROFO, is not supported.
Cause . . . . . : A value was specified for the TGTRLS parameter that is not
supported by the version of compiler that is installed on the system.
Recovery . . . : See the preceding messages in the job log. If the
message indicates that the target release is not valid, try the command
again with a valid target release: *CURRENT, *PRV or a value in the form

VxRxMx. Otherwise, try the command again with a later target release.


I loaded the V6R1 version of PUI 2.2.7 from the installer but we do not have RPG OA

Re: V7R1 issue with PUIBNDRPG

Posted: Mon Mar 28, 2011 11:59 am
by Rob
There is a problem with the PUIBNDRPG command on V7R1. The pre-processor is running but the RPG compiler is not being called correctly.

Until we resolve this, there is a workaround that will get you through the evaluation
  • compile using the preprocessor, PUIBNDRPG PGM(MYLIB/MYPROGRAM). Ignore the error.
    compile the pre-processed source in QTEMP, CRTBNDRPG PGM(MYLIB/MYPROGRAM) SRCFILE(QTEMP/QPUILESRC)

Of course, when Open Access is installed, the pre-processor is not required. You compile with the usual CRTBNDRPG command (or option 14 in PDM).

Re: V7R1 issue with PUIBNDRPG

Posted: Wed Mar 30, 2011 8:52 pm
by grmarks
thanks.. this works (I have created a small clp to do as you said) so it is still a one step process.

Re: V7R1 issue with PUIBNDRPG

Posted: Thu Mar 31, 2011 7:06 pm
by grmarks
I need to add "this works" SOME TIMES.
I find that some compiles crash with an empty member in qpuilesrc so I can't compile at all.

Re: V7R1 issue with PUIBNDRPG

Posted: Tue Apr 05, 2011 3:30 pm
by Rob
If the member is empty in QTEMP/QPUILESRC then the pre-processor has hit an error. The pre-processor itself should run on V7R1 without any problems. Check the job log for an error message from PUI0001300.