A number of basic constructs are common to CANDE commands. These constructs are defined in this section.
──┬─<letter>─┬─────────────────────────────────────────────────────────┤ └─<digit>──┘
──<integer>────────────────────────────────────────────────────────────┤
Any <alphanumeric character>, any <special character>, or a blank.
┌◄────────────┐ ──┴─/2\─<digit>─┴──────────────────────────────────────────────────────┤
──<file title>─────────────────────────────────────────────────────────┤
──<type>───────────────────────────────────────────────────────────────┤
NUL SOH STX ETX HT DEL VT FF CR SO SI DLE DC1 DC2 DC3 NL BS CAN EM FS GS RS US LF ETB ESC ENQ ACK BEL SYN EOT NAK SUB SP
Any one of the decimal digits 0, 1, 2, 3, 4, 5, 6, 7, 8, 9.
──┬─ ( ──<usercode>── ) ────────────────────────┬─ = ──────────────────┤ │ ┌◄─────────────────┐ │ ├──────────────────────┬─┴─/11\─<name>── / ─┴─┘ ├─ ( ──<usercode>── ) ─┤ └─ * ──────────────────┘
As an alternate syntax for indicating a file associated with a usercode, instead of preceding the file name with the usercode within parentheses, you can precede the file name with *USERCODE/<usercode>. You can use this alternate form when you refer either to a file or to a directory of files under the specified usercode.
──<directory name>─┬─────────────────────┬─────────────────────────────┤ └─ ON ──<family name>─┘
The <dlm> character is a delimiter; it can be any special character except the comma (,), colon (:), or at sign (@).
┌◄──────<period>─────┐ ──┴─<domain name node>─┴─┬──────────┬──────────────────────────────────┤ └─<period>─┘
The domain name consists of one or more nodes with each node made up of one to 63 alphanumeric characters. The total length of the domain name including the period (.) as delimiters must not exceed 255 characters.
┌◄─/62\────────────────────────┐ ──<alphanumeric character>─┴─┬──────────────────────────┬─┴────────────┤ ├─<alphanumeric character>─┤ ├─<hyphen>─────────────────┤ └─<underscore>─────────────┘
The domain name node consists of one to 63 alphanumeric characters. The hyphen (-) and underscore (_) are special characters that are allowed as part of the node but cannot be the last character of a node. Consecutive occurrences of the hyphen, underscore, or period are not allowed in the domain name node.
<EBCDIC character other than quotation mark>
Any EBCDIC character for which the hexadecimal code is greater than or equal to 4"40" and that is not the EBCDIC character quotation mark (").
<EBCDIC character other than apostrophe>
Any EBCDIC character for which the hexadecimal code is greater than or equal to 4"40" and that is not the EBCDIC apostrophe (').
──<column>─────────────────────────────────────────────────────────────┤
──<identifier>─────────────────────────────────────────────────────────┤
──┬─ ( ──<usercode>── ) ───────────────────┬───────────────────────────┤ │ ┌◄───── / ────┐ │ ├──────────────────────┬─┴─/11\─<name>─┴─┘ ├─ ( ──<usercode>── ) ─┤ └─ * ──────────────────┘
As an alternate syntax for indicating a file associated with a usercode, instead of preceding the file name with the usercode within parentheses, you can precede the file name with *USERCODE/<usercode>. You can use this alternate form when you refer either to a file or to a directory of files under the specified usercode.
┌◄───── / ────┐ ──┬──────────────────────┬─┴─/12\─<name>─┴─────────────────────────────┤ ├─ ( ──<usercode>── ) ─┤ └─ * ──────────────────┘
A file name is a sequence of 1 to 12 names separated by slashes (/). A file name can optionally be preceded by a usercode enclosed within parentheses or by an asterisk (*) if the file is an unusercoded file.
An alternate syntax to indicate that a file is associated with a usercode is to precede the file name with *USERCODE/<usercode>. This form of file name can be used to refer to either a file or directory of files under the specified usercode.
The WRITE command does not recognize a file name that exceeds 11 nodes (excluding the usercode).
──<file name>─┬─────────────────────┬──────────────────────────────────┤ └─ ON ──<family name>─┘
On certain commands, if <file name> is a valid <sequence number> value, then it must be enclosed in quotation marks to avoid confusion with a real <sequence number> value. For example, in order to list the file 100-200, you would enter LIST “100-200”, instead of LIST 100-200. To list lines 100 through 200 of the file 100-200, you would enter LIST 100-200 “100-200”. The commands for which this constraint is valid are DO, EXCLUDE, FIND, INSERT, LIST, MATCH, MERGE, RANGE, RMERGE, and WRITE.
┌◄──────────────────────────────┐ ──┴─/17\─<alphanumeric character>─┴────────────────────────────────────┤
The single hyphen (-).
Any EBCDIC character for which the hexadecimal code is greater than or equal to 4"40" and which is not a quotation mark (").
┌◄──────────────────────────────┐ ──┴─/17\─<alphanumeric character>─┴────────────────────────────────────┤
──<integer>────────────────────────────────────────────────────────────┤
┌◄────────┐ ──┴─<digit>─┴──────────────────────────────────────────────────────────┤
An IP address can be either an IPv4 address or an IPv6 address. An IPv4 address consists of exactly four nodes. Each node consists of a numeric string from 0 to 255. For example, 15.233.7.143 is a valid IPv4 address. An IPv6 address consists of up to eight 16-bit numbers that are separated by colons. For example, FE80::4:23FF:FE08:150B is a valid IPv6 address.
For additional information on IP address formats, refer to the MCP System Interfaces Programming Reference Manual.
Any one of the alphabetic characters from A through Z, inclusive, in uppercase or lowercase.
──┬─ ( ──<usercode>── ) ─────────────────────────────┬─ = ─────────────┤ │ ┌◄──────────────────────┐ │ ├──────────────────────┬─┴─/19\─<long name>── / ─┴─┘ ├─ ( ──<usercode>── ) ─┤ └─ * ──────────────────┘
A long directory name is limited to 215 characters, excluding any usercode.
Instead of preceding the file name with the usercode within parentheses, you can precede the file name with *USERCODE/<usercode>. This alternate form can be used when you refer either to a file or to a directory of files under the specified usercode.
──<long directory name>─┬─────────────────────┬────────────────────────┤ └─ ON ──<family name>─┘
──┬─ ( ──<usercode>── ) ────────────────────────┬──────────────────────┤ │ ┌◄─────── / ───────┐ │ ├──────────────────────┬─┴─/19\─<long name>─┴─┘ ├─ ( ──<usercode>── ) ─┤ └─ * ──────────────────┘
A long file directory is limited to 215 characters, excluding any usercode.
Instead of preceding the file name with the usercode within parentheses, you can precede the file name with *USERCODE/<usercode>. This alternate form can be used when you refer either to a file or to a directory of files under the specified usercode.
┌◄─────── / ───────┐ ──┬──────────────────────┬─┴─/20\─<long name>─┴────────────────────────┤ ├─ ( ──<usercode>── ) ─┤ └─ * ──────────────────┘
A long file name is a sequence of 1 to 20 names separated by slashes (/). A file name can optionally be preceded by a usercode enclosed within parentheses or by an asterisk (*), if the file is a nonusercoded file. A long file name is limited to 215 characters, excluding any usercode.
Instead of preceding the file name with the usercode within the parantheses, you can precede the file name with *USERCODE/<usercode>. This alternate form can be used to refer to either a file or directory of files under the specified usercode.
The WRITE command does not recognize a file name that exceeds 11 nodes (excluding the usercode).
──<long file name>─┬─────────────────────┬─────────────────────────────┤ └─ ON ──<family name>─┘
──┬─<letter>─┬─┬──────────────────────────────────────────┬─────────────────┤ ├─<digit>──┘ │ ┌◄─────────────────────────┐ │ │ └─┴─┬──────────────────────┬─┴─────────────┤ │ └─/214\─┬─<letter>─────┤ │ │ ├─<digit>──────┤ │ │ ├─<hyphen>─────┤ │ │ └─<underscore>─┘ │ │ ┌◄──────────────────────────────────────────┐ │ └─ " ─┴─/214\─<EBCDIC character other than quote>─┴─ " ─┘
──<integer>────────────────────────────────────────────────────────────┤
The logical station number (LSN) is a unique integer assigned by each station defined for a network. The most efficient method of station designation is by <LSN>.
The <LSN range> construct refers to a group of one or more LSNs. If a range is defined, the lower LSN must precede the higher LSN.
┌◄────────────┐ ──┴─/4\─<digit>─┴──────────────────────────────────────────────────────┤
┌◄───── , ─────┐ ──┴─<mix number>─┴─────────────────────────────────────────────────────┤
──┬─<letter>─┬─┬───────────────────────────┬──────────────────────┬────┤ ├─<digit>──┘ │ ┌◄──────────────────────┐ │ │ │ └─┴─/16\─┬─<letter>─────┬─┴─┘ │ │ ├─<digit>──────┤ │ │ ├─<hyphen>─────┤ │ │ ├─<underscore>─┤ │ │ └─<period>─────┘ │ │ ┌◄──────────────────────────────────────────────────┐ │ └─ " ─┴─/17\─<EBCDIC character other than quotation mark>─┴─ " ─┘
A period is allowed only in the following commands that correspond to Work Flow Language (WFL) statements of the same name: ADD, ALTER, COPY, PRINT, UNWRAP, and WRAP. Use of the period allows file names to be entered without quotation marks. It is intended to simplify the use of files that are shared with other operating systems.
──┬─────┬─<integer>────────────────────────────────────────────────────┤ ├─ + ─┤ └─ - ─┘
──<name>───────────────────────────────────────────────────────────────┤
CANDE supports the security option CASESENSITIVEPW. If this option is set, you can use lowercase and special characters in your passwords without enclosing the password in quotes. This makes it easier to use the same password in both MCP and Windows environments. When the option is set, CANDE does not automatically make passwords uppercase; the passwords are case-sensitive. However, it is still acceptable to enclose a password in quotes.
For additional information about passwords, refer to User Identification and Logging On.
The period character (.).
An integer that represents a value for the sequence field of a record. The maximum number of digits that might comprise a sequence number is determined by the FILEKIND value of the work file. Refer to Record Formats later in this section.
──┬─<sequence number>─┬───────────────────────────┬─┬──────────────────┤ │ └─ ─ ─┬─<sequence number>─┬─┘ │ │ └─ END ─────────────┘ │ └─ END ───────────────────────────────────────────┘
┌◄─────── , ───────┐ ──┴─<sequence range>─┴─────────────────────────────────────────────────┤
@ at ( left parenthesis ! exclamation point # number ) right parenthesis ? question mark $ dollar [ left bracket ' apostrophe % percent ] right bracket " quotation mark & ampersand { left brace + plus sign * asterisk } right brace - minus sign (hyphen) = equal < less than | split bar , comma > greater than ~ tilde ; semicolon / slash ^ circumflex (carat) : colon \ backslash ` grave accent . period _ underscore þ DEL (rubout)
──┬─ ALGOL ────┬───────────────────────────────────────────────────────┤ ├─ BASIC ────┤ ├─ BINDER ───┤ ├─ CC ───────┤ ├─ COBOL ────┤ ├─ C74 ──────┤ ├─ C85 ──────┤ ├─ DASDL ────┤ ├─ DCALGOL ──┤ ├─ DMALGOL ──┤ ├─ FORTRAN ──┤ ├─ F77 ──────┤ ├─ JAVA ─────┤ ├─ NEWP ─────┤ ├─ PASCAL ───┤ ├─ PLI ──────┤ ├─ RPG ──────┤ ├─ SANS ─────┤ ├─ SORT ─────┤ └─ XFORTRAN ─┘
──<column>─────────────────────────────────────────────────────────────┤
┌◄─/13\─ / ─┐ ──┴─<name>────┴────────────────────────────────────────────────────────┤
The station name is a unique identifier that follows the same syntactic conventions as file titles within the system, because any station may be assigned to a REMOTE file.
┌◄─────────────────────────────────────────────────┐ ── " ─┴─┬─<EBCDIC character other than quotation mark>─┬─┴─ " ─────────┤ └─ "" ───────────────────────────────────────┘
┌◄─────────────── ; ─────────────┐ ──┴─┬─<task attribute assignment>─┬─┴──────────────────────────────────► ├─<file equation>─────────────┤ ├─<library equation>──────────┤ └─<database equation>─────────┘ ►─┬────────────────────────────────┬───────────────────────────────────┤ │ ┌◄───────────────────────────┐ │ └─┴─<local data specification>─┴─┘
CANDE can process task equations used in WFL statements. Refer to the Work Flow Language (WFL) Programming Reference Manual for the descriptions of the task attribute assignment, file equation, library equation, database equation, and local data specification. If the attributes assigned to a task by using either the EXECUTE or RUN command are invalid, CANDE uses the default session values for the attributes when the task is run and does not issue any warning messages.
──┬─ ALGOL ────┬───────────────────────────────────────────────────────┤ ├─ BASIC ────┤ ├─ BINDER ───┤ ├─ CC ───────┤ ├─ CDATA ────┤ ├─ COBOL ────┤ ├─ CSEQ ─────┤ ├─ C74 ──────┤ ├─ C85 ──────┤ ├─ DASDL ────┤ ├─ DATA ─────┤ ├─ DCALGOL ──┤ ├─ DMALGOL ──┤ ├─ ESPOL ────┤ ├─ FORTRAN ──┤ ├─ F77 ──────┤ ├─ GUARD ────┤ ├─ JAVA ─────┤ ├─ JOB ──────┤ ├─ NDLII ────┤ ├─ NEWP ─────┤ ├─ PASCAL ───┤ ├─ PLI ──────┤ ├─ RPG ──────┤ ├─ SANS ─────┤ ├─ SEQ ──────┤ ├─ SORT ─────┤ ├─ TEXT ─────┤ ├─ WIDE ─────┤ └─ XFORTRAN ─┘
Table 1. Record Formats
Type |
Text Field |
Sequence Field |
ID Field |
Default Record Length |
Minimum Record Length |
Compiler Type |
---|---|---|---|---|---|---|
ALGOL |
1-72 |
73-80 |
81-90 |
15 WD |
80 CH |
YES |
BASIC |
5-72 |
1-4 |
73-80 |
14 WD |
72 CH |
YES |
BINDER |
1-72 |
73-80 |
NA |
14 WD |
80 CH |
YES |
CC |
1-72 |
73-80 |
81-90 |
15 WD |
80 CH |
YES |
CDATA |
1-80† |
NA |
NA‡ |
80 CH |
NA |
NO |
COBOL |
7-72 |
1-6 |
73-80 |
14 WD♦ |
72 CH♦ |
YES |
CSEQ |
7-80† |
1-5 |
NA |
80 CH |
NA |
NO |
C74 |
7-72 |
1-6 |
73-80 |
14 WD♦ |
72 CH♦ |
YES |
C85 |
7-72 |
1-6 |
73-80 |
14 WD♦ |
72 CH♦ |
YES |
DASDL |
1-72 |
73-80 |
81-90 |
15 WD |
80 CH |
YES |
DATA |
1-80◊ |
NA |
NA‡ |
14 WD |
80 CH |
NO |
DCALGOL |
1-72 |
73-80 |
81-90 |
15 WD |
80 CH |
YES |
DMALGOL |
1-72 |
73-80 |
81-90 |
15 WD |
80 CH |
YES |
ESPOL |
1-72 |
73-80 |
81-88 |
15 WD |
80 CH |
YES |
FORTRAN |
1-72 |
73-80 |
NA |
14 WD |
80 CH |
YES |
F77 |
1-72 |
73-80 |
81-90 |
15 WD |
80 CH |
YES |
JAVA |
1-72 |
73-80 |
81-90 |
15 WD |
80 CH |
YES |
JOB |
1-80 |
83-90 |
NA |
15 WD |
90 CH |
NO |
NDLII |
1-72 |
73-80 |
81-90 |
15 WD |
80 CH |
YES |
NEWP |
1-72 |
73-80 |
81-90 |
15 WD |
80 CH |
YES |
PASCAL |
1-72 |
73-80 |
81-90 |
15 WD |
80 CH |
YES |
PLI |
1-72 |
73-80 |
81-90 |
15 WD |
80 CH |
YES |
RPG |
6-80 |
1-5 |
81-90 |
15 WD |
80 CH |
YES |
SANS |
1-72 |
73-80 |
81-90 |
15 WD |
80 CH |
YES |
SCHEDULE |
1-80▼ |
NA |
NA‡ |
80 CH |
NA |
NO |
SEQ |
1-72 |
73-80 |
81- 90§ |
14 WD |
80 CH |
NO |
SORT |
1-72 |
73-80 |
81-90 |
15 WD |
80 CH |
YES |
TEXT |
1-72 |
73-80 |
81-90 |
15 WD |
80 CH |
NO |
WIDE |
22-120† |
1-11 |
12-21 |
20 WD |
120 CH |
NO |
XFORTRAN |
1-72 |
73-80 |
NA |
14 WD |
80 CH |
YES |
† CDATA, CSEQ, and WIDE files have an arbitrary length; the text field extends through the end of the record. |
◊ A DATA file may have an arbitrary length. The text field extends through the end of the record with one exception: by convention, 14-word EBCDIC or ASCII records are assumed to have text only through column 80. |
‡ For files of type DATA, CDATA, and SCHEDULE, CANDE assigns pseudo-sequence numbers for its own internal use. CANDE computes these numbers by multiplying the relative record number by 100. Each time the file is updated, these pseudo-sequence numbers are recalculated. |
▼ A SCHEDULE file can be any type recognized by CANDE. (No type SCHEDULE exists.) The output for a SCHEDULE file is type SCHED. Any CANDE command treats a SCHED file as type CDATA. |
♦ Some software products might produce, and others expect, COBOL, C74, and C85 files to have a default record length of 15 words, and a minimum record length of 90 characters. CANDE might alert you if the record sizes of a COBOL, C74, or C85 file do not match its expectations (14-word or 80-character MAXRECSIZE). |
§ SEQ files are created with 14 words and no ID field. If CANDE encounters a SEQ file with 15 or more words (90 or more characters), its treats columns 81 through 90 as an ID field. (For example, you can generate such a file by making a file type ALGOL and changing its type to SEQ.) |
The format of the records for each file type is described in Record Formats.
The underscore character (_).
── <name> ─────────────────────────────────────────────────────────────┤