Download - Barr Central Home

Transcript
5.1 Send Tape Files from Computer to Mainframe
To send a tape file to the mainframe, the software sends the file as input to the BARR/TRAN
program on the mainframe. BARR/TRAN block mode allows the file to be written to
mainframe disk or tape. The file written on the mainframe will have the same record format
as the file read from the computer tape.
When BARR/TRAN processes the tape you send to the mainframe, the tape transfer format
is always TAPE80. (Appendix A describes the TAPE80 format.) You can set the tape format
from Tape Options Menu 1.
Send a Tape
Follow these steps to send data from a computer tape to the mainframe. You must submit
the JCL from the Barr workstation.
1. Edit UPTAPE.JOB
First you must edit the JCL named UPTAPE.JOB according to your computing center’s
accounting and file-naming conventions.
The line numbers in the left column of the sample JCL refer to the explanations. Do not
include them in the JCL file.
1
2
3
4
5
6
7
8
9
10
11
//UPTAPE JOB (1234,5678,2,1,0),’your name’
//*
//* COPY FROM A TAPE FILE ON A PC
//* TO A MAINFRAME DATASET.
//*
//
EXEC BARRTRAN
//BLKOUT
DD UNIT=SYSDA,DISP=(NEW,CATLG),
//
DSN=disk.dataset,
//*
DCB=(RECFM=r,LRECL=l,BLKSIZE=32760),
//
SPACE=(32760,(20,10),RLSE)
//SYSIN
DD *
Note:
Where you see lowercase text in the JCL, remember to substitute the correct values
in uppercase.
You must edit the following lines.
BARR/TAPE
65