CL Command Reference - CRTPAGSEG

CL Command List > CRTPAGSEG Reference

Description:

The Create Page Segment (CRTPAGSEG) command creates a page segment space object by copying a user-supplied database file to an internal space object. The user must load the page segment resource into the database from a remote system (such as a System/370) or from an external medium (such as a tape) and must put the resource in the SAA format that can be processed by the operating system.


Examples:

CRTPAGSEG PAGSEG(MYLIB/PAGSEG1) FILE(*LIBL/PAGSGMTS)
MBR(*PAGSEG)
AUT(*ALL) TEXT(¡¯canned paragraph 1¡¯)

This command creates the page segment PAGSEG1 in MYLIB and uses the PAGSGMTS member, PAGSEG1 as input to the command. Specifying *ALL for the AUT parameter allows any user to perform most object-oriented commands against it. The text contains the description of the object.