Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

creating pipelines dynamically

2 posts in Objects Last posting was on 2003-04-28 02:58:50.0Z
Leon Mandel Posted on 2003-04-04 20:35:42.0Z
Newsgroups: sybase.public.powerbuilder.objects
Date: Fri, 04 Apr 2003 14:35:42 -0600
From: Leon Mandel <leon@weepirate.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02
X-Accept-Language: en-us, en
MIME-Version: 1.0
Subject: creating pipelines dynamically
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 204.65.60.225
Lines: 13
Message-ID: <364_3E8DEC9E.6040008@weepirate.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums-2-dub.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:7310
Article PK: 734601

is there a way to create a pipeline dynamically, without ever using the
pipeline painter first?

I'd like a scenario where I ...

1)give it a source db, destination db, create/add table option, tell it
what columns and indexes, and then

2)create it as a user object and do u_pipeline.start(source_trans,
destination_trans, ds, args...)

Of course I Can do 2) no problem, but I have to have a pipeline
prebuilt, don't I? Is there a way to bypass the pipline painter...

Thanks.

Leon.


Bruce Armstrong [TeamSybase] Posted on 2003-04-28 02:58:50.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: "Bruce Armstrong [TeamSybase]" <NOCANSPAM_bruce.armstrong@teamsybase.com>
Subject: Re: creating pipelines dynamically
Date: Sun, 27 Apr 2003 19:58:50 -0700
Organization: TeamSybase
Reply-To: NOCANSPAM_bruce.armstrong@teamsybase.com
X-Newsreader: Forte Agent 1.92/32.572
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 66-214-183-11.la-cbi.charterpipeline.net 66.214.183.11
Lines: 29
Message-ID: <364_n56pav8ip6thqvqf5mpo5licm1ikc3kuj0@4ax.com>
References: <364_3E8DEC9E.6040008@weepirate.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums-2-dub.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:7365
Article PK: 734655

You can alter the .syntax property of the pipeline dynamically.
You'll have to figure out the correct syntax to apply there. Just
export a few pipelines and it should be pretty simple to figure out.

On Fri, 04 Apr 2003 14:35:42 -0600, Leon Mandel <leon@weepirate.com>

wrote:

>is there a way to create a pipeline dynamically, without ever using the
>pipeline painter first?
>
>I'd like a scenario where I ...
>
>1)give it a source db, destination db, create/add table option, tell it
>what columns and indexes, and then
>
>2)create it as a user object and do u_pipeline.start(source_trans,
>destination_trans, ds, args...)
>
>Of course I Can do 2) no problem, but I have to have a pipeline
>prebuilt, don't I? Is there a way to bypass the pipline painter...
>
>Thanks.
>
>Leon.

Bruce Armstrong [TeamSybase]
http://www.teamsybase.com

Two new books on developing with PowerBuilder
http://www.pb9books.com?source=newsgroups

Need code sample? Check out CodeXchange:
http://www.codexchange.sybase.com

Preach the gospel at all times. If necessary, use words. - Francis of Assisi
http://www.needhim.org