Directory UMM :wiley:Public:college:cobol:

��#ࡱ#�################>###��
#############################�#######����############���������������������������
��������������������������������������������������������������������������������
��������������������������������������������������������������������������������
��������������������������������������������������������������������������������
��������������������������������������������������������������������������������
��������������������������������������������������������������������������������
�����###���####################
###
#######

##############################################################################
###!###"#######$###%###&###'###(###)###*###+###,######.###/###0###1###2###3###4###5###6###7###8###9###:###;######?
###@###A###B###C###D###E###F###G###H###I###J###K###L###M###N###O###P###Q###R###S
###T###U###V###W###X###Y###Z###[###\###]###^###_###`###a###b###c###d###e###f###g
###h###i###j###k###l###m###n###o###p###q###r###s###t###u###v###w###x###y###z###{
###|###}###~###ࡱ###�###R#o#o#t#
#E#n#t#r#y#################################################��������#############
####################c#��#�###�#######P#P#4#0####################################
#####################
###����####����########################################�V########S#u#m#m#a#r#y#I

#n#f#o#r#m#a#t#i#o#n###########################(###������������#################
###################�###�#######C#u#r#r#e#n#t#
#I#D#################################################������������###############
#################################�###�###�###�###�###�###�###�###�###�###�###�##
#�###�###�###�###�###�###�###�###�###�###�###�###�###�###�###�###�###�###�###�##
#�###�###�###�###�###�###�###�###�###�###�###�###�###�###�����###�###�###�###�##
#�###�###�###�###�###�###�###�###�###�###�###�###�������������������������������
��������������������������������������������������������������������������������
��������������������������������������������������������������������������������
������������������������������������������������������������������ޭ#####E#####1#
�V##f###(###(###y###[###########�#########################�##�###��#�###�#�#��##
���#���###�##�###��#�###�#�#��##���#````````````````````````````````````````````
`````````````````###############################################################
#0h#`````````````````````````````````````````````````````````````###############
####################################################```�````````````````````````
````````````````````````````````o######f########################################
#############"####t#```��f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�```
h#8####hff�o��������fffffffff�f��fffffffffffffffffffffffffff
####�#```�f����������f�f�f�f�f���f�f�f�f�f�f�f�f�f�f�f�f�f�f�f```n#8####jfffffff
ffffffffffffffffffffffffffffffffffffffffffffff

####8#```��f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�```g#�####hffffff
fffffffffffffffffffffffffffffffffffffffffffffff
####8#```�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f```h#8####jfffo��
��oo�����o����������������fffffffffffffffff"####�#```��f�f�f�f�f�f�f�f�f�f�f�f�f
�f�f�f�f�f�f�f�f�f�f�f�f�f�```h#8####hfffo����o�������������o��o���o�o��������of
fffff ##
#�#```�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f````#C####jfffo���o�
�o��������o�o�������f���o����o������ffff ##
#6#```��f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�````#F####hfffo�����
��o�����o�����������o���������o���o���fff
####�#```�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f```o######jffff��
����f����of��o�����o���o��o���o���offffff"######b`b��f�f�f�f�f�f�f�f�f�f�f�f�f�f
�f�f�f�f�f�f�f�f�f�f�f�f�```o#�####hffffffffffffffffffffffffffffffffffffffffffff
fffffffff ###�#�```�f�f�f�f�f�f�f�f�f�f�f����o���o���f�f�f�f�f�f�f�f�f�f```j
###jfffffffffffffffffffffof��o�������fffffffffffffffffff ##

b`b��f�f�f�f�f�f�f�f�f�f�o���f�f�f�f�f�f�f�f�f�f�f�f�f�f�```j
###hfffffffffffffffffffffffffffffffffffffffffffffffffffff ##

```�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f```j

###jfffffffffffffffffffffffff�fffffffffffffffffffffffffff"##

f`f��f�f�f�f�f�f�f�o�o�o�f���o��o����o�f�f�f�f�f�f�f�````�#�###hfffffffffffffffo
oo�o��oo�f��o����oo����fffffffffffff
####�#`b`�f�f�f�f�f�f�f�f�o�f�f�f�o�f�o�f�f�f�f�f�f�f�f�f�f�f�f```j
###jfffffffffffffffffffffffffffff�fffffffffffffffffffffff ##

