DaveyCrockett
Programmer
Let me first state that I am fairly new to OpenVMS and have been trying to learn how to fix some of the issues that I have been stuck with by my predescessors and was hoping that someone might be able to help me fix it.
In our systartup_v5.com file we have the following lines:
$ @USERDISK:[EZBRIDGE_NEW.EBMGR]EZMSET.COM
$ START_CI ! start EZbridge processes
$!
$! NAS PIPELINE STARTUP
$ @sys$startup: APS_$PIPELINE_STARTUP.COM
What this is basically doing is trying to start EZBridge communication between the Vax and an AS/400 system.
Everytime we reboot we have to manually STOP_CI (Stop the communication) and then START_CI (Start the communication). The problem is that when START_CI is called, it doesn't always connect properly, thus never actually communicating. What I was hoping to do was, Check to see if the Status Returned by START_CI is good, If not, then STOP_CI and then START_CI until the communication is GOOD.
I am familiar w/ VB, but this is way different.
VB would be something like:
STARTIT: 'label
intStatus = START_CI()
If intStatus = 0 Then
'Connection BAD
STOP_CI
GOTO STARTIT
Exit_Sub
Endif
Do any of you know how I could implement this?
Thank you in advance.
In our systartup_v5.com file we have the following lines:
$ @USERDISK:[EZBRIDGE_NEW.EBMGR]EZMSET.COM
$ START_CI ! start EZbridge processes
$!
$! NAS PIPELINE STARTUP
$ @sys$startup: APS_$PIPELINE_STARTUP.COM
What this is basically doing is trying to start EZBridge communication between the Vax and an AS/400 system.
Everytime we reboot we have to manually STOP_CI (Stop the communication) and then START_CI (Start the communication). The problem is that when START_CI is called, it doesn't always connect properly, thus never actually communicating. What I was hoping to do was, Check to see if the Status Returned by START_CI is good, If not, then STOP_CI and then START_CI until the communication is GOOD.
I am familiar w/ VB, but this is way different.
VB would be something like:
STARTIT: 'label
intStatus = START_CI()
If intStatus = 0 Then
'Connection BAD
STOP_CI
GOTO STARTIT
Exit_Sub
Endif
Do any of you know how I could implement this?
Thank you in advance.