Special resource (resource codes SR, SRCOM)

A special resource consists of four segments:
SRCOM
Common segment which is followed by the first SRIVL segment, the second SRIVL segment, and so forth.
SRIVL
Special resource interval segment.
SRIWS
Special resource interval workstation segment.
SRDWS
Special resource default workstation segment.

SRIVL and SRDWS are subsegments to SRCOM. SRIWS is a subsegment to SRIVL.

Table 1. SRCOM Control Block
Offsets        
Dec Hex Type Len Name Description

0

(0)

BASED

192

SRCOM

RESOURCE INSTANCE STRUCTURE

0

(0)

CHARACTER

44

SRCKEY

KEY

0

(0)

CHARACTER

44

SRCNAME

SPECIAL RESOURCE NAME

44

(2C)

CHARACTER

8

* RESERVED

52

(34)

CHARACTER

8

SRCGROUP

GROUP ID

60

(3C)

CHARACTER

1

SRCHIPER

DLF RESOURCE (Y|N)

61

(3D)

CHARACTER

1

SRCUSEDFOR

USED FOR (N|P|C|B)

62

(3E)

CHARACTER

2

SRCONERROR

ON ERROR OPTION

64

(40)

SIGNED

4

SRCIVLNUM

NUMBER OF INTERVALS

68

(44)

CHARACTER

46

SRCDESC

DESCRIPTION

114

(72)

CHARACTER

1

SRCONCOMPL

ON COMPLETE (Y|N|R|blank)

115

(73)

CHARACTER

1

SRCMAXTYPE

MAX LIMIT TYPE (Y|N|R)

116

(74)

SIGNED

4

SRCMAXLIMIT

MAX LIMIT VALUE

120

(78)

CHARACTER

12

*

RESERVED

132

(84)

SIGNED

4

SRCDEFQUANT

DEFAULT QUANTITY

136

(88)

CHARACTER

1

SRCDEFAVAIL

DEFAULT AVAILABILITY

137

(89)

CHARACTER

11

*

RESERVED

148

(94)

CHARACTER

8

SRCLUSER

LAST UPDATING USER

156

(9C)

CHARACTER

6

SRCLDATE

DATE OF LAST UPDATE

162

(A2)

CHARACTER

4

SRCLTIME

TIME OF LAST UPDATE

166

(A6)

CHARACTER

2

*

RESERVED

168

(A8)

CHARACTER

8

SRCLUTS

TOD CLOCK AT LAST UPDATE

176

(B0)

SIGNED

1

SRCVER

RECORD VERSION

177

(B1)

CHARACTER

15

*

RESERVED

Notes:
  1. Day number must be from 1 to 7 for Monday to Sunday or 8 for standard.
  2. For a correct interpretation of the fields described as "Tod clock at last update", see TOD fields.
Table 2. SRIVL Segment
Offsets        
Dec Hex Type Len Name Description

0

(0)

CHARACTER

32

SRIVL

INTERVAL

0

(0)

CHARACTER

32

SRIVLCOM

COMMON DATA

0

(0)

SIGNED

4

SRIVLDAY

DAY NUMBER

4

(4)

CHARACTER

6

SRIVLDATE

SPECIFIC DATE

10

(A)

CHARACTER

2

*

RESERVED

12

(C)

CHARACTER

4

SRIVLFTIME

FROM TIME

16

(10)

CHARACTER

4

SRIVLTTIME

TO TIME

20

(14)

SIGNED

4

SRIVLQUANT

MAX NUMBER OF SRs TO ALLOCATE

24

(18)

SIGNED

4

SRIVLWSCNUM

NUMBER OF CONNECTED WSs

28

(1C)

CHARACTER

1

SRIVLAVAIL

AVAILABLE (Y|N)

29

(1D)

CHARACTER

3

RESERVED

RESERVED

Table 3. SRIWS Segment
Offsets        
Dec Hex Type Len Name Description

0

(0)

CHARACTER

8

SRIWS

CONNECTED WS SEGMENT

0

(0)

CHARACTER

4

SRIWSNAME

WORKSTATION NAME

4

(4)

CHARACTER

4

*

RESERVED

Table 4. SRDWS Segment
Offsets        
Dec Hex Type Len Name Description

0

(0)

CHARACTER

8

SRDWS

CONNECTED WS SEGMENT

0

(0)

CHARACTER

4

SRDWSNAME

WORKSTATION NAME

4

(4)

CHARACTER

4

*

RESERVED