home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Spezial / SPEZIAL2_97.zip / SPEZIAL2_97.iso / ANWEND / TOOLS / DIALIP / NOTIFY1.CMD < prev    next >
OS/2 REXX Batch file  |  1997-09-09  |  424b  |  27 lines

  1. /**/
  2.  
  3. parse arg id
  4.  
  5. tmp = value( 'TMP', , 'OS2ENVIRONMENT' )
  6. msg_file = tmp'\msg_file'
  7.  
  8.  
  9. if ( stream( msg_file,"c",'query exists' ) \= '' ) then
  10.     DO
  11.     'del' msg_file
  12.     END
  13.  
  14. text = '*** Could not connect for id ='id'= ***'
  15. rc = lineout( msg_file, text )
  16.  
  17. text = 'at: ' time() 'on' date()
  18. rc = lineout( msg_file, text )
  19.  
  20. rc = stream( msg_file,"c","close" )
  21.  
  22. 'start epm' msg_file
  23.  
  24. 'exit'
  25. exit
  26.  
  27.