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.

Using Imporfile in Appeon

2 posts in Appeon (partner product) Last posting was on 2005-11-21 09:09:49.0Z
Jim Posted on 2005-11-18 15:51:14.0Z
Sender: 48e1.437df623.1804289383@sybase.com
From: jim
Newsgroups: sybase.public.appeon
Subject: Using Imporfile in Appeon
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <437df6b3.4905.1681692777@sybase.com>
X-Original-NNTP-Posting-Host: 10.22.241.42
X-Original-Trace: 18 Nov 2005 07:43:49 -0800, 10.22.241.42
Lines: 8
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 18 Nov 2005 07:44:27 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 18 Nov 2005 07:51:14 -0800
X-Trace: forums-1-dub 1132329074 10.22.108.75 (18 Nov 2005 07:51:14 -0800)
X-Original-Trace: 18 Nov 2005 07:51:14 -0800, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:1235
Article PK: 12908

Appeon places .txt files in wcode/plugin/ directory. In
powerscript I have the following code

ds_1.importfile('..\plugin\accounts.txt')

But it is not being read. The server is windows.

What should I change???


Julie Jiang Posted on 2005-11-21 09:09:49.0Z
From: "Julie Jiang" <julie.jiang@appeon.com>
Newsgroups: sybase.public.appeon
References: <437df6b3.4905.1681692777@sybase.com>
Subject: Re: Using Imporfile in Appeon
Lines: 104
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_02A2_01C5EEBD.4B94F4D0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 210.21.221.178
X-Original-NNTP-Posting-Host: 210.21.221.178
Message-ID: <43818edd@forums-1-dub>
Date: 21 Nov 2005 01:09:49 -0800
X-Trace: forums-1-dub 1132564189 210.21.221.178 (21 Nov 2005 01:09:49 -0800)
X-Original-Trace: 21 Nov 2005 01:09:49 -0800, 210.21.221.178
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:1237
Article PK: 21103

If you see the .txt file in the wcode/plugin/ directory, you must have set the txt file in the DLL/OCX file section of the Additional Files section of the application profile configuration.  Please do the following to make sure the file can be read by the Web application (note that you need to redeploy the application).
 
1) Change the PowerBuilder source code to:
ds_event.importfile("C:\WINNT\system32\AppeonPlugin\172.17.3.22_AppeonPlanner\events.txt")
Note that "172.17.3.22" stands for the IP address of the Web server that will host the deployed application, and "AppeonPlanner" stands for the application name.
 
2) When configuring the application, in the Additional File tab of the application profile, set the events.txt as a DLL/OCX file that must be deployed to the server.
3) Deploy the application to the server
4) Then all clients can run the application successfully.
 
Regards,
Julie
 
<jim> wrote in message news:437df6b3.4905.1681692777@sybase.com...
Appeon places .txt files in wcode/plugin/  directory.  In
powerscript I have the following code

ds_1.importfile('..\plugin\accounts.txt')

But it is not being read.  The server is windows.

What should I change???