UDC / script comparisons (cont)
differences:
- scripts can be variable record width files
- UDCs require lock access, scripts don’t
- script names can be in POSIX syntax, UDC filenames must be in MPE syntax
- UDC name cannot exceed 16 chars, script name length follows rules for MPE and POSIX named files
- EOF for a script is the real eof, end of a UDC command is one or more asterisks, starting in column 1
Notes:
A script name follows the same rules as all filenames. These rules differ depending on the syntax specified. MPE syntax filenames must be from 1 to 8 alphanumeric characters, with the first character being a letter. If the MPE name is qualified it can contain a lockword, group and account names, each having the same restrictions. POSIX syntax script names follow the rules for any POSIX-named file: 1 to 255 characters long, beginning with any valid character except a dash (-), case sensitive and several special characters are supported. Like MPE names, POSIX names can be qualified or unqualified. Unqualified (base) names are completed by pre-pending POSIX elements from the HPPATH variable to the base name.
Note: a POSIX named script cannot be qualified via HPPATH unless HPPATH contains directory names in POSIX syntax.