Enform Plus Reference Manual
Commands
Enform Plus Reference Manual—422684-001
6-4
?ASSIGN Command
{ extent-spec }
{ CODE file-code }
{ exclusion-spec }
{ access-spec }
{ REC record-size }
{ BLOCK block-size }
extent-spec
is one of the following:
{ EXT [ ( ] pri-extent-size [ ) ] }
{ EXT ( [ pri-extent-size ] , sec-extent-size ) }
exclusion-spec
 is one of the following:
{ EXCLUSIVE }
{ SHARED }
{ PROTECTED }
access-spec
is one of the following:
{ I-O }
{ INPUT }
{ OUTPUT }
The ?ASSIGN command can be entered at any time prior to running a query. Each time 
an ?ASSIGN command is entered, an entry of the assignment is made in the internal 
table. The internal table holds up to 32 assignments. When the internal table is full, the 
?ASSIGN command can be entered without any parameters to clear all of the 
assignments.
Each DDL dictionary RECORD statement describes records in a physical file, named by 
a DDL FILE IS clause. Enform Plus uses the physical file name in the DDL FILE IS 
clause to locate the records and retrieve information. The actual records desired are not 
always in the physical file named in the dictionary. An example would be when test 
records are used in place of actual records. The ?ASSIGN command temporarily 
overrides the physical file named by the DDL FILE IS clause. In the following 
example, the employee record description is assigned to the physical file 
$data.database.sample:
?ASSIGN employee TO $data.database.sample










