• Keine Ergebnisse gefunden

[OCCURS clause]

[PICTURE clause]

[REDEFINES clausel [SYNCHRONIZED clause]

[USAGE clause] .

Format 2

6 6 d a t a - n a m e RENAMES clause.

r

Figure 3-32. Formats of Data Description Entries, Query Update Subschema

JUSTIFIED Clause

T h e J U S T I F I E D c l a u s e s p e c i fi e s n o n s t a n d a r d p o s i t i o n i n g o f d a t a w i t h i n a r e c e i v i n g fi e l d . T h e format of the JUSTIFIED clause is shown in figure 3-33.

JUSTIFIED

JUST RIGHT

Figure 3-33. JUSTIFIED Clause Format, Query Update Subschema

T h i s c l a u s e c a n b e s p e c i fi e d o n l y f o r n o n n u m e r i c e lementa ry d a ta i te ms. J U ST i s the l e gal abbr ev i ation for JUSTIFIED.

The JUSTIFIED clause overrides the normal position i n g o f d a t a w h e n t h e s i z e o f t h e r e c e i v i n g fi e l d does not equal the number of characters in the data i t e m . W h e n t h e r e c e i v i n g fi e l d c o n t a i n s f e w e r c h a r a c t e r p o s i t i o n s t h a n t h e d a t a i t e m , p o s i t i o n i n g occurs as follows:

I n no rm al po si t i oni ng , the d ata i t em is aligned a t t h e l e f t m o s t c h a r a c t e r p o s i t i o n a n d t r u n c a t e d a t t h e r i g h t .

I f t h e J U S T I F I E D c l a u s e i s s p e c i fi e d , t h e d a t a i t e m i s a l i g n e d a t t h e r i g h t m o s t c h a r a c t e r position and truncated at the left.

W h e n t h e r e c e i v i n g fi e l d c o n t a i n s m o r e c h a r a c t e r p o s i t i o n s t h a n t h e d a t a i t e m , p o s i t i o n i n g i s a s f o l l o w s :

In normal positioning, the data item is aligned a t t h e l e f t m o s t c h a r a c t e r p o s i t i o n a n d b l a n k fi l l e d a t t h e r i g h t .

I f t h e J U S T I F I E D c l a u s e i s s p e c i fi e d , t h e d a t a i t e m i s a l i g n e d a t t h e r i g h t m o s t c h a r a c t e r p o s i t i o n a n d b l a n k fi l l e d a t t h e l e f t .

R e f e r t o fi g u r e 3 - 1 6 f o r e x a m p l e s o f c h a r a c t e r p o s i t i o n i n g .

OCCURS Clause

The OCCURS clause is used to indicate a repeated d a t a i t e m w h e r e a l l o c c u r r e n c e s o f t h e d a t a i t e m a r e i d e n t i c a l i n e v e r y r e s p e c t e x c e p t v a l u e . T h e d a t a i t e m c a n b e a n e l e m e n t a r y i t e m o r a g r o u p item. The format of the OCCURS clause is shown in

fi g u r e 3 - 3 4 .

NOTE

Refer to appendix F for recommendations on the use of repeating groups.

A d a t a d e s c r i p t i o n e n t r y w i t h f o r m a t 1 o f t h e OCCURS clause can be subordinate to another entry with either format of the OCCURS clause. An entry w i t h f o r m a t 2 c a n n o t b e s u b o r d i n a t e t o a n e n t r y w i t h t h e O C C U R S c l a u s e . U p t o t h r e e l e v e l s o f nested data items can be specified with the OCCURS c l a u s e . W h e n r e p e a t i n g g r o u p s a n d v e c t o r s a r e nested, the vector is considered to be a repeating g r o u p a n d i s i n c l u d e d i n t h e l e v e l c o u n t . T h e O C C U R S c l a u s e m u s t n o t b e s p e c i fi e d i n a d a t a description that has level number 66.

I n t e g e r - 1 a n d i n t e g e r - 2 m u s t b e p o s i t i v e n u m b e r s . I n f o r m a t 2 , i n t e g e r - 2 m u s t b e g r e a t e r t h a n i n t e g e r - 1 . T h e v a l u e o f i n t e g e r - 1 c a n b e z e r o ; integer-2 must never be zero.

An elementary data item described with the OCCURS clause must also be described with the PICTURE or USAGE clause. A group data item cannot be described with both the OCCURS clause and the PICTURE clause.

Format 1

OCCURS integer--2 TIMES Format 2

OCCURS i n t e g e r --1

IP-

integer--2 TIMES DEPENDING ON data-■name-1 Figure 3-34. OCCURS Clause Format, Query Update Subschema

60485200 A 3-23

When an item occurs a fixed number of times, format rent value represents the number of occurrences.

T h e v a l u e o f d a t a - n a m e - 1 m u s t b e a p o s i t i v e

The picture-specification can contain a maximum of 3 0 c h a r a c t e r s , i n c l u d i n g p a r e n t h e s e s ; h o w e v e r, a example, COMPUTATIONAL usage must have a numeric p i c t u r e s p e c i fi c a t i o n . referenced by subscripting or indexing whenever it is used as an operand, unless the data-name is the

The PICTURE clause describes the general character i s t i c s o f a n e l e m e n t a r y d a t a i t e m i n t e r m s o f i t s

Unsigned numeric data items consist of a combina indicates an assumed decimal scaling posi t i o n . I t i s u s e d t o s p e c i f y a n a s s u m e d assumed decimal point. Since the character P indicates an assumed decimal point, the

DB The DB symbol represents debit and can be s p e c i fi e d o n l y a t t h e r i g h t m o s t p o s i t i o n o f t h e p i c t u r e o f a n i t e m . T h e d e b i t s y m b o l has the same result as the credit symbol.

E x a m p l e s o f i n s e r t i o n c h a r a c t e r s fi g u r e 3 - 3 6 .

a r e s h o w n i n

Replacement Characters

A replacement character in the picture of an item s u p p r e s s e s l e a d i n g z e r o s i n t h e s o u r c e d a t a a n d r e p l a c e s t h e m w i t h t h e s p e c i fi e d c h a r a c t e r o r a b l a n k i n t h e r e p o r t i t e m . O n l y o n e t y p e o f r e p l a c e m e n t c h a r a c t e r c a n b e u s e d i n a p i c t u r e . Replacement characters for the PICTURE clause are as follows:

Z O n e c h a r a c t e r Z I s s p e c i fi e d a s t h e l e f t m o s t s y m b o l i n a n i t e m p i c t u r e f o r e a c h leading zero to be suppressed and replaced by blanks. The character Z can be preceded b y o n e o f t h e i n s e r t i o n c h a r a c t e r s a n d i n t e r s p e r s e d w i t h a n y o f t h e i n s e r t i o n characters decimal point, comma, zero, or B.

No zeros are suppressed to the right of the fi r s t n o n z e r o d i g i t w h e t h e r a Z i s p r e s e n t o r n o t , n o r a r e a n y z e r o s t o t h e r i g h t o f

a n a s s u m e d o r a c t u a l d e c i m a l p o i n t s u p p r e s s e d u n l e s s t h e v a l u e o f t h e d a t a i s z e r o a n d a l l c h a r a c t e r p o s i t i o n s i n t h e item are described by a Z. In this special c a s e , e v e n t h e a c t u a l d e c i m a l p o i n t i s s u p p r e s s e d a n d t h e e d i t e d i t e m i s a l l blanks.

If a $ + or - precedes the Z characters, it i s i n s e r t e d i n t h e f a r l e f t c h a r a c t e r p o s i t i o n o f t h e i t e m e v e n i f s u c c e e d i n g z e r o s i n t h e i t e m a r e s u p p r e s s e d . I n t h e special case where the value of the data is z e r o a n d a l l t h e c h a r a c t e r p o s i t i o n s f o l lowing the $ + or - are Zs, the $ + or - is replaced by blanks.

I f a c o m m a , z e r o , o r B i s e n c o u n t e r e d b e f o r e z e r o s u p p r e s s i o n t e r m i n a t e s , t h e c h a r a c t e r i s n o t i n s e r t e d i n t h e e d i t e d d a t a i t e m . R a t h e r, t h e c h a r a c t e r i s s u p p r e s s e d a n d a b l a n k i s i n s e r t e d i n i t s place.

* T h e a s t e r i s k c a u s e s l e a d i n g z e r o s t o b e r e p l a c e d b y a n a s t e r i s k i n s t e a d o f a b l a n k . I t i s s p e c i fi e d i n t h e s a m e w a y a s t h e e d i t i n g c h a r a c t e r Z a n d f o l l o w s t h e same rules, except an actual decimal point i s n o t r e p l a c e d b y a n a s t e r i s k w h e n t h e value of the data is zero.

Picture-Specification S99

$99.99 9,999 +999 +999 +999 999--999 999-SBB999.99

$00999.99 99.99CR 99.99CR 99.99DB ' 99.99DB

Data Value 48 4834

t 4834 292 292+ 292 292 292 292 24321

t 24321

t 1134

t 1134

t 2376

t 2376

t

Displayed Item

$

4 8

$|4|8| .| 3~]~4|

