| Title: | DEC TCP/IP Services for OpenVMS | 
| Notice: | Note 2-SSB Kits, 3-FT Kits, 4-Patch Info, 7-QAR System | 
| Moderator: | ucxaxp.ucx.lkg.dec.com::TIBBERT | 
| Created: | Thu Nov 17 1994 | 
| Last Modified: | Fri Jun 06 1997 | 
| Last Successful Update: | Fri Jun 06 1997 | 
| Number of topics: | 5568 | 
| Total number of notes: | 21492 | 
    
    Hi,
    
    An odd behavior I can't find any info about.......
    
    VMS V6.2, UCX V4.0 ECO2
    When using FTP within a batchjob and using "on error"
    the job ends up with status "%X10128402". Everything
    works ok if "set noon" is used.
    
    Is it a bug or what ???
    
    regards,
    
    /Hakan Andersson
| T.R | Title | User | Personal Name | Date | Lines | 
|---|---|---|---|---|---|
| 5226.1 | FWIW... | SSDEVO::DESKO | Rick in Storage - DTN 522-3905 | Fri Feb 14 1997 17:54 | 4 | 
|     
    $ write sys$output f$message("%X10128402")
    %SMG-E-EOF, end-of-file
    
 | |||||
| 5226.2 | Now it works !! | ASHAM::H_ANDERSSON | Tue Feb 18 1997 07:51 | 20 | |
|     
    OK, I have found why it failed.......
    
    The customer sent me a fax with his batchjob.
    
    .
    .
    $ FTP /USER='user' /PASSWORD='password' 'nodename'
    $DECK
    SET TYPE ASCII
    GET "remotefilename" LOCALFILENAME
    $EOD
    .
    .
    
    Just by adding "bye" or "disconnect" after the "get"-command
    makes everything work fine.
    
    /HAKAN
    
 | |||||