Worklist commands
A worklist consists of a number of commands that the Execution component uses to set up and run Db2 SQL statements, Db2 commands and utilities, and BMC programs.
Some of these commands are not generated by the Analysis component, but all of the commands are listed here for complete information. If you need to use one of these commands, you can manually add it to a worklist.
File format
Worklist and CDL files consist of a sequence of commands that occupy single or multiple lines.
The file structure is sequential and fixed in length, with 80-character records. The following table defines the record layout of the worklist file and the record layout of the CDL file.
Column number | Layout | Description |
---|---|---|
1 | Line identifier | A dash (-) that indicates the beginning of a command An asterisk (*) indicates a comment. If there is no indicator, then this line is a continuation of the previous Command line. |
2-5 | Command identifier | A four-character code that identifies the command The command identifier appears only on the first line of the command. |
6 | Blank | A blank character (required) |
7-12 | Command sequence number | A six-digit number, right-justified and zero-filled, that indicates the command sequence Each command has a unique number. These numbers must remain in order. You might add and delete commands, however, you must keep the commands in ascending sequence. Command sequence numbers are generated in increments of 50 to allow you to insert commands as needed. Although you can change a command sequence number, doing so results in a hash failure. The command sequence number appears only on the first line of a command. |
13 | Blank | A blank character (required) |
14-72 | Command text | Free-format text that includes the information that is needed to execute the command For continuation lines, the text appears in columns 2 through 72. |
73-80 | Hash verification number | A numerical hash value that indicates the contents of the command Several components use the number to detect changed and inserted commands. Do not insert or modify this code. The hash number appears only on the last line of a command. |
Multi-line commands
Worklist files can consist of a sequence of commands that occupy multiple lines.
Multi-line commands consist of the following identifiers and numbers:
- The line identifier, command identifier, command sequence number, and short command text on the first line
- A blank in the line identifier column, with long command text on continuation lines
- The hash verification number on the last line
Comment lines
Comment lines consist of an asterisk (*) for the line identifier and comment text for the remainder of the line.
Comments do not use sequence numbers or hash verification numbers.
This section contains the following topics: