#if defined(W32) || defined(UNX)
   .Remote file access.
      .Access remote file by remoteID registered on hosts file.
       Default hosts fiel is xehosts on work directory(::xehosts).
       ex). edit file1.txt in home dir on 192.168.2.15 by "e a1:file1.txt"
            with hosts file has following line
         a1 192.168.2.15  user001 pswdpswd
      .password in the line is encrypt if edit and saved by xe.
      .undo line cmd of dirlist is not yet supported except for TSO.
      .Windows as ftp server is not tested,Linux/AIX ftp server is tested.
      .SUBmit cmd for remote file is executed localy except TSO file.
       TSO file is executed on the system.
      .XPRrint cmd for remote file prints localy.
      .command line paraqmeter for ftp.
          /Fx[t][:hosts]  :x=0:FTP is not used, x=1:FTP avail(without log)
                           x=w:output ftplog, x=a:ftplog by append mode.
                          :t:debug option not to delete temp file for ftp get.
                          :hosts:hosts filename for xe.
          Default is /F1:xehosts(xehosts on work directory)
      .hosts file format.
       -write comment after #
       -operand is remoteid, remote address, userID, password in this sequence
        with space delimiter.
       -remoteid is 2 to 8 byte. CaseSensitive except for TSO system.
       -remote address is ip-address or host name on native hosts file.
       -if password is not required,code "" in the position.
       -optional parameter following password.(keyword=value format)
        HOME=/xxx/yyy    :home dir
        TZ=[-]xxx/yyy    :time zone. ex) TZ=-0900
                          File date is exchanged by GMT,but in Japan
                          AIX is set to GMT=JST. So TZ=0000 should be
                          specified.
        DBCS={EUC|SJIS}  :required when ls subcmd of ftp output is japanese.
        TSO=prtNo        :specify portNumber if target is TSO(currentry support TurnkeyMVS)
        LS="xx"/NLST     :specify FTP sub cmd correspond to unlix cmd "ls -la".
                          defailt is "dir". use this option when FTP server dose not support dir subcmd.
                          LS=NLST means LS="ls -la".
                          (I heard RFC defines that ls subcmd returns file name only.)
        ICMD="cmds"      :specify FTP subcmds issued just after login.
                          insert "\n" if the string contains multiple commands.
                          When the case FTP server is configured to reject passive mode
                          and FTP client default is passive mode,
                          you can login successfully but transfer cmd such as ls will fail
                          with "no route to host".
                          ICMD=passive toggles passive and active mode.
sample)

    ###################################################################
    #sample hosts file for xe
    #format
    # RemoteID  RemoteAddress UserID  Password [option] #Comment
    #   option:HomeDir     :ex. HOME=/tmp/myhome
    #         :TimeZone    :ex. TZ=-0900
    #         :DBCSCodePage:ex. DBCS=EUC       (EUC or SJIS)
    #         :TSO=portno  :ex. TSO=3270       destination is MVS
    #         :LS="xx"/NLST:ex. LS=NLST        specify any "list directory" cmd string(max 12 byte).
    #                                          default is dir,NLST means "ls -la".
    #         :ICMD="cmds" :ex. ICMD="passive" specify cmd to be issued after opened session
    #                                          insert "\n" between commands when multiple.
    #Sample
    # a1 192.168.2.5  mizumaki machi TZ=0900
    # hm localhost    herc01   ""    TSO=3270 home='herc01.maclib.asm'
    ###################################################################

    (Note) Because using ftp to access remote,proper environment setup is required.
           DNS may cause slow responce because xe open session each access.
           To avoid DNS reference,register your local address on remote /etc/hosts.
           And confirm resolve sequence of /etc/host.conf is host then DNS
           like as "order hosts,bind".

#endif
1