4 r 8 3 4 + 2

| + | 2 | 9 | 2

1 - I 21 9 I 2

| 2 | 9 | 2 |

-•* 2

| 2 | 9 | 2 | A

$

a A 2 | 4 3 .

$ | 0 | 0 | 2 | 4 | 3 | . | 2 | 1 1 1

.

3 4 C R 1 1 . 3 2 3

.

7

2 3

.

7 £t\ £t

Figure 3-36. Examples of Insertion Characters

$ When the dollar sign is used as a replace m e n t c h a r a c t e r t o s u p p r e s s l e a d i n g z e r o s ,

i t a c t s a s a fl o a t i n g s i g n a n d i s i n s e r t e d d i r e c t l y p r e c e d i n g t h e fi r s t n o n s u p p r e s s e d c h a r a c t e r. O n e m o r e d o l l a r s i g n t h a n t h e number of zeros to be suppressed must be s p e c i fi e d . T h i s d o l l a r s i g n i s a l w a y s p r e s e n t i n t h e e d i t e d d a t a w h e t h e r o r n o t any zero suppression occurs. The remaining dollar signs act in the same way as the Z characters to suppress leading zeros.

+ When a plus sign is used as a replacement c h a r a c t e r, i t i s a fl o a t i n g s i g n . T h e p l u s s i g n i s s p e c i fi e d o n e m o r e t i m e t h a n t h e number of leading zeros to be suppressed.

