Namespace: OpenEdge.DataAdmin.ServerCommand
Class
ProutilCommand
Parent classes:
Inherits: OpenEdge.DataAdmin.ServerCommand.ProCommand

/* Copyright (c) 2011 by progress Software Corporation.
/*
/* all rights reserved. no part of this program or document
/* may be reproduced in any form or by any means without
/* permission in writing from progress Software Corporation.
Purpose:Abstract class for proutil commands
Author(s):hdaniels
Created:Tue Jul 12 16:25:38 EDT 2011
Notes:Subclasses should implement/override GetRequestString()
for specific commands
Purpose:
Notes:




Method Summary
Options Name Purpose
CheckStatus (character) /** Throws an error with error text from the passed command output if necessary @param pcMessage chr(10) separated list of output from command Subclasses override this to handle utility specific messages The default assumes the following --------------------------- OpenEdge Release ...... as of Fri Jul 8 19:02:09 EDT 2011 <utility text> (12345) Do you want to continue (y/n)? (13706) ------ or (the openedge release is not always there even for the same utility) --------------------------- <utility text> (12345) Do you want to continue (y/n)? (13706) ------ The last line is assumed if PromptValue is set **/
Inherited from OpenEdge.DataAdmin.ServerCommand.ProCommand
Execute (IUtilityRequest)
Inherited from OpenEdge.DataAdmin.ServerCommand.ProCommand
CHARACTER GetCommandParameters (IUtilityRequest)
Overrides OpenEdge.DataAdmin.ServerCommand.ProCommand:GetCommandParameters (IUtilityRequest)
CHARACTER GetDLC ()
Inherited from OpenEdge.DataAdmin.ServerCommand.ProCommand
INTEGER GetErrorNumber (character)
Inherited from OpenEdge.DataAdmin.ServerCommand.ProCommand
CHARACTER GetRequestString (IUtilityRequest) /* Implement subclass that overrides this with the details for a specific proutil command */
IUtilityResponse GetResponse ()
Inherited from OpenEdge.DataAdmin.ServerCommand.ProCommand
LOGICAL IsPrompt (character) /* does the text end with ? or parenthesis but not number (y/n) */
Inherited from OpenEdge.DataAdmin.ServerCommand.ProCommand
RunCommand (character)
Inherited from OpenEdge.DataAdmin.ServerCommand.ProCommand

Constructor Summary
Options Name Purpose
ProutilCommand (character)

Property Summary
Options Name Purpose
CHARACTER CommandFullName
Inherited from OpenEdge.DataAdmin.ServerCommand.ProCommand
CHARACTER CommandName
Overrides OpenEdge.DataAdmin.ServerCommand.ProCommand:CommandName
DatabaseInfo DatabaseInfo
Inherited from OpenEdge.DataAdmin.ServerCommand.ProCommand
CHARACTER DatabaseName
Inherited from OpenEdge.DataAdmin.ServerCommand.ProCommand
CHARACTER ProgressHeaderStart
Inherited from OpenEdge.DataAdmin.ServerCommand.ProCommand
CHARACTER PromptValue
Inherited from OpenEdge.DataAdmin.ServerCommand.ProCommand
CHARACTER Slash
Inherited from OpenEdge.DataAdmin.ServerCommand.ProCommand
LOGICAL UseBatFile
Inherited from OpenEdge.DataAdmin.ServerCommand.ProCommand


Method Detail
Top

PROTECTED CheckStatus (character)

Inherited from OpenEdge.DataAdmin.ServerCommand.ProCommand
Purpose:
Throws an error with error text from the passed command output if necessary
Subclasses override this to handle utility specific messages
The default assumes the following
OpenEdge Release ...... as of Fri Jul 8 19:02:09 EDT 2011
<utility text> (12345)
Do you want to continue (y/n)? (13706)
or (the openedge release is not always there even for the same utility)
<utility text> (12345)
Do you want to continue (y/n)? (13706)
The last line is assumed if PromptValue is set
Parameters:
pcMessage CHARACTER
Top

PUBLIC Execute (IUtilityRequest)

Inherited from OpenEdge.DataAdmin.ServerCommand.ProCommand
Parameters:
prequest OpenEdge.DataAdmin.Message.IUtilityRequest
Top

PROTECTED CHARACTER GetCommandParameters (IUtilityRequest)

Overrides OpenEdge.DataAdmin.ServerCommand.ProCommand:GetCommandParameters (IUtilityRequest)
Parameters:
pRequest OpenEdge.DataAdmin.Message.IUtilityRequest
Returns CHARACTER
Top

PROTECTED CHARACTER GetDLC ()

Inherited from OpenEdge.DataAdmin.ServerCommand.ProCommand
Returns CHARACTER
Top

PROTECTED INTEGER GetErrorNumber (character)

Inherited from OpenEdge.DataAdmin.ServerCommand.ProCommand
Parameters:
pcMessage CHARACTER
Returns INTEGER
Top

PROTECTED CHARACTER GetRequestString (IUtilityRequest)

/* Implement subclass that overrides this with the details for a specific proutil command
Parameters:
pRequest OpenEdge.DataAdmin.Message.IUtilityRequest
Returns CHARACTER
Top

PUBLIC IUtilityResponse GetResponse ()

Inherited from OpenEdge.DataAdmin.ServerCommand.ProCommand
Returns IUtilityResponse
Top

PROTECTED LOGICAL IsPrompt (character)

Inherited from OpenEdge.DataAdmin.ServerCommand.ProCommand
/* does the text end with ? or parenthesis but not number (y/n)
Parameters:
pcMessage CHARACTER
Returns LOGICAL
Top

PROTECTED RunCommand (character)

Inherited from OpenEdge.DataAdmin.ServerCommand.ProCommand
Parameters:
pcCommand CHARACTER


Constructor Detail
Top

PUBLIC ProutilCommand (character)

Parameters:
pcdbname CHARACTER


Property Detail
Top

PROTECTED CHARACTER CommandFullName

Inherited from OpenEdge.DataAdmin.ServerCommand.ProCommand
Returns CHARACTER
Top

PROTECTED CHARACTER CommandName

Overrides OpenEdge.DataAdmin.ServerCommand.ProCommand:CommandName
Returns CHARACTER
Top

PROTECTED DatabaseInfo DatabaseInfo

Inherited from OpenEdge.DataAdmin.ServerCommand.ProCommand
Returns DatabaseInfo
Top

PROTECTED CHARACTER DatabaseName

Inherited from OpenEdge.DataAdmin.ServerCommand.ProCommand
Returns CHARACTER
Top

PROTECTED CHARACTER ProgressHeaderStart

Inherited from OpenEdge.DataAdmin.ServerCommand.ProCommand
Returns CHARACTER
Top

PROTECTED CHARACTER PromptValue

Inherited from OpenEdge.DataAdmin.ServerCommand.ProCommand
Returns CHARACTER
Top

PROTECTED CHARACTER Slash

Inherited from OpenEdge.DataAdmin.ServerCommand.ProCommand
Returns CHARACTER
Top

PROTECTED LOGICAL UseBatFile

Inherited from OpenEdge.DataAdmin.ServerCommand.ProCommand
Returns LOGICAL


Copyright © 2020 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 12.2.0