Specifying a Db2® object name

For those batch functions that require a Db2® object name, FM/Db2 automatically determines the appropriate keywords to specify the Db2® objects. For an input Db2® object this is OBJIN, or OBJILOCN (for location), OBJIOWNR (for owner) and OBJINAME (for name). For an output Db2® object this is OBJOUT, or OBJOLOCN (for location), OBJOOWNR (for owner) and OBJONAME (for name). The latter values are used when the OBJIN/OBJOUT value does not fit on a single line, or when the owner or name values contain special characters, for example, lowercase letters. In what follows, a special character is any character other than the uppercase letters A-Z, the digits 0-9, the 3 characters reserved as alphabetic extenders for national languages (@#$), and the underscore character (_).

When the owner or name value is split over two or more lines, the rules for continuing File Manager batch parameters must be observed. See the File Manager User's Guide for a full explanation. Briefly, each part of the value must be enclosed in apostrophes, and a comma must appear at the end of each line. The second and subsequent lines should include $$FILEM followed by a space and the next part of the parameter value, enclosed in apostrophes. When the owner/name value contains special characters FM/Db2 automatically determines a unique two-character delimiter for the parameter value. The default is \$, another delimiter is used if \$ appears in the owner/name. The two-character delimiter appears at the start and finish of the owner/name value. When the owner/name value spans two or more lines, the two-character delimiter appears at the start and end of every line, and apostrophes are used at the start and end of each partial parameter value - to satisfy the continuation rules for File Manager batch parameters. When you code your own batch control statements and the owner/name values extend over 2 or more lines, you should specify each part of the name separately and not use OBJIN/OBJOUT. If the owner/name values contain special characters, you must specify a two-character delimiter at the start and end of the parameter value (or partial parameter value). The delimiter must not appear in the owner/name value, and the first character of the delimiter must be a special character except for apostrophe and quotation mark characters. When 2 character delimiters are used for an owner/name value, specify the owner/name exactly as is, do not double apostrophes or quotation characters, or omit any spaces.