| Previous | Contents | Index |
By default the current context is assumed.
See the UTLTOOLS FETCH SUBCONTEXT command for more details about the keywords and their values.
By default, /NOCONSOLIDATION is assumed.
By default, /NODEFAULT is assumed.
By default, /DOCUMENTATION_FILE_TYPES=(.DECW$BOOKSHELF_SRC.INX_LIST.RND.RNH.RNM.RNR. SDML) is assumed.
By default, /NODUPLICATES is assumed which is the required action for MMS script generation.
By default, /NOIF_NEWER is assumed.
By default, /IF_POSSIBLE is assumed.
The following log options are available:
| ALL | Indicates that all file action messages should be displayed. |
| NONE | Indicates that no file action messages should be displayed. This is the same as /NOLOG. |
| CHECKED | Indicates that a message should be displayed for each source file checked for conversion. |
| GENERATED | Indicates that a message should be displayed for each target file generated. |
| UNNECESSARY | Indicates that a message should be displayed for each target file not generated because it was already uptodate. See /IF_NEWER for a more detailed description of an uptodate target. |
|
ACL
NOACL |
Selects files that have an associated ACL or files that do not (NOACL keyword). | ||||||||||||
| ATTRIBUTES=(option[,...]) |
Selects files which have particular attributes. The following options
are supported:
|
||||||||||||
| FILE=(option[,...]) |
Selects portions of the file specification for display purposes. The
/SELECT=FILE qualifier is used to turn off specific portions by
explicit or implicit specification of the options. Possible options are:
/SELECT=FILE qualifier cannot be used with the /FULL qualifier. |
||||||||||||
|
ONLINE
NOONLINE |
Selects files that are online or shelved. | ||||||||||||
|
PRESHELVED
NOPRESHELVED |
Selects files that are preshelved or not preshelved. | ||||||||||||
|
SHELVABLE
NOSHELVABLE |
Selects files that are shelvable or not shelvable. | ||||||||||||
| SIZE=(option[,...]) |
Selects files according to their size. Possible options are:
|
See the OpenVMS DCL Concepts Manual for complete information on specifying time values.
See the DEVTOOLS BEGIN SUBCONTEXT command for more details about the keywords and their values.
The reduction uses a soft recursive algorithim that also removes circular dependencies. Targets of the above file types are only removed if they are used in a source list. Conversly, sources are only removed if a corresponding target can be found. Leaving targets and sources which don't have correpsonding opposites allows dependencies defined in or used by other MMS scripts to be used or defined.
By default /NOREDUCE is assumed.
The following tyle codes are available:
| OPENVMS | Indicates that MMS style scripts should be generated. These use depends_on for dependencies and long MMS$ xxxx macros for substitution. |
| UNIX | Indicates that make style scripts should be generated. These use the colon character for dependencies and short macros for substitution. |
| VMS | Same as specifying OPENVMS. |
| WINDOWSNT | At the current time, this is the same as specifying UNIX. |
For example, MY_PROG.COB and MY_PROG.OPT would both result in generated MMS scripts of MY_PROG.MMS unless the /SUFFIX qualifier was specified. The result when /SUFFIX is specified would be MY_PROG_COB.MMS and MY_PROG_OPT.MMS.
By default, /NOSUFFIX is assumed.
The following directory codes are available:
| LIBRARY | Indicates that the library directory should be used in place of the work directory. Typically this would be used to generate MMS scripts for sources which have been generated in the library directory. |
| #1 |
|---|
$ CVTMMS :== 'DEVTOOLS' CONVERT/GENERATE/DEFAULT=TARGET=.MMS_INC
|
Set up a CVTMMS command which can be used to convert any source to an MMS script. An example of using this would be CVTMMS MYPROG.MAR which would generate an MMS script named MYPROG.MMS_INC.
| #2 |
|---|
$ DEVTOOLS CONVERT/GENERATE FIN_WRK_DIR:*.* FIN_LIB_DIR:-
_$/CONSOLIDATION=FIN_LIB_DIR:FIN_APPENDS.MMS-
_$/DEFAULT=TARGET=.MMS_INC/IF_NEWER/IF_POSSIBLE/LOG=GENERATED/SUFFIX
|
Performs all the MMS script generation required for a BUILD command RULES phase.
| #3 |
|---|
$ REDUCE :== 'DEVTOOLS' CONVERT/GENERATE/DEFAULT=(SOURCE=.LOG,TARGET=.ERR)
|
Set up a REDUCE command which can be used to reduce a log file containing all types of messages and text to an error file containing only errors. See the REDUCE command for more details.
Converts an object or symbol file into an append or include source file.This generic command is primarily used to generate sources used during builds.
DEVTOOLS CONVERT/GENERATE/SYMBOLS symbol-file output-file
symbol-file
Specifies the name of an existing object or symbol file to be converted. No wildcards are allowed.output-file
Specifies the name of the output append or include source file which is generated from the object or symbol file. The file type of the output file is used to control which format the output file has. The following file types are supported:
File Type Format and Usage .COM_APP DCL command procedure append source. A DCL global numeric symbol assignedment is generated for each symbol found in the source file. .H C/C++ include file. A #define statement is generated for each symbol found in the source file. If you do not specify the device or directory, the DEVTOOLS CONVERT/GENERATE/SYMBOLS command uses your current default device and directory.
| #1 |
|---|
$ DEVTOOLS CONVERT/GENERATE/SYMBOLS FIN_LIB_DIR:FIN_MESSAGES.SYM -
_$ FIN_SFT_DIR:FIN_MESSAGES.H
|
Generates a C include file from the symbol values in the message symbol file. This include file can then be used in C sources to provide values for the applications messages without resorting to the globalvalue clause.
Copies a file or a set of files to a target file. This command is similar to the DCL COPY command with the addition of some extra qualifiers.
DEVTOOLS COPY input-filespec[,...] output-filespec
input-filespec[,...]
Specifies the name of an existing file to be copied. The asterisk (*) and the percent sign (%) wildcard characters are allowed. If you do not specify the device or directory, the DEVTOOLS COPY command uses your current default device and directory.output-filespec
Specifies the name of the output file into which the input is copied.You must specify at least one field in the output file specification. If you do not specify the device or directory, the DEVTOOLS COPY command uses your current default device and directory. The DEVTOOLS COPY command replaces any other missing fields (file name, file type, version number) with the corresponding field of the input file specification. If you specify more than one input file, the DEVTOOLS COPY command generally uses the fields from the first input file to determine any missing fields in the output file.
You can use the asterisk (*) wildcard character in place of any two of the following: the file name, the file type, or the version number. The DEVTOOLS COPY command uses the corresponding field in the related input file to name the output file.
/BACKUP
Modifies the time value specified with the /BEFORE or /SINCE qualifier. /BACKUP selects files according to the dates of their most recent backups. This qualifier is incompatible with the other qualifiers that also allow you to select files according to time attributes: /CREATED, /EXPIRED and /MODIFIED. If you specify none of these four time qualifiers, the default is /CREATED./BEFORE[=time]
Selects only those files dated prior to the specified time. You can specify time as an absolute time, as a combination of absolute and delta times, or as one of the following keywords: TODAY (default), TOMORROW, or YESTERDAY. Specify one of the following qualifiers with /BEFORE to indicate the time attribute to be used as the basis for selection: /BACKUP, /CREATED (default), /EXPIRED or /MODIFIED.See the OpenVMS DCL Concepts Manual for complete information on specifying time values.
/BINARY
/NOBINARY (Default)
Specifies whether binary file types are forced to have standard binary file attributes during the DEVTOOLS copy operation. The standard binary file attributes are the equivalent to those set by the command DEVTOOLS SET FILE/ATTRIBUTES=(RFM=FIX,LRL=512,RAT=NONE).By default, file attributes are not forced to the standard binary file attributes.
/BY_OWNER[=uic]
Selects only those files whose owner user identification code (UIC) matches the specified owner UIC. The default UIC is that of the current process.Specify the UIC using standard UIC format as described in the OpenVMS DCL Concepts Manual.
/CONFIRM
/NOCONFIRM (default)
Controls whether a request is issued before each copy operation to confirm that the operation should be performed on that file. The following responses are valid:
YES NO QUIT TRUE FALSE [Ctrl/Z] 1 0 ALL [Return]You can use any combination of uppercase and lowercase letters for word responses. Word responses can be abbreviated to one or more letters (for example, T, TR, or TRU for TRUE), but these abbreviations must be unique. Affirmative answers are YES, TRUE, and 1. Negative answers include: NO, FALSE, 0, and pressing the Return key. Entering QUIT or pressing Ctrl/Z indicates that you want to stop processing the command at that point. When you respond by entering ALL, the command continues to process, but no further prompts are given. If you type a response other than one of those in the list, DCL issues an error message and redisplays the prompt.
/CREATED
Modifies the time value specified with the /BEFORE or /SINCE qualifier. /CREATED selects files based on their dates of creation. This qualifier is incompatible with the other qualifiers that also allow you to select files according to time attributes: /BACKUP, /EXPIRED and /MODIFIED. If you specify none of these four time qualifiers, the default is /CREATED./EXCLUDE=(file-spec[,...])
Excludes the specified files from the copy operation. You can include a directory but not a device in the file specification. Wildcard characters are allowed in the file specification. However, you cannot use relative version numbers to exclude a specific version. If you provide only one file specification, you can omit the parentheses./EXPIRED
Modifies the time value specified with the /BEFORE or /SINCE qualifier. /EXPIRED selects files according to their expiration dates. (The expiration date is set with the SET SECURITY/EXPIRED command.) The /EXPIRED qualifier is incompatible with the other qualifiers that also allow you to select files according to time attributes: /BACKUP, /CREATED and /MODIFIED. If you specify none of these four time qualifiers, the default is /CREATED./LOG[=(option[,...]) (default)
/NOLOG
Outputs messages to the output file depending upon the option(s) specified.The following log options are available:
Option Meaning [NO]ALL Log all information. This is the default action. [NO]ERROR Log errors. [NO]NONE Don't log any information. This is the equivalent to /NOLOG. [NO]NOTFOUND Log files that were not found. [NO]SUCCESS Log files that were copied. /MODIFIED
Modifies the time value specified with the /BEFORE or /SINCE qualifier. /MODIFIED selects files according to the dates on which they were last modified. This qualifier is incompatible with the other qualifiers that also allow you to select files according to time attributes: /BACKUP, /CREATED and /EXPIRED. If you specify none of these four time modifiers, the default is /CREATED./RECORD
/NORECORD (Default)
Specifies whether file contents should be explicily copied in record mode.When a file is copied to or from a record oiriented device, the contents are always copied in record mode. When copied from and to a block oriented device, such as a disk, the default behaviour is to copy in block mode. This qualifier can be used to force the contents to be copied in record mode.
For operating systems or file systems which don't have specific support for record mode, the qualifier has no effect.
By default, /NORECORD is assumed.
/RETAIN=(item[,...])
/NORETAIN (Default)
Specifies whether certain file attributes are retained during the DEVTOOLS copy operation.Valid items include:
Item Usage CDT Creation date and time RDT Revision date time /RLF (Default)
/NORLF
Specifies whether related file specification handling is used during the DEVTOOLS copy operation.By default, /RLF is assumed.
/SELECT=(keyword[,...])
Allows you to select files based on a number of criteria. Choose one of the following keywords:
ACL
NOACLSelects files that have an associated ACL or files that do not (NOACL keyword). ATTRIBUTES=(option[,...]) Selects files which have particular attributes. The following options are supported:
Option Description [NO]BACKUP Selects files which have backups enabled (BACKUP) or disabled (NOBACKUP) LRL=MAXIMUM=size Selects files which have a longest record size less than or equal to the specified value. LRL=MINIMUM=size Selects files which have a longest record size greater than or equal to the specified value. ORG=type Selects files which have the specified organization. Valid organizations include:
- DIRECT
- INDEXED
- RELATIVE
- SEQUENTIAL
RFM=type Selects files which have the specified record format. Valid record formats include:
- STREAM
- STREAMCR
- STREAMLF
- UNDEFINED
- VARIABLE
- VFC
FILE=(option[,...]) Selects portions of the file specification for display purposes. The /SELECT=FILE qualifier is used to turn off specific portions by explicit or implicit specification of the options. Possible options are:
- [NO]NODE
- [NO]DEVICE
- [NO]DIRECTORY
- [NO]NAME
- [NO]TYPE
- [NO]VERSION
/SELECT=FILE qualifier cannot be used with the /FULL qualifier.
ONLINE
NOONLINESelects files that are online or shelved. PRESHELVED
NOPRESHELVEDSelects files that are preshelved or not preshelved. SHELVABLE
NOSHELVABLESelects files that are shelvable or not shelvable. SIZE=(option[,...]) Selects files according to their size. Possible options are:
Option Description MAXIMUM=n Selects files that have fewer blocks than the value of n, which defaults to 1,073,741,823. Use with MINIMUM=n to specify a size range for files to be selected. MINIMUM=n Selects files that have blocks equal to or greater than the value of n. Use with MAXIMUM=n to specify a size range for files to be selected. (MINIMUM=n, MAXIMUM=n) Selects files whose block size falls within the specified MINIMUM and MAXIMUM range. /SINCE=[time]
Selects only those files dated after the specified time. You can specify time as an absolute time, a combination of absolute and delta times, or as one of the following keywords: TODAY (default), TOMORROW, or YESTERDAY. Specify one of the following qualifiers with /BEFORE to indicate the time attribute to be used as the basis for selection: /BACKUP, /CREATED (default), /EXPIRED or /MODIFIED.
Previous Next Contents Index