Re: newbie isql help



In article <1153250725.879415.311190@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
Sashi <smalladi@xxxxxxxxx> wrote:
Hi, I'm trying to run a simple SQL command thus:
$ isql -i input_file -o output_file user@host:port.
I'm using Solaris 8 as the OS and ASE 12.5.3 as the SQL server.
When I run the above command, the output file is generated but is 0
bytes. I don't see any error messages on screen.
I tried to run the command directly by logging in but my SQL command is
5030 characters long. There seems to be a limit on the size of the
command line text that can be entered.
How do I diagnose why my command file is not being accepted in the
first case?
At the isql prompt, how do I seek help for the isql commands available
to the user?
At the isql prompt, how do I specify an input file for the command when
the file is located in a local directory?

Do you have line breaks in your input command? If not that could
be the problem. I routinely cut and paste groups of SQL commands
which collectively are much bigger than 5030 characters into isql,
and it's never been a problem. I don't think any of my individual
commands are ever that big though, so maybe the limit really is on
command size, not input line size.

(BTW, I didn't know about the isql/vi thing either. Cool!)
--
John Brock
jbrock@xxxxxxxxx

.



Relevant Pages

  • Re: COBOL stored procedure for DB2
    ... Regarding how you precompile the app, you must specify target mfcob to db2 prep, rather than target ibmcob. ... Have you also confirmed that, prior to executing the CALL statement, the host variables specified within the client app have the appropriate values? ... MODIFIES SQL DATA ... confirm the cob command used for creating the SP module. ...
    (comp.lang.cobol)
  • Re: runtime error 3075..
    ... I suggest you use a Command object to manage this ... > the SQL command. ... > characters and for SQL that is the escape chracter and needs doubling up ... Or it may lack start and end single-quote ...
    (microsoft.public.data.ado)
  • Re: COBOL stored procedure for DB2
    ... Have you also confirmed that, prior to executing the CALL statement, the ... The DB2 CREATE PROCEDURE statement. ... MODIFIES SQL DATA ... confirm the cob command used for creating the SP module. ...
    (comp.lang.cobol)
  • Re: Can I get Consultancy advice on SQL/Fox in the UK (South East)
    ... My problem is the two Sequel Server tables within one database with which I ... Don't ask me why but the SQL designers have NOT ... command that I can initiate with SQLCONNECT, ... > While you're in the View Designer, right-click and view the SQL code. ...
    (microsoft.public.fox.helpwanted)
  • Re: Optimistic Concurrency on UpdateCommand...
    ... client device, I update that column with a non-null datetime and then try to ... 1!!!If I copy and paste the command ... With the 4th column not allowing nulls, the optimistic concurrency code ... Can I have a nullable datetime column in my Sql ...
    (microsoft.public.dotnet.framework.adonet)