Use the Host ROUTEF command to initiate from a host BIMUTIL job stream or from a host application using the BIM-EDIT application interface a transfer of the data following the ROUTEF command to a workstation.
The Host ROUTEF command has no operands. Instead, it relies upon the contents of the following variables:
ROUUSER is the destination user. Data following the ROUTEF command will be copied to the workstation where the USER user is logged on.
ROUFILE is the full path of the file to be created at the destination workstation.
ROUCRRET specifies whether a carriage return byte sequence is to be written after each record. Specify "1" to write the carriage return. Specify "0" otherwise.
Default: Off.
ROUASCII specifies whether the data following the ROUTEF command contains EBCDIC text and whether conversion to ASCII is to take place. Specify "1" to perform an EBCDIC to ASCII conversion. Specify "0" otherwise.
Default: On.
The following VSE JCL transfers the three lines following the ROUTEF command to the workstation where user USR1 is logged on as file C:\RXI\APFILE. The data is presumed to contain EBCDIC text and will be converted to ASCII text. A carriage return byte sequence will be written after each record.
// EXEC BIMUTIL
LOGON $SYS,$SYS
DCL ROUUSER,CHAR,8,V
DCL ROUFILE,CHAR,33,V
DCL ROUCRRET,CHAR,1,V
DCL ROUASCII,CHAR,1,V
SET ROUUSER,USR1
SET ROUFILE,C:\RXI\APFILE
SET ROUCRRET,1
SET ROUASCII,1
ROUTEF
data line 1
data line 2
data line 3
++/*
/*