pre cutover push
This commit is contained in:
@ -106,6 +106,32 @@ Service GetServices(Server)
|
||||
end service
|
||||
|
||||
|
||||
//----------------------------------------------------------------------------------------------------------------------
|
||||
// GetServices
|
||||
//
|
||||
// Returns an array of active services for the indicated server.
|
||||
//----------------------------------------------------------------------------------------------------------------------
|
||||
Service GetServiceKeys()
|
||||
|
||||
Services = ''
|
||||
Sentence = 'SELECT SERVICES BY NAME'
|
||||
rv = Set_Status(0)
|
||||
RList(Sentence, TARGET_ACTIVELIST$, '', '', '')
|
||||
If (@List_Active EQ 3) AND (@RecCount GT 0) then
|
||||
EOF = False$
|
||||
Loop
|
||||
Readnext ServiceKeyID else EOF = True$
|
||||
Until EOF EQ True$
|
||||
Services := ServiceKeyID : @FM
|
||||
Repeat
|
||||
end
|
||||
Services[-1, 1] = ''
|
||||
|
||||
Response = Services
|
||||
|
||||
end service
|
||||
|
||||
|
||||
//----------------------------------------------------------------------------------------------------------------------
|
||||
// GetService
|
||||
//
|
||||
@ -221,4 +247,3 @@ return
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user