f`f��f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�```j
###hfffffffffffffffffff����ooof��o�����ffffffffffffffff ##

bf`�f�f�f�f�f�f�f�f�f�f�o����o�������o��f�f�f�f�f�f�f�f```i
###jfffffffffffffffffff��ff�ffof��of�ffffffffffffffffffff"###
Nfbf��f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�````
###hfffffffffffffffffffffffffffffffffffffffffffffffffffff ###
`fb�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�o�f�f�f�f�f�f�f�f�f�f```e######jffffffffffff
fffffffffooof�ooo�o��fffffffffffffffffff
######fff��f�f�f�f�f�f�f�f�f�f�o�o��o��o���f�f�f�f�f�f�f�f�f�```c######hffffffff
fffffffffffffo�fffffffoofffffffffffffffffffff
###Incffb�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�o�f�f�f�f�f�f�f�f�f�f�f```gork###jffffff
fffffffffffffffffffffffffffffffffffffffffffffff"###es

fff��f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�```copy##&hffffffffffff
ffffffffffffffffffffofffffff��fffffffffff ###ld
bff�f�f�f�f�f�f�f�o�����������o�o�f�o�������f�f�f�f�f�f```c,
I###jfffffffffffff�o��oo��f�����o���o�of�����fffffffffff ###e
offf��f�f�f�f�f�f�o�f�f�f��f�f�f�f�o�f���o�f�f�f�f�f�f�f�```c
nof#&hfffffffffffffffffffffffffffffffffffffo�ffffffffffffff
###thefff�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f```ntai#&#jffffff
fffffffffffffo��o����o���oooofffffffffffffffff"####@#fff��f�f�f�f�f�f�f�f�f�o���
���o�f����f�f�f�f�f�f�f�f�````###&#fhfffffffffffffffffffo�fofff�f�f�offfffffffff
ffffffffff
###�#fff�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f````####&#jfffffff
ffffffffffffffffffffffffffffffffffffffffffffff
######fff��f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�````###f&fhffffff
ffffffffffffffffffffffffffffff�ffffffffffffffff ##

fff�f�f�f�f�f�f�f�f�f����o�o��o�o���o�f�f�f�f�f�f�f�f````#��#f#jffffffffffffffff
ff�����f�oo��o��ooo�ffffffffffffffff"######fff��f�f�f�f�f�f�f�f�f�o�����f�o�f�f�
f�o�f�f�f�f�f�f�f�f�```o0h#f&fhfffffffffffffffffffffofffffffffffffffffffffffffff
ffff ####
fff�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f```j

&f&jfffffffffffffffffffffof��o�of������ffffffffffffffffff ##

�ff��f�f�f�f�f�f�f�f�f�f�o������o����f�f�f�f�f�f�f�f�f�```o#(#fffhffffffffffffff
ffffffff��fffff�offffffffffffffffffffff
######fff�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f```c#(#&f&jffffff
fffffffffffffffffffffffffffffffffffffffffffffff"######ff���f�f�f�f�f�f�f�f�f�f�f
�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�```h###fffhffffffffffffffffffffff��ffffffffffffff
fffffffffffffff ##
#$#fff�f�f�f�f�f�f�f�f�f�f����o�o�o��o���f�f�f�f�f�f�f�f�f```h###fffjfffffffffff

fffffffff��o���o���o���fffffffffffffffff
######�f���f�f�f�f�f�f�f�f�f�f�f�o��f�o���f�f�f�f�f�f�f�f�f�f�```c###fffhfffffff
ffffffffffffffffffffffofffffffffffffffffffffff
####(#f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f```d###fffjffffff
fffffffffffffffffffffffffffffo�ffffffffffo�ffff"######�f���f�f�����o���o��f�����
��o�f������������o�f�f�```d###fffhfffffo�oo�ooo�o���ofof�oo�ooffoo��o�f���oo�ooo
ffff
######fff�f�f�o����������f�f�o��o�f���������o������f�f```c###fffjffffo�fffffffff
fff�f���o�o�offo�ffffffffffff�fffffff
######�f���f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�f�```h#$#fffnffffff

