Operations Orchestration Practitioners Forum
Showing results for 
Search instead for 
Do you mean 

Automation For Oracle DDL scripts

Occasional Contributor

Automation For Oracle DDL scripts

Hi All,

 

We are working on one of the flows which says read the script and work accordingly and wait to see if we get any exceptions. In that client have ask us to read the script and find out if drop and truncate, if it exist then it would fail and also if we get any exception it should fail .

Can u suggest which operation can help us in reading the script,

and also how can we define conditions to read executions?
 
Thanks to all in advance.
 
KB.

1 REPLY
Trusted Contributor

Re: Automation For Oracle DDL scripts

You requirement is confusing.......

 

Do you want to read the content of a file & match a command/word in that file.

If yes, then you have to write a script to read the content of the file, once the expected word (DROP, TRUNCATE, etc.) is matched then output "success" else "fail".