It functions in the same way as the float i n g d o l l a r s i g n . A p l u s s i g n i s p l a c e d d i r e c t l y p r e c e d i n g t h e fi r s t n o n s u p p r e s s e d c h a r a c t e r i f t h e e d i t e d d a t a i s p o s i t i v e o r u n s i g n e d ; a m i n u s s i g n i s p l a c e d i n t h i s position if the edited data is negative.

When a minus sign is used as a replacement c h a r a c t e r , I t i s a fl o a t i n g s i g n . T h e minus sign is specified one more time than t h e n u m b e r o f l e a d i n g z e r o s t o b e s u p p r e s s e d . I t f u n c t i o n s i n t h e s a m e w a y a s t h e fl o a t i n g p l u s s i g n . A m i n u s s i g n i s p l a c e d d i r e c t l y p r e c e d i n g t h e fi r s t n o n -s u p p r e -s -s e d c h a r a c t e r I f t h e e d i t e d d a t a i -s

n e g a t i v e ; a b l a n k i s p l a c e d i n t h i s p o s i t i o n i f t h e e d i t e d d a t a i s p o s i t i v e o r unsigned.

E x a m p l e s o f r e p l a c e m e n t c h a r a c t e r s a r e s h o w n i n figure 3-37. Examples of picture editing are shown i n fi g u r e 3 - 3 8 .

Picture-S p e c i fi c a t i o n D a t a V a l u e Displayed Item Z Z 9 9 9 0 0 9 2 3

Z Z Z 9 9 0 0 9 2 3

Z Z Z Z . Z Z o o o o o o A | A | A | A | A | A | A S * * \ 9 9 0 0 9 2 3

1

S | - | ' | 9 | . | 2 | 3 S S S 9 . 9 9 0 0 0 8 2 4

t

A | A | S | 8 | . | 2 | 4 9 . 9 9 0 0 5 2 6 A A . k

1 S S S . 9 9 3 2 6 5 1

S | 3 | 2 | . | 6 | . |

Figure 3-37. Examples of Replacement Characters

/(S*^\

/ f fi f ^ N y

P i c t u r e - S p e c i fi c a t i o n D a t a V a l u e D i s p l a y e d I t e m

Z Z Z . 9 9 9 . 9 9 1 2 3 4 5 N 1 | 2 | , | 3 | 4 | 5 | . | 0 | 0 |

Z 9 9 . 9 9 9 . 9 9 ! 2 3 4 | A | 0 | o | , | 0 | 1 | 2 . | 3 | 4

t

S Z Z Z . Z Z 9 . 9 9 1 2 3 | $ | a ] a | a | a | A | A | 1 1 . | 2 | 3 |

t