ffffffffffffffffffffffffffffffffffffffffffffffn
######f�f����������������������������```f#(#fff���������������������������������
����������������������######�f�f�f�f�f�f�f�ffffffffffffffffffbfff`f`f`b`b```````
````````g#`#fffffffffffffffff&f&f&f#&#f###&#################################fff�
fff�fff�ffffffffffffffffbfff`fbf`b`b````````````````````j
ffffffffffffff&f&&#f#&#&#&######################################�f�f�f�f�f�f�fff
�ffffffffffffffbfffbf`f`f`b`b````````````````#######��'##�##�
(#####��(#####��(##4##��(##&##��.##"##��.#####� /##
##�!/#####�A/#####�A/##�##�A/##&##�#0##"##�I0#####�k0##@##��0#####��0#####��0##Z
##��0##&##�#3##"##�C3#####�e3##@##�}3#####��3#####��3##D##��3##&##�#7##"##�'7###
##�I7##@##�a7#####��7#####��7##�##��7##&##��:##"##��:#####��:##@##��:#####�';###
##�';##�##�';##&##��?##"##��?
#####�#@##@##�)@#####�i@#####�i@##.##�i@##&##��B##"##��B#####��B##@##��B#####�7C
#####�7C##(##�7C##&##�_G##"##��G#####��G##@##��G#####��G#####��G##.##��G##&##�L##"##�SL#####�uL##@##��L#####��L#####��L##�##��L##&##��N##"##��N#####��N##@##�
O#####�MO#####�MO##L##�MO##&##��S##"##��S#####��S##@##��S#####�9T#####�9T##�##�9
T##&##��V##"##��V#####�#W##@##�1W#####�qW#####�qW##B##�qW##&##��[##"##��[#####��
[##@##�#\#####�S\#####�S\#####�S\##&##�k`##"##��`#####��`##`##��`#####�+a#####�+
a##F##�+a##&##�qd##"##��d#####��d##�##��d#####�Qe#####�Qe##
##�Qe##&##�qg##"##��g#####��g##�##��g#####�Qh#####�Qh##�##�Qh##&##�!
j##"##�Gj#####�ij##�##��j#####�#k#####�#k#####�#k##&##�#m##"##�)m#####�Km##�##�c

