IBM Information Management System (IMS)

  • 1.  Initialize Db using IMS OLR

    Posted Wed March 23, 2022 04:28 PM
    I'm new to IMS and also to the online reorg facility. I'm trying to initialize a database using OLR and want to avoid creating an Image Copy after the database is made empty.

    If I change the ICEIN DD to DUMMY, I get the below abend:

    FABJ3916E DYNAMIC ALLOCATION FAILURE OCCURRED FOR DD: FABJ1001 RC=04 RSN=97000000 SMS RSN=00000402

    FABJ3917E DSN: IC1.MS3D0NSP.MS3D0NSP  DISP: NEW

    FABJ3917E UNIT: SYSALLDA

    FABJ3900E HP IMAGE COPY DETECTS ERRORS DURING IMAGE COPY DATA SET CREATING PROCESS.

     

     

    If I remove the optional control card ICEIN(ICEIN) I get the below abend:

    HRF01127E  No IC1 found for MS3D0NSP

    HRF01000I  Verify input ended, return code is 20

    HRF01042E  Subtask SCHD 0005 has terminated abnormally

    HRF01043E  Abend code is U0999

     

     

    If I use the ICDYN(N) I get the same error as above

     

    If I use ICDYN(Y) to dynamically allocate the IC dataset, I need to specify ICHLQ(xxxxxxxx) and it will create the IC in there.

     
    Is there an option I can use to tell OLR not to take an image copy after the successful initialization?


    Thanks
    Laszlo

    ------------------------------
    Laszlo Szlatki
    ------------------------------


  • 2.  RE: Initialize Db using IMS OLR

    Posted Wed March 23, 2022 06:39 PM

    Hi Lazlo,

    Those messages are coming from an IMS tool, not the IMS product itself. IBM does not own these tools, so you might need to find out which tool is issuing those messages and reach out to that vendor.

    And just so you know, all IMS messages are documented in the IMS docs: https://www.ibm.com/docs/en/ims/15.1.0?topic=ims-messages-codes.

    Also, this site might help: https://www.ibm.com/support/pages/node/712955.



    ------------------------------
    Michelle Carey
    ------------------------------



  • 3.  RE: Initialize Db using IMS OLR

    Posted Thu March 24, 2022 09:12 AM
    Lazlo,
    Michelle is correct. The messages you are receiving are from IMS Tools High Performance Image Copy.  Some of your post needs clarification.  The Online Reorganization Facility - ORF is a Tool that is additional to the IMS Engine.  The Online Reorganization - OLR is part of the IMS engine and for HALDB datasets specifically. 

    From your post, it seems you have deleted and redefined the Database Dataset.  The dataset is empty now and not processable by IMS until an Image Copy is performed.  You want to continue to use the database without performing an Image Copy.  
    If the dataset is registered to DBRC as recoverable this is a requirement.  The Image Copy is required, and establishes a recovery point if any database errors occur in the future.

    Please validate this train of thought or correct me.

    The database is likely a recoverable one for reason.  So it may be a good practice to establish the recovery point.

    p.s.  Db refers to Db2  =)

    Thanks
    Dennis Eichelberger
    IMS Support
    Washingto Systems Center


    ------------------------------
    Dennis Eichelberger
    ------------------------------



  • 4.  RE: Initialize Db using IMS OLR

    Posted Thu March 24, 2022 10:14 AM
    Thank you Michelle an Dennis for your replies.

    Your train of thought is pretty accurate Dennis, and your reasoning makes perfect sense. 
    I'll keep the image copy in place, to provide a starting point for recovery.

    Thanks
    Laszlo

    ------------------------------
    Laszlo Szlatki
    ------------------------------