5 * Revision 1.1.1.1 1996/03/06 10:47:15 mclareni
9 #include "zebra/pilot.h"
10 SUBROUTINE FZITRN (MBAT,NWBAT)
12 C- Transmit one batch of data from the input buffer,
13 C- exchange file format, native data format
14 C- service routine to FZIN
15 C- careful : must not be called with N4SKII=0 .AND. NWBAT=0
17 #include "zebra/zunit.inc"
18 #include "zebra/zebq.inc"
19 #include "zebra/mzca.inc"
20 #include "zebra/fzci.inc"
21 C-------------- End CDE --------------
22 DIMENSION MBAT(99), NWBAT(9)
23 #if (defined(CERNLIB_QTRHOLL))&&(!defined(CERNLIB_A6M))
25 DATA NAMESR / 4HFZIT, 4HRN /
27 #if (defined(CERNLIB_QTRHOLL))&&(defined(CERNLIB_A6M))
28 DATA NAMESR / 6HFZITRN /
30 #if !defined(CERNLIB_QTRHOLL)
32 PARAMETER (NAMESR = 'FZITRN ')
36 * quick trace without test on capacity
37 #include "zebra/qtraceq.inc"
42 24 NWAV = L4ENDI - L4CURI
43 IF (NWAV.EQ.0) GO TO 41
44 IF (N4SKII.NE.0) GO TO 31
46 NW = MIN (NWDO-NDONE, NWAV)
47 CALL UCOPY (LQ(L4CURI), MBAT(NDONE+1), NW)
50 IF (NDONE.LT.NWDO) GO TO 41
51 #include "zebra/qtrace99.inc"
54 C-- Skip over N4SKII leading data words
56 31 NSK = MIN (N4SKII,NWAV)
59 IF (N4SKII.EQ.0) GO TO 46
61 C---- Read next PhR / LR for batch continued
65 IF (IFLAGI.NE.0) GO TO 999
66 46 IF (NWDO+N4SKII.NE.0) GO TO 24
69 * ==================================================
70 #include "zebra/qcardl.inc"