Re: help with wintegrate scripting



On Jun 27, 7:55 pm, carte...@xxxxxxxxx wrote:
I'm a database manager with primary responsibility for querying and
reporting. Our big database is UniData and I use a lot lf Perl and
Java, and also use Postresql and a lot of Access (for reporting, not
for a data store).

Our environment is in the process of rapid change. A number of my Perl
scripts are totally broken, and I have been told to stop using
UniObjects (an IBM package we use for Uniquery). We've been told to
use wintegrate, a product that is totally new to me.

I've looked at wintegrate for a week or so, looked at a number of wis
script files, and have concluded that it must be some variant of
BASIC. (Not a problem ... hey, I'm easy.) My problem is that I don't
have a clue where to start.

What I need to do is write some scripts that we can schedule to run on
off hours and download the data. I would be very much appreciative if
anyone could give me a couple of pointers to get started.

Thanks, CC.

Can I just say I would thouroughly recommend you use uniobjects or
uniobjects.net for any interfacing to U2 and use them with your
programming language of choice, VB.NET, C# etc. Wintegrate is a
terminal emulator!! a very good terminal emulator with a powerfull
scripting engine, but it is a terminal emulator and not meant to be
used in such a way. Having said that it is possible to do what you
want, i would recommend giving the manual a good read and firstly
think about the mechanics of what you want to do - i.e. do you want a
wintegrate application logged in via telnet to unidata to sleep till a
certain time and then run some form of report - or do you want a user
to press a button, or some other method - that is the first obstacle.
It is almost certainly possible to do this as a cron job (scheduler on
windows) directly in unidata using unibasic and without wintegrate or
uniobjects - you can create reporting files on a files share or csv
files, even spreadsheets if required.


If you could give us some more data on what you want to achieve I am
sure we can all be of assistance.


good luck
Symeon.

.