Spool Issue


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Spool Issue
# 1  
Old 09-09-2005
Question 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 105
SP8960 JWEEKLY BILL R456 P5 1 0001 2 1896

I have tried ulpview (view spool file) but it displays all the information in a file. I don't want to store the file. But I would like to have the spool id, procedure name, user, printer etc, information into text file.


Any one can give me the idea to solve the problem.

Thanks

Last edited by shah2; 09-13-2005 at 10:19 AM.. Reason: No Reply
# 2  
Old 09-14-2005
Try posting your OS and version. The 'ulpview' command you mentioned isn't found on a search.

Also look at pulling the information and using the cut command (or similar) to get the columns you do want.
# 3  
Old 09-15-2005
Tools

AIX 4.x But the ulpview command is from unibol.

Page: 1 Work With Spool Jobs CA
Cmd Keys: 5-Select 14-Next segment 15-Update 16-Restart 17-Last page
Options: 2/G-Change 3/H-Hold 4/D-Delete 5/B-Browse 6/R-Release
Pages
Opt Sp-id Proc Job User Printer ID Prty Form Copy Total Wrt
SP8960 MONTHEND CA194024 SYED R344WS P2 1H WIDE 3 1
SP8962 MONTHEND CA194027 SYED R344WD P2 1H WIDE 2 1896

Unibol ulpview command can display the above information + the data inside the individual file.

The only think I am looking is the above red highlited info in a text file.


Thanks









Ready for command or procedure
# 4  
Old 10-12-2005
Report the Issue :confused:

AIX 4.3

Sp-id Proc Job Printer ID Form
SP8960 MONTHEND R344WS P2 WIDE
SP8962 MONTHEND R344WD P2 WIDE
SP3455 J5A421 R5a421 PC 0001

Above is the spool display, which has more then 1 file.
What i really want to do is to copy the contact of a display into a text file. I really do not need the data, but the Sp-id, Proc Job, Printer, ID, Form, into a text file.


Thanks
 
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

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. (3 Replies)
Discussion started by: kusathy
3 Replies

6. 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

7. 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

8. 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

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