CA Gen

Expand all | Collapse all

Gen - Host Encyclopaedia Model Reports error

Jump to Best Answer
  • 1.  Gen - Host Encyclopaedia Model Reports error

    Posted 02-24-2020 10:03 AM

    Hi Genners,

    Is there a separate reference manual for Gen Host Encyclopaedia errors ?
    Getting this (in CA Gen version 8.6 - Build-06 GA) while creating a Model Report – Model Contents:

    ONLOC     = PROP_TITLE
    ONCODE    =        41
    ONFILE    = IEFRPT   

    Not a show-stopper. Just inquisitive.

    Any idea ?

    Many thanks,
    Gagan



    ------------------------------
    IT Consultant - CA Gen
    Infosys
    ------------------------------


  • 2.  RE: Gen - Host Encyclopaedia Model Reports error
    Best Answer

    Posted 02-26-2020 04:15 AM
    Edited by Gary Donoghue 02-27-2020 07:42 AM
    Hi Gagan,

    CA/Broadcom do provide a reasonably definitive set of error/info message references in the documentation (see 'Messages' section with the following categories: ABEND Codes, Build Tool for Distributed Platforms, CSE, Generator, Host Encyclopedia, Consistency Check, Runtime, Function Error and Toolset) though many of the report/utility output is not summarised in any one location, particularly if they ultimately relate to issues of schema/meta model object corruptions etc. In such situations a query on the improving knowledgebase may elicit some useful results or, failing that, submit a ticket into support for investigation and comment.

    Specific to your issue above, however: if this results in a failure to generate the report successfully it might be worth running the TIEEVAL utility against the model in question (warning: if the model is large this can run a long time) with the NOLABL setting to reduce the output size to see if there are any known corruptions within the model . Maybe that will help?

    Kindest Regards

    Gary Donoghue

    ------------------------------
    Senior Consultant/Developer
    Information Engineering Technology
    ------------------------------



  • 3.  RE: Gen - Host Encyclopaedia Model Reports error

    Posted 02-26-2020 05:58 AM

    Hi Gary,

    Thank you for your reply.

    Yes, I saw those error/info message references.

    Will run TIEEVAL later today or tomorrow and see if anything obvious jumps out (i.e. any corrupt objects etc.).

    Regards,

    Gagan



    ------------------------------
    IT Consultant - CA Gen
    Infosys
    ------------------------------



  • 4.  RE: Gen - Host Encyclopaedia Model Reports error

    Posted 02-26-2020 01:50 PM
    Hi Gagan,

    No worries. I hope that helps. Incidentally, I'd recommend you run the TIEEVAL in batch. The format is something like this...

    //<jobcard>
    //*
    //* ENTER JOBCARD FOR HOST ENCYCLOPEDIA INSTALLATION,
    //* CONFIGURATION AND POST-CONFIGURATION JOBS.
    //*
    //* ********************************************************************
    //* TIEEVAL JOB IN BATCH
    //* ********************************************************************
    //TIEEVAL EXEC PGM=IKJEFT01,DYNAMNBR=30
    //STEPLIB DD DSN=<steplib cards>
    //SYSPROC DD DSN=<sysproc cards>
    //TIUPARML DD DSN=<parmlib cards>
    //SYSUDUMP DD SYSOUT=*
    //SYSPRINT DD SYSOUT=*
    //SYSTSPRT DD SYSOUT=*
    //SYSOUT DD SYSOUT=*
    //MONITOR DD SYSOUT=*
    //LOGFILE DD SYSOUT=*
    //IEFRPT DD SYSOUT=*
    //* END INPUT DATA
    //*****************************************************************
    //*** TSO STATEMENTS FOLLOW THIS SYSTSIN CARD ***
    //*****************************************************************
    //SYSTSIN DD *
    DSN SYSTEM(<db2 subsystem>)
    RUN PROGRAM(TIUEVALX) PLAN(<planprefix>EVAL) +
    LIBRARY('<CA Gen Application LoadLib') +
    PARMS('STACK(0) /<CA Gen Model Name>,NOLABL,NOPROP,DEBUG=')
    END
    /*
    //

    ...with the following parameters...

    TIEEVAL MODEL('MODEL NAME TO CHECK')
    THE MODEL PARM IS REQUIRED. THE FOLLOWING ARE OPTIONAL
    KEYWORDS OR PARAMETERS:
    <NO>TRIGGER - CHECK FOR MISSING REQUIRED ASSOCS
    <NO>CARD - CHECK ASSOCIATION CARDINALITY
    <NO>ORDER - CHECK ORDERED ASSOCIATION CHAINS
    <NO>ASSOC - CHECK ASSOCIATION/OBJECT TYPE PAIRS
    <NO>PROP - CHECK PROPERTY/OBJECT TYPE PAIRS
    <NO>TECH - DISPLAY TECHNICAL INFO FOR TRIGGER/CARD CHECKS
    <NO>LABL - DISPLAY LABEL INFO FOR ALL CHECKS

    EITHER THE <NO> FORM OR THE NON-<NO> FORM OF THE KEYWORDS
    MUST BE USED, THEY MAY NOT BE MIXED. FOR EXAMPLE:
    %TIEEVAL MODEL('TEST MODEL') TRIGGER
    AND
    %TIEEVAL MODEL('TEST MODEL') NOCARD NOPROP NOORDER NOASSSOC

    PERFORM THE SAME CHECKS. IF ONLY THE MODEL NAME PARM IS USED,
    THEN "%TIEEVAL MODEL('TEST MODEL') NOPROP" IS ASSUMED.

    ENDS

    Hope this is of further use.

    Kindest Regards

    ------------------------------
    Senior Consultant/Developer
    Information Engineering Technology
    ------------------------------



  • 5.  RE: Gen - Host Encyclopaedia Model Reports error

    Posted 02-26-2020 03:58 PM
    Thank you Gary.

    Regards,
    Gagan

    ------------------------------
    IT Consultant - CA Gen
    Infosys - AIB
    ------------------------------



  • 6.  RE: Gen - Host Encyclopaedia Model Reports error

    Posted 02-26-2020 05:41 PM
    I do not believe you will find these ONCODE error numbers documented in Gen's error messages. We could/should probably look at documenting them...

    I believe the ONCODE = 41 means the file you trying to write the report to is full. You may want to allocate a larger report file and recreate the report. TIEEVAL will probably show you that the Trail record is missing.

    I hope this helps but if you still have problems, the best suggestion is to report this to our Support team and they will be able to help you.

    Regards,

    ------------------------------
    Teresa Bredenkamp
    CA Gen Development
    Broadcom
    ------------------------------



  • 7.  RE: Gen - Host Encyclopaedia Model Reports error

    Posted 02-27-2020 04:25 AM

    Hi Teresa,

    Thank you for your reply.

    Looks like 'Model contents report' can only be generated online.


    Regards,

    Gagan



    ------------------------------
    IT Consultant - CA Gen
    Infosys - AIB
    ------------------------------



  • 8.  RE: Gen - Host Encyclopaedia Model Reports error

    Posted 03-04-2020 02:56 AM
    Better late than never...

    ONCODE is a built-in PL/I function related to error handling (https://www.ibm.com/support/knowledgecenter/en/SSY2V3_4.3.0/com.ibm.entpli.doc_4.3/lr/lsh-oncode.htm). ONFILE and ONLOC are also PL/I built-in functions listed in the same section.

    The PL/I runtime messages page(https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.3.0/com.ibm.zos.v2r3.ceea900/plimsgs.htm) lists the condition codes. Unfortunately, some are just listed as ONCODE=oncode-value for a corresponding message.

    Taking 41 as an example, it would seem to correspond to IBM0141S.

    IBM0140S
    ONCODE=40. The TRANSMIT condition was raised by a SIGNAL statement (FILE= or ONFILE= file-name).

    IBM0141S
    ONCODE=oncode-value The TRANSMIT condition was raised because of an uncorrectable error in output (FILE= or ONFILE=file-name).

    IBM0142S
    ONCODE=42. The TRANSMIT condition was raised because of an uncorrectable error in input (FILE= or ONFILE= file-name).

    Other sites such as https://www.techagilist.com/mainframe/jcl/pl1-oncode/ explicitly list 41.

    40 SIGNAL TRANSMIT statement executed.
    41 transmission error in output data set
    42 transmission error in input data set


  • 9.  RE: Gen - Host Encyclopaedia Model Reports error

    Posted 02-27-2020 04:12 AM

    Hi Gary,

    Ran TIEEVAL...here is the report:

    OPTIONS:
    VALIDATE TRIGGERS = Y
    VALIDATE CARDINALITY = Y
    VALIDATE ORDERED ASSOCIATIONS = Y
    VALIDATE OBJECT/ASSOCIATION = Y
    VALIDATE OBJECT/PROPERTY = Y
    DISPLAY TECHNICAL INFORMATION = Y
    DISPLAY LABEL INFORMATION = N

    NUMBER OF OBJECTS VALIDATED = 366732
    NUMBER OF ERRORS = 0



    ------------------------------
    IT Consultant - CA Gen
    Infosys - AIB
    ------------------------------



  • 10.  RE: Gen - Host Encyclopaedia Model Reports error

    Posted 02-27-2020 04:50 AM
    Hi Gagan,

    Well that's encouraging at least! Best to report this into support per Teresa's comments and have them confirm the nature of the issue.

    Kindest Regards

    Gary

    ------------------------------
    Senior Consultant/Developer
    Information Engineering Technology
    ------------------------------