dbTalk Databases Forums  

D3 spooler question

comp.databases.pick comp.databases.pick


Discuss D3 spooler question in the comp.databases.pick forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Luke Webber
 
Posts: n/a

Default D3 spooler question - 01-09-2006 , 09:27 PM






I want to suppress the display of the D3 "Entry # nnn" message when I
print a report, but "SP-ASSIGN M" isn't good enough. Why? Because that
command will reset any other spooler assignment options that are in
operation.

I suppose I /could/ do an "SP-ASSIGN ?" and work out the other options I
need to specify in order to keep everything else the same, but that
seems a lot of work just to such a simple thing. Can anybody help me?
I'm guessing not, but I thought it best to ask. ;^)

Platform is D3 7.4.3.NT.

TIA,
Luke

Reply With Quote
  #2  
Old   
Mark Brown
 
Posts: n/a

Default Re: D3 spooler question - 01-09-2006 , 10:21 PM






Yes, M is one of the options that doesn't "keep" the others in place. If it
didn't work that way, how could you ever turn it off?

If not being able to turn it off is not a problem, replace SP-ASSIGN with a
front-end that appends M to whatever the user entered and just keep it
always off.

Mark Brown


"Luke Webber" <luke (AT) webber (DOT) com.au> wrote

Quote:
I want to suppress the display of the D3 "Entry # nnn" message when I print
a report, but "SP-ASSIGN M" isn't good enough. Why? Because that command
will reset any other spooler assignment options that are in operation.

I suppose I /could/ do an "SP-ASSIGN ?" and work out the other options I
need to specify in order to keep everything else the same, but that seems
a lot of work just to such a simple thing. Can anybody help me? I'm
guessing not, but I thought it best to ask. ;^)

Platform is D3 7.4.3.NT.

TIA,
Luke



Reply With Quote
  #3  
Old   
Luke Webber
 
Posts: n/a

Default Re: D3 spooler question - 01-10-2006 , 05:43 AM



Mark Brown wrote:
Quote:
Yes, M is one of the options that doesn't "keep" the others in place. If it
didn't work that way, how could you ever turn it off?

If not being able to turn it off is not a problem, replace SP-ASSIGN with a
front-end that appends M to whatever the user entered and just keep it
always off.
Thanks for that, Mark. It's not worth my while to get that detailed
here, so I guess I'll just have to put up with the message.

Cheers,
Luke


Reply With Quote
  #4  
Old   
Brian Bond
 
Posts: n/a

Default Re: D3 spooler question - 01-10-2006 , 11:28 AM



As a semi-lame workaround, place a "DISPLAY @(x,y):" right before the spot
where the spooler entry message is produced. At least that way you can make
the message display in a pre-determined location, which is certainly more
aethestically appealling.

"Luke Webber" <luke (AT) webber (DOT) com.au> wrote

Quote:
Mark Brown wrote:
Yes, M is one of the options that doesn't "keep" the others in place. If
it didn't work that way, how could you ever turn it off?

If not being able to turn it off is not a problem, replace SP-ASSIGN with
a front-end that appends M to whatever the user entered and just keep it
always off.

Thanks for that, Mark. It's not worth my while to get that detailed here,
so I guess I'll just have to put up with the message.

Cheers,
Luke



Reply With Quote
  #5  
Old   
Tony Gravagno
 
Posts: n/a

Default Re: D3 spooler question - 01-11-2006 , 12:25 PM



Luke Webber <luke (AT) webber (DOT) com.au> wrote:

Quote:
Mark Brown wrote:
Yes, M is one of the options that doesn't "keep" the others in place. If it
didn't work that way, how could you ever turn it off?

If not being able to turn it off is not a problem, replace SP-ASSIGN with a
front-end that appends M to whatever the user entered and just keep it
always off.

Thanks for that, Mark. It's not worth my while to get that detailed
here, so I guess I'll just have to put up with the message.

Cheers,
Luke
Luke, what's so detailed?
*--- new SP-ASSIGN program ---
tclread command
command = oconv(command,'g1 999') ; * strip the verb
if not(index(command,'?',1)) then command := "m"
execute "sp-assign-old ":command
*-----------------------------
Now 'copy md sp-assign (d)' to sp-assign-old
compile-catalog bp sp-assign

And you're done.
HTH
T


Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.