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.

PSIMPORT in a string

2 posts in General Discussion (old) Last posting was on 2000-02-14 05:24:28.0Z
John Smith Posted on 2000-02-11 03:29:09.0Z
Newsgroups: sybase.public.easerver
From: "John Smith" <nlight@execpc.com>
Subject: PSIMPORT in a string
Date: Thu, 10 Feb 2000 19:29:09 -0800
Lines: 19
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
NNTP-Posting-Host: narn-2-36.mdm.mke.execpc.com 169.207.134.164
Message-ID: <347_qxa#w9Cd$GA.306@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:28927
Article PK: 161299

PSIMPORT will include a script file into another file. I would like to
build a string on the server like:

<%
var str1, str2;
srt2 = "myfile.htm";
str1 = "<PSIMPORT src=" + str2 + ">";
%>

and still have the file imported. Is this possible? Ignoring the errors in
my syntax, of course.

Thanks,

Tim


Larry Cermak [Team Sybase] Posted on 2000-02-14 05:24:28.0Z
Newsgroups: sybase.public.easerver
From: "Larry Cermak [Team Sybase]" <lcermak@ctpartners.com>
Subject: Re: PSIMPORT in a string
Date: Sun, 13 Feb 2000 23:24:28 -0600
Lines: 34
X-Newsreader: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
NNTP-Posting-Host: node49.dhcpchi.dslspeed.zyan.com 208.41.199.49
Message-ID: <347_Ra6Z3yqd$GA.223@forums.sybase.com>
References: <347_qxa#w9Cd$GA.306@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:28794
Article PK: 160907

Take a look at the useContext keyword in the import function in the PD help.
I believe that's what the PSIMPORT uses.

--
Larry Cermak [Team Sybase]
Corporate Technology Partners, Inc.
www.ctpartners.com

Web DataWindow Articles
http://sdn.sybase.com/sdn/appdev/get_doc.stm?loc=1001708

John Smith wrote in message ...
>PSIMPORT will include a script file into another file. I would like to
>build a string on the server like:
>
><%
> var str1, str2;
> srt2 = "myfile.htm";
> str1 = "<PSIMPORT src=" + str2 + ">";
>%>
>
>and still have the file imported. Is this possible? Ignoring the errors
in
>my syntax, of course.
>
>Thanks,
>
>Tim
>
>
>
>