Datacom

 View Only
  • 1.  To use online block size alter, what are my steps?

    Posted Dec 07, 2018 01:07 PM

    How do I determine what I need to do differently?  Thank you.

     

    I ran a "PREINIT AREA=PCI,DBID=289,BLKSIZE=27998" to move from 4136 byte blocks.  This is during my testing of going from 15.0 to 15.1.

     

    Then I ran the following:

     

    //SYSIN DD *
    -UPD AREA,PCI-AREA(PROD)
    1000 ALTER
    3001 PCI
    3002 27998 4
    -END

     

    I received a 75(041):

     

    FUNCTION = UPDATE-OCCURRENCE
    DATACOM-NAME = PCI
    BLOCK-SIZE = 27998 <== was 04136
    SPACE-MNGMNT = 4 <== was 1

    FUNCTION = CATALOG-STRUCTURE
    ENTITY-TYPE = AREA
    OCCURRENCE = PCI-AREA
    VERSION = PROD

    **** ERROR **** DB RETURN CODE = 75 (041) CXX VALIDATION ERROR



  • 2.  Re: To use online block size alter, what are my steps?
    Best Answer

    Posted Dec 07, 2018 01:16 PM

    Where did you get those DDUPDATE transactions, from Roy?

     

    I would have used something like:

     

    +UPD AREA,PCI-AREA(PROD)

    1000 ALTER

    1500 BLOCK-SIZE,27998

    +END

    +UPD AREA,PCI-AREA(PROD)

    1000 ENABLE

    -END

     

    Changing the DSOP is something like:

     

    +UPD AREA,PCI-AREA(PROD)

    1000 ALTER

    1500 SPACE-MNGMNT,4

    +END

     

    I’ve never tried them at the same time

     

    Thanks,

    Clyde



  • 3.  Re: To use online block size alter, what are my steps?

    Posted Dec 07, 2018 01:31 PM

    Thanks for the rapid reply Clyde.

    I came up with mine through other updates jobs I already use for other stuff combined with hunting for the new stuff online in the Datacom Core doc.

    I will try your method.

     

    Thank you,

     

    Stephen (Steve) Roy