Implementer V12 - Compile issue when attemping to use object code SRVPGMU (UPDSRVPGM)
Hello, I hope someone can help.
The developers here (I'm an Systems Admin) have been using CRTSRVPGM in Implementer via an Object Code successfully. However they asked for a new Object Code to be created that would utilize the UPDSRVPGM command. Now when they select option 14 to compile using the new object code, the compile cancels because it can't find the object in the developer's library. From the logs it looks as if Implementer renames the object then tries to find the original object in the library which it has just renamed the object from so (logically) it isn't in there to find and hence the error. Of course once the compile fails it does look as if the SRVPGM has been in the library all along. Because it all happens so quickly I am not 100% sure if the SRVPGM is renamed back ie. gets moved out and then put back again and renamed back to the original as part of the back out process when Implementer's compile fail. How do I stop this seemingly logical error from occurring.
Blame is currently focused on my new object code, SRVPGMU as I had to create it from scratch, ie F6 ?
To procedure . . . . . . . : IMMVOB Statement . . . . . . . . . : 14200 Message . . . . : Object Q174946662 in EMLMPPGMS type *SRVPGM moved to library QRPLOBJ. CPF9801 Diagnostic 40 11/04/19 17:49:46.785405 QBNUPDBP QSYS 07DD QBNUPDSP QSYS 0026 Message . . . . : Object FINDDESCSR in library EMLMPPGMS not found. Cause . . . . . : The object FINDDESCSR in library EMLMPPGMS type *SRVPGM not found. The object name, library name, or the object type is not correct. If the library name is not specified, the object may be in a library that is not contained in the library list. Recovery . . . : Correct the object name, library name, or object type. If the library name was not specified, specify the library name and try the request again. CPF5CE1 Diagnostic 40 11/04/19 17:49:46.793346 SSEXEC2 MKSIM 0165 IMCOMP MKSIM 08FF Message . . . . : Service program FINDDESCSR not updated. Cause . . . . . : The service program FINDDESCSR could not be updated in the library EMLMPPGMS. Recovery . . . : Display the job log to determine why the service program could not be updated (DSPJOBLOG command). Correct the errors and try the request again.
The object being compiled is
Opt Object Type Library Attribute Text FINDDESCSR *SRVPGM EMLMPPGMS RPGLE FIND DESCRIPTION SERVICE PR
And this is the object code as I have created for it.
I would appreciate any help I can get as I have been looking at this for two days without any meaningful way forward. The stand alone command works, the environment in the promotion has the correct libraries listed for #PGMLIB and the library list includes the EMLMPPGMS library, and the authorities are set so the object is seen.