How can we limit the primary space allocation for dataset SYSREC in a REORG utility?

Document ID : KB000054063
Last Modified Date : 14/02/2018
Show Technical Document Details


The primary space allocation of the SYSREC dataset in a REORG job exceeds our hardware limitation of 65535 tracks. Is there a way to limit the allocation calculated by %ROSYSREC?


To limit the primary space allocation using %ROSYSREC you can add the following #IF logic to a copy of the MJUTLRO model in your highlevel.MODEL library.

 //             UNIT=%UNIT,DISP=(,KEEP),
 //  SPACE=(CYL,(nnnn,%CALC(%ROSYSREC/10))) 
 //  SPACE=(CYL,(%ROSYSREC,20))                          

where nnnn is the maximum for your site. This example will give you the maximum primary allocation.

Please note that the SPACE definitions used are just examples and that you can use your own calculations based on site requirements and standards. It is recommend that you take a copy of the MJUTLRO model and customize that, rather than change the supplied model.