5 * Revision 1.1.1.1 1996/03/06 10:47:25 mclareni
9 #include "zebra/pilot.h"
10 SUBROUTINE RZNDIR(CHPATH,CHOPT)
12 ************************************************************************
14 * To set,read or print the naming directory
16 * *CHPATH* Character variable specifying the complete pathname of the
17 * naming directory ('S' option)
18 * CHOPT Character variable specifying the option
19 * 'R' Read the naming directory pathname into CHPATH
20 * 'P' Print the naming directory
21 * ' ' Set the naming directory to the path specified in
24 * *CHPATH* Character variable containing the complete pathname of the
25 * naming directory (default option).
29 * Author : R.Brun DD/US/PD
33 ************************************************************************
34 #include "zebra/zunit.inc"
35 #include "zebra/rzcl.inc"
36 #include "zebra/rzdir.inc"
37 #include "zebra/rzch.inc"
39 EQUIVALENCE (IOPTR,IOPTV(1)), (IOPTP,IOPTV(2))
40 CHARACTER*(*) CHPATH,CHOPT
42 *-----------------------------------------------------------------------
46 CALL UOPTC (CHOPT,'RP',IOPTV)
48 * Read Naming directory
51 CALL RZPAFF(CHNDIR,NLNDIR,CHPATH)
55 * Print Naming directory
58 CALL RZPAFF(CHNDIR,NLNDIR,CHL)
59 WRITE(IQPRNT,1000)CHL(1:90)
60 1000 FORMAT(' Naming Directory = ',A)
64 * Set Naming directory