2 C*********************************************************************
4 SUBROUTINE RLUSET(LFN,MOVE)
6 C...Purpose: to read a state of the random number generator from a file
7 C...for subsequent generation from this state onwards.
8 COMMON/LUDATR/MRLU(6),RRLU(100)
12 C...Backspace required number of records (or as many as there are).
14 NBCK=MIN(MRLU(6),-MOVE)
16 BACKSPACE(LFN,ERR=120,IOSTAT=IERR)
21 C...Unformatted read from unit LFN.
24 READ(LFN,ERR=120,IOSTAT=IERR) (MRLU(I1),I1=1,5),
31 120 WRITE(CHERR,'(I8)') IERR
32 CALL LUERRM(18,'(RLUSET:) error when accessing file, IOSTAT ='//