S Z Z Z . Z Z Z . 9 9 1 2 $ A A A A A | a | A . 1 2

t , ,

$ • • • . • • 9 . 9 9 1 2 3 4 $ | * | " ' I ' 2 3 4 ' 1 ° °

$ • • • . • • • . 9 9 1 2 3 4 5 6 $ 1 2 | 3 , | 4 5 6 . 0 0

S - V . A 9 1 2 3 I $ | - | - | - | - I ' | - I l | . | 2 | 3 |

+ 9 9 9 . 9 9 9 1 2 | + | 0 0 0 , 0 | 1 2

- Z Z Z . Z Z Z 1 2 | - A A A A | A | 1 2

S Z Z Z . Z Z 9 . 9 9 C R 1 2 3 4 5 6 $ 1 2 3 , 4 5 6 . 0 0 C R

$ Z Z Z . Z Z 9 . 9 9 D B 1 2 3 S A A A | A A A 1 . 2 3 A A

t

$ ( 4 ) . S S 9 . 9 9 1 2 3 4 A A A A $ 1 2 3 . 4 0

t

S ( 4 ) . S S . 9 9 0 0 0 0 A A A A A A A $ . 0 0

g g 1 2 A A A A A A A - . 1 2

t

B B B B . B B B . 9 9 1 2 N ^ W a | a | a | a | a | . | 1 1 2 |

t

S S S S . S Z Z . 9 9 1 2 i l l e g a l p i c t u r e

S 9 9 . 9 9 1 2 i l l e g a l p i c t u r e

Figure 3-38. Examples of Picture Editing

60485200 A 3-27

REDEFINES Clause

The REDEFINES clause allows data to be described in a n a l t e r n a t e f o r m a t . T h e r e d e fi n e d d a t a i t e m I s given a new name; since it is still the same data v a l u e , i t o c c u p i e s t h e s a m e p h y s i c a l a r e a i n memory. The REDEFINES clause is not used by CDCS;

it can be included in the subschema for use by the Q u e r y U p d a t e a p p l i c a t i o n p r o g r a m . T h e f o r m a t o f

the REDEFINES clause Is shown in figure 3-39.

level-number data-name-1 REDEFINES data-name-2

Figure 3-39. REDEFINES Clause Format, Query Update Subschema

NOTE

Refer to appendix F for recommendations on the use of the REDEFINES clause.

T h i s c l a u s e c a n b e s p e c i fi e d f o r b o t h e l e m e n t a r y a n d n o n r e p e a t i n g g r o u p d a t a i t e m s . T h e l e v e l number and size of data-name-1 and data-name-2 must be identical. The REDEFINES clause cannot be used with a level 01 or level 66 data Item.

( synchronized)

( S Y N C )

LEFT 1 RIGHT J

Figure 3-40. SYNCHRONIZED Clause Format, Query Update Subschema

This clause can only be used in a data description e n t r y f o r a n e l e m e n t a r y d a t a i t e m . S Y N C i s t h e l e g a l a b b r e v i a t i o n f o r S Y N C H R O N I Z E D . I f n e i t h e r LEFT nor RIGHT is specified, LEFT is assumed and a warning diagnostic is issued.

Data items are normally packed without regard for machine words. The SYNCHRONIZED clause causes the data item to be allocated as many whole computer words as needed to contain the item. No other data i t e m c a n o c c u p y a n y o f t h e c h a r a c t e r p o s i t i o n s between the leftmost and rightmost word boundaries

o f t h e w o r d s a l l o c a t e d t o t h e d a t a i t e m . I f t h e data item does not use all the character positions between the boundaries, the unused character posi tions are included in:

The size of any group item to which the elemen tary item belongs

The character positions redefined when the data item is referenced in a REDEFINES clause

The data description entry for data-name-2 cannot contain an OCCURS clause. Data-name-2 can be sub ordinate to an entry containing an OCCURS clause, but data-name-2 cannot be subscripted or indexed to r e f e r e n c e a s p e c i fi c o c c u r r e n c e o f t h e d a t a i t e m . Data-name-1 can be described as a repeating data i t e m a s l o n g a s t h e t o t a l n u m b e r o f c h a r a c t e r positions is equal to the number of characters in data-name-2.

