home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Copernicus 1996 #3
/
Image.iso
/
cserv
/
scripts.lib
/
DATEXP.SCR
< prev
next >
Wrap
Text File
|
1996-01-29
|
1KB
|
62 lines
!
! Copyright (c) 1996
! by CompuServe Incorporated, Columbus, Ohio
!
! The information in this software is subject to change without
! notice and should not be construed as a commitment by CompuServe.
!
! DATEX:
! Connect to Datex-P
! Success: returns %Success
! Failure: saves error msg in %FailureMsg and returns %Failure
!
!+V
! "3.8.2"
!-V
show "Verbindungsaufbau mit dem Datex-P-Netzwerk";
Tries = 5;
on cancel goto Return_Cancel;
FailStr = "Datex-P antwortet nicht";
Wait_Datex:
if Tries = 0 goto Datex_Failure;
Tries = Tries - 1;
wait until 15;
send ".";
wait until 15;
send %CR;
wait
%mdm_Failure goto NO_Carrier,
"DATEX-P:" goto Send_Datex_Host
until 30;
goto Wait_Datex;
Send_Datex_Host:
wait until 15;
send "R 4569002330" & %CR;
wait
%mdm_Failure goto NO_Carrier,
"User ID:" goto Return_Success,
"Host Name:" goto Return_Success
until 150;
goto Wait_Datex;
NO_Carrier:
FailStr = "Modemverbindung wurde abgebrochen";
Datex_Failure:
define %FailureMsg = FailStr;
exit %Failure;
Return_Cancel:
exit %Cancel;
Return_Success:
send %CR;
exit %Success;