[Info-vax] Listeners in VMS Basic, was: Re: Integrity iLO Configuration?

Arne Vajhøj arne at vajhoej.dk
Thu Jul 1 21:21:00 EDT 2021


On 7/1/2021 4:24 PM, Dave Froble wrote:
> and of course the mandatory error testing:
> 
>          If      ( Stat% And SS$_NORMAL ) = 0%
>          Then    Call VMSERR( Stat% , E$ )
>                  E$ = "Unable to queue create connection socket - " + E$
>                  E% = -1%
>                  SaveStat% = Stat%
>                  GoTo Deassign_Channel
>          End If
> 
>          If      ( IOSB::Stat% And SS$_NORMAL ) = 0%
>          Then    Call VMSERR( IOSB::Stat% , E$ )
>                  E$ = "Unable to create connection socket - " + E$
>                  E% = -1%
>                  SaveStat% = IOSB::Stat%
>                  GoTo Deassign_Channel
>          End If

VB.NET use exceptions so it is up to caller to catch and take
action if needed.

Arne





More information about the Info-vax mailing list