Hi Alan,

Been off for a day, so I dont know if anybody else has already suggested
this, but something like this should work:

EXECUTE "sh -c 'ls -lsat /u1/universe/uvspool | grep ayockey' " CAPTURING
OUT

/u1/universe/uvspool is the Unix directory where Universe spoolers are
stored. It may be different on your system.

ayockey is the user name that you are looking for.

OUT<1> will contain the last spooler file for that user. The file name is
of the format

uvnnnnnxxxxaa

where nnnnn is the actual Universe spooler number.

hth.

asvin




"Alan Yockey" <[EMAIL PROTECTED] on 04 Mar 2004 10:22

Please respond to U2 Users Discussion List <[EMAIL PROTECTED]>

Sent by:    [EMAIL PROTECTED]

To:    [EMAIL PROTECTED]
cc:
bcc:

Subject:    SPOOLER NUMBER


 I am also interested in ways to manipulate spool files in Universe? The
spool number would be a big help so I could use usm commands to redirect
output externally to the report program which produced the spool file.
Universe 9.3 on DGUX

Is there a function with universe / basic to tell me the id of the last
print job generated from my current uv login?

Universe 10.0.13
RedHat Linux 8.0


Alan & Jayne Yockey
[EMAIL PROTECTED]
--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


******************************************************************
 This message originated from the Internet. Its originator may or
 may not be who they claim to be and the information contained in
 the message and any attachments may or may not be accurate.
******************************************************************







       ************************************************************
       HSBC Bank plc
       Registered Office: 8 Canada Square, London E14 5HQ
       Registered in England - Number 14259
       Authorised and Regulated by the Financial Services Authority

       Member of the HSBC Bank marketing group. We sell life assurance,
       pensions and collective investment schemes and advise only on our
       own range of these products.
       ************************************************************



_____________________________________________________

This transmission has been issued by a member of the HSBC Group 
"HSBC" for the information of the addressee only and should not be 
reproduced and / or distributed to any other person. Each page attached 
hereto must be read in conjunction with any disclaimer which forms part 
of it. Unless otherwise stated, this transmission is neither an offer nor the 
solicitation of an offer to sell or purchase any investment. Its contents are 
based on information obtained from sources believed to be reliable but
HSBC makes no representation and accepts no responsibility or liability as 
to its completeness or accuracy.

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users

Reply via email to