-COPYSL [ MPE Segmenter Reference Manual ] MPE/iX 5.0 Documentation
MPE Segmenter Reference Manual
-COPYSL
Copies the contents of the currently managed Segmented Library (SL) file
to a new SL file, eliminating any fragments of free space while allowing
you to control the size of the new file. This command is different from
-CLEANSL in that you may change the amount of file space used by the
file. The new SL file becomes the currently managed SL file.
SYNTAX
-COPYSL percent[,filename][;USERFORMAT]
PARAMETERS
percent The amount of extra file space you want the new file to
have, expressed as a percentage of the minimum amount of
space needed to hold the segments. This parameter must
be an integer, not less than 0 or greater than 9900.
filename The name of the new SL file. If you omit this
parameter, the Segmenter will purge the old SL file,
giving its name to the new file. In either case, the
new SL file is a permanent file.
USERFORMAT Specifies conversion during copy from system SL format
to user SL format. The resulting SL will have a
group/account SL structure provided all active segment
numbers are less than %377. If the currently managed SL
is already a group or account SL, this parameter is
ignored. If this parameter is omitted, the new SL
structure will be the same as the old SL structure.
EXAMPLE ONE
-SL MYSL Opens the SL file MYSL as the currently managed
SL file.
-COPYSL 40,NEWSL Copies the contents of the SL file MYSL into
the new SL file NEWSL, building NEWSL with 40%
more free space than the minimum presently
needed to hold the segments.
EXAMPLE TWO
-SL SL.PUB.SYS Opens the system SL as the currently managed SL
file.
-COPY Copies the contents of the system SL into the
1,MYSYSSL;USERFORMAT new SL file MYSYSSL, building MYSYSSL with 1%
more free space than the minimum needed to hold
the segments. If the system SL has no segment
numbers greater than %376, MYSYSSL will have
the group/account SL structure, otherwise it
will retain the system SL structure.
MPE/iX 5.0 Documentation