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

Conference azur::mcc

Title:DECmcc user notes file. Does not replace IPMT.
Notice:Use IPMT for problems. Newsletter location in note 6187
Moderator:TAEC::BEROUD
Created:Mon Aug 21 1989
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6497
Total number of notes:27359

4518.0. "MCC in batch looks weird" by SKIGOD::PFROMER (Ed Pfromer, ESM Engineering) Tue Feb 09 1993 14:08

We're running MCC T1.3.1 and I'm having some weird problems with running MCC
as part of a batch procedure.  This is what the log output looks like:

Set MR DLD prod_ta90e -
   Compatible Cartypes = -
     {{CarType=3480, Load Req=LOAD}}, -
   Compatible Media Types = -
     {{Media Type = 3480, -
         Capabilities = Read Write, -
         Predicted Access Time = 37000000, -		! 37 seconds
         Predicted Transfer Rate = 2700, -		! 2.7 MB/s
         Predicted Reliability = 12}, -			! This is just a guess
      {Media Type = 3480_COMP, -
         Capabilities = Read Write, - 
         Predicted Access Time = 37000000, -		! 37 seconds
         Predicted Transfer Rate = 2700, -		! 2.7 MB/s
         Predicted Reliability = 12}}			! This is just a guess

Node LOCAL_NS:.plow MediaRobot LOCAL_NS:.mrm_v1_media_robot DLD prod_ta90e 
AT  9-FEB-1993 00:33:02 Characteristics

Modification(s) completed successfully
                    Compatible CarTypes = 
( 
(
                                    CarType = 
3480
,
                          Load Requirements = 
Load
 )
 )

                 Compatible Media Types = 
( 
(
                                 Media Type = 
3480
,
                               Capabilities = 
Read Write
,
                      Predicted Access Time = 
37000000
,
                    Predicted Transfer Rate = 
2700
,
                      Predicted Reliability = 
12
 )
,
                                            
(
                                 Media Type = 
3480_COMP
,
                               Capabilities = 
Read Write
,
                      Predicted Access Time = 
37000000
,
                    Predicted Transfer Rate = 
2700
,
                      Predicted Reliability = 
12
 )
 )

T.RTitleUserPersonal
Name
DateLines
4518.1TOOK::MCPHERSONpre-retinal integrationTue Feb 09 1993 14:369
    Yeah, I noticed this too when I tried to use my olf MCC 1.1 regression
    testing procedures against T1.3.

    This has something to to with the way that FCL is handling terminal
    output ("No sh*t, Sherlock," you're probably saying...). Evidently
    there were some changes made for performance reasons after 1.1 (maybe
    event in 1.2).

    /doug
4518.2bug?SKIGOD::PFROMEREd Pfromer, ESM EngineeringTue Feb 09 1993 15:492
I would assume this is a bug, and not intended operation, correct?
4518.3C RTL / Batch RACER::daveAhh, but fortunately, I have the key to escape reality.Tue Feb 09 1993 17:506
It's known of the way batch interacts with C RTL I/O routines.
Batch notices that the C RTL does a QIO of a short string, and stuffs
the bytes from it into a single line all by itself.

You can either fix batch, or change C, but I seriously doubt that you
will succede in getting either done.
4518.4what changed?SKIGOD::PFROMEREd Pfromer, ESM EngineeringWed Feb 10 1993 13:058
>
>It's known of the way batch interacts with C RTL I/O routines.
>Batch notices that the C RTL does a QIO of a short string, and stuffs
>the bytes from it into a single line all by itself.
>

So what changed from MCC V1 to T1.3.1?  C RTL or QIO?  We didn't have
this problem before.
4518.5OK, it's a hack, but...TOOK::STRUTTManagement - the one word oxymoronWed Feb 10 1993 16:3313
    This is by no means a solution to your problem, but it may help you in
    the interim.
    
    There is a USE command with DECmcc FCL which controls which column the
    "=" sign appears. You can modify it away from the default (which is 42).
    
    MCC> use indentation 30
    %MCC-S-INDSET, indentation level set to 30
    MCC>
    
    Put this command early in your MCC command file.
    
    Colin
4518.6USE INDENT won't change it.,TOOK::MCPHERSONpre-retinal integrationWed Feb 10 1993 21:0311
Colin, 

I'm pretty sure that what you suggested won't work.  

There is movement afoot to 'undo' the performance change for the FCL (it only
affected ULTRIX terminal I/O). 

My tests with a 'un-fixed' FCL worked out fine.  We'll have to 
wait and see if it will make it in the kit...

/doug
4518.7TOOK::SWISTJim Swist LKG2-2/T2 DTN 226-7102Thu Feb 11 1993 08:5913
    Arrrgghhh, how depressing.
    
    This is a side affect of one of the things done in V1.3 to attempt
    to substantially increase notification throughput.  It turns out
    that "printf" to dxterms are very expensive and people have been
    beating on us to make *significant* improvements (like an order
    of magnitude or more) in the rate it which we can pump notifications
    through the system.
    
    Maybe we need an environmental variable defining whether you want
    your output fast, or want it correct  :-)
    
    
4518.8Fast|Cheap|Correct. Pick one. ;^)TOOK::MCPHERSONpre-retinal integrationThu Feb 11 1993 11:059
>    Maybe we need an environmental variable defining whether you want
>    your output fast, or want it correct  :-)

	Shhhhh! Don't let Mark S. hear you say that!   
		;^) ;^)
    
/doug
    

4518.9RACER::daveAhh, but fortunately, I have the key to escape reality.Fri Feb 12 1993 16:161
Note that this has nothing to do with ultrix, as Ed is running on a VMS system.
4518.10TOOK::SWISTJim Swist LKG2-2/T2 DTN 226-7102Mon Feb 15 1993 10:193
    Who said it had anything to do with Ultrix?   The code in question
    is common to both platforms.