Issue with SPOOL


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Issue with SPOOL
# 1  
Old 11-10-2011
Issue with SPOOL

Hi,

I use SunOS and i connect to database via isql. When tried using SPOOL command to extract the report from database, system thrown me saying "Spoool command not found".

Please advise.
# 2  
Old 11-10-2011
spool is not a standard UNIX command, it is part of SQL language...
# 3  
Old 11-12-2011
this is what i have done:

Code:
$sql
> spool filename
>select * from table
> spool off
> go

this display an error that "Spool, syntax error"

Last edited by radoulov; 11-12-2011 at 07:50 AM..
# 4  
Old 11-12-2011
Code:
 spool filename ; 

Code:
 spool off ; 

 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

DNS server /var/spool issue

Hello all Currently I am working in a live production environment with 100+ Solaris servers . The environment has one DNS server and one SMTP server. The problem that I am facing since the past 2 months is that the /var/spool/mqueue on my DNS server keeps getting full i.e. mails with name... (1 Reply)
Discussion started by: Junaid Subhani
1 Replies

2. Solaris

/var/spool/mqueue issue

Hi guys . I have a solaris machine serving as a DNS server for my environment. Everytime I go into /var/spool/mqueue , there are an aweful lot of emails with names likes: qfqB6ChrpL006644. When I cat the file , I get the following output: H??Received: from machine.domain.com... (3 Replies)
Discussion started by: Junaid Subhani
3 Replies

3. Shell Programming and Scripting

Issues with SPOOL

I am using a unix shell script to create and then FTP the file to a mainframe application. The unix script uses spool to extract data from a Oracle database. The data is extracted into a text file. The text file is having all the data I need but not in the correct format. The rows of... (1 Reply)
Discussion started by: rameez
1 Replies

4. Shell Programming and Scripting

Spool issue in unix

Hi Friends, I am trying to spool the data from Teradata. The rpoblem which i am facing is , the coulmn data is appended with ".(dot)" for some coulmns. Please find the below data : data i want in file : 1|BANG|KINR|3456 2|KIBNJ|UIE|6347 3|JEEM|Y34E|3874 data which is spooling... (6 Replies)
Discussion started by: i150371485
6 Replies

5. UNIX for Dummies Questions & Answers

Like spool in UNIX

Hi, Can you please help me how to spool the unix commands executed in my client and its output to a file in local machine. Basically, I want to save all OS commands executed in my session and its output into a file from my client something like we do oracle with "SPOOL". Thanks in advance.... (2 Replies)
Discussion started by: pointers
2 Replies

6. Solaris

Spool directory

hi all, I have unix box I install 2 zone on it I want to make spool directory and assign one to each zone How can I do that ? (5 Replies)
Discussion started by: coxmanchester
5 Replies

7. Shell Programming and Scripting

Spool / Spool off

Hi everyone I'm new in this forum, I have a question: I have a script with many sql staments and I have the spool command at the beginning and the 'spool off' at the end of the script. But, I want to write after each sql stament to a log file not at the end. How can I do it? Thanks (0 Replies)
Discussion started by: edzela
0 Replies

8. UNIX for Dummies Questions & Answers

Spool Issue

Hi: At every month end I would like to collect the information of a spool. Every Spool has more then one job, below is the individual job information, I really want to collect into a text file. Sp-id Proc User Printer Id Pty Form Copy Total SP7494 MONTHEND SYED R123 P2 1 WIDE ... (3 Replies)
Discussion started by: shah2
3 Replies

9. UNIX for Dummies Questions & Answers

Spool

hi every body, is there any possibles to spool the commads with output(like oracle spool file) (1 Reply)
Discussion started by: kskumar
1 Replies

10. UNIX for Dummies Questions & Answers

Spool for Printer

i have created a new printer in the printcab file. when i use lpc and the status command it says: LMAPFE20: printer is on remote host lpt1: queuing is enabled printing is enabled cannot examine spool directory What ive... (1 Reply)
Discussion started by: JuergenW
1 Replies
Login or Register to Ask a Question