[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

2586.0. "ATT option loses attributes %OAFC-I-ATTRNF" by BUSHIE::SETHI (Ah (-: an upside down smile from Oz) Mon Apr 19 1993 04:23

    Hi All,
    
    A problem with the ATT option has been reported on an ALL-IN-1 IOS
    3.0-1 installation.  Take the following example:
    
    1. Create an EM (MAIN drawer)
    2. ATT a document from another drawer
    
    You get the message "Document has been attached", however when you do a 
    Gold W you get an informational message "%OAFC-I-ATTRNF, Attribute not
    found".  When you print all the attributes are lost.
    
    What I did in my example was to attach a WPS-PLUS document with the
    following in the control block:
    
    --------------------------------- START CONTROL
    --------------------------------
    PRINTER TABLE BORDER
    |PRINTER BOLD 24_POINT_HELVETICA 0
    |PRINTER UNDERLINE 16_POINT_HELVETICA
    --------------------------------- END   CONTROL
    --------------------------------
    
                             DEC MAILworks - Overview  (Note this is bold)
    
    --------------------------------- START CONTROL
    --------------------------------
    PRINTER BOLD RESET
    PRINTER UNDERLINE RESET
    PRINTER FONT 10-POINT-COURIER
    --------------------------------- END   CONTROL
    --------------------------------
    
    Printing from the drawer the document is stored in you get the title in
    bold.  However if you try to print from the main drawer (created
    message with attachment) you get the text in the control block
    displayed and the title in bold.  I tested by printing to the terminal
    didn't want to kill tree's I am become Green (-:.
    
    Sorry people I have to ask the usual question is this a known problem ? 
    Do I need to SRP this problem ?  I hate all of these outages they
    clutter up my call queue :-).
    
    Regards,
    
    Sunil
T.RTitleUserPersonal
Name
DateLines
2586.1non-FCS problemCHRLIE::HUSTONMon Apr 19 1993 16:0915
    
    You have two problems, one is a non-problem.
    
    The OafcAttrNF is a warning message and is known and can be ignored,
    the attach code in the FCS is playing with attributes, one of which
    is not a document attribute, hence the attr not found. The Attach works
    fine and nothing is lost.
    
    As for the bolding getting lost, this is probably not an FCS problem,
    the wps attributes are stored in the doucment itself, the FCS does
    not touch them, document contents are treated as byte streams, we just
    move them around, don't really look at them.
    
    --Bob
    
2586.2No there is a problem and we need to testBUSHIE::SETHIAh (-: an upside down smile from OzTue Apr 20 1993 01:0515
    Hi Bob,
    
    I think that you may have misunderstood the problem in that it's not
    just a warning message the document attributes are lost.  It's not the
    bolding that's lost but the control blocks are displayed as text, ie
    they are not formatted.
    
    This could be a WPS-PLUS I will cross post it in the WPS-PLUS
    conference.  Having said that I do not have access to the code etc. to
    determin what is causing the problem.  Can someone give my example ago
    please !!!
    
    Regards,
    
    Sunil
2586.3Data type and handling info?IOSG::MCLEANTue Apr 20 1993 11:3216
	Sunil,

	I tried this and it worked ok for me printing to TERMINAL or 
	printer.

	Could you do an IA and Gold View to see what the Data Type and 
	Handling are for the attachment please.

	The OafcAttrNF warning message doe not relate to any of the 
	WPS-PLUS formatting information and is spurious (and safe!) in 
	this operation.
	
	Thanks,

	Alan
2586.4See Note 1185.3IOSG::MAURICENight rolls in, my dark companionTue Apr 20 1993 12:0811
Hi Alan,

I think the reason you're not seeing the problem is that you're running on a 
system where the problem is fixed!

Note 1185 is I think the same problem. Sunil - aren't you and Hong on speaking 
terms any more ;^)

Cheers

Stuart
2586.5The solution to the problem from OzBUSHIE::SETHIAh (-: an upside down smile from OzWed Apr 21 1993 01:39135
    Hi Stuart,      
    
    Well we do chinwag unfortunately Hong is an older model than I am and
    has probably developed a flaky memory ;*).  Anyway I am posting a
    solution to the problem the old man developed :-). Thanks for jogging my 
    mates memory !!!
    
    Regards,
    
    Sunil
    
$!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
$!	      Digital Equipment Corporation, Maynard, Mass.                  !
$!                                                                           !
$! The information in this software is subject to change  without  notice    ! 
$! and  should  not  be  construed  as  a commitment by Digital Equipment    !
$! Corporation.                                                              !
$!                                                                           !
$! Digital assumes no responsibility for the use or  reliability  of  its    !
$! software on equipment which is not supplied by Digital.                   !
$!                                                                           !
$!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

   =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
      Temporary fix on EM with non-MAIN attachments in ALL-IN-1 IOS 3.0
   =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

PROBLEM DESCRIPTION:

There's a problem with EM having attachments from drawers other than MAIN :
control blocks not processed, i.e. its contents are printed out rather than
processed, e.g.

---------START CONTROL--------------
PRINTER FORMAT LANDSCAPE A4
---------END   CONTROL--------------

the text "PRINTER FORMAT LANDSCAPE A4" will appear on attachments printed in 
portrait mode

WORK-AROUND:

Pending a proper fix, customer SHOULD USE subsystem CM to modify the script 
file OA$DO_SHARE:WPPRINT.SCP to include the following additions. There are 8 
identical additions of a single command, which occur immediately before lines 
68, 113, 405, 502, 579, 608, 687 and 695 of the original script mentioned 
above.

The following listing shows differences in this script file before and after 
changes:

************
File $2$DIA12:[ALLIN1.DO_SHARE]WPPRINT.SCP;1
   69       .if #PRINT_FORMAT eqs "ASCII" then get #PRINT_FORMAT = "ASCII EDT"
******
File $2$DIA12:[ALLIN1.SITE.DEV_SHARE]WPPRINT.SCP;2
   69   !*****	temporary fix for EM with non-MAIN attachments *****
   70       .if fn$length(#PRINT_FORMAT) eq 1 then get #PRINT_FORMAT = ""
   71   !*****	end of temporary fix *****
   72       .if #PRINT_FORMAT eqs "ASCII" then get #PRINT_FORMAT = "ASCII EDT"
************
************
File $2$DIA12:[ALLIN1.DO_SHARE]WPPRINT.SCP;1
  114       .if #PRINT_FORMAT eqs "ASCII" then get #PRINT_FORMAT = "ASCII EDT"
******
File $2$DIA12:[ALLIN1.SITE.DEV_SHARE]WPPRINT.SCP;2
  117   !*****	temporary fix for EM with non-MAIN attachments *****
  118       .if fn$length(#PRINT_FORMAT) eq 1 then get #PRINT_FORMAT = ""
  119   !*****	end of temporary fix *****
  120       .if #PRINT_FORMAT eqs "ASCII" then get #PRINT_FORMAT = "ASCII EDT"

File $2$DIA12:[ALLIN1.DO_SHARE]WPPRINT.SCP;1
  406       .if #PRINT_FORMAT eqs "PS" and #PRINT_FINAL_FORM eqs "PS" then -
******
File $2$DIA12:[ALLIN1.SITE.DEV_SHARE]WPPRINT.SCP;2
  412   !*****	temporary fix for EM with non-MAIN attachments *****
  413       .if fn$length(#PRINT_FORMAT) eq 1 then get #PRINT_FORMAT = ""
  414   !*****	end of temporary fix *****
  415       .if #PRINT_FORMAT eqs "PS" and #PRINT_FINAL_FORM eqs "PS" then -
************
************
File $2$DIA12:[ALLIN1.DO_SHARE]WPPRINT.SCP;1
  503       .if #PRINT_FORMAT eqs #PRINT_FINAL_FORM then .goto BG_NO_FORMAT
******
File $2$DIA12:[ALLIN1.SITE.DEV_SHARE]WPPRINT.SCP;2
  512   !*****	temporary fix for EM with non-MAIN attachments *****
  513       .if fn$length(#PRINT_FORMAT) eq 1 then get #PRINT_FORMAT = ""
  514   !*****	end of temporary fix *****
  515       .if #PRINT_FORMAT eqs #PRINT_FINAL_FORM then .goto BG_NO_FORMAT
************
************
File $2$DIA12:[ALLIN1.DO_SHARE]WPPRINT.SCP;1
  580       .if #PRINT_FORMAT eqs "DOTS" then get #PRINT_OUT_FTYPE = "DOTS" -
******
File $2$DIA12:[ALLIN1.SITE.DEV_SHARE]WPPRINT.SCP;2
  592   !*****	temporary fix for EM with non-MAIN attachments *****
  593       .if fn$length(#PRINT_FORMAT) eq 1 then get #PRINT_FORMAT = ""
  594   !*****	end of temporary fix *****
  595       .if #PRINT_FORMAT eqs "DOTS" then get #PRINT_OUT_FTYPE = "DOTS" -
************
************
File $2$DIA12:[ALLIN1.DO_SHARE]WPPRINT.SCP;1
  609       .if #PRINT_FORMAT eqs "PS" then .goto COPY_POSTSCRIPT
******
File $2$DIA12:[ALLIN1.SITE.DEV_SHARE]WPPRINT.SCP;2
  624   !*****	temporary fix for EM with non-MAIN attachments *****
  625       .if fn$length(#PRINT_FORMAT) eq 1 then get #PRINT_FORMAT = ""
  626   !*****	end of temporary fix *****
  627       .if #PRINT_FORMAT eqs "PS" then .goto COPY_POSTSCRIPT
************
************
File $2$DIA12:[ALLIN1.DO_SHARE]WPPRINT.SCP;1
  688       .if #PRINT_FORMAT nes "" then .goto ATT_FORMAT_SET
******
File $2$DIA12:[ALLIN1.SITE.DEV_SHARE]WPPRINT.SCP;2
  706   !*****	temporary fix for EM with non-MAIN attachments *****
  707       .if fn$length(#PRINT_FORMAT) eq 1 then get #PRINT_FORMAT = ""
  708   !*****	end of temporary fix *****
  709       .if #PRINT_FORMAT nes "" then .goto ATT_FORMAT_SET
************
************
File $2$DIA12:[ALLIN1.DO_SHARE]WPPRINT.SCP;1
  696       .if #PRINT_FORMAT eqs "ASCII" then get #PRINT_FORMAT = "ASCII EDT"
******
File $2$DIA12:[ALLIN1.SITE.DEV_SHARE]WPPRINT.SCP;2
  717   !*****	temporary fix for EM with non-MAIN attachments *****
  718       .if fn$length(#PRINT_FORMAT) eq 1 then get #PRINT_FORMAT = ""
  719   !*****	end of temporary fix *****
  720       .if #PRINT_FORMAT eqs "ASCII" then get #PRINT_FORMAT = "ASCII EDT"
************
Number of difference sections found: 8 Number of difference records found: 24

Compiled by Hong Le, 
CSC Sydney