SCHEDULE
Automated Job Submission System
Guide and Reference Manual


Previous Contents Index


Appendix C
Edit Strings

Edit strings can be specified in various parts of the REPORT system. The standard edit string elements are listed below. There are three basic types of edit operands:

  1. Numeric fields
  2. Alphanumeric fields
  3. Date fields

Each type has its own edit string elements. To repeat an edit string element, append to the string element character. the number of instances of that character, with the number bracketed by parentheses. For example, to print an alphanumeric field of 5 characters use "X(5)" instead of "XXXXX". The various types are detailed in the following charts.
Numeric String Description
9 Each 9 is replaced with a digit 0 through 9. The number is right justified and leading zeros are added.
Z If a Z matches a leading zero in the field's contents, it is replaced by a space. If not, it is replaced with a digit 0 through 9.
+ A plus sign is replaced by either a plus sign if the contents are positive or a minus sign if it is negative. If more than one plus sign is placed leftmost, any leading zeros are suppressed and the sign floats over to the right.
L A L placed at the left of an edit string will cause the field to be left justified.
- A minus sign is replace with a blank if the fields contents are positive and a minus sign if it is negative. If more then one minus sign is placed leftmost, any leading zeros are suppressed and the sign floats over to the right.
. A period represents the decimal point placement. It is replaced by the current radix point symbol. A period is the default radix symbol. The radix symbol is defined by the logical name SYS$RADIX_POINT. Put only one decimal point in a numeric string.
, A comma is the digit separator. If all digits at the left are suppressed zeros, then the comma is replaced by blank. Otherwise it is replaced with the current digit separator symbol. A comma is the default digit separator. The digit separator symbol is defined by the logical name SYS$DIGIT_SEP.
B The letter B is replaced by a blank at that position.
$ A $ is replaced by the current currency symbol. The default currency symbol is $. The currency symbol is defined by the logical name SYS$CURRENCY. If more than one currency symbol is placed leftmost, any leading zeros are suppressed and the symbol floats over to the right.
CR If the field's contents are negative, the letters CR are inserted. In all other cases, 2 blanks are inserted.
DB If the field's contents are negative, the letters DB are inserted. In all other cases, 2 blanks are inserted.
W Force a period decimal point.
Alphanumeric String Description
A Each A is replaced by an alphabetic character or an asterisk.
9 Each 9 is replaced by an numeric character or an asterisk.
B Each B is replaced by a blank.
X Any alpha character is acceptable.
T Any alpha character is acceptable.
W Expand the string until entire input string fits. The increment used is the number of W's found. Must be the rightmost characters
Date String Description
A Each A is replaced by an alphabetic character from the field's contents. All others are replaced with an asterisk.
B The letter B is replaced by a blank at that position.
D Each D is replaced by the corresponding digit of the day of the month. DD is recommended.
E Each E is replaced by the corresponding digit of the day of the month. Includes leading blanks.
F Each F is replaced by the corresponding digit of the day of the month. Includes leading zeros.
J Each J is replaced by the corresponding digit of the Julian date. JJJ is recommended.
L A L placed at the left of an edit string will cause the field to be left justified.
M Each M is replaced by the corresponding letter of the name of the month. An edit string of M(9) prints the entire name of the month.
N Each N is replaced by a digit of the number of the month. NN is recommended.
O Each O is replaced by a digit of the number of the month. Skip leading blanks.
Q Each Q is replaced by a digit of the number of the month. Including leading zeros.
P P for PM. Nothing for AM.
U Time of day using 12 hour clock.
Y Each Y is replaced by the corresponding digit of numeric year. YY or YYYY is recommended.
T Each T is replaced by a character of the time. The time is displayed as HH:MM:SS.DD.
W Each W is replaced by the corresponding letter from the name of the day of the week. An edit W(9) prints the entire name.
X Each X is replaced by one character from the SYS$ASCTIM representation of the date
, A comma will be inserted at that position.
. A period will be inserted at that position.
- A dash will be inserted at that position
/ A slash will be inserted at that position.


Appendix D
Record layout

D.1 Control file fields

The CONTROL file contains several record types. The primary one is the SDE record which is documented below. The others are directory definitions and list specification, and these are not suitable for external use.

Whenever a new job is created a new CONTROL record is made. A new record is first loaded with a set of default values before user specified values are loaded. If the job entry called "/default/default" is found, that is used as the initial default. Otherwise a series of hard values are used.

The general description of all fields in the CONTROL file are listed below:

Note

1 Please refer to an earlier section describing network topologies. Two distinct topologies are supported. 1

2 The procedure SCHEDULE_LIBRARY:SCHEDULE_NOTIFY.COM formats the event information and actually transmits the event notification message. If you need to modify this procedure make a copy of it and change the SCHEDULE_NOTIFY


Previous Next Contents Index