Guardian User's Guide
Using FUP for Advanced File Management
Guardian User’s Guide—425266-001
8-14
File-Creation Examples
Creating a File With the Attributes of an Existing File
If a file already exists that has all or most of the attributes you want a new file to have, 
use the LIKE option of the SET command to duplicate these attributes. To display the 
attributes of a file, enter the INFO command with the DETAIL option:
Make sure the parameters for the existing file have the values you want for the new file. 
Then enter the SET command with the LIKE option. FUP then sets its file-creation 
characteristics to match those of the file you specify. New files you create will have 
those attributes:  
-INFO $CLEAN.BERKELEY.AIR, DETAIL
$CLEAN.BERKELEY.AIR      10 Feb 1992 16:10
 ENSCRIBE
 TYPE K
 EXT ( 5 PAGES, 5 PAGES )
 REC 80
 BLOCK 2048
 IBLOCK 2048
 KEYLEN 9
 KEYOFF 0
 DCOMPRESS, ICOMPRESS
 MAXEXTENTS 16
 OWNER 8,44
 SECURITY (RWEP): NUNU
 MODIF: 25 Jan 1992 19:08
 CREATION DATE: 20 Jan 1992 12:09
 LAST OPEN: 22 Jan 1992 14:09
 EOF 0 (0.0 % USED)
 EXTENTS ALLOCATED: 0
 FREE BLOCKS 0
 INDEX LEVELS: 0 
-SET LIKE $CLEAN.BERKELEY.AIR
-SHOW
 TYPE K
 EXT ( 5 PAGES, 5 PAGES )
 REC 80
 BLOCK 2048
 IBLOCK 2048
 KEYLEN 9
 KEYOFF 0
 DCOMPRESS, ICOMPRESS
 MAXEXTENTS 16
-CREATE $CLEAN.SANJOSE.AIR
CREATED - $CLEAN.SANJOSE.AIR










