Contents - Index


 

Use the Host FETCHVSM 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 VSAM 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 DLBL (VSE) or DDNAME (MVS) of the VSAM file to be written.  The file must already exist.

 

Optional Operands

 

TYPE is the VSAM file type.  Specify either ESDS, KSDS, or RRDS.

 

 Default: KSDS.

 

 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 VSAM ESDS file identified by the DLBL APFILE.  The file is presumed to contain ASCII text and will be converted to EBCDIC text.

 

   // DLBL APFILE,'RXI.APFILE'

   // EXEC BIMUTIL

   LOGON $SYS,$SYS

   FETCHVSM C:\RXI\APFILE,USR1,APFILE,ESDS

   /*