m#####��m#####��m##F##��m##&##�)p##"##�Op#####�qp##�##��p#####� q#####�
q##6##�
q##&##�?
s##"##�es#####��s##@##��s#####��s#####��s##�##��s##&##��w##"##��w#####�x##@##�
%x#####�ex#####�ex##j##�ex##&##��z##"##��z#####�#{##@##�/
{#####�o{#####�o{#####�o{##&##�qࡱ##"##��ࡱ#####��ࡱ##@##��ࡱ#####�#�#####�#�#####�#
�##&##�-�##"##�S�#####�u�##@##���#####��
#####��

##

##��
##&##

��##"##�#�#####�5�##@##�M�#####���#####���##6##���##&##�Ì##"##��#####�#�
##@##�#�#####�c�#####�c�##�##�c�##&##�#�##"##�7�#####�Y�##@##�q�#####���#####���
##�##���##&##�_�##"##���#####���##@##���#####���#####���##�##���##&##�‫ݘ‬##"##�#�#
####�
%�##@##�=�#####�}�#####�}�#####�}�##&##���##"##���#####�˝##@##��#####�#�#####�#�
##�##�#�##&##�ˢ##"##��#####�#�##@##�+�#####�k�#####�k�##�##�k�##&##�C�##"##�i�##

###���##@##���#####��#####��##R##��##&##�5�##"##�[�#####�}�##@##���#####�ի#####�
ի##�##�ի##&##�a�##"##���#####���##@##�o#####�#�#####�#�#####�#�##&##�#�##"##�7�#
####�Y�##@##�q�#####���#####���##t##���##&##�
%�##"##�K�#####�m�##@##���#####�Ÿ#####�Ÿ#####�Ÿ##&##��##"##�#�#####�)�##@##�A�##
###���#####���##�##���##&##�g�##"##���#####���##@##���#####�#�#####�#�##�##�#�##
&##���##"##�#�#####�=�##@##�U�#####���#####���##�##���##&##�s�##"##���#####���##
@##���#####�#�#####�#�##�##�#�##&##���##"##�#�#####�3�##@##�K�#####���#####���##
�##���##&##�O�##"##�u�#####���##@##���#####���#####���##p##���##&##�_�##"##���##
###���##@##���#####���#####���##>##���##&##�=�##"##�c�#####���##@##���#####���##
###���##�##���##&##���##"##���#####�#�##@##�#�#####�]�#####�]�##2##�]�##&##���##
"##���#####���##
##���#####�#�#####�#�##�##�#�##&##���##"##���#####�#�##@##�5�#####�u�#####�u�##�
##�u�##&##�#�##"##�1�#####�S�##@##�k�#####���#####���##�##���##&##�m�##"##���###
##���##@##���#####��#####��##p##�
�##&##�}�##"##���#####���##`##���#####�=�#####�=�#####�=�##&##�O�##"##�u�#####��
�##`##���#####�#�#####�#�##n##�#�##&##�}�##"##���#####���##@##���#####�#�#####�#
�#####�#�##&##�+�##"##�Q�#####�s�##@##���#####���#####���##�##���##&##���##"##��
�#####�#�##@##�'�#####�g�#####�g�##�##�g�##&##�####"##�=######�_###@##�w######��
######��###�##��###&##�M###"##�s######��###@##��######��######��###�##��###&##��


###"##��######�#

##@##�#

#####�]

#####�]

##>##�]

##&##��

##"##��

#####��

##@##��

#####�;#####�;##,##�;
##&##�g###"##��######��###@##��######�#######�####z##�####&##��###"##��######��#

##@##��######�!######�!######�!
###&##�9###"##�_######��###@##��######��######��###`##��###&##�9###"##�_######��
###@##��######��######��###h##��###&##�A!##"##�g!#####��!##@##��!#####��!
#####��!##`##��!
##&##�A$##"##�g$#####��$##@##��$#####��$#####��$##�##��$##&##�ࡱ'##"##��'#####��'
##@##��'#####�#(#####�#(#####�#(##&##�3-##"##�Y-#####�{-##@##��-#####��-#####��##�##��##&##�w0##"##��0#####��0##@##��0#####�#1#####�#1##�##�#1##&##��3##"##�#4#####�A4
##@##�Y4#####��4#####��4##�##��4##&##�39##"##�Y9#####�{9##@##��9#####��9#####��9
##�##��9##&##��=##"##��=##p##�#>#####��B#####��B##�##��B#####��D##�##��D##z##�?
E##&##��H##@##��H#####�#I#####�#I##P##�#I##&##�oJ##"##��J#####��J#####��J#####��
J#####��J#####��J##&##��J##"##�#K#####�
%K#####�=K#####�=K#####�=K#####�=K##&##�KK##"##�qK#####��K#####��K#####��K#####�
�K#####��K##x##�#L##L##�ࡱL##v##��L##v##�AM##$##��M#####��M##"##��Q##�##�#R##�##�
�S#####��U##�##��U##########����####

#########AG�����

`�############�##$

�=# A���0�#��############�##


�=##`# �P#`#p#############�##d

�(##a#`�P## j#############�##\
�=####�###########3##�##��m#�#M#��
###��#####��#��d#########d#2#######t###�Copyright
1997 John Wiley & Sons,
Inc.. All rights reserved. Reproduction or translation of this work beyond that
permitted in Section 117 of the 1976 United States Copyright Act without the
express written permission of the copyright owner is unlawful. Request for
further information should be addressed to the Permissions Department, John
Wiley & Sons, Inc.. The purchaser may make back-up copies for his/her own use
only and not for distribution or resale. The Publisher assumes no responsibility
for errors, omissions, or damages, caused by the use of these programs or from
the use of the information contained herein.�

#t#########t#####
###########t#########t##### #��d#########d#2#######r##�##
���
C��$###��#####��#��d######3##d#############Structured COBOL Programming

#################$##########################��#��d######3##d#########2##�###�M�F
#c���####��####T�n#��K######0##d#########X###
Eighth edition
Nancy Stern
Hofstra University
Robert A. Stern
Nassau Community College
Prepared by
Herbert Rebhun
University of Houston-Downtown

#X#########################################>###############################A####
###########b###############1#################################X#############T#n##
#K######0##d#######R###T#n###K######0##d#######Z###T#n###K######0##d#######�###T
#n###K######0##d#############################################

#�2####################2#################����####

#########AGp�@�
@�############�##\
�=################r##�##��]�V
#���,###��#####��#��d#########d#########V###CHAPTER 16# Improving Program
Performance Using The COPY, CALL, and Other Statements #

#V#########V#####,###########V#########V####��#��d#########d####################
###��############ ###
###�#�2####

###############3#################����####

#########AGg�#�
��############�##\
�=# A�g��
�#############�##

�=####�###########r##�##��0�M ���$###��#####��#��d#########d#########
###OBJECTIVES

#
#########
#####$###########
#########
####��#��d#########d#########2##�##���M
s#��####��####T�n#��K#########d#########�###To familiarize you with:1. The
COPY statement for copying parts of a program that are stored in a library.2.
The CALL statement for executing called programs as subroutines. 3. Text
manipulation with the STRING and UNSTRING statements.o

#�#########�#################�#############T#n###K#########d#######U###T#n###K##
#######d#######F###T#n###K#########d#######=###T#n###K#########d################
###############################�2######################################����####

#########AGg�#�

��############�##

�=# A�g��� �#############�##l#�2####�###########r##�##��0�M
���$###��#####��#��d#########d#############CONTENTS

#################$##########################��#��d#########d#########2##�##����M
s#��####��#####��#��d#########d#########�###COPY STATEMENTIntroduction
Entries that Can be Copied An Example The Full Format for the COPY Statement
Self-TestCALL STATEMENTWhy Use a CALL Statement?Format of the CALL Statement
Called Program RequirementsCalling Program RequirementsExamples

#�#########�#################�#####

#######U#n###K#########d#############�#��d#########d#############�#��d#########d
#######

#####�#��d#########d#######(#####�#��d#########d#######
#####�#��d#########d###########U#n###K#########d#############�#��d#########d####
#########�#��d#########d#############�###d#########d#############�###d#########d
#############�###d#########d#############################################�#�2###
################# #################����####

#########AGp��
`�############�##l#�2# A�p��
�#############�##l#�2####�###########r##�##����V
C��$###��#####��#��d#########d#############CONTENTS

#################$##########################��#��d#########d#########2##�##���V
s#��####��#####��#��d#########d#########�###Text Manipulation with the
STRING and UNSTRING Statements The STRING Statement The Basic Format OVERFLOW
Option POINTER OptionGeneral Rules for Using the STRINGThe UNSTRING StatementThe
Basic FormatGeneral Rules for Using the UNSTRINGA

#�#########�#################�#####
###;###U#n###K#########d#############�#��d#########d#############�###d#########d
#############�###d#########d#############�###d#########d#############�###d######
###d###########U#n###K#########d#############�###d#########d#######$#####�###d##
#######d####### ####################### #############|#�2####!
#################################����####

#########AGp���
P�############�##l#�2# A�p�0�
�#############�####�2####�###########r##�##���V
3��$###��#####��#��d#########d#############COPY STATEMENT

#################$##########################��#��d#########d#########2##�##��M�V
s#��####��####T�n#��K#########d#############A COPY statement is used to
bring into a program a series of prewritten COBOL entries that have been stored
in a library. Benefits of copying library entries, rather than coding are:(1)
it could save a programmer a considerable amount of coding and debugging time;
(2) it promotes program standardization since all programs that copy entries
from a library will be using common data-names and/or procedures; (3) it
reduces the time it takes to make modifications and reduces duplication of
effort; if a change needs to be made to a data entry, it can be made just once
in the library without the need to alter individual programs;(4) library
entries are extensively annotated so that they are meaningful to all users; this
annotation results in better-documented programs and systems.�

#######################################�###U#n###K#########d#######T###T#n###K##
#######d#######�###T#n###K#########d#######�###T#n###K#########d#######�###T#n##
#K#########d#######'###$#########################
%###&###,#�2####(#################################����####

#########AGg�#�
��############�####�2# A�g�p�
�#############�##�#�2####�###########r##�##��0�M
���$###��#####��#��d#########d#############COPY STATEMENT

#################$##########################��#��d#########d#########2##�##���M
s#��####��####U�n#��K#########d#########�###Most often, the COPY statement
is used to copy FD and 01 entries that define and describe files and records. In
addition, standard modules to be used in the PROCEDURE DIVISION of several
programs may also be stored in a library and copied as needed.

#�#########�#################�#########n###U#n###K#########d#######�###U#n###K##
#######d#######.###+#######################�#,######�#�2*###/###############8#################����####

######## A�g��
�#############�##�#�2##AGg��� ��############�##|
#�2####�###########r##�##��#�M
���$###��#####��#��d#########d#############COPY STATEMENT

#################$##########################��#��d#########d#########2##�##���M
�#��####��#####��#��d#########d#############Entries that Can be Copied
With the COPY statement, you may include prewritten ENVIRONMENT, DATA, or
PROCEDURE DIVISION entries as follows: ENVIRONMENT DIVISION Option 1 (within the
CONFIGURATION SECTION): SOURCE-COMPUTER. COPY text-name {OF}{IN}library-name.
OBJECT-COMPUTER. COPY text-name {OF}{IN}library-name.SPECIAL-NAMES. COPY textname {OF}{IN}library-name.Option 2 (within the INPUT-OUTPUT SECTION):FILECONTROL. COPY text-name {OF}{IN}library-name.I-O-CONTROL. COPY text-name {OF}
{IN}library-name.

###########################�#######################
#######U#n###K#########d#######q###U#n###K#########d###########U#n###K#########d
#######.###U#n###K#########d#######6#####�#��d#########d#######6#####�#��d######
###d#######4#####�#��d#########d#######,###U#n###K#########d#######4#####�#��d##
#######d#######2#####�#��d#########d#######5###2#########################3###4##
#�#�21###6#################################����####

######## A�g�`�
�#############�##|#�2##AGg���
��############�##,#�2####�###########r##�##��#�M
���$###��#####��#��d#########d#############COPY STATEMENT

#################$##########################��#��d#########d#########2##�##��}�M
c#��####��#####��#��d#########d#########�###DATA DIVISION Option 1 (within
the FILE SECTION): FD file-name COPY text-name {OF}{IN} library-name.Option 2
(within a File Description entry): 01 data-name COPY text-name {OF}{IN} libraryname.PROCEDURE DIVISION Paragraph-name. COPY text-name {OF}{IN} library-name.An
Example:--Creating a library entry called CUSTOMER01 CUSTOMER-REC.05 CUST-NO
PIC X(5).05 CUST-NAME
PIC X(20).05 CUST-ADDRESS
PIC X(30).05 CUST-BAL-DUE
PIC 9(4)V99.

#�#########�#################�############U#n###K#########d#######
%#####�#��d#########d#######3#####�###d#########d############�#��d#########d#######3#####�###d#########d###########U#n###K#########d####
###6#####�#��d#########d#######7###U#n###K#########d#############�#��d#########d
#############�###d#########d#############�###d#########d#############�###d######
###d#############�###d#########d#######