Comments
Richard Davies wrote: The UK has a good crop of technology pioneers in cloud computing - for example ElasticHosts, FlexiScale, Flexiant, OnApp - and also some strong government initiatives such as G-Cloud. We will have to see whether this kind of technical leadership converts into swift mass-market adoption or not.
Cloud Computing
Conference & Expo
November 2-4, 2009 NYC
Register Today and SAVE !..
SYS-CON.TV
Today's Top SOA Links


OrcaScript Tips, Tricks, Quicks and Snips
Writing short scripts and a reusable script

In my first OrcaScript article "Using OrcaScript to Automate Your Build Process With or Without Source Control" (PBDJ, Vol. 14, issue 6), I focused on automating the build process using OrcaScript. The entire article was based on the assumption that we might be using a separate build machine. Because of this, I avoided using or connecting to the workspace to get the source control connection parameters or to look at the source control status of each object. This time, I'll make things a little bit easier by using the workspace and focusing on writing short scripts and a reusable script that prompts for a target name.

A Quick Reminder
The OrcaScript files that we will write here are just script files and need to be passed into the OrcaScript engine from the command prompt. In PowerBuilder 10.5 the syntax would be "c:> Orscr105 xxxxxxxx.orca". If you are using a different version of PowerBuilder, just use the correct Orscrxxx.exe file when you call your OrcaScript file. Also the batch files that I demonstrate with here are created for the Windows XP (sp2) platform and may need to be adjusted for different operating systems.

About Keith Miller
Keith Miller is a principal consultant with Sybase. Having been with Sybase for over 7 years, he has specialized in working on PowerBuilder projects. He has been working with PowerBuilder since Release 2.0. His last major project was recognized by both InfoWeek and ComputerWorld Magazines for its success and cost-saving benefits for the client and their customers.

In order to post a comment you need to be registered and logged in.

Register | Sign-in

Reader Feedback: Page 1 of 1

Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
Click to Add our RSS Feeds to the Service of Your Choice:
Google Reader or Homepage Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online
myFeedster Add to My AOL Subscribe in Rojo Add 'Hugg' to Newsburst from CNET News.com Kinja Digest View Additional SYS-CON Feeds
Publish Your Article! Please send it to editorial(at)sys-con.com!

Advertise on this site! Contact advertising(at)sys-con.com! 201 802-3021

SYS-CON Featured Whitepapers
ADS BY GOOGLE