To execute ENFORM with the REPSAMP file without File Error #11, the logical record name must be assigned to an actual file name.
As shown in the example below, the ASSIGN command should be executed before running ENFORM at TACL:
< An ASSIGN example at TACL >
TACL> assign COMMAND-AUDIT-DATETIME, <$vol>.XYGATEAC.AUDIT
TACL> enform /name, in <$vol>.XYGATEAC.REPSAMP/
Alternatively, the ASSIGN command can be part of the commands in the REPSAMP file, as shown in the example below.
< the original REPSAMP file doesn?t have the '?ASSIGN' command >
?DICTIONARY <$vol>.XYGATEAC
OPEN COMMAND-AUDIT-DATETIME ;
< Open the REPSAMP file to add '?ASSIGN' to assign the ?COMMAND-AUDIT-DATETIME? record to a physical file >
?DICTIONARY <$vol>.XYGATEAC
?ASSIGN COMMAND-AUDIT-DATETIME TO <$vol>.XYGATEAC.AUDIT
OPEN COMMAND-AUDIT-DATETIME ;
If you are unable to locate the solution needed or if you need additional assistance, please Click Here to open a case from our Customer Care Portal.