Use the Host FETCH command to initiate from a host BIMUTIL job stream or from a host application using the BIM-EDIT application interface a transfer of a workstation file to a BIM file.
(Note: This command requires certain BIM-EDIT 5.2A modules to be added or replaced. BIM-EDIT releases after 5.2A will integrate this support.)
Required Operands
SRC is the full path of the workstation file to be copied.
USER is the origin user. The SRC file will be copied from the workstation where the USER user is logged on.
DEST is the name of the BIM file to be created.
Optional Operands
TYPE is the type of the BIM file to be created.
Default: Determined by the host BIM-EDIT system $DFL model.
CRRET indicates whether the workstation file contains carriage return sequences to separate records. Currently, this operand is ignored. Carriage return sequences are always assumed.
TRANS indicates whether ASCII to EBCDIC translation is to take place. Specify "On" or "Yes" to translate. Specify "Off" or "No" if translation is not to occur.
Default: Yes.
The following VSE JCL transfers the workstation file C:\RXI\APFILE from the workstation where USR1 is logged on to the BIM file "RXI\APFILE" as type DATA. The file is presumed to contain ASCII text and will be converted to EBCDIC text.
// EXEC BIMUTIL
LOGON $SYS,$SYS
FETCH C:\RXI\APFILE,USR1,RXI,DATA
/*