Access to remote files from a PAW session

When running PAW, it is often necessary to access files (e.g. HBOOK files) which reside on a different computer. Therefore a PAW server is provided, which works using a conventional Client/Server model. The client (PAW) typically runs on a workstation. When the PAW command RLOGIN is invoked, a PAW server is automatically started on the remote machine, normally a mainframe or data server.

Once the RLOGIN REMOTE command has been executed, the PAW Current Directory is set to //REMOTE. The PAW client can now instruct the PAW server to attach a file using the RSHELL command (e.g. rshell file pawtest.dat). If an histogram with HBOOK ID=10 is on the remote file, than the PAW command Histo/Plot 10 will plot this histogram on the local workstation. The histogram resides on //PAWC like other histograms coming from local files.

The RSHELL command may be used to communicate with the PAW server. The expression typed following RSHELL is passed to the server. The current implementation of the PAW server recognizes the commands:

rshell file filename
Server connects filename
rshell cdir //lun11
Server changes current directory
rshell ld
Server lists current directory
rshell ld //
Server lists all connected files
rshell message
Server pass message to operating system

             Access to remote files from a workstation
                                  

PAW > rlogin CERNVM                         | connect to CERNVM
PAW > rshell file HRZTEST.HBOOK             | PAW server connects HRZTEST HBOOK A to //LUN11
PAW > histo/plot 10                         | plot histogram 10 from CERNVM
PAW > histo/fit 20 G                        | fit histo 20 with a gaussian and plot it
PAW > rlogin VXCRNA                         | connect to VXCRNA

PAW > rshell file DISK$DL:[PAW]HEXAM.DAT;3  | PAW server on VXCRNA connects file to //LUN11
PAW > histo/plot 110                        | plot histogram 110 from VXCRNA
PAW > rshell file HRZTEST.DAT               | PAW server on VXCRNA connects file to //LUN12
PAW > histo/plot 110 s                      | plot histogram 110 from HRZTEST.DAT
                                            | on VXCRNA on the existing picture
PAW > rshell ld //                          | list all files connected on VXCRNA
PAW > cdir //CERNVM                         | Change current PAW directory to CERNVM
PAW > histo/plot 110                        | plot histogram 110 from CERNVM
PAW > histo/plot //VXCRNA/110               | plot histogram 110 from VXCRNA
PAW > cdir //PAWC                           | current directory to local memory
PAW > histo/list                            | list all histograms in //PAWC
PAW > Histo/delete 0                        | delete all histograms in memory
PAW > hrin //VXCRNA/0                       | read all histograms from VXCRNA
                                            | file HRZTEST.DAT to //PAWC
PAW > cdir //CERNVM                         | change directory to CERNVM
PAW > rshell file NEW.DAT.D 1024 N          | creates a new file on the D disk
PAW > hrout 0                               | write all histograms from //PAWC
                                            | to CERNVM file NEW DAT D