Compile question

75 pts.
Tags:
AS/400 compile
iSeries
iSeries v7r1
RPGLE Program
Have you encountered any issues with clients not being able to compile programs once upgraded to V7R1?
I have a client who can not compile RPGLE programs.
They are on an iSeries and upgraded from V5R4M5 to V7R1M0
Thanks


Software/Hardware used:
iSeries V7R1M0

Answer Wiki

Thanks. We'll let you know when a new response is added.

User defined options must begin with an Alpha character. So 14 cannot be user defined

Discuss This Question: 20  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • CharlieBrowne
    What errors are they getting? It would be easier to assist if we had that information
    41,370 pointsBadges:
    report
  • expson
    Here is the job log from the job.  

    In the job log I see 2 issues. 

    Message . . . . :   Target release 0  *NONE not valid.                         

    Cause . . . . . :   The value 0  *NONE is not valid for the target release     
      parameter.  The target release must be *CURRENT, *PRV, or be in the format   
      VxRxMx where x is 0 through 9.  A VxRxMx value must correspond to a known    
      release of the operating system. 

    Recovery  . . . :   Specify a valid value   
      for the target release, and then try the request again.                      

    ---------------------------------------------------------------------------------

     Message . . . . :   Compilation failed. Program OE1015R not created in library   
       COBLYONS.                                                                      
     
    Cause . . . . . :   Compilation failure normally occurs when the severity of     
       issued messages exceeds the value specified for the GENLVL parameter on the    
       CRTBNDRPG command. See the compiler listing or the job log for error           
       messages. 

    Recovery  . . . :   Correct the errors or change the value           
       specified for the GENLVL parameter. Compile again.                             

    75 pointsBadges:
    report
  • TomLiotta

    It's not like anything I've seen anywhere else. Please give a clear description of exactly how they execute a compile. Do they type the compile commands on a command line and get the same result? Do they use a Change Management product? (Did they apply a recent cume package after the upgrade?)

    From the same joblog, can you show the request message that contained the compile command?

    Tom

    125,585 pointsBadges:
    report
  • philpl1jb

    It sounds like this parameter is blank when they compile. 

    Target release . . . . TGTRLS  *CURRENT   

    It should be *CURRENT.

    I suspect that we could answer better if we knew how they were compiling. 

     

    49,720 pointsBadges:
    report
  • expson
    I have asked the client for the specific info.  Here is part of the joblog.  I can't attach the file or I would


    Message . . . . :   Job 002712/COBLYONS/OE1015R submitted.
                                         Cause . . . . . :   Job 002712/COBLYONS/OE1015R submitted to job queue
                                           BATCHALT in MENLIB from job 002710/COBLYONS/QPADEV000B. Job
                                           002712/COBLYONS/OE1015R was started using the Submit Job (SBMJOB) command
                                           with the following job attributes: JOBPTY(5) OUTPTY(5) PRTTXT()
                                           RTGDTA(QCMDB) SYSLIBL(COPPLEYSYS RBTSYSLIB  QSYS       QSYS2      QHLPSYS
                                           QUSRSYS) CURLIB(COBLYONS) INLLIBL(QTEMP      INTLIB     COPINT     MCOLIB
                                            GPL        CTHLIB     CTHOBJ     CTHSRC     MENLIB     MENOBJ     MENSRC
                                            PWPLIB     PWPOBJ     PWPSRC     SYNLIB     EDILIB     LATOBJ     TAATOOL
                                            QGPL       FASTFAX    SCAN) INLASPGRP(*NONE) LOG(4 00 *NOLIST)
                                           LOGCLPGM(*NO) LOGOUTPUT(*JOBEND) OUTQ(COPPLEYSYS/P2) PRTDEV(PRT01)
                                           INQMSGRPY(*RQD) HOLD(*NO) DATE(*SYSVAL) SWS(00000000)
                                           MSGQ(QUSRSYS/COBLYONS) CCSID(65535) SRTSEQ(*N/*HEX) LANGID(ENU) CNTRYID(CA)
                                           JOBMSGQMX(64) JOBMSGQFL(*PRTWRAP) ALWMLTTHD(*NO) SPLFACN(*KEEP) ACGCDE().
    75 pointsBadges:
    report
  • TomLiotta

    The joblog message shows the job attributes, but we need the actual logged compile command.

    Target release 0  *NONE not valid.

    To me, it looks as if some program or utility is formatting the command. The formatting is now off by a few bytes. After the upgrade, the program possibly needs to be recompiled or it needs to reference an updated structure.

    Not much more can be said without (1) knowing if the commands work when entered manually and (2) seeing an actual command string that causes the error.

    Tom

    125,585 pointsBadges:
    report
  • expson
    The client sent me the following info in regards to the error.

    I use work pdm and take opption 14 (Create Bound RPG Program (CRTBNDRPG))

    I receive the failed error message immediately and I get no spool file listing

    I have ILE source in my library COBLYONS in QRPGLESRC
    75 pointsBadges:
    report
  • expson
    When I tried to run what the client did it gave the following error in the job log.

    WRKMBRPDM FILE(COBLYONS/QRPGLESRC)                                     
    Usage limit of 0 exceeded. Grace period expires in 64 days on 01/01/14.
    Usage limit of 0 exceeded. Grace period expires in 69 days on 01/06/14.
    File QCPYLESRC in library *LIBL with member OVRPRTND not found.        
    File QCPYLESRC in library *LIBL with member COPTAB not found.          
    File QCPYLESRC in library *LIBL with member OVRPRTNC not found.        
    File QCPYLESRC in library *LIBL with member OVRPRTNO not found.        
    Compilation stopped. Severity 40 errors found in program.              
    Data area RETURNCODE created in library QTEMP.                         
    Compilation failed. Program OE1015R not created in library COBLYONS.   
    Compilation stopped. Severity 40 errors found in program.              
    Compilation failed. Program OE1015R not created in library COBLYONS.   
    75 pointsBadges:
    report
  • CharlieBrowne

    If you cannot get a compile listing when you try it, have the client send you the listing. That is where you are going to find the detail causing the level 30 errors

    41,370 pointsBadges:
    report
  • expson
    Hi Charlie, 

    Do you mean the listing the of what should occur if the compile is sucessfull ?
    75 pointsBadges:
    report
  • CharlieBrowne
    The compile listing showing the details for the failed compile. It should list all the source and identify which lines are in errors
    41,370 pointsBadges:
    report
  • CharlieBrowne

    File QCPYLESRC in library *LIBL with member OVRPRTND not found.  

    This is happening because of a library list problem. In the source there are /COPY statements that are trying to copy code from other source members into this program but cannot find the members. Find out what library these members are in and then do an ADDLIBLE xxxx. Now do the option 14 to create the program and the compiler will find the members to copy into the code.

    41,370 pointsBadges:
    report
  • expson
    This is on a test system without keys.  It appears to be a usage limit problem.  Can the usage limit be increased without a key ?

    75 pointsBadges:
    report
  • CharlieBrowne
    Usage limit of 0 exceeded. Grace period expires in 64 days on 01/01/14.
    Usage limit of 0 exceeded. Grace period expires in 69 days on 01/06/14.
     
    Grace period does not expire until Jan 2014.
    41,370 pointsBadges:
    report
  • philpl1jb

    I use work pdm and take opption 14

    Then press F4, page down twice (approximately) to Target Release

    Enter *current

    49,720 pointsBadges:
    report
  • philpl1jb

    Why did this happen? 

    in pdm press F16 (user defined options) -- page down to see if there is a user defined option 14.

    49,720 pointsBadges:
    report
  • TomLiotta

    Enter option 14 and press F4 instead of pressing {Enter}. The command should then show as being prompted. Once prompted, press F10 to open additional parameters.

    With the additional parameters open, scroll down once or twice to find the 'Target release' parameter. There should be a default value already filled in. The value would normally be "*CURRENT". What value actually appears?

    I'd suspect three possibilities. First, there might be a duplicate of the compile command that needs to be recreated. It could be an actual duplicate, or it could be modified with a validity checker or other change. Second, there could be an exit program on the QIBM_QCA_CHG_COMMAND exit point. The exit program would need to be corrected. Third, there might be PTFs needed and the upgrade needs to include bringing the system up to date.

    The licensing doesn't seem related yet.

    Tom

    125,585 pointsBadges:
    report
  • CharlieBrowne

    in pdm press F16 (user defined options) – page down to see if there is a user defined option 14 ----

    14 cannot be a user defined options as all user defined options must begin with a character.

    41,370 pointsBadges:
    report
  • expson
    Found the solution to this issue.

    Looks like when you try to compile the program you have COxx library on the top of your system library list. 
    Just try to remove it from the LIBL for that job and run compilation again.

    COxx contains CRTBNDPGM command which is the cause of the "Target release" error.
    75 pointsBadges:
    report
  • TomLiotta
    Yep, made the most sense. A duplicate that was left over from some earlier release could have inappropriate attributes, or it could have been created incorrectly with a flaw that is only now visible, or...? It's the most common of the three top possibilities. -- Tom
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following