[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

686.0. "Output File from a com file?" by TOOK::FAIRBANKS (Wynonna Wannabe) Fri Feb 01 1991 15:57

    
    
    Should I be able to direct MCC output to a file on a command line
    which invokes an MCC command file?
    
    For example, I'm trying to do the following:
    
    	MCC> DO tsam_commands, to file=tsam_output.txt
    
    Should this work?  
    
    Thanks--
    
    Laurie
T.RTitleUserPersonal
Name
DateLines
686.1One more thing ...TOOK::FAIRBANKSWynonna WannabeFri Feb 01 1991 15:589
    
    
    BTW, the error message I get says 
    
      %MCC-W-EOSEXPECTED, an end-of-string is expected, but found this: ,
    
    I get the same error if I remove the ',' from the command line.
    
    
686.2not supportedGOSTE::CALLANDERWed Feb 06 1991 13:4414
    Sorry, that isn't supported. You would have to put the
    to file qualifier on each line of the command file or use the
    command
    
    use default qual to file=output.lis
    
    This will cause all subsequent commands to send their output to
    the file output.lis...unluckily right now this means a new version
    of the fill will be created for each command.
    
    I am going to qar the lack of support for the to qualifier on the
    do command. This is qar 480 in the MCC_INTERNAL qar database.
    
    
686.3semi work aroundTOOK::DITMARSPeteWed Feb 06 1991 16:1912
while it's not the same thing, you can create a log file to capture the output
of all commands in a command procedure...

MCC> use logging file tsam_output.txt
MCC> use logging on
MCC> use verify on
MCC> DO tsam_commands
MCC> use logging off

will result in all the output being sent to your screen *and* to a file.

Logging and command procedure verification are new in V1.1 of FCL.
686.4parser error messagesTOOK::DITMARSPeteWed Feb 06 1991 16:235
re: .1

The parsing of FCL's local commands does not expect qualifiers.
If anything other than the verb and any required arguments are entered, the
parser will complain in the manner you've noted.