I am EXECUTE ... CAPTURING VARIABLE.
I have done this heaps of times with text and it works beautifully.
I tried lots of different ways to make cURL output to a file and always
failed.
Even the straightforward curl -s URL -o filename
I even posted a question on the cURL website sometime ago
I execute a DOS (cURL) function and get back binary data. I expect about
832Kb but aparently the data gets truncated at hex 1A0A
which is converted to hex 0D0A.
Are there any OPTIONS directives or SYSTEM commands I can set to
prevent the
truncation?
Apparently not with an execute. You
Thanks Larry!
I had curl -s -o filename URL and it would NOT work, try as I might.
I swapped things arguments around and all sorts. Played around with
the filename etc. The URL wasn't very long and I was GETting not
POSTing.
In desperation I changed it to (as you suggested)
curl --fail
readblk ?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Louis Windsor
Sent: Monday, May 24, 2004 6:28 AM
To: [EMAIL PROTECTED]
Subject: Re: [U2] Data truncation
Spoke too soon!
All I have to do is work out how to tell UniVerse to leave the binary data
Will:
Try the following:
http://www.vex.net/~ross/uv/
Hope this helps.
Bill
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED]
Sent: Sunday, May 23, 2004 6:30 PM
To: [EMAIL PROTECTED]
Subject: Re: [U2] Re: Once again and
In a message dated 5/23/2004 10:00:46 PM Eastern Daylight Time, [EMAIL PROTECTED]
writes:
#!/bin/sh
/usr/ibm/uv/bin/uv MYCGIPROGRAM
or even
#!/usr/ibm/uv/bin/uv MYCGIPROGRAM
I think you're talking Unix, I need Windows :)
Will
---
u2-users mailing list
[EMAIL PROTECTED]
This is a test. Please disregard.
NOTICE OF CONFIDENTIALITY: The information contained in this transmission,
and in any accompanying documents, constitutes confidential information
belonging to Heritage Information Systems, Inc. This information is
intended only for the use of the individual
Make a file called whatever.bat in a CGI enabled directory under your web
root in IIS and put the following in it:
cd c:\youraccount
c:\ibm\uv\bin\uv YOURCATALOGEDPROGRAM
Your program should return (via PRINT or CRT commands) a formatted HTML page
-Original Message-
From: [EMAIL
Hi Everyone,
On my W2k system when an error occurs (like uninitialized variables) the
system gives me the program and line number of the error.
Ex. In BP\_TEST at line 1 WARNING: UNINITIALIZED VARIABLE USED! Zero
Assumed!
However on the Unix system, I get:
WARNING: UNINITIALIZED VARIABLE
ECL command to restore the line number display:
HUSHBASIC OFF
This is the default. You must have run 'HUSHBASIC ON' somewhere in your
application /LOGIN paragraph, etc.
Wally Terhune
Manager - U2 Advanced Technical Services
IBM DB2 Information Management Software
Tel: 303.294.4866
To keep users other than root from being able to login do the following:
1. login as root
2. touch /etc/nologin
3. vi /etc/nologin.txt (put in this file the message you want displayed,
otherwise users may just think that they forgot their passwd)
this is how linux works, other flavors of unix
I always compile with the -D option, ever since IBM said that it does not
cause any overhead. Here is what I did:
:AE SLM.BP TEST
Top of TEST in SLM.BP, 1 line, 10 characters.
001: PRINT HELP
Bottom.
*--: Q
Quit TEST in file SLM.BP unchanged.
:BASIC SLM.BP TEST -D
Compiling
using unidata 52
I have an update trigger that seems to work as I expect with one small problem.
The 4th parm 'rec.ID.expr' seems to contain the same data as the 5th 'recordval' which
turns out to be the new values of
all columns in the row except the 'ID@' (ID) column.
How do I ref the value
Thanks...that was the ticket
ECL command to restore the line number display:
HUSHBASIC OFF
This is the default. You must have run 'HUSHBASIC ON' somewhere in your
application /LOGIN paragraph, etc.
Wally Terhune
Manager - U2 Advanced Technical Services
IBM DB2 Information Management Software
In fact I have 2 instances of Apache running on my notebook under XP
(cringe). I prefer to work on Unix but sometimes you just don't have a
choice 8-)
I also have ActivePerl installed and they work well together.
Regards
David Logan
Database Administrator
HP Managed Services
139 Frome Street,
Whoops,
now there was a confused paragraph!
You could try:
#!C:\windows\system32\cmd.exe
cd C:\MYACCOUNT
C:\IBM\UB\BIN\UV MYCGIPROGRAM
or if you install perl something like this might work:
#!C:\pathtoperl\perl -w
my @output = `C:\IBM\UB\BIN\UV MYCGIPROGRAM`;
my $printline;
while ($printline
Tony;
I probably asked many of the same questions. I did understand that if the
coding was done for non-persistent apps then the number of licenses (both
for pdp.net and the database) would be less.
I guess I should have qualified it more. We were looking at a new
non-persistent app that was
17 matches
Mail list logo