Data-name-2 must not be qualified even if it is not unique; data-name-2 can only refer to the previous entry with the same level number. If the REDEFINES c l a u s e i s u s e d f o r a n e l e m e n t a r y d a t a i t e m , n o e n t r i e s c a n b e s p e c i fi e d b e t w e e n t h e e n t r y r e f e r enced by data-name-2 and the entry containing the REDEFINES clause. If a group data item is being r e d e fi n e d , o n l y s u b o r d i n a t e e n t r i e s c a n b e s p e c i fie d b et ween the e n tr y re fe r enc ed by d ata-n ame-2 and the entry containing the REDEFINES clause.

SYNCHRONIZED LEFT places the leftmost character of th e d a ta i t e m i n th e l e f tm o s t p o s i ti o n o f t h e fi r s t word allocated to the data item. Subsequent char a c t e r s a r e p l a c e d i n s u c c e s s i v e p o s i t i o n s t o t h e right. If more than one word is needed, consecu t i v e w o r d s a r e a l l o c a t e d f r o m l e f t t o r i g h t . T h e unused portion of the last word is not available.

SYNCHRONIZED RIGHT places the rightmost character o f t h e d a t a i t e m i n t h e r i g h t m o s t p o s i t i o n o f t h e l a s t w o r d a l l o c a t e d t o t h e d a t a i t e m . P r e c e d i n g c h a r a c t e r s a r e p l a c e d i n s u c c e s s i v e p o s i t i o n s t o the left. If more than one word is needed, conse cutive words are allocated to the left. The unused porti on of the first w ord i s not avai l a bl e.

When a Query Update application program references a d a t a i t e m t h a t h a s b e e n d e s c r i b e d w i t h t h e SYNCHRONIZED clause, the original size of the data item is used in determining any action that depends on size. The original size of the data item is the size indicated in the PICTURE clause.

M u l t i p l e r e d e fi n i t i o n s o f t h e s a m e d a t a i t e m a r e allowed; data-name-2 in each entry must reference t h e e n t r y t h a t o r i g i n a l l y d e fi n e d t h e d a t a i t e m . W i t h i n t h e Q u e r y U p d a t e a p p l i c a t i o n p r o g r a m , t h e original data-name and the redefined data-names can be used to reference the data item.

Refer to figure 3-24 for examples of the use of the REDEFINES clause.

The operational sign in a data item that is synch r o n i z e d a p p e a r s i n i t s n o r m a l p o s i t i o n . T h e L E F T or RIGHT option has no effect on the positioning of the operational sign.

When an entry is described with both the SYNCHRO NIZED clause and the OCCURS clause, each occurrence o f t h e d a t a i t e m i s s y n c h r o n i z e d . T h i s a l s o applies to a synchronized item that is subordinate to an entry containing the OCCURS clause.

SYNCHRONIZED Clause

The SYNCHRONIZED clause causes an elementary data item to start or end on a word boundary within the computer memory. The format of the SYNCHRONIZED clause is shown in figure 3-40.

USAGE Clause

The USAGE clause specifies the internal represen tation of a data item In terms of the primary use of the data item. The format of the USAGE clause is shown in figure 3-41.

y^3^V

USAGE is

COMPUTATIONAL COMP

COMPUTATIONAL-1 COMP-1

COMPUTATIONAL-2 COMP-2

DISPLAY INDEX DOUBLE LOGICAL COMPLEX

d e c i m a l n u m b e r . T h e d e c i m a l p o i n t l o c a t i o n i s c a r r i e d i n t h e d a t a i t e m i t s e l f a s a b i n a r y e x p o n e n t . T h e d a t a i t e m i s s i n g l e p r e c i s i o n a n d i s stored in one computer word.

A corresponding PICTURE clause must be numeric and c a n i n c l u d e e d i t i n g c h a r a c t e r s . I f a P I C T U R E clause is not specified, the default is PIC 9.

DISPLAY Option

A D I S P L AY d a t a i t e m i s s t o r e d i n d i s p l a y c o d e format. The data item can be alphabetic, numeric, or alphanumeric. When no USAGE clause is associ a t e d w i t h a d a t a i t e m , D I S P L AY i s t h e d e f a u l t f o r m a t .

Figure 3-41. USAGE Clause Format, Query Update Subschema

This clause can describe a data item at any level.

W h e n t h e U S A G E c l a u s e i s s p e c i fi e d f o r a g r o u p i t e m , i t a p p l i e s t o e a c h s u b o r d i n a t e i t e m i n t h e group. The USAGE clause of an elementary item in a g r o u p c a n n o t c o n t r a d i c t t h e U S A G E c l a u s e o f t h e g r o u p i t e m . I f t h e U S A G E c l a u s e i s n o t s p e c i fi e d f o r a n e l e m e n t a r y i t e m o r f o r a n y g r o u p t o w h i c h the elementary item belongs, DISPLAY is assumed.

