1823422 Members
2565 Online
109655 Solutions
New Discussion юеВ

Re: MMS/MACRO

 
Kenneth A Morrison
New Member

MMS/MACRO

I'm getting a %MMS-F-CMSBADFLAGS error when attempting the command MMS/CMS/MACRO="CMSFLAGS=GENERATION=classname"/DESC=descriptorfile
Documentation says it would give this error if the classname was not valid, but it is valid as demonstrated with the command "$ CMS SH CLASS classname"

I found that it won't complain if I enter:
MMS/CMS/MACRO="$CMSFLAGS=GENERATION=classname",but it fetches the current gen and not those of the class...thoughts?
4 REPLIES 4
Richard Whalen
Honored Contributor

Re: MMS/MACRO

try:

MMS/CMS/MACRO="CMSFLAGS=/GENERATION=classname"/DESC=descriptorfile
Kenneth A Morrison
New Member

Re: MMS/MACRO

Thanks...I missed the "/" in /GENERATION
Kenneth A Morrison
New Member

Re: MMS/MACRO

MMS/MACRO="CMSFLAGS=" statement requires "/" before any qualifiers therein.
Steven Schweda
Honored Contributor

Re: MMS/MACRO

When desperate for ideas involving MMS, it's
sometimes helpful to consult:

SYS$COMMON:[SYSHLP.EXAMPLES.MMS]MMS$DEFAULT_RULES.MMS

which happens to include a default
definition of CMSFLAGS:

CMSFLAGS = /GEN=$(MMS$CMS_GEN)

which does include the slash, although it is
one of those subtle things which is easy to
see as correct even when it's wrong.