The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Spool / Spool off edzela Shell Programming and Scripting 0 08-28-2006 07:50 AM
SQL Spool equivalent command in DOS stevefox Windows & DOS: Issues & Discussions 2 01-17-2006 09:18 PM
Spool kskumar UNIX for Dummies Questions & Answers 1 05-04-2005 05:33 AM
Spool for Printer JuergenW UNIX for Dummies Questions & Answers 1 09-09-2002 03:32 PM
/var/spool/mqueue !!! Wingman21 UNIX for Dummies Questions & Answers 3 06-11-2002 09:47 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-09-2005
shah2 shah2 is offline
Registered User
  
 

Join Date: Mar 2002
Posts: 10
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 09:19 AM.. Reason: No Reply
  #2 (permalink)  
Old 09-14-2005
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
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 (permalink)  
Old 09-15-2005
shah2 shah2 is offline
Registered User
  
 

Join Date: Mar 2002
Posts: 10
Cool

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 (permalink)  
Old 10-12-2005
shah2 shah2 is offline
Registered User
  
 

Join Date: Mar 2002
Posts: 10
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
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 08:06 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0