COMP, COMP-1, and COMP-2 are legal abbreviations f o r C O M P U TAT I O N A L , C O M P U TAT I O N A L - 1 , a n d COMPUTATIONAL-2.

A d a t a i t e m d e s c r i b e d a s C O M P U T A T I O N A L , COMPUTATIONAL-1, or COMPUTATIONAL-2 must be numeric w i t h a s i z e n o t e x c e e d i n g 1 8 d i g i t s . I f a g r o u p item is described as computational, the elementary items within the group are all computational; how e v e r, t h e g r o u p i t e m i t s e l f i s n o t c o m p u t a t i o n a l and cannot be used in computations.

When a PICTURE clause is specified with a USAGE clause, the specifications must be compatible.

COMPUTATIONAL Option

A COMPUTATIONAL data item has a decimal numeric v a l u e . T h e P I C T U R E p i c t u r e - s p e c i fi c a t i o n c a n c o n t a i n t h e c h a r a c t e r s 9 ( d i g i t p o s i t i o n ) , S ( o p e r a t i o n a l s i g n ) , V ( i m p l i e d d e c i m a l p o i n t ) , a n d P ( a s s u m e d d e c i m a l s c a l i n g p o s i t i o n ) ; e d i t i n g characters can also be included.

COMPUTATIONAL-1 Option

The COMPUTATIONAL-1 format describes a fixed-point I n t e g e r , w h i c h i s r e p r e s e n t e d i n t e r n a l l y a s a 4 8 - b i t b i n a r y i n t e g e r, r i g h t - a l i g n e d i n t h e w o r d . A corresponding PICTURE clause must be numeric and c a n i n c l u d e e d i t i n g c h a r a c t e r s . I f a P I C T U R E

clause is not specified, the default is PIC 9.

COMPUTATIONAL-2 Option

A COMPUTATIONAL-2 data item is stored as a normal i z e d fl o a t i n g - p o i n t b i n a r y r e p r e s e n t a t i o n o f a

INDEX Option

The USAGE IS INDEX clause specifies a data item t h a t i s u s e d w i t h i n d e x e d t a b l e s . T h e i n d e x d a t a i t e m c o n t a i n s a v a l u e t h a t m u s t c o r r e s p o n d t o a n occurrence number of a table element. The INDEX option Is not used by CDCS; it can be included in t h e s u b s c h e m a d e s c r i p t i o n f o r u s e b y t h e Q u e r y Update application program.

A n i n d e x d a t a i t e m i s a n e l e m e n t a r y i t e m , o n e computer word in length, and binary in format. Its m o d e c o r r e s p o n d s t o a n i t e m d e s c r i b e d a s COMPUTATIONAL-1; the item must be numeric and must not exceed 18 digits.

The SYNCHRONIZED, JUSTIFIED, and PICTURE clauses cannot be used to describe a group or elementary item that specifies USAGE IS INDEX.

DOUBLE Option

A D O U B L E d a t a i t e m i s s t o r e d a s a n o r m a l i z e d fl o a t i n g - p o i n t n u m b e r t h a t o c c u p i e s t w o c o m p u t e r words. The data item can be 29 digits.

A corresponding PICTURE clause must be numeric and c a n i n c l u d e e d i t i n g c h a r a c t e r s . I f a P I C T U R E clause is not specified, the default is PIC 9.

LOGICAL Option

A LOGICAL data item assumes only the values true or f a l s e . W h e n t h i s o p t i o n i s s e l e c t e d , Q u e r y U p d a t e d i s p l a y s t h e t r u e / f a l s e c o n d i t i o n r a t h e r t h a n t h e v a l u e o f t h e d e s c r i b e d d a t a . A c o r r e s p o n d i n g

PICTURE clause must be numeric.

COMPLEX Option

A COMPLEX data item is an ordered pair of signed or u n s i g n e d r e a l c o n s t a n t s ; t h e fi r s t r e p r e s e n t s t h e r e a l p a r t o f t h e c o m p l e x n u m b e r a n d t h e s e c o n d represents the imaginary part of the complex number.

A corresponding picture clause must be numeric and c a n i n c l u d e e d i t i n g c h a r a c t e r s . I f a P I C T U R E clause is not specified, the default is PIC 9.

60485200 A 3-29