EasyManua.ls Logo

HP Guardian - Figure 8-7. Structure of a Partitioned File

HP Guardian
460 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Using FUP for Advanced File Management
Guardian User’s Guide425266-001
8-13
File-Creation Examples
Figure 8-7. Structure of a Partitioned File
20> TEDIT FILE3
VOLUME $VOL1.PARTFILE -- Set the default volume
-- and subvolume .
SET TYPE K -- Set the file type to
-- key-sequenced.
SET CODE 409 -- You can optionally specify a
-- a file code .
SET EXT (64,8) -- Set appropriate primary and
-- secondary extent sizes for
-- the application.
SET REC 128 -- Set the record length.
SET KEYLEN 20 -- Specify the primary-key
-- length (required for
-- key-sequenced files).
--
-- Specify the partitions, their volumes, primary
-- and secondary extent sizes, and the partial-key
-- values
--
SET PART ( 1, $VOL2, 64, 8, "HA" )
SET PART ( 2, $VOL3, 64, 8, "QU" )
-- Show the current parameter
SHOW
CREATE PART -- Create the file.
21 > FUP /IN FILE3/
007CDT .CDD
$VOL1.PARTFILE.PART
$VOL1
PARTFILE.PART
ALLEN, A.
BAKER, R.
DAVIS, J.
EDWARDS, S.
GOMEZ, G.
$VOL2
PARTFILE.PART
HAN, A.
KELLEY, S.
LOTHAR, K.
NYQUIST, G.
PARIS, P.
$VOL3
PARTFILE.PART
QUINCY, P.
ROX, G.
VARIO, J.
WEST, T.
ZIP, M.

Table of Contents

Related product manuals