590
Guide January 1998 Advanced Programming Concepts and Skills Item # A81CEAAS980101 Release A8.1

Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

  • Upload
    others

  • View
    15

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

GuideJanuary 1998

AdvancedProgrammingConcepts andSkills

Item # A81CEAAS980101

ReleaseA8.1

Page 2: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6
Page 3: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

���� ��,�'�( � �%#&�$-

�� �� �*�)( �+�$*�

��$+�'� �� �����

����� ��,�'�( � �%#&�$- � � � � � �

�"" � ��)( ��(�'+��

��� $�%'#�) %$ $ )� ( �* �� ( �%$� ��$) �" �$� � &'%&' �)�'- )'��� (��'�)

%� ���� ��,�'�( � �%#&�$-� �) #�- $%) �� �%& ��� � ()' �*)��� %'

� (�"%(�� , )�%*) &' %' ,' ))�$ &�'# (( %$� �� ( �* �� ( (*�!��) )% ���$��

, )�%*) $%) �� �$� �%�( $%) '�&'�(�$) � �%## )#�$) %$ )�� &�') %� ����

��,�'�( � �%#&�$-� ��� (%�),�'� ��(�' ��� $ )� ( �* �� ( �*'$ (���

*$��' � " ��$(� ��'��#�$) �$� #�- �� *(�� %' �%& �� %$"- $ ���%'��$��

, )� )�� )�'#( %� )�� ��'��#�$)� ���� ��,�'�( � �%#&�$- *(�( �$

�*)%#�) � (%�),�'� � (��" $� '%*) $� )% #%$ )%' )�� " ��$(� ��'��#�$)�

�%' #%'� ��)� "( ��%*) )� ( '%*) $�� &"��(� '���' )% )�� �� ����

��� ����� �����

Page 4: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6
Page 5: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

PrerequisiteJ.D. Edwards

Software Fundamentals

Using MenusGetting HelpCustomizing DataReporting

Understanding YourEnvironmentCreating and MaintainingEnvironmentsSetting Up SecurityUpgrading Your System

Online HelpProgramFormField

System Administrationand Environment

Fundamentals

Guides

CD–ROMGuides

Where Do I Look?

TechnicalFoundation

CommonFoundation

Page 6: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6
Page 7: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Important Note for Students inTraining Classes

This guide is a source book foronline helps, training classes, and

user reference. Training classesmay not cover all the topics

contained here.

Page 8: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6
Page 9: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Welcome

About this Guide

���& �(��� $%#)���& #)�%)��*&� � (&'%�'�#"&� $%#���(%�&� �"� �+�!$ �& �#%%� ��&� ��� #� ���� �*�%�& &#�'*�%�� �#%!& �&�%��"& �"� *�"�#*&� &�#*" �%�#" , �+�!$ �&� �� ,#(% �#!$�", #$�%�'�& �' � �����%�"' &#�'*�%� �)� � ,#( !���'��"� ��&�%�$�"���& ��'*��" *��' �& &�#*" �" '��& �(��� �"� *��' ,#( &�� #",#(% &�%��"�

���& �(��� �"� (��& �+�!$ �& '# �� $ ,#( ("��%&'�"� �#* '# (&� '�� &,&'�!��#( ��" ����&& � #� '�� �"�#%!�'�#" ��#(' � '�&� (&�"� ��'��% '�� �(��� #% '��#" �"� �� $�

��#%� (&�"� '��& �(���� ,#( &�#( � ��)� � �("��!�"'� ("��%&'�"��"� #� '��&,&'�!� (&�% ����"�� �#��&� �"� ��'��#%, �#��&� �#( &�#( � � &# �"#* �#* '#�

� �&� '�� !�"(&

� "'�% �"�#%!�'�#" �" ��� �&

� ��� ���"��� �"� �� �'� �"�#%!�'�#"

� �%��'� �"� %(" %�$#%' )�%&�#"&

� ���&& #" �"� �#�(!�"'�'�#"

Audience

���& �(��� �& �"'�"��� $%�!�%� , �#% '�� �# #*�"� �(���"��&�

� �&�%&

� � �&&%##! �"&'%(�'#%&

� � ��"' ��%)���& $�%&#""�

� �#"&( '�"'& �"� �!$ �!�"'�'�#" '��! !�!��%&

Organization

���& �(��� �& ��)���� �"'# &��'�#"& �#% ���� !��#% �("�'�#"� ���'�#"& �#"'��"���$'�%& �#% ���� '�&� #% �%#($ #� %� �'�� '�&�&� ��� ���$'�% �#"'��"& '���"�#%!�'�#" ,#( "��� '# ���#!$ �&� '�� '�&�� %(" '�� $%#�%�!� #% $%�"' '��

Page 10: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

������� �� ����� ���� ��$ ���� �� � �!��!��"� ���� �� ������ � ������ �������� ����

Section Chapter 1

OverviewTasks

What You Should KnowAboutField DescriptionsProcessing OptionsTest Yourself

���� �� �� ������� ��� �� ����� ��� ����� �#�� �� ��� ��� ��� ���������� ������� ���������� �������� �� " ������ �� ����� ��� ������ ��� �� ��������� �� ����&����� ��� $� � �� � ����� ��� �� �������

���� � ��� � � ��� ���� � ��� �� �������� �� � ����# �� ���� $� ��� �������� ���� � ����$�

Conventions Used in this Guide

��� �����"��� ����� � !� �������� �� ����� "��� ��� �� ���� � ����

� ��� ������ �� ������ �� "����"�

� ����� ����� ��$ �� �� %������

�� �� �� � %������� ����������� � ��� ��� �� ������ �� ������ �� � ��� ���������� ��� ������ �� ��������� �� ��� ������ �� ������ ������ ����� ����� ������� �� �#���� "���� ������

Page 11: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97)

Table of Contents

���� �'9$4'5 �8(48,(9 ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

�,*1,1* �1 $1' �)) ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��6$1'$4' �&4((1 �71&6,21 �(;5 ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ����� �'9$4'5 �42'7&6 �,1( ��� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ����� �'9$4'5 �(*,21$/ �)),&(5 $1' "24/'9,'( �)),&(5 �� � � � � � � � � � � � � � � ��33/,&$6,21 �(8(/230(16 �;&/( ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 1,8(45$/ �7,/',1* �/2&.5 2) ���� �'9$4'5 �2)69$4( ����� � � � � � � � � � � � � � � ����� �'9$4'5 �4$,1,1* �18,4210(16 ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

���� �;56(0 �8(48,(9 ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

�($674(5 ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

Version Control

�%-(&6,8(5 ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��%276 !(45,21 �21642/ ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �!(45,21 �21642/ �42&(55 �/29 ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �!(45,21 �21642/ �(17 �8(48,(9 ��� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

�(8(/230(16 �18,4210(16 ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

�%276 $ �(8(/230(16 �18,4210(16 ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��7/(5 )24 �4($6,1* �(8(/230(16 �18,4210(165 ���� � � � � � � � � � � � � � � � �

���� �'9$4'5 �,%4$4,(5 ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��42'7&6,21 $1' �(8(/230(16 �:$03/(5 ����� � � � � � � � � � � � � � � � � � � � � � � � � ��4($6,1* �,%4$4,(5 ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��4($6,1* �20021 $1' �$6$ �,%4$4,(5 ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � ��4($6,1* $ �(8(/230(16 �%-(&6 �,%4$4; ���� � � � � � � � � � � � � � � � � � � � � � � � � � ��4($6,1* $ �(8(/230(16 �274&( �,%4$4; ����� � � � � � � � � � � � � � � � � � � � � � � � � � ��4($6,1* ������ 9,6+ ���� �'9$4'5 �42*4$0 �(1(4$624 ����� � � � � � � � � � � � ��4($6,1* ������ ",6+276 6+( �42*4$0 �(1(4$624 ����� � � � � � � � � � � � � � � � � � ��%276 5(4 �42),/(5 ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��(),1,1* �&&(55 )24 $ 5(4 �42),/( 75,1* � ������ ����� � � � � � � � � � � � � � � � � ��(),1,1* �&&(55 )24 $ 5(4 �42),/( 5,1* � ����� ����� � � � � � � � � � � � � � � � � � ��23; �$6$ 62 #274 �(8(/230(16 �18,4210(16 ����� � � � � � � � � � � � � � � � � � � � ��23;,1* $ �,%4$4; ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��23;,1* $ �,/( ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��23;,1* $ �(&24' ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��23;,1* ���� �'9$4'5 �(&24' �;3(5 ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � �

�42-(&6 �$1$*(0(16 ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

�%276 �42-(&6 �$1$*(0(16 ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 1'(456$1',1* "24. �4'(4 �42&(55,1* ����� � � � � � � � � � � � � � � � � � � � � � � � � � � ��4($6,1* "24. �4'(45 ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��&&(55,1* 6+( �&+('7/,1* "24.%(1&+ ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � ��'',1* �(&24' �;3(5 ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��+$1*,1* �(&24' �;3(5 ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

Page 12: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

A8.1 (8/97)

"14- 9+6* �1(69#4' �%6+10 �'37'565 �� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

�$176 ��� �;56'/ �'672 �� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��4'#6+0) �'%14& �;2' �1&'5 ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��'(+0+0) �'%14& �;2' �+6.'5 ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

"14- 9+6* �1(69#4' !'45+105 �'215+614; ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

"14-+0) 9+6* �1(69#4' !'45+105 �'215+614; ��!�� ���� � � � � � � � � � � � � � � � � ��%%'55+0) 6*' �1(69#4' !'45+105 �'215+614; ����� � � � � � � � � � � � � � � � � � � � � � ��'/$'4 �&'06+(+'45 ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��#/+0) �108'06+105 ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��*' ���� �&9#4&5 �;56'/ �1&'5 �� �� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��:#/2.'5 1( �41)4#/ #0& �+.' �#/'5 �� �� � � � � � � � � � � � � � � � � � � � � � � � � � � ��26+10#. �+.'5 "14-$'0%* �� �� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��#8+)#6+10 �70%6+105 �� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

���� �41(+.'5 ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

�$176 ���� �41(+.'5 ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��%%'55+0) ���� �41(+.'5 ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��70%6+10 �'; �:+65 �41/ 6*' ���� �41(+.'5 �41)4#/ ����� � � � � � � � � � � � � � � ��7//#4; 1( ���� �41(+.'5 ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

"14-+0) 9+6* ��� �1) ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

�$176 ��� �1) ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��'66+0) 2 5'4 �0276 �26+105 (14 ��� �1))+0) ����� � � � � � � � � � � � � � � � � � � ��'.'%6+0) �;2'5 1( ��� �0(14/#6+10 61 �1) ���� � � � � � � � � � � � � � � � � � � � � � � ��%%'55+0) ��� �1) �037+4; ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��7//#4; 1( 6*' ��� �1) �037+4; ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

"14- 9+6* �41/16+10 �#6*5 #0& �41,'%65 ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � �

"14-+0) 9+6* �41/16+10 �#6*5 #0& �41,'%65 ����� � � � � � � � � � � � � � � � � � � � � � � 0&'456#0&+0) �41/16+10 �#6*5 ������ � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��'(+0+0) # �41/16+10 �#6* ������ � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��'(+0+0) # �41,'%6 ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

�41/16' # �41,'%6 ������ � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

�41/16+0) # �41,'%6 ������ � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 2&#6' 6*' ���5 ������ � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �!#.+&#6+0) # �41/16+10 �#6* ������ � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��41/16+0) # �41,'%6 ������ � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

�41/16' �41,'%6 2&#6'5 ������ � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

�41/16+0) �41,'%6 2&#6'5 ������ � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

Programming Tools

�$,'%6+8'5 ��� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��$176 �41)4#//+0) �11.5 ��� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

"14- 9+6* �#6# �1&'.+0) �� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

"14-+0) 9+6* �#6# �1&'.+0) �� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��%%'55+0) �#6# �1&'.+0) �� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

"14- 9+6* 6*' �$,'%6 �4155 �'('4'0%' �'215+614; ���� � � � � � � � � � � � � � � � � � � � �

"14-+0) 9+6* 6*' �$,'%6 �4155 �'('4'0%' �'215+614; ���� � � � � � � � � � � � � � ��:#/2.' ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

"14- 9+6* �#6# �+%6+10#4; ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

�$176 6*' �#6# �+%6+10#4; �'215+614; ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � 0&'456#0&+0) 6*' �#6# �+%6+10#4; �647%674' ���� � � � � � � � � � � � � � � � � � � � � � �

Page 13: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97)

�7,*;260 � �*;* �;.5 *5. ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �(793260 >2;1 ;1. �*;* �2,;276*9@ ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

(1*; )7< $17<4- �67> �+7<; ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �%1. �<6,;276 �.@: /79 ;1. �*;* �2,;276*9@ ���� � � � � � � � � � � � � � � � � � � � �

(793260 >2;1 �*;* �;.5 �42*: #.=2:276: �� � � � � � � � � � � � � � � � � � � � � � � � � � � �(793260 >2;1 ;1. �*;* �2,;276*9@ �47::*9@ ���� � � � � � � � � � � � � � � � � � � � � � � �

(1*; *9. ;1. �*;* �2,;276*9@ �47::*9@ �97<8:� ���� � � � � � � � � � � � � � � � �(793260 >2;1 &:.9 �./26.- �.48 �6:;9<,;276: ����� � � � � � � � � � � � � � � � � � � � � �(793260 >2;1 �*;* �2.4- �.:,928;276: ���� � � � � � � � � � � � � � � � � � � � � � � � � � � �(793260 >2;1 ;1. .?; <5+.9: �*,242;@ ���� � � � � � � � � � � � � � � � � � � � � � � � � ��+7<; ;1. �2.4- #./.9.6,. �24. ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

(1*; �*88.6: >2;1 ;1. #.+<24-� ��� � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��+7<; ;1. ���� �->*9-: �.::*0. �24. ��� � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

#.+<24-260 764@ ;1. ���� �->*9-: �.::*0. �24.� ��� � � � � � � � � � � � � � � � � ��7,*;260 ;1. #.+<24- �#� *6- ��� �:0 �24. �795 ��� � � � � � � � � � � � � � � � � � � �

(793 >2;1 �*;* �24. �.:206 �2- ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

�+7<; ;1. �*;* �24. �.:206 �2- ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��+7<; �::206260 ;1. �24. "9./2? ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��6;.9260 �*;* �24. �.:206 �2- ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��<6,;276 �.@: �975 �24. �.:206 �2- ��� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �(1*; �9. ;1. �*;* �24. �.:206 �2- $;*6-*9-:� ����� � � � � � � � � � � � � � � � � � � � �

�.90. �<6,;276: /79 "9709*5 %.5879*9@ �2? �"%�� �6:;*44*;276: *6-#.26:;*44*;276: ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

�*;* �24. �.:206 �2- $<55*9@ �� �� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �(793 >2;1 $,9..6 �.:206 �2- �� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

�+7<; $,9..6 �.:206 �2- �� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��-2;260 �755*6-: �� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �"9./2? $;*6-*9-: �� �� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��2.4- *5. $;*6-*9-: �� �� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

&8-*;260 79 �--260 �2.4-: ;197<01 $�� �� � � � � � � � � � � � � � � � � � � � � � � �(793260 >2;1 $,9..6 �.:206 �2- �� �� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��<6,;276 �.@ �?2;: �� �� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �&8-*;260 *6 �?2:;260 �2.4- �� �� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��,,.::260 �*:; "*;1 �9.*;. /79 * .> �795 ����� � � � � � � � � � � � � � � � � � � � � � � ��--260 �2.4-: >2;17<; &:260 * "2,3 �2:; ����� � � � � � � � � � � � � � � � � � � � � � � � � � ��--260 * �2;.9*4 �2.4- ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �&:260 ;1. ��!%� *6- ���� �.*;<9.: ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

&:260 ��!%� ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �&:260 ���� ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �&6-.9:;*6-260 ;1. $�� �?2;�$*=. �<6,;276 �.@ ���� � � � � � � � � � � � � � � � �

�75824260 )7<9 �795 ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �$,9..6 �.:206 $;*6-*9-: *6- %28: ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��--260 '2-.7 �2.4-: &:260 "2,3 �2:; ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

�+7<; #.,79- �795*;: ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �$.4.,;260 �*;*+*:. �2.4-: ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �"4*,260 �2.4-: 76 * �795 &:260 * "2,3 �2:; ����� � � � � � � � � � � � � � � � � � � � � � � ��<6,;276 �.@ �?2;: /975 $,9..6 �.:206 �2- ����� � � � � � � � � � � � � � � � � � � � � � �

�2--.6 �2.4-: ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��1*60260 $<+/24. �7<6-*92.: ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �"97,.:: !=.9=2.> A "4*,260 $.4.,;.- �2.4-: ����� � � � � � � � � � � � � � � � � � � � � � �"97,.:: !=.9=2.> A #.=2:260 ;1. �2.4- �./262;276 ����� � � � � � � � � � � � � � � � � � �

Page 14: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

A8.1 (8/97)

�/-!#00 �3#/3'#4 7 �#3'0',% �-!� 2*�/6 �," �2,!1'-, �#60 ������ � � � � � � � ��2,!1'-, �#60 $-/ �-/+ �," �'0.*�6 �-/+�1 �-,1/-* ������ � � � � � � � � � � � � � � ��2++�/6 -$ �!/##, �#0'%, �'" ������ � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

�-/) 4'1& �#.-/1 �#0'%, �'" ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

� -21 �#.-/1 �#0'%, �'" ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��5�+.*# 7 ��� �," ����� �/'1#/ ����� � � � � � � � � � � � � � � � � � � � � � � � � � ��-+.�/',% ��� �," ��� � �'#*" �#$','1'-, �-/+ ����� � � � � � � � � � � � � ��-3#/ ��%# �'#*"0 ������ � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��#.-/1 �#�"#/ �'#*"0 ������ � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��&�1 �/# 1&# �#.-/1 �-/+�10� ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��&�1 �/# 1&# �#.-/1 �#0'%, �1�,"�/"0� ������ � � � � � � � � � � � � � � � � � � � � � � �� -21 �#0'%,',% 1&# �#.-/1 ������ � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

�!!#00',% �#.-/1 �#0'%, �'" ������ � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��."�1',% � �'#*" ', ��� ������ � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

�,"#/01�,"',% 1&# �#.-/1 �#0'%, �'" �2,!1'-, �#60 ����� � � � � � � � � � � ��-+.'*',% � �#.-/1 ������ � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��&�,%',% 1&# �-+.'*# �.1'-, �#$�2*10 $-/ �#.-/10 ������ � � � � � � � � � � � � � � � �

Programming Standards

� (#!1'3#0 ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��/-%/�++',% �1�,"�/"0 ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

�/-%/�+ �.#!'$'!�1'-,0 ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

� -21 �/-%/�+ �.#!'$'!�1'-,0 ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��&�1 �/# �-,1/-* �.#!'$'!�1'-,0� ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��&�1 �/# �'*# �#0!/'.1'-, �.#!'$'!�1'-,0� ��� � � � � � � � � � � � � � � � � � � � � � � � � ��&�1 �/# �51#,0'-, �.#!'$'!�1'-,0� ��� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��&�1 �/# �,.21 �.#!'$'!�1'-,0� ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��&�1 �/# ��*!2*�1'-, �.#!'$'!�1'-,0� ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��&�1 �/# �21.21 �.#!'$'!�1'-,0� �� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

�/-%/�+ �3#/3'#4 ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

� -21 1&# �/-%/�+ �3#/3'#4 ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��2 /-21',#0 ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��//-/ ��,"*',% ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��,"'!�1-/ �0�%# ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��-!2+#,1�1'-, ��� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��'0!#**�,#-20 �1#+0 ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

�/-%/�+ �1/2!12/# ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

� -21 �/-%/�+ �1/2!12/# ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��0#/ �.�!#0 ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

� -21 �0#/ �.�!#0 ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��&�1 �0 � �0#/ �.�!#� ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��&�1 �/# 1&# �"3�,1�%#0 -$ �0',% � �0#/ �.�!#� ���� � � � � � � � � � � � � � � � � � ��-4 �-#0 � �0#/ �.�!# �2,!1'-,� �� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��/#�1',% � �0#/ �.�!# �� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��/'1',% 1- � �0#/ �.�!# ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��#�"',% $/-+ � �0#/ �.�!# ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

�0#/ �,"'!#0 ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

� -21 �0#/ �,"'!#0 ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��&�1 �/# 1&# �"3�,1�%#0 -$ �0',% � �0#/ �,"#5� ���� � � � � � � � � � � � � � � � � � �

Page 15: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97)

�5< �5+8 ' $8+7 �4*+= �:4)9/54� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��7+'9/4- ' $8+7 �4*+= � �� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �%7/9/4- 95 ' $8+7 �4*+= ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��66+'7'4)+ 5, !+)57*8 ��� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �!+97/+;/4- �'9' ,753 ' $8+7 �4*+= ��� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

�/2+ "+7;+78 ��� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

�(5:9 �/2+ "+7;+78 ��� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �%.'9 /8 ' �/2+ "+7;+7� ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �%.'9 '7+ 9.+ �*;'49'-+8 5, $8/4- ' �/2+ "+7;+7� ����� � � � � � � � � � � � � � � � � � � �%.'9 '7+ 9.+ �/8'*;'49'-+8 5, $8/4- ' �/2+ "+7;+7� ����� � � � � � � � � � � � � � � � ��5< �5+8 ' �/2+ "+7;+7 �:4)9/54� ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �%.'9 �7+ �549752 '7'3+9+78� ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �%.'9 �7+ !+9:74+* '7'3+9+78� ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��362+3+49/4- ' �/2+ "+7;+7 ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �"+'7)./4- ,57 �+> �/898 ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �#/68 <.+4 $8/4- �/2+ "+7;+78 ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��533542> $8+* �/2+ "+7;+78 ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

�:4)9/54'2 "+7;+78 ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

�(5:9 �:4)9/54'2 "+7;+78 ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �%.'9 �7+ �:4)9/54'2 "+7;+78� ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �%.'9 �7+ 9.+ �*;'49'-+8 5, $8/4- ' �:4)9/54'2 "+7;+7� ����� � � � � � � � � � � � �%.'9 �7+ 9.+ �/8'*;'49'-+8 5, $8/4- ' �:4)9/54'2 "+7;+7� ����� � � � � � � � � � �"+99/4- $6 �:8/4+88 !:2+8 ,57 '4 �497> 75-7'3 ����� � � � � � � � � � � � � � � � � � � ��5< �5+8 ' �:4)9/54'2 "+7;+7 �:4)9/54� ����� � � � � � � � � � � � � � � � � � � � � � � � � ��:4)9/54'2 "+7;+7 �/-.2/-.98 ��� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �#.+ �'22 '7'3+9+78 ,57 9.+ �:4)9/54'2 "+7;+7 ���� � � � � � � � � � � � � � � � � � � � � ��549752 �/+2*8 </9./4 9.+ $8+7 "6')+ ��� � � � � � � � � � � � � � � � � � � � � � � � � � � � ��7757 �+88'-+ �4*+= �/4+ ����!�&� ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��='362+ � �:4)9/54'2 "+7;+7 75-7'3 "+)9/548 ���� � � � � � � � � � � � � � � � � � � � ��;'/2'(2+ �:4)9/54'2 "+7;+78 ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

"5:7)+ �+(:--+7 ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

�(5:9 "5:7)+ �+(:--+7 ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �$8/4- �+(:--+7 </9. '4 �49+7')9/;+ 75-7'3 ���� � � � � � � � � � � � � � � � � � � � � �$8/4- �+(:--+7 </9. ' �'9). 75-7'3 ��� � � � � � � � � � � � � � � � � � � � � � � � � � � �

"5,9<'7+ ")'4 '4* !+62')+ ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

�(5:9 "5,9<'7+ ")'4 '4* !+62')+ ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �#5 %571 </9. "5,9<'7+ ")'4 '4* !+62')+ ����� � � � � � � � � � � � � � � � � � � � � � � � �!+6579 �� �� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��:/*+2/4+8 �� �� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

+7,573'4)+ �88:+8 �� �� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

Group Jobs

�(0+)9/;+8 ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��(5:9 �75:6 �5(8 ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

�))+88 9.+ ���� �*<'7*8 �75:6 �5( �573 ��� � � � � � � � � � � � � � � � � � � � � � � � � � � �

�(5:9 9.+ ���� �*<'7*8 �75:6 �5( �573 ��� � � � � � � � � � � � � � � � � � � � � � � � � ��))+88/4- 9.+ ���� �*<'7*8 �75:6 �5( �573 ���� � � � � � � � � � � � � � � � � � � � � ��7+'9/4- �+< �75:6 �5(8 ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��)9/;'9/4- ":86+4*+* �75:6 �5(8 �� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

Page 16: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

A8.1 (8/97)

")51-2%7-2+ �5384 �3&6 ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��,%2+-2+ 73 �32>�5384 �3() ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �!-+2-2+ �** :-7, !864)2()( �5384 �3&6 ����� � � � � � � � � � � � � � � � � � � � � � � � � �$35/ :-7, �32>���� �(:%5(6 �5384 �3&6 ����� � � � � � � � � � � � � � � � � � � � � � � � ��(9%2')( �82'7-326 3* 7,) ���� �(:%5(6 �5384 �3& �351 ���� � � � � � � � � � �

$35/ :-7, 7,) �77)27-32 ���# �351 ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

�&387 7,) �77)27-32 ���# �351 ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��'')66-2+ 7,) ���� �(:%5(6 �77)27-32 �)28 �351 ��� � � � � � � � � � � � � � � � � � �

$35/ :-7, ��� �%66>",538+, ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

�&387 $35/-2+ :-7, ��� �%66>",538+, ����� � � � � � � � � � � � � � � � � � � � � � � � � � �!)77-2+ #4 �'')66 73 )137) �3'%7-326 ����� � � � � � � � � � � � � � � � � � � � � � � � � � �#6-2+ ��� �%66>",538+, :-7, �5384 �3&6 ����� � � � � � � � � � � � � � � � � � � � � � � � �

Universal File Converter

�&.)'7-9)6 ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��&387 #2-9)56%0 �-0) �329)57)5 ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

!)7 #4 #2-9)56%0 �-0) �329)57)5 �� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

�&387 #2-9)56%0 �-0) �329)57)5 �� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �#2()567%2(-2+ 7,) #2-9)56%0 �-0) �329)57)5 !)784 ���� � � � � � � � � � � � � � � � � �!)77-2+ #4 #2-9)56%0 �-0) �329)57)5 ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

$35/ :-7, �536639)5 80)6 ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

�-640%<-2+ �-)0( �)6'5-47-326 ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��((-2+ �-)0(6 ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��)0)7-2+ )'35(6 ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��)<:35(6 ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��9%-0%&0) �82'7-326 %2( �47-326 ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

$35/ :-7, �-0) �329)56-32 ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

$35/-2+ :-7, �-0) �329)56-32 ����� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��5-27 % )4357 ��� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

�5-27-2+ % )4357 ��� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��5)%7) �329)56-32 �3516 ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

�5)%7-2+ �329)56-32 �3516 ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��5)%7-2+ �329)56-32 �3516 ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

$35/ :-7, 7,) �%7% �-'7-32%5< �0366%5< &< �-0) ���� � � � � � � � � � � � � � � � � � � � � � �

�&387 $35/-2+ :-7, 7,) �%7% �-'7-32%5< �0366%5< &< �-0) ���� � � � � � � � � � ��'')66-2+ 7,) �%7% �-'7-32%5< �0366%5< &< �-0) ���� � � � � � � � � � � � � � � � � � � � ��((-2+ % �-0) !4)'-*-' �0366%5< �7)1 ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��5-27-2+ 7,) �%7% �-'7-32%5< �0366%5< �2*351%7-32 ���� � � � � � � � � � � � � � � � � �

Appendices

�44)2(-; � > �31132 � �53(8'7-32 �-&5%5< �-0)6 ���� � � � � � � � � � � � � � � � � � � � �

�44)2(-; � > #4+5%(-2+ �86731-=)( !385') �3() ���� � � � � � � � � � � � � � � � � � � � �

!��314%5) ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��%5132-=)5 ��� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��&387 �%5132-=)5 �086 ��� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

Page 17: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97)

��� �� � � �� ���� ���� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

Glossary

Index

Exercises

Page 18: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

A8.1 (8/97)

Page 19: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 1–1

J.D. Edwards Overview

Signing On and Off

Sign On

System . . . . . : JDED

Subsystem . . . : Qinter

Display . . . . : V5251JI01

User . . . . . . . . . . . . . . ___________

Password . . . . . . . . . . . .

�� ���� ��

�#!� %�� ��� � �� &�

�� � %�� �$�# ������ %("� (!&# �$�# ��

�� � %�� ��$$'!#� ������ %("� (!&# ��$$'!#�

� �#�$$ %�#

�� ���� ���

� %�� �����%�! �� ��

�� �("� � �!&��� "�#�!� �� �� !# �

�� �#�$$ %�#

Page 20: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

1–2 A8.1 (8/97)

Standard Menu Function Keys

�� ��������� ������ ���� ��� ���� �� �������� ���� �� ��� ����� �� ���������������� �� ��� ���

AS/400 Keyboard PC Keyboard Function

F4

F8

F9

F12

F13

F14

F16

F18

F24 F12Shift

Shift

Shift

Shift

Shift

F6

F4

F2

F1

F12

F9

F8

F4 Command Entry Prompt

Access Menu Word Search

Retrieve previous command

Return to previous menu

Fast Path Commands

Menu Selection Detail

Display Menu List window

Access processing options

Type desired menu selectionand press F18

List available Function Keys

Page 21: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 1–3

Standard Screen Function Keys

AS/400 Keyboard PC Keyboard Function

F1

F3

F4

F7

F22

F24 Shift

Shift

F12

F10

F7

F4

F3

F1 Display JDE field level help

Exit

Display Fold Area (more detailedinformation)

View error message text

Clear screen

Display available functionswindow

Additional Differences

��� �����&��� #���� "��&� ����#����� ��(" $"�� �� #�� ������ ��� #���!� $�%����#" �� #�� ��

����� �� � �����

���� '�# �#�!

�#�! �#!�

��"�# ��#

���� �� ��� ��&�

���� ��&� ��� ��

���� ��!��� ����

�##� "�

Page 22: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

1–4 A8.1 (8/97)

Frequently Used Hidden Selections

�(�$* ���� ��)�$�% �� ' ��%"��*% '" &! �� �� ' %����&�! % &*"�����* ' �#'� &!� %*%&��� ���� �����&�! % �$� �� ' %����&�! % &��& ��& *!' "�$�!$� ��$&�� �' �&�! % $���$���%% !� &�� �'$$� & �� '� ���� �����&�! % �� ��%"��* &���� '% �!$ ��(� ��� � � ���� ���� �"�$�&�! % �!$ � "�$&��'��$ �""����&�! �"�$�!$� %"����� ��&�(�&��%� ����%% ��$&�� �� '% �(� �� &�� %*%&�� $�%&$��&% ��$��&�� ' &$�(��� �� � � ����%% ��$&�� �� �!��� �% )�&�!'& ���!)� � ����%% &!&�� !��� � � &$* �� ��

�! ����%% � ���� �����&�! � �$!� � * ���� ��)�$�% �� '� � &�$ � � &�������&�! �� �� ��� ���� �����&�! % �!$� ��%"��*%� ��%&� � &�� %����&�! '���$�!$ ���� �' �&�! � � &�$ � � &�� ����� &! &�� ���& !� &�� ���� �����&�! &��& *!')� &� ��&�$ �&�(��*� &*"� &�� ��%�$�� '���$ �&)! ����& �!��� ! &�� �����&�! !$!��� � �� � � � "$�%% � &�$�

Page 23: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 1–5

User Tools

Programming Tools

Operator Tools

Selection

Selection

Selection

Description

Description

Description

33

34

42

43

39

82

85

90

Display Submitted Jobs

Display User Messages

Display User Job Q

Display User Print Q

Change User Print Q

Hold Submitted Jobs

Display User Defaults

Sign Off

27

29

97

Advanced Operations

Technical Operations

Install History Display

25

40

Menu Specifications

File Field Description

��� �� �� � ���� ��� �� ����� �� �� ��� �� � ��� �� ���� �� ���� �������

Page 24: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

1–6 A8.1 (8/97)

J.D. Edwards Product Line

� � �&##&.!%� !* � #!*+ &� ')&�,�+* �-�!#��#� �)&$ ��� �.�)�*�

Financials

� ��%�)�# ���&,%+!%�

� ���&,%+* ��0��#�

� ���&,%+* ����!-��#�

� �!/�� �**�+*

� �!%�%�!�# �&��#!%� �%� �,���+!%�

� �,#+!1�,))�%�0� �,#+!1��%�,���� �,#+!1��+!&%�# �)&��**!%�

� �#�/!�#� ��'&)+!%� �&&#*

� ���)�** �&&"�#��+)&%!� ��!#

� ,$�% ��*&,)��*

� ��0)&##

� �!$� ���&,%+!%�

Distribution/Logistics

� ��#�* �)��) ��%���$�%+

� �&%�!�,)�+!&% ��%���$�%+

� ��-�%��� �)!�!%�

� �&)���*+!%�

� ��(,!)�$�%+* �#�%%!%�

� %+�)')!*� ���!#!+0 �#�%%!%�

� �,)� �*� ��%���$�%+

� �%-�%+&)0 ��%���$�%+

� ��-�%��� ��)� &,*� ��%���$�%+

� �)�%*'&)+�+!&% ��%���$�%+

� �+� �&##��+!&%

� ��#��+)&%!� �&$$�)��

Page 25: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 1–7

Manufacturing

� �# �&�% ��%� ���������%

� � ����&#�%� � ���������%

� ����% ��� �"&�!���% ����%������

� �� ! �� # � �%# �

� � #���$%���

� ��"&�#����%$ ��������

� ��%�#!#�$� ������%( ��������

� ��!���%( ��"&�#����%$ ��������

� ����%� �����&��#

� ��'�# ����%�� ���������% �($%��

� ��%� � ����%� �

Energy and Chemical

� �# ��$$ ���&���%&#�����&�� �� ��������

� �"&�!���% ���������%

� �'��% #( ���������%

� �&�� �% �� � �%# �

� ��$%#��&%� � � �%#��%$

� ����$ #��# ���������% ��� �#�����

� � �� ��� ����'�#( ���������%

� � #���$%���

� ��%�#!#�$� ������%( ��������

� �&#���$� ���������%

Architecture, Engineering, Construction, and Real Estate

� ���# ���% � $% ��� &�%���

� � #� #��# ���������%

� �# ���% ������ ���������%

� � �%#��% ���������%

� � �%#��% �������

� �������#��� ��� ��#'��� �������

� �"&�!���% ���������%

Page 26: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

1–8 A8.1 (8/97)

� �#!��)� ��& �"���!�"(

� ��� �'(�(� �"���!�"(

Public Services: State and Local Governments, Education, and Utilities

� �"�"��� ��!�"�'(&�(�#" �"� ��$#&(�"�

� �)���( ��!�"�'(&�(�#"

� )"� �"� �"�)!�&�"�� ���#)"(�"�

� &�"( �"� �"�#+!�"( �"���!�"(

� �)&���'�"� �"� �(�&�� �"���!�"(

� ��&��#)'�"� �"� ��"(&� �(#&�' �"���!�"(

� �)!�" ��'#)&��' �"���!�"(

� ��&*��� �"� �#&� �&��& �"���!�"(

� ��$�(� �&#���( �"� �#"'(&)�(�#" �"���!�"(

� �#"(&��( �"���!�"(

� � �"(� �%)�$!�"(� �"� ��( ��"(�"�"��

� �)'(#!�& �"�#&!�(�#" �"� �� �"� ��!�"�'(&�(�#"

� �''�''!�"( �"� �&#$�&(- ��, ��!�"�'(&�(�#"

Other Integrated Solutions

� ��& �#��"����(� �# ��(�#"

� �#""��(�*�(-���(+#&� �# )(�#"'

� ��*� #$!�"( �## '

� ��'(&��)(�� ��(� �&#��''�"�

� ����� ��(&#"�� �#!!�&��

� �"(�&$&�'� �"�#&!�(�#" �-'(�!'

� ��'�!� � �"���!�"(

� �� �"(��&�(�#"

Page 27: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 1–9

J.D. Edwards Regional Offices and Worldwide Offices

�# !)&&)1$(" $- � &$-. )! �&& ���� �1�,�- )!!$� -�

������ ���������

� ��+/�,. ,- � (0 ,� �)&),��)

� "$)(�& ���� �!!$� - �-. �/.# ,!),�� � 1 � ,- 3

� ,(�)(� �$,"$($�

�.&�(.�� � ),"$�

��% �,))%� &&$()$-

� (0 ,� �)&),��)

�)-.� � -�� ��&$!),($�

)-. , �$.3� ��&$!),($�

��&&�-� � 2�-

�)/-.)(� � 2�-

���� ��. &&$. �!!$� -

��&.#�'� ��--��#/- ..-

� ��#1))�� �#$)

�,/'�/&&� �)(( �.$�/.

�/!!�&)� � 1 �),%

� &0$&& � � 1 �),%

� 1 �),%� � 1 �),%

�$, ��%-� ��&$!),($�

� �..& � ��-#$(".)(

� -. �)(-#)#)�% (� � ((-3&0�($�

�&))'$(".)(� �$(( -).�

�$&1�/% � �$-�)(-$(

��% �-1 ")� �, ")(

�.� �)/$-� �$--)/,$

��'*�� &),$��

),. ��/� ,��& � &),$��

� "$)(�& ��(���

�$&&)1��& � �(.�,$)

�),.# �(� �)/.# �' ,$��(

�!!$&$�. -

��(���

� 2$�)

� ( 4/ &�

�," (.$(�

/,)* �( �!!$� - ,�(%!/,.� � ,'�(3

�,/2 && -� � &"$/'

��,$-� ,�(�

�$&�()� .�&3

�($. � �$("�)'

�)/,( (�� ����

Page 28: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

1–10 A8.1 (8/97)

������ ���������

)&$%��# ����!��(�' �#�(�� ��#��$"

�&�!�#�

�*���#

�&"�#+

��� ��(��&!�#�'

��!��)"

�)'(&��

�*�(,�&!�#�

�%��#

�$&()��!

��#"�&

�)'(&�!��# ������ ���('*$$�� �)'(&�!��

����!� �'( ����!��(�' �'&��!

$&��#

���&��#

�+%(

�'���������� ��" ����!��(�' �%�#

���#���$#� �$#� ��(+

���!�%%�#�'

��!�+'��

��#��%$&�

�)'(&�!��

��* ���!�#�

Page 29: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 1–11

Application Development Cycle

� "�� �!%$�" ����� � �$'�"� �������"��� ����� � &�"# $�� ��$�"� #!��$"%� � $�� �!!����$� � ��&�� !���$ ���� �)���� ����%���� ��#��� $ �#� � ������"�$� �� �%$ ��$�� � �%���$�$� � ����"�$� �� !" $ $)!���� "�! #�$ "��# ��� $��" !" �%�$�&�$) ��!" &����$ $ �# � " $�� ��&�� !���$� !�"�$� � �������$������ � ���(����� �%#���## �!!����$� � # �$'�"��

� % ��� ��#�"��� $�� �!!����$� � �&�� !���$ )��� ��� )���� �� $�"����&��#� �# � �� '#�

Level 1

� ��� �!!����$� � ���$� "�� '���� �# ��#�"���� �� $�� ������ ���������

���##�

Level 2

� ��� �#��� ���$� "�� '���� �# ��#�"���� �� $�� ������ ��� �����

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

Level 3

� ��� �&�� !���$ ���$� "�� '���� �# ��#�"���� �� $�� ���� ���##�

Universal Building Blocks of J.D. Edwards Software

� "�� ��� � &�"# $�� ��$�"� #!��$"%� � $�� �!!����$� � ��&�� !���$ ���� �)��������%�����

� �#��� $ �#

� �� ����"�$� �

� �%$ ��$�� � �%���$�$� � ����"�$� �

� �" $ $)!���

� ��! #�$ "��#

� $��" !" �%�$�&�$) ��!" &����$ $ �#

��� � �� '��� ���%"� #� '# $�� #�!�"�$� � �%��# $��$ � �$"��%$� $ $���%��$� ���� � � ��� ��'�"�# !" �"���

Page 30: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

1–12 A8.1 (8/97)

CASE Profiles Data Dictionary

User Defined Codes

Screen &Report

Design Aid

FileDesignAid

VocabularyOverrides& FunctionKey Definitions

DREAM Writer &Processing

OPtions

ProgramGenerator

SoftwareVersions

Repository

Page 31: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 1–13

J.D. Edwards Training Environment

� �&��� ##� �( (�� �()��"( ���&�&- '�()$ +� �� $ -#) )"��&'(�"� (�� (&��"�"��"*�&#"!�"( '�( )$ �#& -#)& ��&"�"� �,$�&��"��� ��� �# #+�"� �' � ��'�&�$(�#"#� '��"#" "�!�"� �#"*�"(�#"'� ���&� �' � '# � ��'�&�$(�#" #� ��&�&- "�!�"��#"*�"(�#"'�

� ���"#" ��!�"� #"*�"(�#"'

�#)& '��"#" ��$�"�' #" +��&� -#) �&� #��(���

�#& �,�!$ �� �" (�� �"*�& ���%)�&(�&' ������� +� ��*� '�*�&� � �''&##! ")!��&'� '# (�� '(&)�()&� #� '��"#"' �' �' �# #+'�

���"(����' ���� '�(#� $��&�� '()��"('

�'��"�(�'�()��"(���"#"

�''&##!�)!��&

�� �� ��

� ���&�&- ��!�"� #"*�"(�#"'

�#)& ��&�&- "�!�' ��$�"�' #" +��&� -#) �&� #��(���

�#& �,�!$ �� �" (�� �"*�& ���%)�&(�&' ������� +� ��*� '�*�&� � �''&##! ")!��&' �"� ��&�&��' (��( �&� '(&)�()&�� �#& (��( � �''&##!� �#)+� � '# ��*� -#)& #+" '()��"( ��&�&-� ���( ��&�&- +� ��*� (�� "�!�"��#"*�"(�#"' #� -#)& '()��"( ")!��&� �(��& ��&�&��' �#"(��"�� �" -#)& ��&�&- �'( �&� ��&�&��' (��( �&� '(�"��&� (# � ��� ��+�&�' � �''�"*�&#"!�"('�

Page 32: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

1–14 A8.1 (8/97)

�$! '%�,�,3 '%-. �. � ���� 1�, - "��%'%.3 �++!�,- �- "*''*1-�

���� ������

�� �� �� .!(+*,�,3 '%�,�,3

������ �*((*) '%�,�,3 "*, .,�%)%)#� �-! "*, �'' ���� 1�, -

�,�%)%)# )0%,*)(!).-� �. �*).�%)- "%'!- .$�. �'' .,�%)%)#

�'�--!- ��) -$�,!�

�*, !2�(+'!� �!'+ �%'!-� �!--�#! �%'!-� �) �%!'

�!"!,!)�! �%'!-�

��������

�����'�--,( ��

����-./ !). ��

�./ !).- *�&!�. '%�,�,3� �-! "*, .$! -./ !). .* �*(+%'!

�/-.*( *�&!�.-� �. �*).�%)- *)'3 +,*#,�(- .$�. � -./ !).

(�3 (* %"3 %) � �'�-- !2!,�%-!�

����� �*((*) *�&!�. '%�,�,3 "*, .,�%)%)#� �*).�%)- �'' *" ����

1�, - !2!�/.%*) +,*#,�(-� '' ���� 1�, - .,�%)%)#

!)0%,*)(!).- /-! .$%- '%�,�,3�

��������

�����'�--,( ��

����-./ !). ��

�./ !).- �.� '%�,�,3� �-! "*, .$! -./ !).- �/-.*( �.�

"%'!-� �. �*).�%)- *)'3 +,*#,�(- .$�. � -./ !). (�3 (* %"3

%) � �'�-- !2!,�%-!�

�����

�����'�--,( ��

�'�--,**( -$�,! '%�,�,3� �- -$�,! "*, .$�. +�,.%�/'�,

�'�--,**( !)0%,*)(!).� �. �*).�%)- "%'!- .$�. .$! -./ !).-

�'' -$�,!� �*, !2�(+'!� .$! ��.� �%�.%*)�,3 "%'!�

������ �$�,! '%�,�,3 "*, �'' .,�%)%)#� �-! "*, �'' ���� 1�, -

.,�%)%)# !)0%,*)(!).-� �. �*).�%)- "%'!- .$�. �'' .,�%)%)#

�'�--!- ��) -$�,!� �*, !2�(+'!� 1*, -!�,�$ "%'!-�

���������

�����'�--,( ��

����-./ !). ��

�./ !).- �*/,�! �%�,�,3� �-! "*, .$! -./ !). .* 1,%.!

�/-.*( -*/,�! +,*#,�(-� �. �*).�%)- *)'3 +,*#,�(- .$�. �

-./ !). (�3 (* %"3 %) � �'�-- !2!,�%-!�

������ �*((*) �*/,�! �%�,�,3 "*, �,�%)%)#� �*).�%)- �'' *" ����

1�, - -*/,�! �* ! +,*#,�(-� '' ���� 1�, - .,�%)%)#

!)0%,*)(!).- /-! .$%- '%�,�,3�

���� �� #!)!,�' +/,+*-! '%�,�,3

Page 33: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 1–15

�'$ +(!1 18 +(23 3 - .-92(3$ +." 3(.- 6(++ //$ 1 2 %.++.62

���� ������

����� ��� 3$,/.1 18 +(!1 18

��������� .-3 (-2 %(+$2 3' 3 6(++ !$ 2' 1$# %.1 ++ 234#$-32 (- "+ 22

���������

��234#$-3 ����

.-3 (-2 %(+$2 3' 3 6(++ -.3 !$ 2' 1$#� �(+$2 1$ 4-(04$ %.1

$ "' 234#$-3�

���������

��234#$-3 ����

.-3 (-2 -8 /1.&1 ,2 .1 .!)$"32 3' 3 3'$ 234#$-3 ,.#(%($2

(- "+ 22 �"423., .!)$"32�

���������

��234#$-3 ����

.-3 (-2 -8 2.41"$ ".#$ 3' 3 3'$ 234#$-3 ,.#(%($2 (-

"+ 22 �"423., 2.41"$�

�������� .-3 (-2 ++ ���� �#6 1#2 $7$"43(.- /1.&1 ,2

���� ��� &$-$1 + /41/.2$ +(!1 18

Classes

+ 22$2 ".-2(23 .% +$"341$2 -# $7$1"(2$2� �'(+$ $ "' $7$1"(2$ (2 2$/ 1 3$ 3 2*�3'$8 4+3(, 3$+8 !4(+# 4/.- $ "' .3'$1 3. "1$ 3$ -$6 /1.&1 ,� �3 (2 (,/$1 3(5$�3'$1$%.1$� 3' 3 $ "' 234#$-3 %4++8 4-#$123 -# $ "' $7$1"(2$ !$%.1$ ".-3(-4(-&� �33'$ $-# .% 3'$ "+ 22� 3'$1$ 1$ 2$ �34#($2 6'("' %413'$1 $-%.1"$ 6' 3 8.4 ' 5$+$ 1-$# !8 ' 5(-& 8.4 //+8 3'$ (-%.1, 3(.- %1., 3'(2 "+ 22 3. 2/$"(%("/1.&1 ,,(-& 2(34 3(.-2�

Page 34: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

1–16 A8.1 (8/97)

Page 35: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 1–17

APCS System Overview

Features

������� ��������� ������� ��� ��� � ������ �#�)'�' #" (�� �# #+�"��#& � ��� ���()&�'�

� ��(� ���(�#"�&- ��$#'�(#&-

� �&#���( ��"���!�"( ��#�(+�&� ��(�#" ��%)�'( �-'(�!�

� ��� �&#�� �'

� ��� �#� �"%)�&-

� �&��(�"� � ��*� #$!�"( "*�&#"!�"(

� �#�(+�&� ��&'�#"' ��$#'�(#&-

� ��(� �#�� �"�

� � � ��'��" ���

� ��&��" ��'��" ���

� ��$#&( ��'��" ���

� ��� �+�&�' �&#�&�!!�"� �(�"��&�'

� � � ��&*�&' �"� )"�(�#"� ��&*�&'

� �'�& �$���' �"� �'�& �"��,�'

� �&#)$ #�'

� �&#�&�!!�"� �#������(�#"'

� �#)&�� ���)���&

� �&#�&�!!�"� �!$��(' �&#! �#�(+�&� �$�&���'

Page 36: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

1–18 A8.1 (8/97)

Page 37: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–1

Version Control

Objectives

� �$ �'��)� � ��+�!$%"�#) �#+�'$#"�#)

� �$ ,$' ,�)� %'$�'�" "�#���"�#)

� �$ �'��)� !��'�'��(

� �$ �$%- ��)� ��!�( )$ )�� ��+�!$%"�#) �#+�'$#"�#)

About Version Control

�$* *(� )�� ��� ��,�'�( ��'(�$# $#)'$! (-()�" )$ "�#��� )�� "$+�"�#) $�($�),�'� ��),��# +�'�$*( �#+�'$#"�#)(� (*�� �( $#�( -$* ��+� (�) *% �$'($�),�'� ��+�!$%"�#)� )�()�#�� �#� %'$�*�)�$#�

DevelopmentEnvironment

TestEnvironment

ProductionEnvironment

SoftwareGroup

(Project)

(Promotion Paths)

��� ��'(�$# $#)'$! (-()�" ,$' ( ,�)� )�� �$�),�'� ��)�$# ��&*�() �����(-()�" �#� )�� ��� !$���#� (-()�"� ) %�'�$'"( )�'�� ��#�'�! �*#�)�$#(�

� �'$*%( ($*'�� �$�� "�"��'( �(*�� �( ��� �#� � %'$�'�"(� �#�

%�-(���! �#� !$����! )��!�(� �#� �$#)'$! ��!� ��)� �(*�� �( �)� ��)�$#�'-�#� "�#*(� )$��)��' �( � %'$���)

� ���#�( � %'$"$)�$# %�)�� ,���� (%������( !��'�'- �#�$'"�)�$# ��$*) )��

%'$���)�( �*''�#) �#+�'$#"�#) �#� )�� �#+�'$#"�#) )$ ,���� �) ,�!! ��"$+��

Page 38: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–2 A8.1 (8/97)

� �)'%'+�* + � ()'"��+ �)'% + � �,))�&+ �&-!)'&%�&+ +' + � +�)��+

�&-!)'&%�&+ �* ���!&�� �/ + � ()'%'+!'& (�+

� � �'$$'.!&� �!��)�% * '.* '. + � -�)*!'& �'&+)'$ ()'��** �!-!��* + � +�*#*�

Project

Promotion Paths SAR

Master(F9241)

PromotionPaths

(F92411)

ProjectSARs*

(F92412)

Master(F9240)

Members(F92401)

ControlTables

(F92402)

SARLog

(F9810)

Work OrderMaster(F4801)

Work OrderDetail

(F4802)

Define projectswith promotionpaths and SARS

* Promotion occursat the SAR itemlevel

Define and maintain thepromotion paths for sourcecode members and controlfile data

Create and maintain SARsthat will be promoted

�' *�+ ,( � *'�+.�)� ��-�$'(%�&+ ()'"��+ �') ��-�$'(%�&+ �&� ()'%'+!'&� /',%,*+�

� �)��+� + � � �* + �+ /', .�&+ +' ()'%'+�� �&� ���!&� ()'%'+!'& (�+ *

� �!&# + � ()'"��+ +' + � � �* + �+ �)� �**'�!�+�� .!+ !+� �&� �**!�& �

()'%'+!'& (�+ +' !+

$$ ���!+!'&* ') � �&��* /', %�#� +' ()'�)�%* �&� �'&+)'$ �!$� ��+� �)� $'����!& + � � � �'� ������� �*� + !* $'� +' ,(��+� + � � �*� . !� �)� !& + � �')#�)��) ��+�!$ +��$� ������

Page 39: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–3

��$�" )�% ����#� ��&��� ��� $�� #��$'�"�� )�% "���$� $�� #��$'�"� �"�� $���"����$ ������$# ��"� $� $�� ��($ ��&�"�����$�

��% '��� '�"� '�$� $�� �����'��� �"��#�

� ��&��� ���$ ��&�"�����$

� �"����$ ��������$

� ��"� '�$� ��$'�"� ��$��� ��!%�#$

� ��"� '�$� ��$'�"� ��"#���# �� �#�$�")

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

� ��"� '�$� �� ��

� ��"� '�$� �"���$��� ��$�# ��� �"����$#

� �"���$� � �"����$

� �"���$� �"����$ � ��$�#

Page 40: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–4 A8.1 (8/97)

Version Control Process Flow

Set Upthe SARSystem

Define aPromotion

Path

Define aProject

Use VersionControl for

ProjectUpdates

Update theSARs byUsing theSAR Log

� �'��)� '��%'� )-&� �%��(

� ����$� '��%'� )-&� )�)"�(

� �'��)� ��(

� �� � &'%#%)�%$ &�)�

� ((��$ )�� .�'%#� �$� .�%� �$+�'%$#�$)( )%

(%*'�� �%�� #�#��'( �$� �%$)'%" )��"�(

� �� � &'% ��)

� ((��$ &'%#%)�%$ &�)�( �$� ��( )% )��

&'% ��)

� �&��)� )�� �%'! �'��' ��)��" )��"� �������

� �'%#%)� )�� &'% ��) )% )�� $�,) �$+�'%$#�$)

�'%# )�� �'% ��) "�#�$)( �%'#

� ��'�%'# +�'(�%$ �%$)'%" &'%���*'�( �%' �

&'% ��) *&��)�

Promote aProject

Validate thepromotion

paths

� ��"���)� )�� &'%#%)�%$ &�)�(

DevelopSoftware

� ���$ )% �'��)� %' ���$�� �%�� '�"�)�� )% )��

&'% ��) *(�$� ���

� �)�+�)� �� "%���$� ��� &'%��"��ActivateSAR

Logging

Page 41: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–5

Version Control Menu Overview

�� ����� ��� �� �� � ����� ������� � ��� ���� ���� ����� ��� ���� �� ���� ���� � �� � ��� � �� �� ������ � � ���� �� �� ��������� ���� ���

G9261 J.D. Edwards & Company JDED Daily Operation Version Control ... BASIC OPERATIONS ... SETUP 2. Software Versions Repository 14. Record Type Codes 3. Manage Promotion Paths 15. Record Type Titles 4. Manage Projects 16. CASE Profiles ... Double Byte Mandatory Options ... INQUIRIES 7. Analysis Process 19. SAR Inquiry by Reference 8. C9822 Conversion 20. Inquiry by SAR, Proj and Path ... QA FUNCTIONS ... PURGE DATA FILES 11. Edit and Promote 23. Purge SAR Log File 12. Super SAR Selection or command ===> Thur, Apr 18, 1996 A7.3 Development LA5595234 8:55:51am (C) J.D.Edwards & Co 1985,1996 QPADEV0014

Page 42: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–6 A8.1 (8/97)

Page 43: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–7

Development Environment

About a Development Environment

� ��*�!$%"�#( �#*�&$#"�#( �$#(��#' $����(' �#� ��(� ���#� (�'(�� �#� ���(��� ( �' �����&�#( �&$" -$)& %&$�)�(�$# �#*�&$#"�#( ����)'� �( '�$)!� #$( �$#(��#�#- !�*� ��(� ��!�'�

Rules for Creating Development Environments

�$) '�$)!� �� �+�&� $� (�� �$!!$+�#� &)!�' +��# -$) �&��(� ��*�!$%"�#(!��&�&��'�

� $ #$( ����# !��&�&- #�"�' +�(� �� ��� $& �� ����)'� $� (�� )%�&���

%&$��''�

� &��(� �)'($" !��&�&��' �$& �)'($" "$������(�$#'�

� ���&�&- #�"�' '�$)!� �� � "�,�")" $� � ���&��(�&' �# !�#�(� ����)'� $�

(�� )%�&��� %&$��''�

� $ #$( )'� ����� �$& -$)& $+# (�'( ��(� $& !�*� ��(� ����)'� $� (��

)%�&��� %&$��''�

� $ #$( �#�!)�� ����� �# � !�*� )'�&�' !��&�&- !�'(�

�$ �&��(� � �*�!$%"�#( �#*�&$#"�#( �$"%!�(� (�� �$!!$+�#� (�' '�

� &��(� ���&�&��'

� ���#� ����'' �$& � �'�& �&$��!� )'�#� ��� � ��

� ���#� ����'' �$& � �'�& �&$��!� )'�#� ��� � �

� $%- �(� ($ �$)& �*�!$%"�#( �#*�&$#"�#(

Page 44: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–8 A8.1 (8/97)

J.D. Edwards Libraries

�# !)&)0$(" &$�+�+$ , �+ � &$/ + � 0$-# ���� �0�+�, ,)!-0�+ � �# 1 �+ �

� �).+� �$�+�+1 ��������

� ��% �- �$�+�+1 �������

� ��-� �$�+�+1 �������

� �(,-�&& �$�+�+1 ��� ������

� �&�(, �$�+�+1 ��������

� � �.+$-1 �$�+�+1 ����� ��

Source Library (JDFSRC)

�#$, $, -# &$�+�+1 -#�- �)(-�$(, ,).+� �)� � �$-#$( -# ������ &$�+�+1� ���� �0�+�, #�, -#+ '.&-$2' '� + ,).+� !$& ,� �# ,).+� !$& , �(� -# $+ �)(- (-,�+ $&&.,-+�- � � &)0�

�# !$& �� ��� �)(-�$(, -# ,).+� �)� !)+�

�� ��� �+)"+�',

�� �+$(- + !$& ,

�� Display files

�� �� �+)"+�',

�� ��� !)+ &)"$��& !$& ,

�� ��� !)+ *#1,$��& !$& ,

�# !$& �� ��� �)(-�$(, -# ,).+� �)� !)+ �)'')( ,.�+).-$( ,

�# !$& ��������� �)(-�$(, *+ 2�)'*$& + �)''�(�,

�� �#$, $, ., � -) �)'*$& ���� �0�+�, *+)"+�',

LIBRARY

FXX FXX FXX

FXX FXX FXX

ÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎ

JDESRC

ÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎ

JDECPY

ÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎ

F98CRTCMD

Page 45: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–9

Object Library (JDFOBJ)

�!� '�#��+ $"�)�)0 �'&+�"&* �/��,+��$� '�#��+* �') 0',) ���� ��.�)�* *'�+.�)��

� ��� ()' )�%*

� � ()' )�%*

� �"*($�0 �"$�*

� ��(')+ �"$�*

Data Library (JDFDATA)

�!� ��+� $"�)�)0 �'&+�"&* ��+� �"$�* �') 0',) ���� ��.�)�* *'�+.�)� ��"$�* "& +!"*$"�)�)0 �'&+�"& +�*+ ��+� ()'-"��� �0 ���� ��.�)�*��

Install Library (JDEINSTAL)

�!� "&*+�$$ $"�)�)0 "* ,*�� +' "&*+�$$ ()' )�%* �&� *'�+.�)� +!�+ ,( )��� ������.�)�* *'�+.�)��

Plans Library (JDFINS)

�!� $"�)�)0 "* ,*�� +' ($�& !'. +' ,( )��� ���� ��.�)�* *'�+.�)��

Security Library (CLTSEC)

�', ��& �)��+� � *��,)"+0 $"�)�)0 +!�+ "* *!�)�� ��)'** �$$ �&-")'&%�&+*� �!���&��"+ '� !�-"& � *��,)"+0 $"�)�)0 "* +!�+ 0', �&+�) � ,*�) ()'�"$� '&$0 '&�� +'!�-� ����** +' �&0 �&-")'&%�&+� �!� �'$$'."& �"$�* %,*+ �/"*+ "& +!� *��,)"+0$"�)�)0�

� �*�) $"�)�)0 $"*+ �������

� �"�)�)0 $"*+ �'&+)'$ ������

� �"�)�)0 $"*+ %�*+�) ������

� �*�) �)���)�&�� ��������

�& ���"+"'&� �$$ $' "��$ �"$�* �**'�"�+�� ."+! +!� ��'-� �"$�* %,*+ �$*' �/"*+ "& +!�*��,)"+0 $"�)�)0�

Page 46: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–10 A8.1 (8/97)

Production and Development Examples

�!�)� �)� %�&0 .�0* +' *�+ ,( � ()'�,�+"'& �&� ��-�$'(%�&+ �&-")'&%�&+��!� �'$$'."& �)� *'%� �/�%($�*�

Basic Production Environment

��� � � ���� �����

�����

�����

�����

����

����

����

� ��

��� ��%(')�)0 ��+� �"$�*

$"�&+�* '�#��+*

��� ��.�)�* '�#��+*

$"�&+�* �'%%'& �"$�*

$"�&+�* ��+� �"$�*

$"�&+�* *��,)"+0 �"$�*

��� �&�)�$ (,�$"� $"�)�)0

Basic Development Environment

��� � � ��������

�����

�����

�����

�����

����

����

����

����

����

����

� ��

��� ��%(')�)0 ��+� �"$�*

�-�$'(%�&+ '�#��+*

$"�&+�* '�#��+*

��� ��.�)�* '�#��+*

�-�$'(%�&+ �'%%'& �"$�*

�-�$'(%�&+ ��+� �"$�*

$"�&+�* *��,)"+0 �"$�*

�-�$'(%�&+ *',)�� �"$�*

$"�&+�* *',)�� �"$�*

��� ��.�)�* *',)�� �"$�*

��� �&�)�$ (,�$"� $"�)�)0

�$$ %'�"�"��+"'&* �&� +�*+* �)� (�)�')%�� "& +!� ��-�$'(%�&+ �&-")'&%�&+ ."+!+!� ()' )�%�* '�#��+ �&� *',)�� )�*"�"& "& ����� �&� ����� ��+�) 0',�'%($�+� +!� +�*+"& � +!� ()' )�%�* '�#��+ "* %'-�� �)'% ����� +' ������&� +!� *',)�� "* %'-�� �)'% ���� +' ����� �', %,*+ �)��+� � *�(�)�+���+� �&� �'%%'& $"�)�)0 ����� �&� ����� +' �&*,)� +!�+ �&0 ��+��!�& �* �,)"& +�*+"& "& +!� ��-�$'(%�&+ �&-")'&%�&+ �' &'+ �����+ $"-� ��+� "&+!� ()'�,�+"'& �&-")'&%�&+�

Page 47: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–11

No Source in Production Environment and a Common Shared Library

���� ����������

�� ��

�����

�����

������

������

�����

���� �

����

�� �!),+-�-4 �/� "%(!.

�(%!*/�. +�&!�/.

���� 2�- . +�&!�/.

�(%!*/�. �+))+* "%(!.

�+))+* 0*�$�*#! "%(!.

�(%!*/�. �/� "%(!.

�(%!*/�. .!�0-%/4 "%(!.

�� #!*!-�( ,0�(%� (%�-�-4

Basic Development Environment with a Shared Common

���� ����������

�� ��

� ���

�����

�����

� ����

������

� ���

���� �

� ����

������

������

����

�� �!),+-�-4 �/� "%(!.

�!1!(+,)!*/ +�&!�/.

�(%!*/�. +�&!�/.

���� 2�- . +�&!�/.

�!1!(+,)!*/ �+))+* "%(!.

�+))+* 0*�$�*#! "%(!.

�!1!(+,)!*/ �/� "%(!.

�(%!*/�. .!�0-%/4 "%(!.

�!1!(+,)!*/ .+0-�! "%(!.

�(%!*/�. .+0-�! "%(!.

���� 2�- . .+0-�! "%(!.

�� #!*!-�( ,0�(%� (%�-�-4

�+ .+0-�! (%�-�-%!. !3%./ %* /$! ,-+ 0�/%+* !*1%-+*)!*/ �!��0.! .+0-�! �+ ! %.*+/ *!�!..�-4 /+ -0* ���� 2�- . ,-+#-�).� �$%. )�'!. /$! ,-+ 0�/%+*!*1%-+*)!*/ !�.%!- /+ )�%*/�%*� �$! +*(4 -!./-%�/%+* %. /$�/ 0.!-. %* /$!,-+ 0�/%+* !*1%-+*)!*/ ��**+/ 1%!2 .+0-�! �+ !� *+/$!- %""!-!*�! %. /$�/ �/$%- .$�-! �+))+* (%�-�-4 �������� $�. �!!* � ! /+ /$! !*1%-+*)!*/.��$%. (%�-�-4 �+*/�%*. �+))+* "%(!. 2$+.! �/� %. *+/ �$�*#! 0-%*# /$! /!./%*#,-+�!.. ��+- !3�),(!� ���� ���� 4 $�1%*# /$%. /4,! +" �+))+* (%�-�-4 *+/+*(4 �-! /$! !*1%-+*)!*/. !�.4 /+ )�%*/�%*� �0/ 4+0 .�1! �+*.% !-��(! )��$%*!-!.+0-�!.�

Page 48: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–12 A8.1 (8/97)

One Development Source and Object Library

���� ����������

����

������

�����

���

�����

������

�����

�����

������

����

����

��� ��$'&(�(. ��*� � #�)

�# �%*�) )&+(�� �%� &�!��*) +%��( $&� � ��* &%

�# �%*�) &�!��*)

��� �-�(�) &�!��*)

��,�#&'$�%* �&$$&% � #�)

�&$$&% +%���%��� � #�)

��,�#&'$�%* ��*� � #�)

�# �%*�) )��+( *. � #�)

�# �%*�) )&+(�� � #�)

��� �-�(�) )&+(�� � #�)

��� ��%�(�# '+�# � # �(�(.

���� �%� ����� ��,� ���% �&$� %�� %*& &%� # �(�(. ��##�� ��������� ) # �(�(. �&%*� %) �&*� )&+(�� �&�� �%� �&$' #�� &�!��*) �&( '(&�(�$) -� #�*��. �(� �� %� $&� � �� �%� *�)*��� ��*�( *�)* %�� *�� '(&�(�$ &�!��*) �(� $&,��*& ����� �%� )&+(�� �&�� ) $&,�� *& ������� ��� '+('&)� &� ��, %� &%�&�!��* �%� )&+(�� �&�� # �(�(. # "� ������ ) *& ) $'# �. *�� ��,�#&'$�%*# �(�(. # )* �. ��, %� &%� '#��� -��(� �## $&� � ��* &%) �%� *�)* %� *�"�) '#����

Page 49: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–13

Creating Libraries

&��(� (�� �$!!$+�#� !��&�&��'�

� $""$# �#� ��(� !��&�&��'

� �*�!$%"�#( $� ��( !��&�&-

� �*�!$%"�#( '$)&�� !��&�&-

�� -$) �&��(� � �$""$# !��&�&- ������� �� ')&� ($ '%����- �( ���� (�"� -$)�&��(� (�� $(��& ��*�!$%"�#( !��&�&��'� �� -$) �$ #$( '%����- (�� �$""$# !��&�&-���� (�"�� (�� ��!�' �&� �&��(�� �# -$)& ��*�!$%"�#( !��&�&-�

�$)& �$""$# !��&�&- '�$)!� �$#(��# ��!�' +�(� ��(� (��( �$�' #$( ���#������)'� $� ��*�!$%"�#( ��(�*�(��' ��$& �,�"%!�� �!% �#'(&)�(�$#' ��'(�&�� ��(��&� �' � %$''���!�(- $� (�� ��(� ���#��#�� -$) '�$)!� %!��� (�� ��!� �# -$)& (�'(��(� !��&�&- ������� �- �$�#� (��'� -$) �&� �#')!�(�#� (�� �#� )'�&' �&$"���#��' �# (�� ��*�!$%"�#( �#*�&$#"�#(�

��� �%%�#��, �� $""$# �#� �&$�)�(�$# ���&�&- ��!�'� �$& � !�'( $� �$""$#�#� %&$�)�(�$# ��!�'�

Page 50: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–14 A8.1 (8/97)

Creating Common and Data Libraries

�). 0#&& �+��-� -"� &#�+�+#�, -"�- �)(-�#( �)'')( ��-� #&�, ���� ��� �(� -�,-��-� #&�, ���������

�� ���� ����� � � ���� ������

�+)' -"� ��-� ��,� ��(�!�'�(- '�(.� ,�&��- ��-� �#�+�+#�,� �"#, �#,*&�1, -"� )&&)0#(! )+'�

98312 Create User Data Libraries Form ID. . . . P98102 Version. . . . ZJDE0001 Create Production Environment This job has various options described below. Enter the desired values and press ENTER to continue. Enter the “FROM” Library where data is to be copied from (e.g JDFDATA). JDFDATA Enter the “TO” Production Library where you are creating files (e.g. PRODLIB). DEVDTA Enter the “TO” Common Library where you are creating common files (e.g. COMMON) DEVCOM If you do not enter a Common library all common files will be created in the Production Library.

F5=Printer Overrides

��� ����� ���

��&��-#)( /�&.� �"� &#�+�+1 �)(-�#(#(! -"� ��-� -) �� �)*#���

����.,� 1). �+� �+��-#(! ��/�&)*'�(- &#�+�+#�,� -1*� -"�

��/�&)*'�(- &#�+�+1 (�'��

� 1). 0�(- -) �+��-� � �)'')( &#�+�+1� 1). '.,- ,*��# 1

-"� �)'')( &#�+�+1 (�'�� � 1). &��/� -"#, #�&� �&�(%�

-"� ,1,-�' �+��-�, -"� �)'')( #&�, #( -"� ��/�&)*'�(-

�#�+�+1 1). ,*��# #�� #( -"� ,-�* ��)/��

�� )'*&�-� -"� +��-� �,�+ ��-� �#�+�+#�, )+'

� �(�� 1). �)++��-&1 �)'*&�-� -"� )+' �(� *+�,, �(-�+� -"� $)�

������ #, ,.�'#--�� -) ��-�"�

Page 51: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–15

�� ����� ��� ���� ���� ��� ��� �� ��� ���������� � �������� ������

�� ������ ��������� �

� ������ ��� ��������

� ������ ��� �� ���� � ������ ����� ��� ����� �� ������� �� ���

������ �����

� ������ ��� �� ���� � ������ ����� ������� ��� ��������� ������� ��

��� ���������� �����

� ������ ��� �� ���� � ������ ����� ��� ������ ���������� �� ���

���������� �����

� �������� ������� �� � ����� �� ��� �� ����� ������� � ���� ����� �����

� �� � ����� ����� ��� ���� �����

� �������� ������ �� � ����� �� ��� ������� ������ �� ������ �������

�� ��� ����� �� ������� �� ��� �� �� �������� �� ��� ����� �� �����

Page 52: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–16 A8.1 (8/97)

Creating a Development Object Library

�� ���� � ����� �� ����� ������

�&$" (�� �(� ��'� ��#���"�#( "�#)� (,%� (�� �$""�#� &��(� ���&�&,���� �� �#� %&�'' ���

Create Library (CRTLIB) Type choices, press Enter. Library . . . . . . . . . . . . DEVOBJ Name Library type . . . . . . . . . . *TEST *PROD, *TEST Text ’description’ . . . . . . . *BLANK

Bottom F3=Exit F4=Prompt F5=Refresh F10=Additional parameters F12=Cancel F13=How to use this display F24=More keys

��� ����������

���&�&, ��"� �$)& ��*�!$%"�#( $� ��( !��&�&, #�"��

�,%� $� ���)&�(, ���� $& �����

��+( �)"��& ��� ��'�&�%(�$# $� ,$)& !��&�&,

Page 53: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–17

Creating a Development Source Library

�( �*��,� ,"� ��.�%()&�', +(-*�� %#�*�*1 �������� 1(- �*��,� � +(-*���'.#*('&�', �'� � +(-*�� )"1+#��% #%�� �"� +(-*�� )"1+#��% #%� #+ ,"� �*(!*�&�(-*�� #%� �������� �%% ���� ��/�*�+ +(-*�� )*(!*�&+ �*� %(��,�� #' ,"������ #%��

�"�*� �*� ,/( )(++#�%� &�,"(�+ ,( �*��,� ,"� ����� #%�� �(- &-+, ��,�*&#'� # 1(- "�.� ,"� ���� ��/�*�+ �*(!*�& ��'�*�,(* �'� ,"�' �"((+� ,"� �))*()*#�,�&�,"(��

�� ���� � ������ � ����� ������

*(& ,"� ��,� �+� ��'�!�&�', &�'-� ,1)� ,"� �(&&�'� *��,� �#�*�*1������ �'� )*�++ ��

Create Library (CRTLIB) Type choices, press Enter. Library . . . . . . . . . . . . DEVSRC Name Library type . . . . . . . . . . *TEST *PROD, *TEST Text ’description’ . . . . . . . *BLANK

Bottom F3=Exit F4=Prompt F5=Refresh F10=Additional parameters F12=Cancel F13=How to use this display F24=More keys

��� ����� ���

�#�*�*1 ��&� �(-* ��.�%()&�', (�$��, %#�*�*1 '�&��

�1)� ( ���-*#,1 ����� (* �����

��0, �-&��* �"� ��+�*#),#(' ( 1(-* %#�*�*1

Page 54: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–18 A8.1 (8/97)

Creating JDESRC with J.D. Edwards Program Generator

�&#* � ,.+%.�) '/ )+2#" '*0+ ,.+"1!0'+* �0 ���� �"3�."/� 0&# .#!+." (#*%0& '/ 50#/� �$ 5+1 &�2# ���� �"3�."�/ �.+%.�) �#*#.�0+. ,.+"1!0� 0&# ,.+%.�)/+1.!# $'(# $+.)�0 )1/0 # � 50#/ 0+ �((+3 $+. 0&# �.+%.�) �#*#.�0+. �#.'�(�1) #. �*" �""'0'+*�( .#-1'.#" "�0��

�� ��� �� ����� ���� ���� ��� ��� ���� � ����� ���

� �+ !+,5 �* #4'/0'*% $'(# 3'0& 0&# !+..#!0 $+.)�0 �� ����� 05,# 0&# �+,5�'(# !+))�*" ������ �*" ,.#// ��

Copy File (CPYF) Type choices, press Enter. From file . . . . . . . . . . . F93002 Name Library . . . . . . . . . . . *LIBL Name, *LIBL, *CURLIB To file . . . . . . . . . . . . JDESRC Name, *PRINT Library . . . . . . . . . . . DEVSRC Name, *LIBL, *CURLIB From member . . . . . . . . . . *FIRST Name, generic*, *FIRST, *ALL To member or label . . . . . . . *FIRST Name, *FIRST, *FROMMBR Replace or add records . . . . . *NONE *NONE, *ADD, *REPLACE Create file . . . . . . . . . . *YES *NO, *YES Print format . . . . . . . . . . *CHAR *CHAR, *HEX

Bottom F3=Exit F4=Prompt F5=Refresh F10=Additional parameters F12=Cancel F13=How to use this display F24=More keys

����� ���� � ����

�.+) $'(# �&# $'(# �*" (' .�.5 !+*0�'*'*% 0&# "�0� 0+ # !+,'#"� �&#

$'(# '/ � ��� �*" 0&# (' .�.5 !�* "#$�1(0 0+ ������

�+ $'(# �&# *�)# +$ 0&# /+1.!# $'(# �*" 5+1. "#2#(+,)#*0 /+1.!#

(' .�.5� �#*#.�((5� 0&# $'(# '/ ������ �*" 0&# (' .�.5 '/

�������

�.+) )#) #. �&# )#) #. *�)# 0&�0 3'(( # 0&# #%'**'*% +$ 0&# !+,5

,.+!#//� �#*#.�((5� 0&'/ 2�(1# '/ �������

�+ )#) #. +. (� #( �&# )#) #. *�)# 0&�0 3'(( # 0&# #%'**'*% +$ 0&#

.#!#'2'*% ,.+!#//� �#*#.�((5� 0&'/ 2�(1# '/ �������

Page 55: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–19

����� ���������

� ($�� ') ��� ) �')�* �( �#!# * ." +" ) +" ) �')�* �'(# � *"',$� ) ($�� ') �

��� � +' +" ) �')�* #& +" �� !#$ � �& +"#* ��* *#&� +"

�� !#$ �' * &'+ /#*+� +"#* -�$, #* ������

�) �+ !#$ �( �#!# * ." +" ) +" �� !#$ �' * &'+ /#*+ �&� & �* +'

� �) �+ �� �"#* -�$, #* �����

�)#&+ !')%�+ �( �#!# * ." +" ) +" �"�)��+ )* �) ()#&+ � #& �"�)��+ ) ')

�"�)��+ ) �&� " /�� �#%�$ !')%�+� �"#* '(+#'& '&$0

�(($# * #! +" �� !#$ #* �������

�� �' ) %'- +" %(+0 % %� ) �'(# � !)'% � ����� +0( +" � %'- � %� ) �'%%�&� ������ �&� () ** ��

Remove Member (RMVM) Type choices, press Enter. Data base file . . . . . . . . . JDESRC Name Library . . . . . . . . . . . DEVSRC Name, *LIBL, *CURLIB Member . . . . . . . . . . . . . F93002 Name, generic*, *ALL

Bottom F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display F24=More keys

����� ���������

�+� ��* !#$ �0( +" *',)� !#$ �&� 0',) � - $'(% &+ *',)� $#�)�)0

+"�+ �'&+�#&* +" ) �')� +' � ) %'- �� � & )�$$0� +"#* !#$

#* � ���� �&� +" $#�)�)0 #* ������

� %� ) �0( +" &�% '! +" ) �')� +"�+ #* +' � ) %'- �� �"#* #*

������

Page 56: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–20 A8.1 (8/97)

Creating JDESRC Without the Program Generator

�! 1(- �� ��� #�. �� � ��/�*��+ �*("*�& � ' *�,(* )*(�-�,� ,# )*("*�&+(-*� !$% !(*&�, ��' * &�$' �, � �1, +� �+ $, $+ /# ' � )*("*�& $+ &(. � $',()*(�-�,$(' �, �� � ��/�*�+� �( �* �, ,# � ���� !$% /$,# � � �1, * �(*�!(*&�,� 1(- ��' 0 �-, ,# �* �, �(-*� �#1+$��% �$% �(&&�'� �����������

�� ����� ���� ������� ��� ������� ���������

�� �1) ,# �* �, �(-*� �#1+$��% �$% �(&&�'� ���������� �'� )* ++ ��

Create Source Physical File (CRTSRCPF) Type choices, press Enter. File . . . . . . . . . . . . . . JDESRC Name Library . . . . . . . . . . . DEVSRC Name, *CURLIB Record length . . . . . . . . . 92 Number Member, if desired . . . . . . . *NONE Name, *NONE, *FILE Text ’description’ . . . . . . . *BLANK

Bottom F3=Exit F4=Prompt F5=Refresh F10=Additional parameters F12=Cancel F13=How to use this display F24=More keys

����� �����������

�$% �# +(-*� !$% �'� 1(-* � . %()& ', +(-*� %$�*�*1 ,#�,

�(',�$'+ ,# * �(*� ,( � * &(. �� � ' *�%%1� ,#$+ !$% $+

� ���� �'� ,# %$�*�*1 $+ ������

� �(*� � '",# �# '-&� * (! �1, + $' ,# % '",# (! ,# * �(*�+ ,( �

+,(* � $' ,# +(-*� !$% � �#$+ .�%- $+ ��

� &� *� $! � +$* � �# & &� * ,( � ��� � ,( ,# +(-*� !$% � � ' *�%%1�

,#$+ & &� * $+ % !, ,( ������

� 0, +�*$),$(' �# � +�*$),$(' (! 1(-* +(-*� !$% �

Page 57: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–21

About User Profiles

�%* #*() �'��)� &'%�!"�( ) �) �""%, *(�'( )% �+� ����(( )% $�, �$+!'%$#�$)(�

� �'� �'� ),% (�&�'�)� #�) %�( )% ���!$!$� ����(( )% �$ �$+!'%$#�$)� � �#�) %� -%* � %%(� ��&�$�( *&%$ , �) �' ) � �(�' �'%�!"� ����((�( ���� �,�'�( (%�),�'� *(!$� ������ %' �������

Defining Access for a User Profile using J98INITA

�� -%* �'� �""%,!$� ����(( )% -%*' ��+�"%&#�$) �$+!'%$#�$) �%' � *(�' &'%�!"�) �) !( *(!$� ������� -%* #*() ���!$� � ��+�"%&#�$) �$+!'%$#�$) "!�'�'- "!()$�#�� �$ ���!)!%$� ) � �(�' �!�$%$ �!() #*() �%$)�!$ ) � ��+�"%&#�$) $+!'%$#�$) �!�'�'- �!() $�#��

�� �� ��� ��� �� ���� ��� ��� ����� ��������

�� ��"��) �!�'�'- �!() ��+!(!%$(� �'%# ) � �!�'�'- �!() �%$)'%" #�$* ������

0094 Library List Revisions Action Code. . . . . I Library List Name. . TEST Description. . . . . Technical Training Example Menu Program ID. . . P00MENU Library List . . . . QTEMP DEVOBJ CLTOBJ JDFOBJ DEVDTA DEVCOM DEVSRC CLTSRCJDFSRC QGPL F21=Print Library List F9=Library Search

Page 58: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–22 A8.1 (8/97)

�� �� ������ ��� ������! ���� �� ���� ����� ������ ���� ����� ���� �� ���������� ��� ������! ���� ������ ���� ������

0093 User Signon List Revisions Action Code. . I User ID. . . . FRAZZINI Seq Library Sign–on Number List Menu Description 5.00 PRISTINE A92 MASTER PRISTINE DATA LIBL 10.00 A52DEV A92 A5.2 Case Cert & G Development 11.00 PGMGEN A92 Testing A52 Program Generator 20.00 TECPROG A92 * List Name Not in Master File 30.00 TECOV A92 Testing A52 Tech Foundations 55.00 KBGCASE A92 * List Name Not in Master File __________

Page 59: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–23

Defining Access for a User Profile Using J98INIT

�# 2*/ �," �''*1&)$ � "-- .* 2*/, !"0"'*+("). ")0&,*)("). #*, � /-", +,*#&'".%�. &- /-&)$ ������� 2*/ (/-. !"#&)" � )"1 '&�,�,2 '&-.�

�� � ��� �� �� ��� � � ������ ����� �������

�� �"'" . �-", �)#*,(�.&*) ��-", �"2-�� #,*( .%" �" /,&.2 �##& ", (")/�����

0092 User Information Action Code. . . . . I User ID. . . . . . . . . . . . . . . TEACH Library List . . . . . . . . . . . . QTEMP DEVOBJ CLTOBJ JDFOBJ DEVDTA DEVCOMDEVSRC CLTSRC JDFSRC SECURITY QGPL

User Security: A J K DP F User Key . . . . . . . . . . . . Allow Command Entry (Y/N). Initial Menu to Execute. . . . . A Allow Menu Traveling (Y/N) Initial Program to Execute . . . Allow Fast Path (Y/N). . . Menu Level . . . . . . . . . . . . . User Type. . . . . . . . . . . . . . User Class/Group . . . . . . . . . . Batch Job Queue. . . . . . . . . . . QBATCH Job Scheduling Priority. . . . . . . 5 5 Logging(level/severity/messages) . . 4 00 *NOLIST Output Queue . . . . . . . . . . . . QPRINT Optional Printer File Library. . . . Current Library. . . . . . . . . . . Employee Address Number (PPAT) . . . Set Attention Program. . . . . . . . F6=Display/Lang Pref F9=Library Inquiry F21=Print Lib List F24=More

�� % /-", +,*#&'" #*, .%" �� � �!1�,!- -*#.1�," (/-. %�0" �) ��� +,*#&'"� �*!"#&)" �) ��� +,*#&'"� /-" .%" *((�)!� �,"�." �-", �,*#&'" ������������

�� % /-", +,*#&'" #*, .%" �� � �!1�,!- -*#.1�," (/-. %�0" �) ��� +,*#&'"� �*!"#&)" �) ��� +,*#&'"� /-" .%" *((�)!� �,"�." �-", �,*#&'" ������������

Copy Data to Your Development Environment

�*/ �) /-" -"0",�' (".%*!- .* *+2 !�.� .* 2*/, !"0"'*+("). ")0&,*)(").��%" (".%*! 2*/ %**-" -%*/'! !"+")! /+*) %*1 (/ % !�.� 2*/ )""! .* *+2.* 2*/, !"0"'*+("). ")0&,*)(").� �*/ (�2 *+2 .%" #*''*1&)$

� �&�,�,&"-

Page 60: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–24 A8.1 (8/97)

� � �&

� ���#%�&

� ��� ���#%� �,$�&

Copying a Library

�� ,#( "��� '# �($ ���'� &�)�%� �� �& �" ,#(% ��)� #$!�"' �")�%#"!�"' ,#( ��"�#$, #"� #% !#%� ��%�%��&�

� � �� � ������

�� �# ��&$ �, '�� $�%�!�'�%&� ',$� '�� #$, ���%�%, �#!!�"� ������ �"�$%�&& ��

Copy Library (CPYLIB) Type choices, press Enter. Existing library . . . . . . . . __________ Name New library . . . . . . . . . . __________ Name Create library . . . . . . . . . *YES *NO, *YES

�� ,#( (&� ����� ,#( !(&' %��(� � ,#(% ����&& $�'�&� �", �� �& '��' �%� �" (&��%� "#' �#$����

��� �������� �

�+�&'�"� ���%�%, ��� ��%�%, '# �� �#$��� �" ,#(% �%#�(�'�#" �")�%#"!�"'�

��* ���%�%, ��� "�* ��%�%, '��' *� �� (&�� �" ,#(% ��)� #$!�"'

�")�%#"!�"'

%��'� ���%�%, �$������& *��'��% '�� ��* ���%�%, �#�& "#' �+�&' �"�

"���& '# �� �%��'���

Page 61: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–25

Copying a File

� 0', &��� +' �'(0 *(��# #� #$�* )'% � $#�)�)0 #& 0',) ()'�,�+#'& �&-#)'&%�&++' � $#�)�)0 #& 0',) ��-�$'(%�&+ �&-#)'&%�&+� 0', ,*� +"� ���� ��.�)�* �'(0 #$� ,+#$#+0�

� �� � ����

�� �)'% +"� ��+� ��*� ��&�!�%�&+ %�&, ������ *�$��+ �'(0 ��+� #$�*�

�&+�) +"� *0*+�% �'��� +"� $#�)�)0 +' �'(0 +"� ��+� )'%� �&� +"� $#�)�)0 +'�'(0 +"� ��+� +'�

�� �"�& +0(� � � &�/+ +' +"� #$�* 0', .#*" +' �'(0�

98101 Copy Data Files

Enter System Code. . . 01 Address Book

Library Name: From . . JDFDATA To . . PROD

Sel File Name File Type Description 1 F0070 PHYSICAL Country Constants Master File 1 F009101 PHYSICAL Word Search Occurrence Master 1 F0101 PHYSICAL Address Book Master 1 F0101A PHYSICAL Address Book Master File Audit Log 1 F0101XX PHYSICAL Address Book Master 1 F0101Z1 PHYSICAL Address Book – Batch File F01090 PHYSICAL Supplemental Data Base – CORE F01092 PHYSICAL Supplemental Data Base – Code F01093 PHYSICAL Supplemental Data Base – Narrative F01094 PHYSICAL User Sequence Preference F0111 PHYSICAL Address Book – Who’s Who F0114 PHYSICAL Address Book Memo/Text Information F0114W PHYSICAL WF – Memo Information Work File F0116 PHYSICAL Address Book Locations F01800 PHYSICAL Address Book Word Search Master

Opt: 1=Copy Data File

$$ )��')�* #& +"'*� *(��# #�� #$�* .#$$ �� �'(#���

�"�& ,*#&! +"#* ,+#$#+0� �� *,)� +' �'(0 �$$ )�$�+�� #$�*�

����� �"�& ,*#&! +"#* ,+#$#+0� �� *,)� +' �'(0 �$$ )�$�+�� #$�*�

Page 62: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–26 A8.1 (8/97)

Copying a Record

�� &�" $� � !� ���& � ���� $�!� ���& ����!�� ������ � " � !�� ��& ���������� �����

�� �� � � ������

�� �&�� !�� ��& ��� ������� �����

Copy File (CPYF)

Type choices, press Enter.

From file . . . . . . . . . . . F0101 Name Library . . . . . . . . . . . CLTDTA Name, *LIBL, *CURLIBTo file . . . . . . . . . . . . F0101 Name, *PRINT Library . . . . . . . . . . . DEVDTA Name, *LIBL, *CURLIBFrom member . . . . . . . . . . *FIRST Name, generic*, *FIRST, *ALLTo member or label . . . . . . . *FROMMBR Name, *FIRST, *FROMMBRReplace or add records . . . . . *ADD *NONE, *ADD, *REPLACECreate file . . . . . . . . . . *NO *NO, *YESPrint format . . . . . . . . . . *CHAR *CHAR, *HEX Additional Parameters Which records to print . . . . . *NONE *NONE, *EXCLD, *COPIED Record format of logical file . *ONLY Name, *ONLY, *ALL Copy from record number . . . . 365 Number, *START More...F3=Exit F4=Prompt F5=Refresh F10=Additional parameters F12=CancelF13=How to use this display F24=More keys

�� ��� �� !� �� ���& ����!����� ������!�� �

��� �� ������

��� ���� ��� ���� ��� ������& ���!������ !�� ��!� !� �� �������

�� ���� ��� ���� �� !�� ���� ��� &�"� ��#�������! ������& !��

��!� $��� �� ������ !��

��� ������ ��� ������ ���� !��! $��� �� !�� ��������� �� !�� ���&

����� �

�� ������ �� ����� ��� ������ ���� !��! $��� �� !�� ��������� �� !��

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

������ �� ��� ������ �������� $��!��� !�� ������ ������ ��"�� ������� �� ��

����� !� !�� ������ �� !�� �� �����

���!� ���� �������� $��!��� !�� �� ���� ��� ��! �%� ! ��� ���� !�

�� ����!���

Page 63: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–27

����� ���������

���� ������ ��������� !������ ��� ���������� ��� ������� �� ��������� ��

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

������� �� ��� �� ���� �� ���� �

���# ���� ������ � ���� ��������� ��� ������ � ���� ���� !���� �� ����� ��� ���#�

�� ������ � ��� ����� ��� ������ � ���� �� ��� ������ �� !���� #� !��� �����#�

� �� ���# �� ������ � ���� �� ��� ����� �� !���� #� ������# ���

������ � ���� �� ��� ���� ������ �� �� �������

Copy File (CPYF) Type choices, press Enter. Copy to record number . . . . . 365 Number, *END Copy from record key: Number of key fields . . . . . *NONE Number, *NONE, *BLDKEY Key value . . . . . . . . . . + for more values More... F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display F24=More keys

����� ���������

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

�������

���# ���� ������ ��# ��# ������� !��� ���#��� � ���� !��� ��#�� �������

Page 64: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–28 A8.1 (8/97)

Copying J.D. Edwards Record Types

�+0 �* +,3 �*3 +# /%" #+((+2&*$ -" +-! /3,".�

� �+ ��0(�-3 �1"--&!".

� ��/� �& /&+*�-3

� �+#/2�-" �*1"*/+-3 �"1&.&+*.

� �."- �"#&*"! �+!"

� ��� � �-&/"-

� �"*0

� �"*"-& ��/"��.$

�� ��� � ���� ����� ���� ����

�-+) /%" �"1"(+,"-�. �+-'�"* % )"*0 ����� +- �",+.&/+-3 �"-1& ". %++."�+,3 ������������������"*0.�

99630 Copy DD,VO,DW,UDC,SVR,Menus From Library . . . . . CLTCOM To Library . . . . . . DEVCOM Dictionary Item. . . . AN8 Language . Appl Ovr. Scrn/Rpt. Vocabulary Overrides . Language . DREAM Writer Form. . . Language . User Def Codes Sys . . Language . Type. . Software Versions Rep. Menu Identification. . Language . Generic Rate/Msg Sys Type F24=More

��� ��� �������

�-+) �&�-�-3 �%" (&�-�-3 +*/�&*&*$ /%" !�/� /+ �" +,&"!�

�+ �&�-�-3 �%" (&�-�-3 &* 3+0- �"1"(+,)"*/ �*1&-+*)"*/ /+ -" "&1"

/%" !�/��

Page 65: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–29

����� ���������

�("1(,+ /6 �1$* �'$ ��� # 1 + *$� �'(0 # 1 %($)# ' 0 !$$+ 0$1 2- 0

�7!61$ %($)# %,/ %212/$ 20$� �2//$+1)6� (1 (0 /$01/("1$# 1, �

!61$0 0, 1' 1� 4'$+ -/$"$#$# !6 7!61$ %()$ -/$%(5� 1'$

��� # 1 + *$ #,$0 +,1 $5"$$# � !61$0�

�(1'(+ 1'$ � 1 �("1(,+ /6� )) # 1 (1$*0 /$ /$%$/$+"$#

!6 1'(0 �7!61$ # 1 + *$� �0 1'$6 /$ 20$# (+ # 1 ! 0$

1 !)$0� 7"' / "1$/ -/$%(5 (0 ##$# 1, "/$ 1$ 2+(.2$ # 1

+ *$0 (+ $ "' 1 !)$ 0-$"(%(" 1(,+ ������ �-$"( )

"' / "1$/0 /$ +,1 )),4$# 0 - /1 ,% 1'$ # 1 (1$* + *$�

4(1' 1'$ $5"$-1(,+ ,% �� � ��

�,2 " + "/$ 1$ -/,1$"1$# # 1 + *$0 !6 20(+& �555 +#

555� 4'$/$ 6,2 #$%(+$ 555�

�$00 &$0 " + ",+1 (+ 2- 1, � "' / "1$/0� �6-$0 ,%

*$00 &$0 /$ %2/1'$/ #$%(+$# !6 &),00 /6 &/,2-�

�," !2) /6 �3$//(#$0 �'$ + *$ ,% 1'$ 0"/$$+ ,/ /$-,/1 /$",/# 1, !$ ",-($#� �))

/$",/#0 %,/ 0,%1 ",#(+& 4()) !$ ",-($#�

����� �/(1$/ �,/* �'$ + *$ ,% 1'$ ����� �/(1$/ �,/* �� 1, !$ ",-($#� �))

3$/0(,+0 ,% 1'$ 0-$"(%($# %,/* 4()) !$ ",-($#�

�0$/ �$% �,#$0 �60 �'$ 0601$* ",#$ +# 16-$ ,% 1'$ 1 !)$ 1, !$ ",-($#� �))

3 )2$0 %,/ 1'$ 0-$"(%($# 1 !)$ 4()) !$ ",-($#�

�,%14 /$ �$/0(,+0 �$- �'$ /$",/# ,% 1'$ �,%14 /$ �$/0(,+0 �$-,0(1,/6 *$*!$/ 1,

!$ ",-($#�

�$+2 �#$+1(%(" 1(,+ �'$ *$+2 �� +# 1'$ #(0-) 6 ) +&2 &$ ,% 1'$ /$",/# 1, !$

",-($#�

�,2 " + $+1$/ +# ",-6 ,+)6 ,+$ (1$* 1 1(*$� �% 1'$ (1$* $5(010 (+ 1'$ �,�(!/ /6� (1 (0 /$-) "$#�

Page 66: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–30 A8.1 (8/97)

Page 67: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–31

Project Management

About Project Management

�% #�$��� &(% ��*) /%+ #�/ +)� �%(! �(��( �(%��))�$�� �%+ -�"" &�(�%(# *���%""%-�$� *�)!)

� �$��()*�$� �%(! �(��( �(%��))�$�

� �(��*� �%(! �(��()

� ���)) *�� �����+"�$� �%(!��$��

� �� %( ���$�� (��%(� */&�)

Understanding Work Order Processing

��� �%�*-�(� �*�%$ ��'+�)* �/)*�# ���� �) )��&&�� *% �"��$*) +$��( *�� $�#�%� �%(! �(��( �(%��))�$��

��� �%(! �(��( �(%��))�$�)/)*�# �""%-) /%+ *%

� �(��*� �$� �"�))��/ -%(! %(��() -�*� )�#&"� �+���*) %( �)*�#�*�)

� �����+"� �$� �.&���*� -%(! %(��()

� ��(�%(# �%)* ���%+$*�$� �/ )&������ -%(! %(��() %( ��#�"/ %� -%(! %(��()�

�$"�!� %�) *��* �(� %�*�$ &(�&"�$$�� �$� *�%(%+��"/ �+���*��� -%(! %(��() �(�%�*�$ �%#&"�*�� -�*�%+* *�� &(�%( !$%-"���� %� *�� ���%+$*�$� ��&�(*#�$*��%(! %(��() �(� */&���""/ )&%$*�$�%+) �$� %� )�%(* �+(�*�%$�

�� /%+ &+(���)�� )/)*�# �� ��%(! �(��( �(%��))�$��� /%+ ��,� �"" %� *��&(%�(�#) �))%���*�� -�*� �%(! �(��() ���)�� �� /%+ ��,� $%* &+(���)�� *���%(! �(��( �(%��))�$� )/)*�#� /%+ ��,� %$"/ *�� &(%�(�#) �(%# *�� �%(!�(��( �(%��))�$� )/)*�# *��* �(� ����$�� �) ���$� &�(* %� *�� �$�(�" ���!������ �/)*�# �����

Page 68: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–32 A8.1 (8/97)

Creating Work Orders

�"�,� �,� )(&3 .",�� ,�+/#,�� #�&�- 1"�( �,��.#(! � (�1 1),% ),��,

� �),% �,��, �/'��, � 3)/ �) (). *,)0#�� � 1),% ),��, (/'��,� ."�

-3-.�' �--#!(- )(� �/.)'�.#��&&3�

� �-�,#*.#)( �-"),.�

� �"�,!� .) �/-#(�-- �(#.

�� �� � ���� ��� ��

�,)' ."� �#'*&� �,)$��. ��(�!�'�(. '�(/ ������� -�&��. �#(!&� ��-% �.�#&-�

48014 Single Task Details Parent W.O. No Action Code. . . I W.O.Number . . 289 Description. . . APCS Class Status Comment . Student SAR Charge to BU . 1001 Search X–Ref . . Cost Code. . . Est. Hours . . . 40 Start Date . . 01/03/94 Est. Amount. . . 1,500 Planned Comp . 12/31/94 Phase. . . . . . 55 Reserved for Clients Completed. . . Type . . . . . . 2 Priority . . . . H Status . . . . 10 Tax Expl Code. . 1001 Tax Rate/Area. . Transaction. . 11/12/93 Subledger Inact. 6001 Active Subledger Date Assigned. Customer No. . . Edwards, J.D. Manager. . . . . Allen, Ray Description Option SAR setup for work to be performed during the Advanced Programming Concepts and Skills class Engine REQ125–796 Opt: 1=Insert 9=Del F5=More Desc F8=Cat Codes F21=Print F24=More Keys

What You Should Know About

��� ����� �� ����

� ��� ����

�) ����-- ."� ���� �.�#& ),'� �"))-� �),� �-�,#*.#)(

����

� ������ ��� ��� ��

��� ��

�) -��,�" ), ���,�-- (/'��,- ), ."� �/-.)'�, �/'��,

�(� ��(�!�, #�&�-� �"))-� �),� ��3- ������ ."�( �2#. .)

��'� ���,�"�

Page 69: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–33

����� ���������

��(�$* ���� �% ���) �) *�� &�(�$* -%(! %(��( $+#��(� �%+ ��$ +)� *��)

$+#��( *%�

�� $*�( ����+"* ,�"+�) �%( $�-"/ ����� -%(!

%(��()� �%( �.�#&"�� �/&�� �(�%(�*/� �*�*+)� %(

��$���(�

�� �(%+& -%(! %(��() �%( &(% ��* )�*+& �$�

(�&%(*�$�

�� ��������� ��� ����� � � � � � � � � � � � � � � � � � � � � � � � � � �

�%( �%(! �(��()

���$ /%+ �(��*� � $�- -%(! %(��( +)�$� � &�(�$* -%(!

%(��(� *�� )/)*�# +)�) �$�%(#�*�%$ �(%# *�� &�(�$* -%(!

%(��( �) ����+"* ,�"+�) �%( *�� $�- -%(! %(��(� � /%+

"��,� �$/ %� *��)� �$�%(#�*�%$ ���"�) �"�$! -��$ /%+

�(��*� *�� $�- -%(! %(��(� *�� )/)*�# +)�) *�� ,�"+�)

�(%# *�� &�(�$* -%(! %(��(� ��� %$"/ �$�%(#�*�%$ *��* *��

)/)*�# �%�) $%* +)� �) ����+"* ,�"+�) �(%# *�� &�(�$*

-%(! %(��( �$�"+��)�

� �)�(�&*�%$

� .*�$��� ��)�(�&*�%$

� ��. �%��

� ��. (�*� �$� �(��

� �*� �%#&"�*��

��*�%$ �%�� � �%�� *��* �$����*�) *�� ��*�,�*/ /%+ -�$* *% &�(�%(#�

��"�� �%��) �(��

� ��� $�- (��%(�

� ���$�� �.�)*�$� (��%(�

�"�*� �.�)*�$� (��%(�

$'+�(� %$ �.�)*�$� (��%(�

� $� %� &(%�(�# %( �+$�*�%$

)&��� �"��( *�� �%(#

� /%+ �$*�( � �%�� *��* �) $%* ��*�,�� *�� )/)*�# ����"���*)

*�� �%�� �$� $% ��*�%$ %��+()�

���� �&�$��$� %$ �%- /%+( �%#&�$/ ��) )�* +&

��*�%$ �%�� )��+(�*/� /%+ #���* $%* �� �+*�%(�0�� *% +)�

�"" ��*�%$ �%��)�

�����+#��( ��� $+#��( *��* ���$*����) �$ %(���$�" �%�+#�$*� ���) ��$

�� � ,%+���(� �$ %(��( $+#��(� �$ �$,%���� +$�&&"���

��)�� � %+($�" �$*(/ $+#��(� �$� )% %$�

�)�(�&*�%$ � �(��� ��)�(�&*�%$ %� �$ �*�#� � (�#�(!� %( �$

�.&"�$�*�%$�

�*�*+) �%##�$* � �(��� ��)�(�&*�%$ *% �.&"��$ *�� )*�*+) %� *�� -%(! %(��(�

Page 70: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–34 A8.1 (8/97)

����� ���������

%�/$" 1, �� �+ �)-%�+2*"/& #&")! 1%�1 &!"+1&#&"0 � 0"-�/�1" "+1&16

4&1%&+ � �20&+"00 #,/ 4%& % 6,2 4�+1 1, 1/� ( ,010� �,/

"5�*-)"� � �20&+"00 2+&1 *&$%1 �" � 4�/"%,20" ), �1&,+�

',�� -/,'" 1� 4,/( "+1"/� ,/ �/�+ %�-)�+1�

�,2 �+ �00&$+ � �20&+"00 2+&1 1, � 3,2 %"/� &+3,& "� #&5"!

�00"1� �+! 0, ,+� #,/ -2/-,0"0 ,# /"0-,+0&�&)&16 /"-,/1&+$�

�,/ "5�*-)"� 1%" 0601"* -/,3&!"0 /"-,/10 ,# ,-"+

� ,2+10 -�6��)" �+! � ,2+10 /" "&3��)" �6 �20&+"00

2+&10 1, 1/� ( ".2&-*"+1 �6 /"0-,+0&�)" !"-�/1*"+1�

�" 2/&16 #,/ 1%&0 #&")! �+ -/"3"+1 6,2 #/,* ), �1&+$

�20&+"00 2+&10 #,/ 4%& % 6,2 %�3" +, �21%,/&16�

�,1" �%" 0601"* 20"0 1%&0 3�)2" #,/ �,2/+�) �+1/&"0 &# 6,2

!, +,1 "+1"/ � 3�)2" &+ 1%" ��� 1��)"�

�"�/ % ���"# �+ �)-%�+2*"/& 3�)2" 20"! �0 � /,007/"#"/"+ " ,/

0" ,+!�/6 /"#"/"+ " +2*�"/� �6-& �))6� 1%&0 &0 1%"

201,*"/ +2*�"/� 02--)&"/ +2*�"/� ,/ ',� +2*�"/�

,01 ,!" � 02�!&3&0&,+ ,# �+ ,�'" 1 � ,2+1� �2�0&!&�/6 � ,2+10

&+ )2!" *,/" !"1�&)"! /" ,/!0 ,# 1%" � ,2+1&+$ � 1&3&16

#,/ �+ ,�'" 1 � ,2+1�

�01� �,2/0 �%" "01&*�1"! %,2/0 1%�1 �/" �2!$"1"! #,/ 1%&0 4,/( ,/!"/�

�01� �*,2+1 �%" "01&*�1"! !,))�/ �*,2+1 1%�1 &0 �2!$"1"! #,/ 1%&0

4,/( ,/!"/�

�1�/1 ��1" �%&0 &0 � 01�/1 !�1" 1%�1 6,2 �+ "+1"/� ,/ �+ �21,*�1& 01�/1

!�1" 4%& % 1%" -)�++&+$ 0601"* �) 2)�1"0 20&+$ �

�� (0 %"!2)&+$ /,21&+"� �%" /,21&+" 01�/10 4&1% 1%"

/".2&/"! !�1" �+! ,##0"10 1%" 1,1�) )"�!1&*" 1, �) 2)�1" 1%"

�--/,-/&�1" 01�/1 !�1"�

�&)) !"#�2)1 #/,* 0601"* !�1" ,/ 6,2 �+ "+1"/ � !�1"�

�)�++"! ,*- �%" !�1" 1%" 4,/( ,/!"/ &0 -)�++"! 1, �" ,*-)"1"!�

�%�0" � 20"/ !"#&+"! ,!" ������ 1%�1 &+!& �1"0 1%" 2//"+1

01�$" ,/ -%�0" ,# !"3"),-*"+1 #,/ � 4,/( ,/!"/� �,2 �+

�00&$+ � 4,/( ,/!"/ 1, ,+)6 ,+" -%�0" ,!" �1 � 1&*"�

���� "/1�&+ #,/*0 ,+1�&+ � -/, "00&+$ ,-1&,+ 1%�1

�)),40 6,2 1, "+1"/ � !"#�2)1 3�)2" #,/ 1%&0 #&")!� �# 6,2

"+1"/ � !"#�2)1 3�)2" ,+ � #,/* #,/ 4%& % 6,2 %�3" 0"1

1%&0 -/, "00&+$ ,-1&,+� 1%" 0601"* !&0-)�60 1%" 3�)2" &+ 1%"

�--/,-/&�1" #&")!0 ,+ �+6 4,/( ,/!"/0 1%�1 6,2 /"�1"� �%"

0601"* �)0, !&0-)�60 1%" 3�)2" ,+ 1%" �/,'" 1 �"12- #,/*�

�,2 �+ "&1%"/ � "-1 ,/ ,3"//&!" 1%" !"#�2)1 3�)2"�

,*-)"1"! �%" !�1" 1%" 4,/( ,/!"/ ,/ "+$&+""/&+$ %�+$" ,/!"/ &0

,*-)"1"! ,/ �+ ")"!�

Page 71: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–35

����� ���������

�3+ /- , � !$) � �*� ������� .#�. $)�$��. - .# .3+

�'�--$!$��.$*) *! � 1*,& *,� , *, )"$) ,$)" �#�)" *,� ,�

�*/ ��) /- 1*,& *,� , .3+ �- � - ' �.$*) �,$. ,$� !*,

1*,& *,� , �++,*0�'-�

�,$*,$.3 /- , � !$) � �*� �-3-. ( ��� .3+ ��� .#�. $)�$��. -

.# , '�.$0 +,$*,$.3 *! � 1*,& *,� , *, )"$) ,$)" �#�)"

*,� , $) , '�.$*) .* *.# , *,� ,-�

+,*� --$)" *+.$*) !*, -*( !*,(- ' .- 3*/ ). , �

� !�/'. 0�'/ !*, .#$- !$ '�� �# 0�'/ .# ) �$-+'�3-

�/.*(�.$��''3 $) .# �++,*+,$�. !$ '�- *) �)3 1*,& *,� ,

3*/ �, �. *) .#*- !*,(- �)� *) .# �,*% �. � ./+ !*,(�

�*/ ��) $.# , ��� +. *, *0 ,,$� .# � !�/'. 0�'/ �

�.�./- /- , � !$) � �*� ������� .#�. � -�,$� - .# -.�./- *! �

1*,& *,� , *, )"$) ,$)" �#�)" *,� ,� )3 -.�./-

�#�)" !,*( �� .#,/ �� �/.*(�.$��''3 /+��. - .# ��.

�*(+' . ��

�/-.*( , �* )/(� , .#�. $� ).$!$ - �) ).,3 $) .# ��, -- �**&

-3-. (� �- .#$- )/(� , .* $� ).$!3 (+'*3 -� �++'$��).-�

+�,.$�$+�).-� �/-.*( ,-� -/++'$ ,-� . )�).-� �)� �)3 *.# ,

��, -- �**& ( (� ,-�

��)�" , �# ���, -- �**& )/(� , *! � (�)�" , *, +'�)) ,�

����� +,*� --$)" *+.$*) !*, -*( !*,(- ' .- 3*/ ). ,

� � !�/'. 0�'/ !*, .#$- !$ '� ��- � *) 0�'/ - !*, ��. "*,3

�*� - � ��#�- �� � �)� � � . /+ .# � !�/'. 0�'/ - *) .#

� !�/'. ��)�" ,- �)� �/+ ,0$-*,- !*,(� !. , 3*/ - . /+

.# � !�/'. 0�'/ - �)� .# +,*� --$)" *+.$*)� .#

$)!*,(�.$*) �$-+'�3- �/.*(�.$��''3 *) �)3 1*,& *,� ,-

3*/ �, �. $! .# ��. "*,3 �*� �,$. ,$*) $- ( .� ��*/ ��)

$.# , ��� +. *, *0 ,,$� .# � !�/'. 0�'/ ��

�,�)-��.$*) �# ��. .#�. �) *,� , 1�- ). , � $).* .# -3-. (� �#$-

��. � . ,($) - 1#$�# !! �.$0 ' 0 ' .#�. .# -3-. ( /- -

!*, $)0 ).*,3 +,$�$)"�

��. --$") � �# ��. .# + ,-*) , -+*)-$�' !*, .# 1*,& *,� ,

, � $0 - .# 1*,& *,� ,�

��2 �2+' �*� /- , � !$) � �*� ������� .#�. �*).,*'- #*1 � .�2 $-

�-- -- � �)� �$-.,$�/. � .* .# " ) ,�' ' �" , , 0 )/ �)�

2+ )- ���*/).-� �*/ �--$") .#$- �*� .* � �/-.*( , *,

-/++'$ , .* - . /+ � � !�/'. �*� !*, .# $, .,�)-��.$*)-�

�* )*. �*)!/- .#$- 1$.# .# .�2��' � )*)4.�2��' �*� �

-$)"' $)0*$� ��) #�0 �*.# .�2��' �)� )*)4.�2��'

$. (-� �# ).$, $)0*$� � #*1 0 ,� (/-. #�0 *) .�2

2+'�)�.$*) �*� �

Page 72: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

F5

Advanced Programming Concepts and Skills

2–36 A8.1 (8/97)

����� ���������

��3 ��/ ��- � � �*� /#�/ $� )/$!$ . � /�3 *- " *"-�+#$� �- � /#�/ #�.

�*((*) /�3 -�/ . �)� /�3 �$./-$�0/$*)� �# /�3 -�/ ��- �

(0./ � � !$) � /* $)�'0� /# /�3 �0/#*-$/$ . �!*-

3�(+' � ./�/ � �*0)/4� �$/4� -�+$� /-�).$/ �$./-$�/� *-

+-*1$)� �� �)� /# $- -�/ .� �* � 1�'$�� � �*� (0./ � . /

0+ $) /# ��3 ��/ ��- � /��' ����� ��

�4+$��''4� ���� .�' . �)� 0. /�3 . - ,0$- (0'/$+' /�3

�0/#*-$/$ . + - /�3 -�/ ��- �� 2# - �. ��� - ,0$- . *)'4

*) .$(+' -�/ �

�# .4./ ( 0. . /#$. �*� /* +-*+ -'4 ��'�0'�/ /# /�3

�(*0)/�

�0�' �" - �)��/ � �*� /#�/ $)�$��/ . 2# /# - � .+ �$!$� .0�' �" - $.

��/$1 *- $)��/$1 � �)4 1�'0 */# - /#�) �'�)& $)�$��/ .

/#�/ � .0�' �" - $. $)��/$1 � �3�(+' . �- %*�. /#�/ �-

�'*. �� (+'*4 . /#�/ #�1 � ) / -($)�/ �� *- �.. /.

/#�/ #�1 � ) �$.+*. �� �! � .0�' �" - � �*( . ��/$1

�"�$)� . / /#$. !$ '� ���& /* �'�)&�

�! 4*0 2�)/ /* 0. .0�' �" - $)!*-(�/$*) $) /# /��' . !*-

- +*-/. �0/ 2�)/ /* +- 1 )/ /-�).��/$*). !-*( +*./$)" /*

/# (�./ - - �*-�� )/ - � 1�'0 */# - /#�) �'�)& $) /#$.

!$ '��

Processing Options

�# - �- +-*� ..$)" *+/$*). �..*�$�/ � 2$/# /# �$)"' ��.& � /�$'. +-*"-�(/#�/ �''*2 4*0 /* � !�0'/ /# 1�'0 !*- /# �4+ � �-$*-$/4� �/�/0.� �#�. � ��/ "*-4�*� � ��/ "*-4 �*� � �)� ��)�" - !$ '�.� �* . /# +-*� ..$)" *+/$*).�/4+ /# . ' �/$*) )0(� - !*- �$)"' ��.& � /�$'. �)� +- .. �� �

Function Keys from Single Task Details

F5 - Detailed Specifications

�� 6 �''*2. 4*0 /* )/ - ���$/$*)�' � /�$' � $)!*-(�/$*) ��*0/ 4*0- 2*-& *-� -����# � /�$' .�- ) $. ��. � *) � �*-� �4+ � � �*-� �4+ � +-*1$� . -**( !*-4*0 /* )/ - (*- � .�-$+/$*)� �*0 ��) �0./*($5 */# - � �*-� �4+ . /* !$/ 4*0-- ,0$- ( )/.� �# ./ +. /* ��� �)� �#�)" � �*-� �4+ . �- � .�-$� � '�/ - $)/#$. �#�+/ -�

Page 73: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

F8

A8.1 (8/97) 2–37

4802 W.O. Detail Entry Record Type. . . . A Full Description of Request Action Code. . . . C Order Number . . . 289 Tech for Programmers Class Description Option SAR setup for work to be performed during the Advanced Programming Concepts and Skills class. Opt: 1=Insert 9=Delete F5=Re–Fresh F8=Record Types F24=More Keys

������ ���������

� � ����� ����� � ����� ���� ��� � ������� �����

� � ������ ������ � ���� �� ����

F8 - Category Codes

� � ������ ��� �� �� ��� ����� ���� �� �� �������

48016 Work Order – Category Codes Action Code. . . . . . W.O. Number. . . . . . 289 Tech for Programmers Class W.O. Flash Message . . Phase. . . . . . . . . 55 Reserved for Clients Category 02. . . . . . . Category 03. . . . . . . Category 04. . . . . . . Category 05. . . . . . . Status . . . . . . . . . Service Type . . . . . . Skill Type . . . . . . . Experience Level . . . . Category 10. . . . . . . Originator . . . . . . Supervisor . . . . . . Std. Desc. . . . . . . Search X–Ref . . . . . F2=Standard Desc Text F24=More Keys

Page 74: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

F9

F15

Advanced Programming Concepts and Skills

2–38 A8.1 (8/97)

����� ���������

���� �3+ #0 �&# 5-0) -0"#0 '"#,2'$'!�2'-, ,3+ #0� �&'1 4�*3# "#$�3*21

$0-+ 2&# �',%*# ��1) �#2�'*1�

���� �*�1& �#11�%# � &'%&*'%&2#" +#11�%# 2&�2 5'** # �22�!&#" 2- 2&# 5-0)

-0"#0�

�� ��������� ��� ����� � � � � � � � � � � � � � � � � � � � � � � � � � �

�&# $*�1& +#11�%# �..#�01 �1 � &'%&*'%&2#" +#11�%# -,

��!)*-% ��,�%#+#,2� 0#.*�!',% 2&# 5-0) -0"#0

"#1!0'.2'-,�

�&�1# � 31#0 "#$',#" !-"# "#1!0' ',% � 12�%# -0 !�2#%-07 ', 2&#

"#4#*-.+#,2 -$ � .0-(#!2� �&'1 4�*3# "#$�3*21 $0-+ 2&#

�',%*# ��1) �#2�'*1�

��2#%-07 � ��2#%-07 �-"#1 2&�2 �0# 31#0 "#$',#" 4�*3#1 �11-!'�2#"

5'2& 2&# 5-0) -0"#0�

�0'%',�2-0 �&# �""0#11 ,3+ #0 -$ 2&# .#01-, 5&- #,2#0#" 2&# 5-0)

-0"#0�

�312 # � 4�*'" ,3+ #0 ', 2&# �""0#11 �--) ��12#0 $'*#

������

�3.#04'1-0 �&# �""0#11 ,3+ #0 -$ 2&# 5-0) -0"#0 13.#04'1-0�

�312 # � 4�*'" ,3+ #0 ', 2&# �""0#11 �--) ��12#0 2� *#

������

�2"� �#1! � 31#0 "#$',#" !-"# "#1!0' ',% ',1203!2'-,�* ',$-0+�2'-,�

�312 # � 4�*'" ,3+ #0 ', 2&# �""0#11 �--) ��12#0 $'*#

������

�� ��������� ��� ����� � � � � � � � � � � � � � � � � � � � � � � � � � �

�-0 �/3'.+#,2��*�,2 ��',2#,�,!# 31#01

�-3 !�, 31# 2&'1 !-"# 2- �11'%, ,�00�2'4# 2#62 $-0 �

12�,"�0" .0-!#"30#� �&# ',$-0+�2'-, �..#�01 -, 2&# �2#+

�� 1!&#"3*# �," 2&# 5-0) -0"#0 0-32',%�

�#�0!& ���#$ �,7 ,3+ #0 -0 !&�0�!2#01 2&�2 5'** # 31#" 2-

!0-11�0#$#0#,!# 5-0) -0"#01� �&'1 4�*3# 5'** "#$�3*2 $0-+

2&# �',%*# ��1) �#$�3*21 1!0##,�

F9 - Name Search

�� 8 �**-51 7-3 2- 1#�0!& $-0 � 1.#!'$'! �""0#11 --) ,3+ #0�

F15 - Work Order Search Window

�� 8 �**-51 7-3 2- 1#�0!& $-0 5-0) -0"#0 "#1!0'.2'-,1� �2 5'** -,*7 0#230, 2&#"#1!0'.2'-,�

Page 75: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

F21

A8.1 (8/97) 2–39

48014 Single Task Details Parent W.O. No Action Code. . . I W.O.Number . . 289 Description. . . APCS Class Status Comment . Student SAR Charge to BU . 1001 Search X–Ref . . Cost Code. . . Est. Hours . . . 40 Start Date . . 03.01.94 Est. Amount. . . 1.500 Planned Comp . 31.12.94 Phase. . . . . . 55 Reserved for Clients Completed. . . Type . . . . . . 2 Priority . . . . H Status . . . . 10 Tax Expl Code. . 4802T1 Work Order Search Subledger Inact. Order Number 289 Type . . . . * Customer No. . . 1001 289 WO APCS Class Manager. . . . . 6001 400 WO Rework Electrical 490 WO BACK, DRAWER, 12x30, DESK Descriptio 511 WO AS/400 Chassis Frame Supports SAR setup for work to be 641 WO AS/400 CRT Chassis Frame Programming Concepts and 764 WO Electrical Engine REQ125–796 772 WO Electrical Phase II 781 WO Electrical Phase III 799 WO Other Electrical 801 WO Electrical Opt: 4=Select F3=Return F24=More Keys Opt: 1=Insert 9=Del F5=More Desc F8=Cat Codes F21=Print F24=More Keys

F21 - Print Work Order

��� � ������ ��� �� ����� ��� ���� ����� ������ ��� �� ��� �������� ����������

Page 76: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–40 A8.1 (8/97)

Accessing the Scheduling Workbench

��� �����+# %� �&("��%�� '(&�(�$ �##&-) .&+ *& (�, �- �%� +'��*� -&("&(��()� �&+ ��% (�*( �,� %�&($�* &% ��&+* -&(" &(��() % $+#* '#� -�.)� �*�((�*( �, %� *�� -&(" &(��() *��* $��* .&+( )��(�� �( *�( �� .&+ ��% +'��*�)�#��*�� � �#�) % *�&)� -&(" &(��() � (��*#. �(&$ *�� �����+# %� �&("��%���&($�

�� ���� � � � ������ �������

�(&$ *�� � $'#� �(&!��* ��%���$�%* $�%+� )�#��* �����+# %� �&("��%��

48201 Scheduling Workbench Flr Rem Cat T P M Y Action Code. . . . I Job or BU. . . . . 1001 Work Orders in Progress Originator . . . . Customer Number. . Manager. . . . . . Supervisor . . . . Parent W.O. No . . Type . Model. Search X–Ref . . . Cost Code. . . . . Prior. Category Codes . . Phs. CC2. CC3. CC4. CC5. Sta. Srv. Ski. Exp. CC0. O Number Description X–Ref No. St Status Comment T P _ 1347 Subcontractors __________ 10 ___________________ _ _ _ 289 APCS Class __________ 10 Student SAR ________ 2 H Opt: 1=W.O Entry 4=Return w/# F4=Detail F10=Eq. Workbench F24=More Keys

���� �����������

��*��&(. �&��) %. %+$��( &( ���(��*�() *��* - ## �� +)�� *&

�(&))�(���(�%�� -&(" &(��()� �� ) ,�#+� - ## ����+#* �(&$

*�� � %�#� ��)" ���+#*) )�(��%�

�&� &( �� ��� �+) %�)) +% * *��* ) (�)'&%) �#� �&( ���(��) %�+((���

�+)* �� � ,�# � �+) %�)) +% * )�*+' % *�� �+) %�)) �% *

��)*�( � #� �������

�( � %�*&( ��� ���(�)) %+$��( &� *�� '�()&% -�& �%*�(�� *�� -&("

&(��(�

�+)* �� � ,�# � %+$��( % *�� ��(�)) �&&" ��)*�( � #�

��������

Page 77: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–41

����� ���������

�,*+'%�) �!� ���)�** �,%��) '� +!� �,*+'%�)�

�,*+ �� � -�$"� &,%��) "& +!� ���)�** ''# ��*+�) �"$�

������

��&� �) �!� ���)�** �,%��) '� +!� %�&� �) "& �!�) � '� +!�

.')# ')��)�

�,*+ �� � -�$"� &,%��) "& +!� ���)�** ''# ��*+�) �"$�

������

�,(�)-"*') �!� ���)�** &,%��) '� +!� .')# ')��) *,(�)-"*')�

�,*+ �� � -�$"� &,%��) "& +!� ���)�** ''# ��*+�) +��$�

������

��)�&+ ���� �' �!)', ! (�)�&+ .')# ')��) &,%��)� 0', ��& )',( .')#

')��)* +' �+!�) ��*�� '& '&� (�)�&+ .')# ')��)� *,�! �*

+!� "&*+�$$�+"'& '� � �'%(,+�) �&� "+* �**'�"�+�� �$��+)"��$

.")"& � .!"�! %�0 "&-'$-� %')� +!�& '&� �,*+'%�) ')

%�&� �)�

�� ��������� ��� ����� � � � � � � � � � � � � � � � � � � � � � � � � � �

�!� (�)�&+ .')# ')��) &,%��) .!"�! )',(* .')# ')��)*

+' �+!�) "& � ���%"$0��

�'��$ ��+�)%"&�* .!�+!�) %'��$ .')# ')��)* ."$$ �� �"*($�0��

'& +!� *�)��&�

� ��+�)%"&�* .!�+!�) %'��$ .')# ')��)* ."$$ �� �"*($�0��

'& +!� *�)��&�

���)�! ����� �&0 &,%��) ') �!�)��+�)* +!�+ ."$$ �� ,*�� +'

�)'**�)���)�&�� .')# ')��)*� �!"* -�$,� ."$$ ����,$+ �)'%

+!� �"& $� ��*# ����,$+* *�)��&�

�'*+ �'�� �!� *,�*"�"�)0 ���',&+ )�*('&*"�$� �') "&�,))�� �!�) �*�

�,%��) �!� .')# ')��) "��&+"�"��+"'& &,%��)� �!"* -�$,� ����,$+*

�)'% +!� �"& $� ��*# ��+�"$*�

��*�)"(+"'& ��*�)"��* +!� �,&�+"'& ') '(+"'& �/"+�

��&&'+ �/���� � �!�)��+�)*�

�� ��������� ��� ����� � � � � � � � � � � � � � � � � � � � � � � � � � �

�!� &�%� ') � �)"�� ��*�)"(+"'& '� +!� .')# ')��)�

����� �' �&0 &,%��) ') �!�)��+�)* +!�+ ."$$ �� ,*�� +'

�)'**�)���)�&�� .')# ')��)*� �!"* -�$,� ."$$ ����,$+ �)'%

+!� �"& $� ��*# ����,$+* *�)��&�

�+�+,* � ,*�) ���"&�� �'�� ,*�� +' ��*�)"�� +!� �,))�&+ *+�+,* '�

+!� .')# ')��)� �') �/�%($�� ($�&&��� *+�)+��� ')

�'%($�+���

�+�+,* �'%%�&+ �!"* $"&� �$$'.* *+�+,* �'%%�&+* ') �,)+!�) ��*�)"(+"'& '�

+!� .')#�

Page 78: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

F4

Advanced Programming Concepts and Skills

2–42 A8.1 (8/97)

����� ���������

�/'� �)�( ���!%�� �&�� ��)�(!�!%� * � -&(" &(��( */'��

�(!&(!*/ � +)�( ���!%�� �&�� +)�� *& �))!�% * � '(!&(!*/ &� * �

-&(" &(��( �&( �.�$'#�� !� � $��!+$� &( #&-�

F4 - More Detail

�� 0 !)'#�/) ���!*!&%�# !%�&($�*!&% �&%��(%!%� ��� -&(" &(��( * �* !) !���%!% * � �&#� (���

48201 Scheduling Workbench Pha Cat Cat T P M Action Code. . . . I Job or BU. . . . . 1001 Work Orders in Progress Originator . . . . Customer Number. . Manager. . . . . . Supervisor . . . . Parent W.O. No . . Status . . . . . . Thru Search X–Ref . . . W.O. Date Range. . ________ Thru. ________ Compl. Date Range. ________ Thru. ________ Supervisor . . . . Parent W.O. No . . Type . Model. Search X–Ref . . . Cost Code. . . . . Prior. Category Codes . . Phs. CC2. CC3. CC4. CC5. Sta. Srv. Ski. Exp. CC0. O Number Description X–Ref No. St Status Comment T P 1347 Subcontractors 10 Planned Comp Hours Scheduled. . Est. Hours . Start Date . 05/26/92 W.O. Flash Message. _ W.O. Date . . 05/26/93_ 289 APCS Class __________ 10 Student SAR________ 2 H Planned Comp 12/31/94 Hours Scheduled. . Est. Hours. . 40 Start Date . 01/03/94 W.O. Flash Message. _ W.O. Date . . 11/12/93 Opt: 1=W.O Entry 4=Return w/# F4=Detail F10=Eq. Workbench F24=More Keys

����� ���������

�#�%%�� �&$' � � ��*� * � -&(" !) )� ��+#�� *& �� �&$'#�*���

�&+() �� ��+#�� � � &+() &� -&(" * �* �) ���% )� ��+#���

�)*� �&+() �&*�# %+$��( &� &+() �)*!$�*�� �&( * � -&(" &(��(�

�*�(* �*� ��%�� � � !%!*!�# ��*� * � -&(" !) )� ��+#�� *& ���!%�

���� �#�) ��))��� !� #!� *�� $�))��� * �* -!## �� �**�� �� *& * � -&("

&(��(�

���� �*� � � ��*� * � -&(" &(��( -�) �%*�(���

�+)* �� � ,�#!� %+$��( !% * � ��(�)) �&&" ��)*�( �!#�

��������

Page 79: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–43

Selection Exits from the Scheduling Workbench

Selection 1 - Work Order Entry

� ����' +#) (# (�� �#&� �&��& �"(&+ '�&��" �"� �)(#!�(��� + �"%)�&�' #"

(�� '� ��(�� *#&� #&��&

Processing Options

���&� �&� $&#��''�"� #$(�#"' �''#���(�� *�(� (�� �����) �"� �#&���"��$&#�&�! (��( � #* +#) (# ����) ( � �#&� �&��& �(�()' ��"�� �"� � �#&� �&��&�+$�� �" ����(�#"� +#) ��" �� ��(��& �&#���( ��'� ��(�� ' ������� #& (���%)�$!�"( �#&� �&��&' ������� *��" (�� ���� �"(&+ #$(�#" �' '� ��(��� ��*�&� (��( �%)�$!�"( �#&� �&��&' ������� �' $�&( #� (�� �#&� �&��&�&#��''�"� '+'(�! ���� �# '�� (�� $&#��''�"� #$(�#"'� (+$� (�� '� ��(�#" ")!��&�#& �����) �"� �#&���"�� �"� $&�'' ��

Page 80: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–44 A8.1 (8/97)

Adding Record Types

�� ��� ���� ����

�� ���� �� ���� ��� ����� ��� !��� ���! � ����� ����� �� ��� ������"����

00051 Detail Spec. Types Install System Code. . . . 00 User Defined Codes . . . . RT Action Code. . . . . . I Skip To Code . . . Work Order Detail Specs. 01 Character Code Description A Full Description of Request B Final Disposition Remarks C Tool and Equipment Instruct. D Safety Provisions E Plan and Drawing Reference F Equipment Down Time F5=Code Types F14=Memo F15=Where Used F18=Language F21=Print F24=More Keys

�� �� "�!� ��������� ������ "�� ��� ������� ��� � �� �����

Page 81: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–45

Changing Record Types

�&+ ��% ���%�� *�� �&($�* &� /&+( (��&(� */'��

� ����� ����� ����

�� �(&$ *�� � )� ��� * &%�# ���*+(�) $�%+ ����� )�#��* ��*� # �'��� �,�(� *#�)�

48002 Detail Spec. Over Titles

Action Code. . . I Record Type. . . F

Sub–Title 1 Sub–Title 2 Sub–Title 3 Equipment Production Production Number Time Out Time In

F24=More Keys

�� %*�( *�� ���� %� *�.* &� ���� �&#+$% /&+ - )� *& ��� *& *�� �&($�* &�/&+( ���&(� �/'��

� �&(" �(��( ����� � #� ) ���

� ��*� # ���&(� �/'� � #� ) ���

� ��*�&� &� *(��" %� '(&�(�$$ %� '(&!��*)

See Also

� �� ) ) � �( �� &,�(, �- &� *�� �&(" �(��( �(&��)) %� )/)*�$� �&( $&(�

%�&($�* &%� �&%)+#* ��� ����

ÁÁ Exercises��� *�� �.�(� )�) �&( *� ) ���'*�(�

Page 82: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–46 A8.1 (8/97)

Page 83: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–47

Work with Software Action Requests

About SAR System Setup

� ��� � �������� #� � �� ����� ��� �� ��������� � ��� �� ��� �� ��� ����� ��� �� ������ ��������� � ��� ����� ��� �� ��� !������ ������� ������� ��� ��� ������������

����� #� ��� � #� � �� �#����� #� � � ��!���� ��� ����" ��� �� ��������� ����� � ����� �� �� �� #� � �� ���� � #� � !� ���������� ����� #� ��!���� ��� ����" ��� #� � � ��� ������ ��������� � ��� �� ��������� �� �� �� ��� �� ���������

����� #� ������ ��!������� ��� ����" ��� #� � �� �� �� ��� ��� �# ���� ����� ��� ������ #� ������� ��� ���

�������� ��� �����"��� � ����

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

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

Page 84: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–48 A8.1 (8/97)

Before You Begin

� �# ��� ,1,- ' ., , -# �)+% �+� + !$& , ����� �(� ������ �! 1).+*+)�.�-$)( (/$+)(' (- ., , -# , !$& ,� �(� $! -# ���� !$& #�, �$!! + (-+ �)+� -1* , -#�( 0#�- / +,$)( �)(-+)& ( �,� � !$( � , *�+�- &$�+�+1-#�- �)(-�$(, -# , !$& , !)+ / +,$)( �)(-+)& *.+*), , )(&1�

See Also

� ������ � � ����� ����

Creating Record Type Codes

�# �)+% �+� + �(,-+.�-$)(, -��& ������ #�, �( ,, (-$�& +)& $( -# / +,$)(�)(-+)& *+)� ,,� �- $� (-$!$ , �(� ��*-.+ ,� !)+ *+)')-$)( *.+*), ,� �&& -# ,).+� �)� ' '� +, �(� �)(-+)& -��& ��-� �,,)�$�- � 0$-# � ���� �# � +,$)( �)(-+)&,1,- ' �,,$"(, � + �)+� -1* �)� -) ��# ,).+� �)� ' '� + )+ �)(-+)& -��& ��-� $- '� 0#$�# �&�,,$!$ , $- !)+ *+)')-$)(� �). '.,- �+ �- + �)+� -1* �)� ,-#�- 1).+ �)+% �+� + �(,-+.�-$)(, -��& �) , ()- #�/ �.++ (-&1�

�� ����� ���� ���� ����

�� �+)' -# � +,$)( �)(-+)& ' (. ������� �#)), � �)+� �1* �)� ,�

�� �( �, + � !$( � �)� � /$,$)(, (- + -# !)&&)0$(" �#�+��- + �)� , �(�� ,�+$*-$)(,

00051 User Defined Code Revisions System Code. . . . . . . . 00 User Defined Codes . . . . RT Action Code. . . . . . I Skip To Code . . . Work Order Detail Specs. 01 Character Code Description A Original Request

F5=Code Types F14=Memo F15=Where Used F21=Print F18=Translate F24=More

Page 85: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–49

��� ���� ���� ���� ���

� �)" "%�# ��(,�*+

� ��$��)* �����+��

� ��%, �&�"�"��+"&%*

� �,+&$�+"� ���&,%+"% �%*+),�+"&%*

� �&�+.�)� �%-�%+&)0 ���&)� �'��+�*

�)&��**"% �'+"&%*������ �)"+�)

�&���,#�)0 �-�))"�� �!�% �*

� ��+���*� �!�% �*

� �&%*+�%+* ��+� �"#� �!�% �*

�*�) ���"%�� �&�� �!�% �*

� �&%%��+�� ��� �,$��)*

� �%�)"� ��+����**� � �0'� �!�% �*

� �&%%��+�� ��� �,$��)*

� �%�)"� ��+����**� � �0'� �!�% �*

� �+�+,* "*+&)0

� �&*+1�%*+�##�+"&% �%*+),�+"&%*

� �)�1�&$'"#�) �&$$�%�*

� �")*+ �%�#,��� "% ���

� ��/+ �,$��) �!�% �*

Page 86: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–50 A8.1 (8/97)

Defining Record Type Titles

!# ���� #��!#� %("� �!�� (!& �#��%�� (!& �&$% ��$! ���� � #��!#� %("� %�%��$�'���� �""��# �$ �!�&� ����� �$ ! %�� ���� ��%��� � %#( �!#��

Before You Begin

� #��%� #��!#� %("� �!��$ ���!#� (!& ���� � #��!#� %("� %�%��$� ��������� �� �� ��� � ���

� ����� ����� ���� �����

#!� %�� ��#$�! ! %#!� �� & ������� ��!!$� ���!#� �("� ��%��$�

� ���!#� �("� ��%��$

48002 Record Type Titles

Action Code. . . I Record Type. . . D Menu Modifications

Sub–Title 1 Sub–Title 2 Sub–Title 3 Menu Option Job To Name Number Execute

F24=More Keys

Page 87: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–51

�') ���" )��')� +.(� .', �)��+��� �'%($�+� +"� '$$'-#&! #�$�* -#+" +"�#& ')%�+#'& #& +"� �"�)+ +"�+ '$$'-*�

����� ���/����� � ���/����� � ���/����� �

� __________ __________

__________ __________

__________ __________

__Member__ ___Name___

__Source__ __Library_

__Object__ __Library_

___Menu___ ___Name___

__Option__ __Number__

__Job_To__ __Execute_

� __________ ___AAI____

__Company_ ____No____

__________ __________

� __________ CL_Program

__________ _Program__

__________ Video/Rpt_

___Form___ ____ID____

_Version__ ___No_____

__________ __________

� __Scr/Rpt_ ___Name___

__________ __________

__________ __________

� __________ __________

__________ __________

__________ __________

� __________ __________

__________ __________

__________ __________

� __Help____ __Start___

__Help____ __Stop____

__________ __________

� ___Sys____ ___Code___

__DTAI____ __Name____

__________ __________

� ___Sys____ ___Code___

___Rec____ ___Type___

__________ __________

� ___SAR____ ____No____

___SAR____ ____No____

___SAR____ ____No____

� ___Sys____ ___Code___

___Rec____ ___Type___

__________ __________

� __________ __________

__________ __________

__________ __________

� Reference_ ID/Code___

Attachment Needed–Y/N

__________ __________

� __Program_ ___Name___

__________ __________

__________ __________

� __Release_ ____ID____

___PTF____ __Number__

___Date___ _Included_

� System____ Code______

Line______ Number____

Action____ Code______

Page 88: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–52 A8.1 (8/97)

What You Should Know About

������� ��� ������

�� � ����

����� "�� ������ ��� ������ �"�� ������� "�� � � ��! ����

�� ����" ����� ���� �"� �� ����� � �� ��� ���� ������

���� ������������ �� ���� ��� �� ����"� ��� �� ������

�"�� "�� ! �� �� ��! �" ����� ��� ����� �"�� ������

�� ����� ����� � �� ��� ���� ��� ������ ��� �

Page 89: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–53

Work with Software Versions Repository

��� � �%(�#� ��#$� �$ ��! $�% #* ����� � �$�$%$ � %�� � �� (��� ��$%�#��#��% #��$�

ÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏ

ÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏ

F9801Software VersionsRepository Master

A master directory of all files,programs, screens, reports, andcopy modules.

Stores the member locations foreach member master record.

F9802Software VersionsRepository Master

Working with Software Versions Repository (SVR)

��� � �%(�#� ��#$� �$ ��! $�% #* ������%�$ �� (��% ��'�# ����%$ � #�"&�$%�������# �$ � ��%�� ��� (��%��# %�� ��'�# ����% �$ � !# �&�%� � # ��'�� !���%��'�# ����%� ��� ���� �$ &$�� �)%��$�'��* � # � �&���%�%� � ��� !��*$ ����! #%��% # �� �� ��� �(�#�$ ��$��� ��� ��'�� !���% % �$�

��� � �%(�#� ��#$� �$ ��! $�% #* �$ %�� ��%&#�� $%�#%��� ! ��% � # ���!# �#������ ��� $ �%(�#� ��"&�#* �&��%� �$� �% !# '���$ �)�%$ % %�� � �� (������%&#�$�

� � &#�� �%#* �%���%*�����

� ��� ��%��� �%#*

� ��#��� ��$��� ��� �����

� ��! #% ��$��� ��� �����

� ��� ��$��� ��� ����

� ��� �# �#�� ����#�% #

� �#�� �!���# � �����$

Page 90: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–54 A8.1 (8/97)

� ��&%)�*%(. ��(,���)

� ��*� ���*�%$�(.

� ��$+)

� �%���+"�(. �,�((���)

� +$�*�%$ �. ����$�*�%$)

� ����� �(�*�( ��()�%$)

� �(%��))�$� �&*�%$)

� �)�( ����$�� �%��)

� ���* �.)*�# ��"&)

� ���� �(%��"�)

� ��� �%� �$'+�(.

� �%&. ����������������� ��$+)

� �&*�%$�" �"�) ��*+(�

� �(%�(�##�( ����!"�)*)

� ���(� �)�� ���"�*.

� "%-���(* �(%�(�#)��""+)*(�*� �"� �%��")

� �%+(�� �%������*�%$) ���*%(

�$ ����*�%$� �* &(%,���) ����)) *% *�� �%""%-�$� �+$�*�%$)�

� �%&. �%+(��

� �(�$* �%+(��

� �+�#�* �(��*�%$ %� �� ��*

� �$�(�*� �(%�(�# �%+(�� �$� ��"&

� ���* ��"& �$)*(+�*�%$)

� ��"�*� �%+(��

� �(�$* ��"& �$)*(+�*�%$)

Page 91: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–55

Accessing the Software Versions Repository

��� ����!��� ������� ��������" ��� �� �� ��� �����$��� ��� ��� ��� ��!���������� ���� ��� ����������� ���������� ��� ��� ���� �����#� ���� ���� �� "��� �!��� �����" �����

� ������ �� � ����� ����� �� ��� ��� ��

���� ��� �������� �������� ������ ����� ������ ����!��� ������� ��������"�

9801 Software Versions Repository Action Code. . . Member ID. . . . Description. . . Function Code. . Function Use . . System Code. . . Reporting System Base Member Name File Prefix. . . Maint/RSTDSP . . Omit Option. . . Generation Sev . Copy Data (Y/N). Optional File. . Common File. . . O Source Object Source SAR Version S D User Date P Library Library File Number ID C P ID Modified __ __________ __________ __________ ________ __________ _ _ __ __________ __________ __________ ________ __________ _ _ __ __________ __________ __________ ________ __________ _ _ __ __________ __________ __________ ________ __________ _ _ __ __________ __________ __________ ________ __________ _ _ __ __________ __________ __________ ________ __________ _ _ __ __________ __________ __________ ________ __________ _ _ Opt: 1=Browse 2=Edit 3=Copy 5=SAR 8=Print 9=Dlt 10=Design 14=Crt F24=More

Page 92: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–56 A8.1 (8/97)

�(% 4/0 0/24)/. /& 4(% &/2- )$%.4)&)%3 4(% -%-"%2 !.$ )43 !442)"54%3� �()3).&/2-!4)/. )3 34/2%$ ). 4(% �/&47!2% �%23)/.3 �%0/3)4/29 -!34%2 &),% ������

Member Identifiers

�(% &)234 47/ &)%,$3 )$%.4)&9 4(% -%-"%2�

�(% �%-"%2 �� !.$ �%3#2)04)/. &)%,$3 )$%.4)&9 4(% ��� -%-"%2�

����� ���������

�%-"%2 �� �(% 2%#/2$ /& 4(% �/&47!2% �%23)/.3 �%0/3)4/29 -%-"%2 4/

"% #/0)%$�

�� ��������� ��� ����� � � � � � � � � � � � � � � � � � � � � � � � � � �

�(% 3/52#% &),% #/.4!).).' 4(% 3/52#% -%-"%2� �4 �� ��

�$7!2$3� 4(2%% 3/52#% &),%3 2%3)$% ).3)$% /& 4(% ������

,)"2!29�

�(%9 !2%�

� ����� &/2 #/09 -/$5,%3

� ������ &/2 /4(%2 3/52#% #/$%

� �������� &/2 02%#/-0),%2 #/--!.$3

�%3#2)04)/. �$%.4)&9).' ).&/2-!4)/. /& 4(% -%-"%2� 35#( !3 �2)!,

�!,!.#% "9 �53).%33 �.)4� �33/#)!4%$ 02/'2!-3� 3#2%%.3�

!.$ 2%0/243 3(/5,$ 3(!2% 4(% 3!-% $%3#2)04)/.�

�(% $%3#2)04)/. !33/#)!4%$ 7)4( %!#( -%-"%2 )3 53%$ 4/

&524(%2 )$%.4)&9 4(% 0520/3% /& 4(% -%-"%2�

� �(93)#!, &),%3 3(/5,$ (!6% ! $%3#2)04)/. 4(!4

%80,!).3 4(% 0520/3% /& 4(% &),%�

� �#2%%.3� 2%0/243� !.$ �� 02/'2!-3 3(/5,$ (!6%

4(% 3!-% $%3#2)04)/. !3 4(% !33/#)!4%$ ���02/'2!-�

� �/')#!, &),%3 3(/5,$ "% $%3)'.!4%$ !3 &/,,/73� �� �

&,$.!-%� &,$.!-%� &,$.!-%� 7(%2% &,$.!-% )3 !+%9 &)%,$�

� �/). &),%3 3(/5,$ "% $%3)'.!4%$ !3 &/,,/73� �� �

&),%.!-%�&),%.!-%�&),%.!-% �&,$.!-%�&,$.!-%�&,$.!-% 7(%2% 4(% &),%.!-% )3 !&),% /6%2 7()#( 4(% */). )3 "5),4 !.$ &,$.!-% )3 4(%+%9 &)%,$ */).).' 4(% &),%3�

� �/2+ &),%3 3(/5,$ "% $%3)'.!4%$ !3 &/,,/73� �� �

&),%.!-% 7(%2% &),%.!-% )3 4(% &),% 4(!4 4(% 7/2+&),% !##%33%3�

� �/09 -/$5,%3 #!229 4(%)2 /7. 5.)15%

$%3#2)04)/.3�

� �),% �%26%2 02/'2!-3 3(/5,$ "% $%3)'.!4%$ !3

&/,,/73� �),% �%26%2 � &),%.!-% 7(%2% &),%.!-% )34(% &),% "%).' 3%26%$�

Page 93: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–57

Type, Use, and Associated Systems

��� �����%��� �����! ����"��' "�� �!!����"�� !'!"��!� ����� %�"� "��� "'�� ���#!��

��� �����%��� �� �����! ����"��' "�� �!!����"�� !'!"��!� ����� %�"� "��� "'����� #!�� #��"��� ����� #��"��� �!�� '!"�� ����� ��� ���� "��� '!"���

����� ���������

#��"��� ���� ��!����"�! "�� �����" "'�� !#�� �! ��!���' ����� ��'!����

��� ������� ����!� �!� � �� "�� ����� "� $��% "�� �$�������

"'��!�

#��"��� �!� ��!���'! "�� ����! "��" ��"�� ��"�� � ��$� � �#��"��� #!�

��!! "��� "�� �#��"��� #!� '�# !�����'�

�� ��������� ��� ����� � � � � � � � � � � � � � � � � � � � � � � � � � �

������"�! ��% "�� ����� �! ����� #!���

'!"�� ���� ��� !'!"�� ���� ��� "'�� �� "�� "���� "� �� ������� ���

$��#�! �� "�� !�������� "���� %��� �� �������

�� ��������� ��� ����� � � � � � � � � � � � � � � � � � � � � � � � � � �

��!����"�! "�� !'!"�� �#��� �!!����"�� %�"� "��

����� � ��� ������# �"��� �� ��!"����"��� ����� ��� "��

��!"��� � ���!! �"!��� � � � �$�� �' "��! ��!"��� !'!"�� �����

�!� � �� "�� ����� "� $��% $���� ����!�

���� "��� '!"�� ��!����"�! "�� !'!"�� �#��� �� ��� "��� �# ��!�!�

���! � ��' ����� ! � �� "�� ��!"��� '!"��� &���"���!

���# �� ��"� ����! #!�� �' �� � "��� ��� !'!"��

Page 94: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–58 A8.1 (8/97)

Member Relationship and Compiling Information

�*' (0--08+/) (+'-&4 +&'/5+(: 5*' -0)+%#- )3061+/) 0( .'.$'34 #/& +/(03.#5+0/64'& +/ 5*' %0.1+-' 130%'44�

�*' (0--08+/) � � (+'-&4 +&'/5+(: 5*' -0)+%#- )3061+/) 0( .'.$'34 #/&+/(03.#5+0/ 64'& +/ 5*' %0.1+-' 130%'44� �#4' �'.$'3 �#.'� �.+5 �15+0/��'/'3#5+0/ �'7� #/& �#+/5��������

�*' �#+/5������� (+'-&� +/ 1#35+%6-#3� &'4+)/#5'4 5*' 5:1' 0( .#+/5'/#/%' 0/ #-0)+%#- (+-'� *08 # 4%3''/ 8+-- $' 130%'44'&� 03 +( 5*' 130)3#. %0/5#+/4'.$'&&'& ��� 45#5'.'/54�

����� ���������

�#4' �'.$'3 �#.' �*+4 (+'-& #--084 (03 5*' -0)+%#- )3061+/) 0( .'.$'34�

�� ��������� ��� ����� � � � � � � � � � � � � � � � � � � � � � � � � � �

�*+4 (+'-& 4+.1-: #--084 (03 -0)+%#- )3061+/) 0( .'.$'34�

�03 4%3''/4� 3'10354� ��� 130)3#.4 #/& �� ,0$4� 5*+4 /#.'

+4 646#--: 5*' ��� 130)3#. /#.' #440%+#5'& 8+5* #

1#35+%6-#3 .'.$'3�

�03 -0)+%#- (+-'4� 5*+4 /#.' +4 5*' 1*:4+%#- (+-' 610/ 8*+%*

+5 +4 $#4'& #/& +4 3'26+3'&�

�.+5 �15+0/ �'4+)/#5'4 +5'.4 +/ 5*' �0(58#3' '34+0/4 �'104+503: (+-'

5*#5 806-& $' $:1#44'& (03 # /'8 3'-'#4'� �*'4' %0&'4

#3' #4 (0--084�

� �'-& (30. #-- 3'-'#4'4

" �.+5 (30. #-- 3'-'#4'4

� �.+5 �063%' (30. #-- 3'-'#4'4

� �.+5 �9'%65+0/ �$,'%5 (30. #-- 3'-'#4'4

�'/'3#5+0/ �'7 --084 5*' 64'3 50 &'4+)/#5' # 4'7'3+5: -'7'- 8*'/

%0.1+-+/) # .'.$'3�

�'%#64' 40.' �� �� �&8#3&4 130)3#.4 %0/5#+/ .'44#)'4

5*#5 #11'#3 +/ 5*' %0.1+-' -+45+/) #4 # 4'7'3+5: -'7'- �

'3303� +5 +4 46))'45'& 5*#5 :06 07'33+&' 5*' ��� &'(#6-5 0( #

4'7'3+5: -'7'- � 50 # -'7'- � (03 #-- 130)3#.4� �0 &0 5*+4�

'/5'3 5*' (0--08+/) 0/ #/: %0..#/& -+/'�

��������� �������������� ��!

��������� ������

�03 5*04' 41'%+(+% 130)3#.4 5*#5 .645 07'33+&' 5*' /'8

&'(#6-5 4'7'3+5: -'7'- 0( �� :06 %#/ '/5'3 5*' 07'33+&'

7#-6' +/ 5*' �'/'3#5+0/ �'7'3+5: (+'-&�

�#+/5������� �'4+)/#5'4 5*' 5:1' 0( .#+/5'/#/%' 0/ # -0)+%#- (+-'� *08

# 4%3''/ 8+-- $' 130%'44'&� 03 +( 5*' 130)3#. %0/5#+/4

'.$'&&'& ��� 45#5'.'/54�

Page 95: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–59

Maintenance on a Logical File

���� ����� ���

�, * (+0$+ +"$� ,. 0'$ ),&(" ) (/ ".$ 0$# #5+ *(" ))5

�,&(" ) 3()) !$ (**$#( 0$)5 1-# 0$# 3'$+ -'5/(" ) (/

1-# 0$#�

�,&(" ) 1-# 0$ 3()) !$ #$) 5$# 1+0() 0'$ +$40 0(*$ (0 (/

,-$+$#� �� ��� ���� �������

� 2 )1$ ,% � �6$.,� (+#(" 0$/ +, * (+0$+ +"$� ,. 0'$ ),&(" ) (/ ".$ 0$##5+ *(" ))5�

� 2 )1$ ,% �,+$� (+#(" 0$/ 0'$ ),&(" ) 3()) !$ (**$#( 0$)5 1-# 0$# 3'$+ 0'$-'5/(" ) (/ 1-# 0$#�

�������� � 2 )1$ ,% �03,� (+#(" 0$/ 0'$ ),&(" ) 1-# 0$ 3()) !$ #$) 5$# 1+0()0'$ +$40 0(*$ (0 (/ ,-$+$#� �/$ 0'(/ 2 )1$ 3(0' " 10(,+�

Processing a Screen

���� ��� ����� ����� ���

������ ���

��$/0,.$ �(/-) 5�

������ ����

��$%$. �.(0$�

�/$ 3(0' �������� �, +,0 1/$ 3(0'

�������������

�)) 3.(0$/ 0, 0'$ %,.* %($)# ,. %()$

%,.* 0/ 3()) !$ ",))$"0$# +# 3.(00$+

0 ,+$ 0(*$

� ������ ���

������ ���

�2$.) 5

� "' 3.(0$ /0 0$*$+0 (/ 3.(00$+ 0, 0'$

/".$$+

Page 96: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–60 A8.1 (8/97)

� !"�!" � �&�!

�� % " � ���

#7+ ;/8. �#"�$� 83 )0+'6 '2*

;6/8+ 7)6++2 '8 ,/+0* 0+:+0

! #7+* ;.+2 )314/0/2- !��� ��� '2*

��� 463-6'17� �36 +<'140+� /, !��

78'8+1+287 +</78 ;/8./2 '2 ��

463-6'1� 8.+ )314/0+6�

�� �<+)98+7 ' )6+'8+ !��

463-6'1 78'8+1+28

� �<+)98+7 8.+ !��

78'8+1+287 �)32:+687 8.+1

83 )'007�

� �311+287 8.+1 398

�� �<+)98+7 ' )6+'8+ ��

463-6'1 78'8+1+28 '2*

)328/29+7 '7 2361'0

File Information

".+ ,3003;/2- ,/+0*7 /*+28/,= 8.+ ,/0+ /2,361'8/32�

".+ ,3003;/2- !$ ,/+0*7 /*+28/,= 8.+ ,/0+ /2,361'8/32� �/0+ �6+,/<� �34= �'8'�&���� �48/32'0 �/0+� '2* �31132 �/0+�

����� ���������

�/0+ �6+,/< "./7 ,/+0* /2*/)'8+7 8.+ 46+,/< '773)/'8+* ;/8. ' ,/0+� #7+

�� 83 */740'= '00 ,/0+ 46+,/<+7 /2 97+� �'). 4.=7/)'0 ,/0+

7.390* .':+ '2 92/59+ ,/0+ 46+,/<�

�34= �'8' �&��� #7+* 83 /2*/)'8+ ;.+2 ' *'8'('7+ ,/0+ 1978 (+ )34/+* ;/8.

36 ;/8.398 *'8'�

".+ �6+'8+ #7+6 �'8' �/(6'6/+7 ���� ��� 98/0/8= '))+77+7

8./7 ,/+0* 83 *+8+61/2+ ,/ 8.+ ,/0+ )34/+* ;/00 (+ )34/+*

;/8. *'8'�

�48/32'0 �/0+ �2*/)'8+7 8.+ ,/0+ 1'= (+ 348/32'0 /2 =396 463*9)8/32

+2:/6321+28� �� 463:/*+7 ' 0/78 3, 348/32'0 ,/0+7�

�� ��������� ��� ����� � � � � � � � � � � � � � � � � � � � � � � � � � �

�+7/-2'8+7 /, 8.+ ,/0+ 1'= 238 (+ 2++*+* '8 ' )0/+28

/278'00'8/32� ".+ +<40'2'8/32 3, 8.+7+ 7/89'8/327 )'2 (+

,392* /2 8.+ �+2+6/) '8+��+77'-+ /2,361'8/32 ,36 8.'8

,/0+ ,36 �+2+6/) '8+��+77'-+ "=4+ � ���� �00 3, 8.+7+

,/0+7 8.'8 +</78 /2 ' 74+)/,/+* 0/(6'6= )'2 (+ 0/78+* /2 8.+

�48/32'0 �/0+ +4368 32 1+29 �� ���

Page 97: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–61

����� ���������

������ ���� ������"�! $��� � ���� !��#�� �%�!" �� "�� ������ ��� � &

� #!� � ��#�"��� ��� � &� ��� � ��"� �!� �"� ��� � ��!

������� #"���"& ����!!�! "��! ����� "� ��"� ���� �� "�� ����

!��#�� �� ������ �� "�� !�������� ������ ��� � & �

� ��#�"��� ��� � &�

Page 98: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–62 A8.1 (8/97)

Where Are Members Maintained?

�"� �)--)' "�& ) -"� �) -0�+� ��+,#)(, ��*),#-)+1 )+' &#,-, -"� &#�+�+#�, #(0"#�" -"� '�'��+ #, '�#(-�#(��� �"#, #( )+'�-#)( #, ,-)+�� #( -"� �) -0�+���+,#)(, ��*),#-)+1 �-�#& #&� �������

O Source Object Source SAR Version S D User Date P Library Library File Number ID C P ID Modified __ __________ __________ __________ ________ __________ _ _ __ __________ __________ __________ ________ __________ _ _ __ __________ __________ __________ ________ __________ _ _ __ __________ __________ __________ ________ __________ _ _ __ __________ __________ __________ ________ __________ _ _ __ __________ __________ __________ ________ __________ _ _ __ __________ __________ __________ ________ __________ _ _ Opt: 1=Browse 2=Edit 3=Copy 5=SAR 8=Print 9=Dlt 10=Design 14=Crt F24=More

����� ���������

�).+�� �#�+�+1 �"� &#�+�+1 �)(-�#(#(! -"� ��-� -) �� �)*#���

�� ��������� ��� ����� � � � � � � � � � � � � � � � � � � � � � � � � � �

�"� ,).+�� &#�+�+1 0"�+� -"� ,).+�� #&� )+ -"� )�$��- #,

'�#(-�#(���

�"#, &#�+�+1 #, .,.�&&1 � ���� � )+ �� � ��0�+�,� )+

������ � )+ -"� �&#�(-� )+ *+)�.�-#)( �(� ����� )+

��/�&)*'�(-�

��$��- �#�+�+1 �"� &#�+�+1 #( 1).+ �/�&)*'�(- �(/#+)('�(- -) +���#/�

-"� ��-��

�� ��������� ��� ����� � � � � � � � � � � � � � � � � � � � � � � � � � �

�"� &#�+�+1 0"�+� -"� �)'*#&�� )�$��- +�,#��,�

���/� -"� )�$��- &#�+�+1 (�'� �&�(% )+ �)*1 ')�.&�,

,#(�� -"�1 �+� ()- �)'*#&�� )�$��-,�

��'��+ � �"� +��)+� ) -"� �) -0�+� ��+,#)(, ��*),#-)+1 '�'��+ -)

�� �)*#���

�� ��������� ��� ����� � � � � � � � � � � � � � � � � � � � � � � � � � �

�"� ,).+�� #&� �)(-�#(#(! -"� ,).+�� '�'��+� �- �� �

��0�+�,� -"+�� ,).+�� #&�, +�,#�� #(,#�� ) -"� � ����

&#�+�+1�

�"�1 �+�

� � ���� )+ �)*1 ')�.&�,

� � ���� )+ )-"�+ ,).+�� �)��

� ������� )+ *+��)'*#&�+ �)''�(�,

Page 99: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–63

����� ���������

��� �3+ #0 �, � 0#4'�2'-, $-0 1-$25�0# �!2'-, 0#/3#12 ������

� ����� � 2&# ��� ,3+ #0 5'** ,-2 # 4�*'"�2#" ',

�,6 -$ 2&# ������� .0-%0�+1 �," !�, # *#$2 *�,)�

� �$ � ��� ,3+ #0 '1 #,2#0#"� '2 '1 31#" ',

!-,(3,!2'-, 5'2& 2&# ��� �#*'4#06 �6.# -$ �����"#$�3*2��

�� ��������� ��� ����� � � � � � � � � � � � � � � � � � � � � � � � � � �

�&# +-12 0#!#,2 �-$25�0# �!2'-, �#/3#12 �������-0)

�0"#0 ,3+ #0 �11-!'�2#" 5'2& 2&# +#+ #0� �&'1 ,3+ #0

+312 # 4�*'"� �," '$ 2&# 12�231 -$ 2&# ��� ,3+ #0 '1

!-+.*#2#� 6-3 1&-3*" #,2#0 � ,#5 ��� 2- .#0$-0+

�""'2'-,�* 5-0) -, 2&# +#+ #0� � �1'! 4#01'-, -$ 2&#

�-0) �0"#0 1612#+ '1 1#,2 2- !*'#,21 5&- &�4# .30!&�1#"

2&# �-+.32#0 �11'12#" �#1'%, ����� 1612#+ �," 1#04#1 �1

� +#�,1 $-0 2&# !*'#,2 2- )##. 20�!) -$ 2&#'0 .0-(#!21�

�$ � ���� ,3+ #0 '1 1.#!'$'#" -, 2&# �1#0 �,$-0+�2'-,

1!0##, ����� $'*#�� 2&�2 ,3+ #0 5'** 1&-5 �1 2&# "#$�3*2

$-0 2&# 5',"-5 2&�2 !-+#1 3. 5&#, � '1 .0#11#" -, 2&'1

$'#*"�

�&# #"'2 $-0 2&'1 $'#*" '1 !-,20-**#" 6 2&# ��� ',$-0+�2'-,

#,2#0#" ', ���� �0-$'*#1�

�#01'-, �� �&# 1-$25�0# 4#01'-, ,3+ #0 2- # "#$�3*2#" ', 2&#

�-$25�0# �#01'-,1 �#.-1'2-06 $'*#�

�� ��������� ��� ����� � � � � � � � � � � � � � � � � � � � � � � � � � �

�"#,2'$'#1 2&# 0#*#�1# *#4#* -$ 2&# +#+ #0 ', 2&#

"#1'%,�2#" #,4'0-,+#,2�

��*'"�2#" �%�',12 �1#0 �#$',#" �-"#1 ������

� � �#2#0+',#1 2&# 12�231 -$ 2&# 1-$25�0# �1 5#** �1 5&#0# '2

0#1'"#1 ', .0-"3!2'-,�

�2 5'** 1.#!'$6 2&�2 2&# 1-$25�0# '1 ', .0-"3!2'-,� ',

"#4#*-.+#,2� -0 ', 0#*#�1#�

�� ��������� ��� ����� � � � � � � � � � � � � � � � � � � � � � � � � � �

�2�231 �-"#

�,"'!�2#1 2&# 12�231 -$ 2&# 1-$25�0#� 2&�2 '1� 5&#2&#0 '2 '1 ',

.0-"3!2'-, -0 "#4#*-.+#,2� �&#1# !-"#1 �0# �1 $-**-51

�#4#*-.+#,2 �#4#*-.+#,2 �0-%0#11 �-"#

�,"'!�2#1 2&# .0-%0#11 -$ +-"'$'!�2'-,1 "-,# 2- 2&#

+#+ #0�

Page 100: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–64 A8.1 (8/97)

����� ���������

�2&1 �� �/1 !/1,%� �)& ���9%&'*.&% 42&1 01/'*,&�

�/1 �.&!/1,%� 3)& $1&"3/1 /' 3)& 5&12*/.�

�� ��������� ��� ����� � � � � � � � � � � � � � � � � � � � � � � � � � �

�2&1 �� 3)"3 ,"23 -/%*'*&% 3)& -&-#&1 �"43/-"3*$",,7

40%"3&%��

�"3& �/%*'*&% �)& �"3& �/%*'*&% '*&,% *2 2*-0,7 3)& %"3& 3)"3 3)& �����

!1*3&1 5&12*/.� �/'36"1& &12*/.2 �&0/2*3/17 �&$/1%� ".%

2/ /.� 6"2 ,"23 40%"3&%�

�� ��������� ��� ����� � � � � � � � � � � � � � � � � � � � � � � � � � �

�)& %"3& 3)& -&-#&1 6"2 ,"23 40%"3&% �"43/-"3*$",,7

40%"3&%��

�"$) 24#'*,& ,*.& 1&01&2&.32 " 1&$/1% *. 3)& �/'36"1& &12*/.2 �&0/2*3/17 %&3"*,'*,& �� ����

�"$) 24#'*,& ,*.& 1&01&2&.32 " 1&$/1% *. 3)& �/'36"1& &12*/.2 �&0/2*3/17 %&3"*,'*,& �� ����

�70*.( 8�� *. 3)& �$3*/. �/%& %&,&3&2 ",, 3)& -&-#&12 ".% $/.31/, %"3" '1/-�

� �/'36"1& &12*/.2 �&0/2*3/17 �"23&1 '*,& �� ����

� �/'36"1& &12*/.2 �&0/2*3/17 �&3"*, '*,& �� ���

� �/41$& ".% �#+&$3� *' "00,*$"#,&

� �"3" �*$3*/."17 �� ��� � �� � ���� � ����

� /$"#4,"17 �5&11*%&2 �� ��

� �4.$3*/. �&7 �&'*.*3*/. �� ����� ����

� ����� !1*3&1 '/1-2 �� ���� � ��� � ���� � ���

� �412/1 �&.2*3*5& �&,02 �� ��� � ���

� �1/$&22*.( �03*/.2 �� ���

� �1/(1"- �&.&1"3/1� *' "00,*$"#,&

Page 101: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–65

Naming Conventions

� ��������� ����� � �� �� � ����� �� �� ������� � �� � ������������ �� ��� ���� �� � ������� ���� � ��� ��������� �� ������ � �� ������� �� � ������ �����

9801 Software Versions Repository Action Code. . . I Member ID. . . . P42565 Description. . . Sales Order Invoices Print Function Code. . RPG RPG Programs Function Use . . 164 Special Forms System Code. . . 42 Sales Order Processing Reporting System 42 Sales Order Processing Base Member Name P42565 File Prefix. . . Maint/RSTDSP . . Omit Option. . . Generation Sev . 21 Copy Data (Y/N). N Optional File. . N Common File. . . N DREAM Writer Form Exists O Source Object Source SAR Version S D User Date P Library Library File Number ID C P ID Modified JDFSRC JDFOBJ JDESRC 685935 A73 1 JDE 11/12/93

9801 Software Versions Repository Action Code. . . I Member ID. . . . R42565 Description. . . Sales Order Invoices Print Function Code. . PRTF Printer Files Function Use . . 164 Special Forms System Code. . . 42 Sales Order Processing Reporting System 42 Sales Order Processing Base Member Name P42565 File Prefix. . . Maint/RSTDSP . . Omit Option. . . Generation Sev . Copy Data (Y/N). N Optional File. . N Common File. . . N O Source Object Source SAR Version S D User Date P Library Library File Number ID C P ID Modified JDFSRC JDFOBJ JDESRC 672721 A73 1 JDE 11/08/93

Page 102: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–66 A8.1 (8/97)

9801 Software Versions Repository Action Code. . . I Member ID. . . . J42565 Description. . . Sales Order Invoices Print Function Code. . CLP CL Programs Function Use . . 164 Special Forms System Code. . . 42 Sales Order Processing Reporting System 42 Sales Order Processing Base Member Name P42550 File Prefix. . . Maint/RSTDSP . . Omit Option. . . Generation Sev . Copy Data (Y/N). N Optional File. . N Common File. . . N O Source Object Source SAR Version S D User Date P Library Library File Number ID C P ID Modified JDFSRC JDFOBJ JDESRC 644471 A73 1 JDE 08/09/93

� �� � ����� ��������� � �������� � �������� ���� ���������� �� ����� �� � �������� �� ����� ������� �� ��� ��� �� ����� ��� � �� ������������ ���� � ������ �� � ����� �� ����� � ���� �������� ����� ��� � ���� � �� ������� �� ���������� ���������� ��� �������� ��������� ������ � ����� �������� ��������� ��� ��������� ����� � ��� ���� ���� �������� �� �� �������� � ��� �� ���� ���������� �� ������� ���������� ����� �������� � ����� ��������� ��������� ���� ���� �� ���� ���� ������� �������� �� ������� ����� �� ����� ��������� ���� �� � ���� ����������� �����

Page 103: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–67

�%� &�� �"��")�!� ���$& �% +"'$ �'��� )��! !� �!� "����&%�

x xx xxxFirst digit — Component

C — Common subroutineI — Data structure; record formatsJ — CL programP — RPG programR — ReportS — Special formT — Temporary work filesV — Video screen display fileX — Scrub and Edit ServerXF — Input/Output File ServerXS — Input only/Caching Server

Second and third digits — System Code00 — World Foundation Environment01 — Address Book03 — Accounts Receivable55 — Reserved for clients

Fourth, Fifth, and Sixth Digits — Group Type000 to 099 — File maintenance100 to 199 — Transaction processing200 to 299 — Inquiry only300 to 399 — Input registers and journals400 to 499 — Operating reports500 to 599 — Special purpose reports600 to 799 — Standard management reports800 to 999 — HousekeepingDS — Data structureOther — Window designations

For acomplete listof systemcodes, seeUser DefinedCodes,system 98,record typeSY

�� #$"�$� � ��� #$"�$� �!� � ��#"$& ���� �+ ��(� ���!&���� !� �% )�&������$�!& #$���*�%�

"$ �*� #�� ������� ������� ������ ���$�%% �""� ��(�%�"!%��

�%� &�� �"��")�!� �% � �'��� )��! !� �!� ����%�

Page 104: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–68 A8.1 (8/97)

x xx xx xxxx

First digit — ComponentF — Data file (physical or logical)

Second and third digits — System Code00 — Operations Control/Back Office01 — Address Book03 — Accounts Receivable

Fourth and Fifth Digits — Group Type01 — Master02 — Balance11 — Transaction

Sixth through Tenth Digits — Identifying SuffixesThese digits differentiate component versions.Example — Programs that perform similar functions

but vary distinctly in specific processing.WF — Work FileLA thru LZ — Logical File DesignationsJA thru JZ — Join Logical File DesignationsVersion ID — 3 digit number appended to saved

DREAM Writer logical file name

Page 105: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–69

��� �&##&. %� *�&.* +�� %�$�* �&) � ���)�%+ +0'�* &� ')&�)�$* �%� � #�*�

��������� ������� ��� $� %+�%�%�� ')&�)�$ �&) � � #� ��* +�� *�$� %�$�

. +� � � ���)�%+ ')�� /�

&) �/�$'#�� ���� * ����� &) ���� * ������

������� ��� &) #&� ��# � #�* &-�) &%� '�0* ��#� +�� #&� ��# � #� ��* +��

*�$� %�$� �* +�� '�0* ��# �&##&.�� �0 �% �� �&##&.�� �0

+�), ��

&) �/�$'#�� ���� ��* #&� ��#* ������ ������

������� �%� �������

���� ������� ��� �& % �&� ��# � #�* ��-� +�� *�$� %�$� �* +�� ') %� '�#

��*��1&% � #�� � *,�� / &� � �&##&.�� �0 +�), ��

&) �/�$'#�� +�� *0*+�$ %�$�* +�� !& % &� ���� �%�

���� �* �����

�������� ��� �+�� !&�* ,*� � � #�* �& %� � ��������� ��� !&� +��%

)�$&-�* +�� &�!��+ ��+�) �&$'#�+ &%�

� �*,�##0 ��0* ��# #�*

� �� % . +� �

� &,%� % �� ��

������� ��� ��� �0%�$ � .&)" � #�* �)� ,*,�##0 ��� ')&��** %�

)�(, )�$�%+*� �0%�$ � .&)" � #�* �)��+� �%� ��#�+� ��+�)

+�� !&� * �&$'#�+��

� �*,�##0 #&� ��# � #�*

� ��-� *�$� %�$� �* ')&�)�$

Page 106: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–70 A8.1 (8/97)

The J.D. Edwards System Codes

��� ���� �� ������ ��� ������ ��� ������� ��� ������ �� ��� ���� ��������� ����� ��� ��� ������ ���� ��� ��� �������� ����� ��������

15 = Commercial Property Management16 = Resident Property Management17 = Property Management Base18 = Deal Management

01 = Address Book02 = Electronic Mail03 = Accounts Receivable04 = Accounts Payable05 = Stand-Alone Time Accounting07 = Payroll “Enhanced”08 = Human Resources09 = General Accounting10 = Financial Reporting11 = Multi Currency/Cash Basis12 = Fixed Assets13 = Equipment/Plant Management14 = Modeling, Planning, & Budgeting

30 = Product Data Management31 = Shop Floor Control32 = Configuration Management33 = Capacity Requirements Planning34 = DRP/MRP/MPS35 = Enterprise Facility Planning

00 = World Foundation Environment

= Technical Foundation Systems

20 = Energy Base

40 = Inventory/OP Base41 = Inventory Management42 = Sales Order Processing43 = Purchasing Order Processing

44 = Contract Management45 = Advanced Price Adjustments46 = Warehouse Management47 = Electronic Data Interchange48 = Work Order Processing49 = Load and Delivery50 = Job Cost Base51 = Job Cost Accounting52 = Job Cost Billing53 = Change Management

55–59 = Client Use60–69 = JDE Internal Custom Programming70 = Multi–National Products71 = Client/Server Applications72 = World Vision73 = CS — A/P Entry74 = CS — Pay Time Entry75 = CS — Sales Order Entry76 = CS — Training and Development77 = Canadian Payroll79 = CS — Translation

80 = COBOL Translator81 = DREAM Writer82 = World Writer83 = Management Reporting — FASTR84 = Distributive Data Processing85 = Custom Programming86 = Electronic Document Interchange87-99 = Miscellaneous Tech

Page 107: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–71

Examples of Program and File Names

�� ����� �� � � ��� �� �������� � ������� ��� � ����� ��� � �� ����� ��� �� ��� ����� ��� ��� �������� ������

Data Files

Account Master File F 09 01

Component (File)

System Code (General Accounting)

Component Group Type (Master)

Account Master Alternate Logical F 09 01 LA

Component (File)

System Code (General Accounting)

Component Group Type (Master)

Version Identification (Logical)

Videos (Screens)

V 09 01

Component (Video)

System Code (General Accounting)

Component Group Type (File Maintenance)

RPG Programs

P 09 01

Component (RPG Program)

System Code (General Accounting)

Component Group Type (File Maintenance)

CL Programs

J 09 01

Component (CL Program)

System Code (General Accounting)

Component Group Type (File Maintenance)

Page 108: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–72 A8.1 (8/97)

Optional Files Workbench

��� ����� � ����� ��������� ��� ���� ������ ����� �� ������ � ������ ���� "�������� ������ � ������ ���" �� ������� �� "�� ������ ��� ����� ����� �� ��� ��� � ������ ��� �"����� � �� ���� � � � �!�� � ���� ���� ��� �������� ���� �� � � ����� ������ ��

� �� "�� ���� ��� ������� ������ "�� � � ���� � ���� ���� ��� ������

������ � ����� �� ���" ���� ���� �������

98290 Optional Files Workbench System Code. . Reporting Sys. Library. . . . . PGFDTA73 Skip To File . . O File P ID Description F00021 Next Numbers by Company/FY – Automatic F00021LA Next Numbers by Company/FY – Automatic – Logical Key Co,Seq F0006JA JF – BILLING ONLY – F0006/F0911 – Cost Center F0006JE JF – Profit Recognition F0006/F5144 (Cost Center) F0006LC LF – JOB COST ONLY – Level of Detail, Cost Center F0006LG Business Unit Master F0006LH LF – JOB COST ONLY – Company, Desc Compressed, Cost Center F0013 Currency Codes F0018LD LF – OneWorld – Document Typ, Document No, Key Co, F0030LF LF – OneWorld – Decending Unique ID F0030LG LF – OneWorld – Type, Account ID, Cost Center F0031 Cross Over Rules F0031LA LF – domestic file, foreign file, foreign field F0031LB LF – domestic file, foreign file, dom reference field F0040 PC Batch Entry – Error File Opt: 1=Explanation 2=SVR 4=Delete F2=Cmd Entry F5=View Log F24=More

Page 109: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–73

Logical Files

� ��� � ��% � �"% �"����� ����& �!�& *�'� �+� *��%� + �& '�� !�+' �)�������

��''�% �! ��#�� &�$(�!���

� ��� �����' ���%�%, �& (&(���, �������

� ��� ��&�%�#'�"! &�"(�� ��&' '�� ��, �����& �"% '�� )��*�

� ��� ��!'������� �& � �"% #�% �!�!' &,&'� �"�����&�

� ��� ��&� � ��% �� � �& '�� #�,&���� ���� '�� �"����� )��* �& ")�%�

9801 Software Versions Repository Action Code. . . I Member ID. . . . F0911LA Description. . . LF – Doc Type, Doc, Key Co, G/L Date(##YYMMDD), Line #, Ext Function Code. . LF Logical Files Function Use . . 230 Transaction Files System Code. . . 00 Technical Foundation Reporting System 09 General Accounting Base Member Name F0911 File Prefix. . . GL Maint/RSTDSP . . 1 Omit Option. . . Generation Sev . Copy Data (Y/N). N Optional File. . N Common File. . . N O Source Object Source SAR Version S D User Date P Library Library File Number ID C P ID Modified JDFSRC JDFDTA JDESRC 591710 A61 1 JDE 03/22/93

Page 110: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–74 A8.1 (8/97)

Join Logical Files

� ��� ����������� ����� ��� ���� ���� ����� ��� ���� �� �����

� ��� ��� ����� ��� �� ��� ������ ��� �� ��� �����

� ������� ���� ���� ����� �� ��� ��� ������

9801 Software Versions Repository Action Code. . . I Member ID. . . . F0006JA Description. . . JF – BILLING ONLY – F0006/F0911 – Business Unit Function Code. . LF Logical Files Function Use . . 210 Master Files System Code. . . 00 Technical Foundation Reporting System 00 Technical Foundation Base Member Name F0006 File Prefix. . . MC Maint/RSTDSP . . 2 Omit Option. . . Generation Sev . Copy Data (Y/N). N Optional File. . N Common File. . . N O Source Object Source SAR Version S D User Date P Library Library File Number ID C P ID Modified JDFSRC JDFDTA JDESRC 493167 A61 1 JDE 03/05/93

Page 111: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–75

Copy Modules

� ��� ������ � ������ "� � �� � �� �� ��

� ��� ��!��� ���� �� ��� ��

� ��� ������� ��� ��������� �� �!�� ��� �� �� ���!���

� ��� �!�� ��� ���� �� �� ��

9801 Software Versions Repository Release. . A61 Action Code. . . I Member ID. . . . C00SC Description. . . Copy Module – Retrieve Soft Coding Function Code. . COPY RPG Copy Module Function Use . . 194 Common Subroutine System Code. . . 98 Technical Tools Reporting System 98 Technical Tools Base Member Name C00SC File Prefix. . . Maint/RSTDSP . . Omit Option. . . Generation Sev . Copy Data (Y/N). N Optional File. . N Common File. . . N O Source Object Source SAR Version S D User Date P Library Library File Number ID C P ID Modified JDFSRC JDFOBJ JDECPY 603784 A61 1 JDE 06/10/93

Page 112: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–76 A8.1 (8/97)

Windows

� ��� ������ �� ������ ��� �� ��� �"���� ������� ���� � ��� �����

���������� � ��� � �� ��� �! ���� ���� �

� ��� ����������� ��������� ��� �������� �� ��� �����

� � ������� �� ���� �� �� �� ��� ��� ���� �� ��� � �� ����� �� ��!�

���� ��� � ����� �����

9801 Software Versions Repository Action Code. . . I Member ID. . . . V09ACCT Description. . . Account Master Additions Window Function Code. . DSPF Video Display Files Function Use . . 111 File Maintenance System Code. . . 09 General Accounting Reporting System 09 General Accounting Base Member Name P09ACCT File Prefix. . . Maint/RSTDSP . . Omit Option. . . Generation Sev . Copy Data (Y/N). N Optional File. . N Common File. . . N O Source Object Source SAR Version S D User Date P Library Library File Number ID C P ID Modified JDFSRC JDFOBJ JDESRC 552868 A61 1 JDE 12/08/92

Page 113: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

F6

F9

F17

F19

A8.1 (8/97) 2–77

Navigation Functions

��� �"��"*�!� �(!�'�"! ��+& ������'�'� !�)���'�!� *�'��! '�� �"�'*�%� ��%&�"!&��#"&�'"%+�

F6 – Access Repository Services

�� � �"( ��! ����&& '�� ��#"&�'"%+ ��%)���& �"% (&�!� ��� ���& �"% #%")���&����&& '" '�� "'��% %�#"&�'"%+ &�%)���& *�'��! ��� �*�%�&�

9801 Software Versions Repository Action Code. . . I Member ID. . . . P01051 Description. . . Address Book Information Function Code. . RPG RPG Programs Function Use . . 111 File Maintenance System Code. . . 01 Addres 985001 Repository Services Reporting System 01 Addres “1” Available Services Base Member Name P01051 Data Dictionary Maint/RSTDSP . . Omit Opt Menus Copy Data (Y/N). N Optional Vocabulary Overrides DREAM Writ Function Key Definitions O Source Object Sourc Processing Options P Library Library File User Defined Codes JDFSRC61 JDFOBJ61 JDESR Edit System Helps JDXSRC61 JDXOBJ61 JDESR CASE Profiles PGXSRC61 PGXOBJ61 JDESR SAR Log Inquiry Copy DD,VO,DW,UDC,SVR,Menus Opt: 1=Select F12=Previous Opt: 1=Browse 2=Edit 3=Copy 5=SAR 8=Print 9=Dlt 10=Design 14=Crt F24=More

�&� &����'�"! � '" &����' '�� �)������� &�%)���&�

F9 – Automatic Reinquiry

�� � !�� '�� &+&'� ��& ����#'�� '�� ���!��& +"( ��� '" � � ��% �!�����%�� '�� &�%��!� +"( ��! �('" �'�����+ �!$(�%� "! '��' � ��% �+ #%�&&�!����

F17 – Position Cursor to Action Code

��� � ���! +"( �!$(�%� "! � � ��%� '�� &+&'� #"&�'�"!& '�� �(%&"% �! '��&(����� �"% '�� &�%��!� �" %�#"&�'�"! +"(% �(%&"% �! '�� ���� ��� ������ #%�&&����

F19 – Previous Member

��� � �" ����&& '�� � ��% &'"%�� ���"%� '�� �(%%�!' � ��%� #%�&& ����

Page 114: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

F20

F2

F8

F10

F13

F14

F15

Advanced Programming Concepts and Skills

2–78 A8.1 (8/97)

F20 – Next Member

�� � �/ !##%22 3(% -%-"%1 23/1%$ !&3%1 3(% #411%.3,8 $)20,!8%$ -%-"%1� 01%22���

Other Function Keys

F2 – J.D. Edwards Command Line

� � �/ !##%22 ! #/--!.$ ,).% 3/ %.3%1 ! ���� �$6!1$2 /1 ��� #/--!.$6)3(/43 (!5).' 3/ %7)3 3/ �/--!.$ �.318 /1 ! -%.4�

�!,,2 ! ���� �$6!1$2 01/'1!- !.$ ./3 3(% ��� �/--!.$ �.318�

�& 8/4 !1% 2%#41%$ /43 /& �/--!.$ �.318 /1 �%.4 �1!5%,).'� 8/4 23),, 1%#%)5%3()2 #/--!.$ ,).% "43 8/4 #!../3 %7%#43% #/--!.$2 /1 -%.4 31!5%,�

F8 – Optional Files

�� � �(% 2823%- $)20,!82 3(% /03)/.!, &),%2�

F10 – Checklists

�� � �)20,!82 ! 42%1 $%&).%$ #(%#+,)23� �03 $)20,!82 !$$)3)/.!, */").&/1-!3)/.�

F13 – Member Category Codes

�� � �)20,!82 !$$)3)/.!, #!3%'/18 #/$% ).&/1-!3)/. &/1 %!#( -%-"%1� /4 #!.#1/2291%&%1%.#% #!3%'/18 #/$% 5!,4%2 3/ 3(% �/&36!1% �%12)/.2 �%!1#( 01/'1!-�������

F14 – Member Parameter/Key List

�� � �$%.3)&)%2 3(% !##%22 0!3( &/1 +%8%$ &),%2�

F15 – Where Used Facility

� � ��� �(%1% �2%$ �!#),)38

� � /4 #!. !##%22 3(% �(%1% �2%$ &!#),)38 42).' �4.#3)/. +%8 /. �/&36!1%�%12)/.2 �%0/2)3/18� �2% 3()2 &!#),)38 3/ $%3%1-).% %5%18 ,/#!3)/. 3(!3 ! 0!13)#4,!1-%-"%1 )2 42%$�

Page 115: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

F23

A8.1 (8/97) 2–79

��#&- ") �% �.�$'#� �&($ �")'#�/"% �,�(/ '(& (�$ *!�* +)�) *!� �+)"%�)) �%"*��)*�( �&($

980014 Cross Reference Object: Name . . . V0006 Business Unit Master Revisions – Single Type . . . F All programs using file To Display P Funct Cd . O Name Description Field Attr T Start Upd P Len Dec Y Loc Y/N P0006 Business Unit Master Revisions – Single Y

Opt: 1=SVR 2=Create Object 3=Field Explanation F21=Print F16=Regenerate

�& +)� *!") ���"#"*/� /&+ $+)* (+% *!� �(&)) ����(�%�� ���+"#����������

���� �& +)� *!") ���"#"*/� /&+ $+)* (+% *!� �(&)) ����(�%�� ���+"#����������

F23 – Flow Programs / Illustrate File Models

�� � �& �")'#�/ � �#&-�!�(* "� *!� $�$��( ") � '(& (�$ &( � ��*� �&��#"� *!� $�$��( ") � �"#��

�%#/ �+%�*"&%�# �&( '(& (�$) �%� �"#�)�

Page 116: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–80 A8.1 (8/97)

Selection Exits from the Software Versions Repository

�&# $-**-5',% '1 � *'12 -$ 2&# -.2'-,1 �4�'*� *# $0-+ 2&# �-$25�0# �#01'-,1�#.-1'2-07� �7 0#$#00',% 2- 2&# $-0+ .'!230#" ', 2&# #%',,',% -$ 2&# !&�.2#0�7-3 !�, 1## 2&�2 2&#0# �0# +-0# -.2'-,1 2&�, !�, # "'1.*�7#" -, 2&# $-0+�

������ ���������

� �0-51# ��� +#+ #0

�'1.*�71 2&# ��� �#+ #0 ', 0-51# +-"#�

� �"'2 31',% ���

�'1.*�71 2&# ��� �#+ #0 ', 3."�2# +-"#�

� �-.7� "" #,207�1-30!# +#+ #0

�-.'#1 2&# 1-30!# +#+ #0 2- �,-2&#0 +#+ #0�

""1 +�12#0 �," "#2�'* 0#!-0" $-0 2&# +#+ #0 #',%

!-.'#" 2- '$ 2&#7 "- ,-2 �*0#�"7 #6'12�

�-.'#1 .0#8!-+.'*#0 !-++�,"1 �," �-!� 3*�07

�4#00'"#1� �-.'#1 .0-%0�+ %#,#0�2-0 1.#!'$'!�2'-,1 '$

0#/3#12#"�

�-0) 5'2& � � "#2�'*

�'1.*�71 2&# � ���-0) �0"#0 �#2�'* �,207 1!0##,�

"#$�3*2',% 2- 2&# +#+ #01 �$$#!2#" .-02'-, -$ 2&#

� ���-0) �0"#0�

�0',2 1-30!#

�0',21 � 1.--*#" $'*# -$ 2&# +#+ #0�

� �#*#2#� 0#+-4# 1-30!#

�#*#2#1 2&# "#2�'* 0#!-0" �," 0#+-4#1 2&# 1-30!# +#+ #0

$0-+ 2&# 1-30!# $'*#�

�&# 1�+# ��� �32&-0'27 2&�2 �..*'#1 2- 2&# !-++�,"

���� �..*'#1 2- 2&'1 $3,!2'-,�

�'** "#*#2# 2&# - (#!2 '$ 0#/3#12#" 7 2&# 31#0� �$ 7-3 "-

,-2 0#+-4# 2&# 1-30!# +#+ #0� 7-3 5'** ,-2 # �**-5#"

2- "#*#2# 2&# - (#!2�

�� �6'2 2- "#1'%, �'"

�#2#0+',#1 5&�2 27.# -$ +#+ #0 7-3 �0# �!!#11',% �,"

2&#, #6'21 2- 2&# !-00#!2 ���� �"5�0"1 "#1'%, 2--*� 2&�2 '1�

�� ��� ��� ��0-%0�+ �#,#0�2-0�

Page 117: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–81

������ ���������

�� �/$"-+.(*$/ "-++ ,#0 %-/ ���� �#4 /#0 "-+.(*$/�

�""$00$0 1'$ 0-2/"$ "-#$ %-/ 1'$ ./$"-+.(*$/ "-++ ,#0

00-"( 1$# 4(1' ./-&/ +�

� '(&'*(&'1$# +$00 &$� ���� ���� � ������ �����

(,#(" 1$0 4'$, 1'$6 $5(01 %-/ 1'$ +$+!$/�

�-,1 (,0 (,%-/+ 1(-, %-/ 01$.0 1' 1 ,$$# 1- !$ "-+.*$1$#

./(-/ 1- "-+.(*(,& 1'$ ./-&/ +�

����� �,*6 -,$ .$/0-, " , 3($4 1'$ 0 +$ ./$�"-+.(*$/

"-++ ,#0�

�� �2!+(1 -!)$"1 "/$ 1(-,

�-+.(*$0 1'$ +$+!$/ ,# &$,$/ 1$0 , -!)$"1�

�� �$,$/ 1$ ./-&/ + 0-2/"$ ,# '$*.

�2!+(10 1'$ +$+!$/ 1- 1'$ ./-&/ + &$,$/ 1-/ (, -/#$/ 1-

&$,$/ 1$ 0-2/"$ ,# /$* 1$# '$*.0�

�,*6 ..*(" !*$ 1- ���� 20$/0�

� �#(1 '$*. (,01/2"1(-,0

�""$00$0 1'$ '$*. (,01/2"1(-,0 %-/ . /1("2* / ./-&/ + (,

2.# 1$ +-#$ 21(*(7(,& ����

�� �$,$/ 1$ � /$!2(*# '$*. (,01/2"1(-,0

�2!+(10 1'$ '$*.0 %-/ &$,$/ 1(-, ,# /$!2(*#0 1'$+ (,1-

1'$(/ %(, * %-/+ -,"$ 1'$6 ' 3$ !$$, $,1$/$#�

� �/-40$ �������

�""$00$0 ��� -/ ��� (, !/-40$ +-#$�

� �/(,1 '$*.

�/(,10 1'$ '$*. (,01/2"1(-,0 %-/ 1'$ +$+!$/�

� �/(,1 (**201/ 1(-,

�/(,10 , (**201/ 1(-, -% ./(,1$/ %(*$0� #(0.* 6 %(*$0� -/ # 1

! 0$ %(*$0�

� �-2/"$ +-#(%(" 1(-,0 $#(1-/

�**-40 6-2 1- 3($4 1'$ 0-2/"$ +-#(%(" 1(-,0 + #$ 1- 1'$

+$+!$/ 1'/-2&' ��� %1$/ 0-2/"$ 4 0 &$,$/ 1$#� �1-/$#

(, 1'$ ���� %(*$�

�,*6 ..*(" !*$ 1- ���� 20$/0�

ÁÁ Exercises�$$ 1'$ $5$/"(0$0 %-/ 1'(0 "' .1$/�

Page 118: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–82 A8.1 (8/97)

Page 119: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–83

CASE Profiles

About CASE Profiles

��� ')&�!#�* �)� ,*�) ���!%�� -�#,�* + �+ ��% '�)+�!% +& !%�!-!�,�# ,*�)* &) +&&%� ������� ,*�) ')&�!#��

F98009

�%�&)$�+!&% !* *+&)�� !% + � ��� ')&�!#�* �!#� ���������

� �*� ')&�!#�* �)� ,*�� +& ���!%� + � &-�)�## ���&'�)�+!%� �%-!)&%$�%+�

��)!&,* ')&��**!%� �&%+)&# '�)�$�+�)* �)� ���!%�� �. + � ,*�) !%�#,�!%�

� ���,#+ ��-�#&'$�%+ #!�)�)!�*

� �&$'!#� "&� (,�,�

� �)&�)�$ ��%�)�+&) *&,)�� ��%�)�+!&% "&� (,�,�

� �&$'!#� ')!%+ &'+!&%*

� �� #&��!%� &'+!&%*

Page 120: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–84 A8.1 (8/97)

�$* (�$*!� �""����)�!. *%��)� )�� '��$'� �$' �(�' �� ������

���# �#)�'�#� �#�$'"�)�$# �$' ������ �!! ���!�( �'� '�&*�'���

����*!) ��� �'$��!� +�!*�( �'� "��#)��#�� �# � '��$'� ,�)� )�� �(�' �������� �$* (�$*!� �#)�' ��� �'$��!� +�!*�( �$' �#��+��*�! *(�'( $#!. �� .$*#��� $+�''���( )$ )�� ����� +�!*�(�

���# �#)�'�#� +�!*�( �$' �#��+��*�! *(�'(� .$* ��# !��+� �!! ���!�( �!�# �-��%)�$' )�� (%������ +�!*�( ���#� $+�''����#�

Accessing CASE Profiles

�� ��� ���� ����� �

�$ ����(( ��� �'$��!�(� ��$$(� $#� $� )�� �$!!$,�#� "�)�$�(�

� '$" "�#* ���� ��$$(� ��� �'$��!�(

G92 J.D. Edwards & Company JDED Programmers Computer Assisted Design (CAD)

... SYSTEM DESIGN AIDS ... PROGRAM DESIGN AIDS 2. Software Versions Repository 14. Processing Options 3. Menus 15. Help Instructions 4. Data Dictionary 16. Universal File Convertor 5. Model Relations 6. CASE Profiles 7. Functions Key Definitions 8. Vocabulary Overrides Selection or command ===>

Page 121: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–85

� �� "�� ����!�"� & �� $���! �� �� !����" ��� �����!�

9801 Software Versions Repository Action Code. . . Member ID. . . . Description. . . Function Code. . Function Use . . System Code. . . 985001–––––Repository Services––––––––––––––– Reporting System “1” Available Services Base Member Name Data Dictionary Maint/RSTDSP . . Omit Opt Menus Copy Data (Y/N). Optional Vocabulary Overrides Function Key Definitions O Source Object Sourc Processing Options P Library Library File User Defined Codes Edit System Helps CASE Profiles SAR Log Inquiry Copy DD,VO,DW,UDC,SVR,Menus –Sel:–––1=Select––––––F12=Previous––––––––––– Opt: 1=Browse 2=Edit 3=Copy 5=SAR 8=Print 9=Dlt 10=Design 14=Crt F24=More

��� ��% ��� �����! �� � ����� !� ��� � �� �� �""���"! "� �#"���"�����&���#� � �� &�# �!� ��� �� &�# �� �! ��" !�" #�� �� � � ���# !� ��# ������#� � �� � ������

98009 CASE Profiles

Action Code. . . . . . . I User ID. . . . . . . . . *PUBLIC

Default Development Environment Program Creation Options Source File . . . . . . JDESRC Compile Job Queue . . . COMPILE Source Library. . . . . PGFSRC Prog Gen Job Queue. . . CLONE Object Library. . . . . PGFOBJ Compile Target Release. *CURRENT CL Source File. . . . . JDESRC Print Option . . . . . 1 Data File Library . . . TEST Cross–Reference Listing N SAR Number. . . . . . . Version ID. . . . . . . A7.3 Status Code . . . . . . 4 Custom

SAR Options SAR File Library. . . . TEST SAR Delivery Type . . . *LOG Log to SAR# 00000000

Miscellaneous Source Gen Opt (Future) Helps Maint Opt(Future) SEU

F24 = More Keys

Page 122: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–86 A8.1 (8/97)

Default Development Environment

����� ���������

�-30!# �'*# ��+# �&# "#$�3*2 1-30!# $'*# ,�+# 5&#0# 1-30!# '1 2- # 12-0#"

5'2&', 2&# 1-30!# *' 0�06�

�312 0#1'"# 5'2&', 2&# 1-30!# *' 0�06 1.#!'$'#"�

�-30!# �' 0�06 �&# "#$�3*2 *' 0�06 5&#0# 1-30!# 5'** # 12-0#"�

�&# 1-30!# $'*# 1.#!'$'#" +312 0#1'"# 5'2&', 2&'1 *' 0�06�

� (#!2 �' 0�06 �&# "#$�3*2 *' 0�06 5&#0# !-+.'*#" - (#!21 5'** # 12-0#"�

�� �-30!# �'*# �&# "#$�3*2 *' 0�06 5&#0# 1-30!# $-0 �� .0-%0�+1 5'** #

12-0#"�

�&# 4�*3# 1.#!'$'#" +312 0#1'"# 5'2&', 2&# 1-30!# *' 0�06

1.#!'$'#"�

��2� �'*# �' 0�06 �1#" 2- 1.#!'$6 2&# 2#12 �-0 "#4#*-.+#,2� *' 0�06 $-0

.&61'!�* �," *-%'!�* $'*#1�

�1#" �1 2&# "#$�3*2 - (#!2 *' 0�06 $-0 2&# �-$25�0# �#01'-,1

�#.-1'2-06 5&#, !-.6',% 1-30!# !-"# $-0 .&61'!�* -0

*-%'!�* $'*#1�

��� �3+ #0 �, � 0#4'�2'-, $-0 1-$25�0# �!2'-, 0#/3#12 ������

� ����� 2&# ��� ,3+ #0 5'** ,-2 # 4�*'"�2#" ',

�,6 -$ 2&# ������� .0-%0�+1 �," !�, # *#$2 *�,)�

� �$ � ��� ,3+ #0 '1 #,2#0#"� '2 '1 31#" ',

!-,(3,!2'-, 5'2& 2&# ��� �#*'4#06 �6.# -$ �����"#$�3*2��

�#01'-, �� �&# 1-$25�0# 4#01'-, ,3+ #0 2- # "#$�3*2#" ', 2&#

�-$25�0# �#01'-,1 �#.-1'2-06 $'*#�

�2�231 �-"# �#2#0+',#1 2&# 12�231 -$ 2&# 1-$25�0# �1 5#** �1 5&#0# '2

0#1'"#1 ', .0-"3!2'-,�

�2 5'** 1.#!'$6 2&�2 2&# 1-$25�0# '1 ', .0-"3!2'-,� ',

"#4#*-.+#,2� -0 ', 0#*#�1#�

�$ 6-3 !0#�2# � !312-+ #,4'0-,+#,2� .32 � �� -0 � ', 31#0 "#$',#" !-"#1� �$ 6-3&�4# � 7� �.0-"3!2'-,� 2&# 1612#+ 5'** 2&',) '2 '1 � ���� �"5�0"1 $'*# �," 50'2#-4#0 '2 "30',% 2&# �-$25�0# �#01'-, �#.-1'2-06 �#0%# ', �, 3.%0�"#�

Page 123: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–87

Program Creation Options

"17 *#8' 6*' (1..19+0) 126+105 9*'0 ;17 %4'#6' # 241)4#/�

����� ���������

�1/2+.' �1$ �7'7' �2'%+(+'5 9*+%* ,1$ 37'7' 9+.. $' 75'& 9*'0 57$/+66+0)

241)4#/5 61 %1/2+.'�

�*+5 ,1$ 37'7' +5 75'& (14 241)4#/5 9+6* (70%6+10 %1&' 1(

���� ���� ���� � #0& �"���

�41) �'0 �1$ �7'7' �2'%+(+'5 9*+%* ,1$ 37'7' 9+.. $' 75'& 9*'0 57$/+66+0)

,1$5 (41/ 6*' �41)4#/ �'0'4#614�

�*'5' ,1$5 +0%.7&' 6*' 5174%' %1&' )'0'4#6+10 #0& 6*'

5174%' %1&' /10+614 (41/ �� �

�1/2+.' �#4)'6 �'.'#5' 5'& $; 8#4+175 ��� %1/2+.'45 ����������������� 61

%1/2+.' #0 1$,'%6 %1/2#6+$.' 9+6* # 52'%+(+'& 6#4)'6

4'.'#5'�

� � 8#.7' 1( �� ����� %1/2+.'5 #0 1$,'%6

%1/2#6+$.' 61 6*' 4'.'#5' 1( 6*' /#%*+0' #6%1/2+.' 6+/'�

� � 8#.7' 1( ���! %1/2+.'5 #0 1$,'%6 %1/2#6+$.'

9+6* $16* 10' 4'.'#5' $#%- #0& 6*' %744'064'.'#5'�

�4+06 �26+10 5'& 61 &'5+)0#6' 9*'6*'4 14 016 # 4'2146 9+.. $'

)'0'4#6'& 9*'0 #0 1$,'%6 +5 %1/2+.'&�

� � 01 24+06

� � � 24+06

� � � 24+06 #0& *1.& 5211. (+.'

� � 24+06 10.;� &1'5 016 )'0'4#6' ':'%76+10 1$,'%6

�#22.+'5 61 ����� #0& ��� 10.;�

� � � 24+06 9*'0 %1/2+.' 14 %4'#6+10 (#+.5

�4155��'('4'0%' �+56+0) �2'%+(+'5 9*'6*'4 # %4155�4'('4'0%' .+56+0) 9+.. $'

)'0'4#6'& (14 8#4+#$.'5 #0& (+'.&5 +0 # 241)4#/�5 %1/2+.'

.+56+0)�

"17 /756 *#8' # ,1$ 37'7' %#..'& ������� (14 ������� ��� � � � 61%1/2+.' 241)4#/5 14 75' # 8#.+& ,1$ 37'7'�

Page 124: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

F6

F9

Advanced Programming Concepts and Skills

2–88 A8.1 (8/97)

SAR Options

�&# $,)),4'+% $'#)"0 -/,3'"# 6,2 4'1& ,-1',+0 $,/ 1&# ),!�1',+ ,$ 6,2/ � � $')#�+" � � ),%%'+%�

����� ���������

� � �')# �' /�/6 �-#!'$'#0 1&# )' /�/6 4&#/# 1&# �,$14�/# !1',+ �#.2#01

�� �� $')# $,/ 0,$14�/# "#3#),-*#+1 #5'010�

� �$ )#$1 )�+(� 1&# 20#/�0 )' /�/6 )'01 4')) # 20#"�

� �,2 !�+ 0-#!'$6 ����� '+ 1&# � � +2* #/ $'#)" '$

6,2 ", +,1 4�+1 �+6 � � +2* #/ #"'1'+%�

� � �#)'3#/6 �6-# 00,!'�1#" 4'1& � � ),%%'+%� � � ),%%'+% '0 � $#�12/#

4&'!& 1/�!(0 �)) �!1'3'1'#0 /#)�1#" 1, *,"'$6'+% �� ��

�"4�/"0� 0,$14�/#�

� ����� � +, ),%%'+%�

� ���� � ),% 1, � � +2* #/ �+, � �

+2* #/ '0 20#" $,/ ),%%'+%��

� ���� � ),% 1, � "#$�2)1 � � +2* #/ �0-#!'$'#" '+

1&# � � �2* #/ $'#)"��

� ������� � ),% �+" -/,*-1 1&# 20#/ $,/ 1&# � �

+2* #/ 1, # 20#" �+" �)),4 1&# 20#/ 1, #+1#/ 1&#/#3'0',+ +,1#0�

Miscellaneous

�&# $,)),4'+% $'#)"0 �/# /#0#/3#" $,/ $212/# 20#�

����� ���������

�,2/!# �#+ �-1 ��212/#� �,/ $212/# 20#�

�#)-0 ��'+1 �-1��212/#� �,/ $212/# 20#�

Function Key Exits From the CASE Profiles Program

F6 – Access Repository Services

� � �&'0 (#6 4')) "'0-)�6 � $,/* 1&�1 -/,3'"#0 �!!#00 1, 1&# ,1&#/ /#-,0'1,/60#/3'!#0� #5!#-1 $,/ � �� -/,$')#0�

F9 – Previous Profile

�� � )),40 6,2 1, /#7'+.2'/# ,+ 1&# )�01 /#!,/" 2-"�1#"�

Page 125: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–89

Summary of CASE Profiles

� �$! �� �-*"%'!. "%'! %. �������

� �*0 )!! /* 0+ �/! /$! ������ -!�*- �. 2!'' �. � �)4 � %/%*)�'

%) %1% 0�' -!�*- . !.%-! �

� �*0 ��))*/ !'!/! /$! ������ -!�*- �

� �$!) !)/!-%)# %)"*-(�/%*) "*- /$! ������ -!�*- � �'' "%!' . �-! -!,0%-! �

� �$! -!�*- "*- �.!- �� ������ �*)/�%). /$! 1�'0!. /$�/ �-! 0.! �. /$!

!"�0'/. "*- �'' 0.!-. 0)'!.. %) %1% 0�' 0.!- +-*"%'!. $�1! �!!) .!/ 0+�

� �$!) !)/!-%)# 1�'0!. "*- %) %1% 0�' +-*"%'!.� �'' "%!' . �-! '!"/ �'�)&

�� �� "*- /$! .+!�%"%� 1�'0!. �!%)# *1!--% !) *) /$! ������ +-*"%'!�

� �� �0(�!- �) �� �!'%1!-4 /4+! 2*-& /*#!/$!- /* !/!-(%)! 2$�/ /4+!

*" �� '*##%)# .$*0' *��0-�

� ���� � )* �� '*##%)# �/ �''�

� ���� � )* �� )0(�!- %. %)�'0 ! �. +�-/ *" /$! �� '*##%)#�

� ���� � /$! �� )0(�!- .+!�%"%! %. 0.! "*- /$! �� '*##%)#�

� ������� � 4*0 �-! +-*(+/! "*- � �� )0(�!- �) -!1%.%*) )*/!. 2$!)

�) !)/-4 %. ��*0/ /* �! (� ! /* /$! �� '*#�

ÁÁ Exercises�!! /$! !3!-�%.!. "*- /$%. �$�+/!-�

Page 126: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–90 A8.1 (8/97)

Page 127: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–91

Working with SAR Log

About SAR Log

��'�% +"( �%��'� '�� ���&� +"( (&' ��'�)�'� ��� �"���!�� *���� �('" �'�����+'%���& '�� ���& �& +"( ��)��"# '�� &"�'*�%��

��� ��� �"� �!$(�%+ #%"�%� ���"*& +"( '" %�)��* �!�"% �'�"! �! '�� ��� �"����� � �����

�"( ��! ��&" ���!�� '�� ��� �( ��% �!� ��)�&�"! �"'�& �"% �!��)��(�� �"�%��"%�&�

�" #��'� '�� �"��"*�!� '�&�&

� ��' (# (&�% �!#(' "#'�"!& �"% ��� �"���!�

� �����' '+#�& "� ��� �!�"% �'�"! '" �"�

� ����&& ��� �"� �!$(�%+

Page 128: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–92 A8.1 (8/97)

Before You Begin

� �/$ 1$ ���0 !$%-/$ 5-2 "1(3 1$ ��� *-&&(,&�

�/-+ 1'$ �$/0(-, �-,1/-* +$,2 �� ���� "'--0$ ���� �/-%(*$0�

Setting Up User Input Options for SAR Logging

�� ��� � ���� � �� � ���� ��� ��� �����

�, ���� �/-%(*$0

98009 CASE Profiles Action Code. . . . . . . I User ID. . . . . . . . . MORRIS Default Development Environment Program Creation Options Source File . . . . . . JDESRC Compile Job Queue . . . COMPILE Source Library. . . . . PGFSRC61 Prog Gen Job Queue. . . CLONE Object Library. . . . . PGFOBJ61 Compile Target Release. *CURRENT CL Source File. . . . . JDECLSRC Print Option . . . . . 1 Data File Library . . . PGFDTA61 Cross-Reference Listing N SAR Number. . . . . . . 774487 Version ID. . . . . . . A61 A6.1 Base Status Code . . . . . . 2 Development SAR Options SAR File Library. . . . DDPDATA SAR Delivery Type . . . *DFT Default SAR Number Miscellaneous Source Gen Opt (Future) Helps Maint Opt(Future) SEU

F24=More Keys

�� �-+.*$1$ 1'$ %-**-4(,& %($*#0�

� ��� �(*$ �(!/ /5

� ��� �$*(3$/5 �5.$

�'$ ��� %(*$ *(!/ /5 "-,1 (,0 1'$ �-/) �/#$/ 0501$+ %(*$0 ����� ,#����� �% 5-2 "2//$,1*5 20$ 1'$0$ %(*$0� ,# (% 1'$ ��� %(*$ ' 0 #(%%$/$,1/$"-/# 15.$0 1' , 4' 1 3$/0(-, "-,1/-* ,$$#0� 5-2 +201 "/$ 1$ *(!/ /51' 1 "-,1 (,0 ,$4 ���� ,# ��� %(*$0 %-/ 3$/0(-, "-,1/-* .2/.-0$0 -,*5��.$"(%5 1'(0 ,$4 *(!/ /5 , +$ (, 1'$ ��� �(*$ �(!/ /5 %($*#�

�% 5-2 0$1 1'$ ��� �$*(3$/5 �5.$ %($*# 1- �������� 1'$ � (,1 (, �0$/�$% 2*1 ��� �,%-/+ 1(-, %-/+ ..$ /0 4'$,$3$/ 5-2 "' ,&$ 0-2/"$"-#$ +$+!$/ -/ "-,1/-* 1 !*$�

Page 129: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–93

9812 Maintain User Default SAR Info Action. . . . . C Repository Rec. P9242 SAR Number. . . Transfer. . . 0 Revision Note . Enter=Continue F24=More

� �� .&+ '(&,"��� � �� %+$��( &% �� �(&�"#�)� "* �''��() &% *!") �&($� ��

.&+ �"� %&* '(&,"�� � �� %+$��(� '(&,"�� &%� &% *!") �&($�

� �� *!� �(�%)��( �"�#� &% ��"%*�"% �)�( ����+#* �� �%�&($�*"&% ") )�* *& ��

*!� ��()"&% &%*(&# ).)*�$ ��% '(&$&*� *!� �!�% �� �� "* ") )�* *& �� *!�).)*�$ ��%%&* '(&$&*� *!� �!�% ��

�� &$'#�*� *!� �&##&-"% &'*"&%�# �"�#��

� �� �+$��(

What You Should Know About

��� �� �� ��

����� ���

�� ���������

�!� "%�&($�*"&% .&+ '(&,"�� �&( *!� �� �+$��( �%� ��

��#",�(. �.'� �"�#�) �����*) !&- *!� ).)*�$ !�%�#�) ��

#& "% �

�� .&+ �& %&* '(&,"�� � �� %+$��(� �%� )�* *!� ��

��#",�(. �.'� �"�#� *& �������� *!� ��"%*�"% �)�(

����+#* �� �%�&($�*"&% �&($ '(&$'*) .&+ �&( *!� ��

%+$��( -!�%�,�( .&+ �!�% � � )&+(�� �&�� $�$��( &(

�&%*(&# *��#��

�� .&+ '(&,"�� � �� %+$��(� �%� )�* *!� �� ��#",�(.

�.'� �"�#� *& �� �� *!� ).)*�$ �(��*�) �� #& �%*("�)

�+*&$�*"��##. -"*!&+* .&+( "%'+*�

�� .&+ '(&,"�� � �� %+$��(� �%� )�* *!� �� ��#",�(.

�.'� �"�#� *& �������� *!� ��"%*�"% �)�( ����+#* ��

�%�&($�*"&% �&($ '(&$'*) .&+ *& �!�% � *!� �� %+$��(�

"� %���))�(.� -!�%�,�( .&+ �!�% � � )&+(�� �&�� $�$��(

&( �&%*(&# *��#��

������ ��� �����

����

���� �%� ����� �(� %&* ,�#"� �&( *!� �� ��#",�(. �.'�

�"�#� -!�% .&+ +)� *!� ��()"&% &%*(&# ).)*�$�

�� .&+ )�* *!� �� ��#",�(. �.'� �"�#� *& �������� *!� ��"%*�"% �)�( ����+#*�� �%�&($�*"&% �&($ �''��() -!�%�,�( .&+ �!�% � � )&+(�� �&�� $�$��( &(�&%*(&# *��#��

Page 130: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–94 A8.1 (8/97)

Selecting Types of SAR Information to Log

�� ������ ����� �� �� ����������� �� ���

�/ #&&+4+0/ 40 3'44+/) 51 53'2 +/154 014+0/3 (02 ��� -0))+/)� 3'-'%4 4*' 481'3 0(��� +/(02.#4+0/ 805 7#/4 40 -0)�

� �20. 4*' �'23+0/ �0/420- .'/5 �������� #%%'33 4*' 120%'33+/) 014+0/3 (02�&+4 #/& �20.04'�

� �#,' 4*' (0--07+/) %*#/)'3

�� ������ ��� �1'%+(8 ! +( 805 7#/4 40 42#%, ���3 4*#4 #2'

#330%+#4'& 7+4* ���� �&7#2&3 3052%' %0&' #/&

%0/420- (+-' &'6'-01.'/4 0/-8� �1'%+(8 � +( 805 7#/4

40 42#%, ���3 4*#4 #2' #330%+#4'& 7+4* #-- 30(47#2'

&'6'-01.'/4� �'#6' 4*+3 120%'33+/) 014+0/ $-#/, 40

&+3#$-' ��� -0))+/) #/&� 4*'2'(02'� 6'23+0/ %0/420-�

�( 805 31'%+(8 !� 4*' ��� -0) ,''13 42#%, 0(

&'6'-01.'/4 #540.#4+%#--8� �4 42#%,3 %*#/)'3 40

.'/53 4*#4 34#24 7+4* 9�� 02 9�� 0/-8� �02 �����

�2+4'2� +4 42#%,3 %*#/)'3 40 ��� 02 "��� 6'23+0/3

0/-8� �*'/ 805 42#/3('2 4*'3' 6'23+0/3� 4*' 53'2 ��

#330%+#4'& 7+4* 4*'. %*#/)'3 40 �����

�/ #&&+4+0/� 4*' ��� -0))+/) 120)2#. 25/3 #

&05$-':$84' #/#-83+3 #)#+/34 8052 ��� 120)2#.3 +(

805 3'4 4*+3 120%'33+/) 014+0/ 40 !�

�( 805 31'%+(8 !� 805 #-30 .534 +/&+%#4' 4*' /#.' 0(

4*' -+$2#28 4*#4 %0/4#+/3 8052 ��� (+-'3� �*' &'(#5-4

-+$2#28 /#.' +3 ����������

���� ������ ���� ��� �1'%+(8 ! 40 42#%, %*#/)'3 40 ����� �2+4'2 6'23+0/3

� ��� #/& "��� 6'23+0/3 0/-8�� �1'%+(8 � 40 /04

42#%, 4*'3' %*#/)'3� �( 805 42#%, %*#/)'3� 4*' 53'2

�� %*#/)'3 40 ���� #540.#4+%#--8 7*'/ 805

42#/3('2 4*' 6'23+0/3�

Page 131: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–95

Accessing SAR Log Inquiry

��� �� �#� �"%)�&- �"� )��' '�*�&� �)"�(�#"'

� �"%)�&- �- )'�& �� #& �� ")!��& +�(� ��(� &�"��

� ,�( (# � !��"(�"�"�� $&#�&�! �#& (�� &��#&� (-$�

� ,�( (# �� ��(��

� �&�"( #$(�#" (��( � #+' �#& �� � �&�(�& '� ��(�#"

���&� �&� (+# +�-' (# ����'' (�� �� �#� �"%)�&-�

�� ��� �� ��� ��� ���� ��

�� �# ����'' (�� �� �#� �"%)�&-� '� ��( #"� #� (�� �# #+�"� !�(�#�'

� ��##'� �� �"%)�&- �&#! ��") �����

� ��##'� �� �#� �"%)�&- �&#! (�� ��$#'�(#&- ��&*���' �#&!

G9362 J.D. Edwards & Company JDED Sr Programmers Developer’s Workbench 1. Generic Record Copy 13. Pre–compiler Commands 2. Software Scan & Replace 14. Compile Multiple Objects 3. Single JDE Message Update 15. Optimize Programs (CL & RPG) 4. Global Update of File Text 16. Print Source 5. Message Tester 17. Copy ADW Files to Production 6. Copy DD,VO,DW,UDC,SVR,Menus 18 Generate Pgm Specs from ADW 7. File Field Description 8. SAR Log Inquiry Selection or command ===> __________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________

Page 132: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–96 A8.1 (8/97)

9801 Software Versions Repository Action Code. . . Member ID. . . . Description. . . Function Code. . Function Use . . System Code. . . 985001–––––Repository Services––––––––––––––– Reporting System “1” Available Services Base Member Name Data Dictionary Maint/RSTDSP . . Omit Opt Menus Copy Data (Y/N). Optional Vocabulary Overrides Function Key Definitions O Source Object Sourc Processing Options P Library Library File User Defined Codes Edit System Helps CASE Profiles SAR Log Inquiry Copy DD,VO,DW,UDC,SVR,Menus –Sel:–––1=Select––––––F12=Previous––––––––––– Opt: 1=Browse 2=Edit 3=Copy 5=SAR 8=Print 9=Dlt 10=Design 14=Crt F24=More

��� ��! �� �� ��� ��" ���� ��������

9810 SAR Log Inquiry Action Code. . I User ID. . . . FRAZZINI SAR Number . . From Date. . . To Date. . . . O A SAR P C Ty Item Number Revision Note Time Date User C DG AN8 5 11:01:06 11/29/93 FRAZZINI D SV F0101JA 12 12:34:03 11/29/93 FRAZZINI D SV F0101LH 12 12:33:27 11/29/93 FRAZZINI D SV F0911LD 12 15:22:58 11/29/93 FRAZZINI D SV F0911LH 12 12:33:03 11/29/93 FRAZZINI D SV F92801 12 8:17:46 12/01/93 FRAZZINI D SV F92801LA 12 12:32:11 11/29/93 FRAZZINI C HT I00FS@@ 12 13:55:33 12/02/93 FRAZZINI C ES PDAN 5 Added Member to SVR 13:16:22 11/24/93 FRAZZINI D SV PDAN 5 Deleted Member 13:17:50 11/24/93 FRAZZINI C SV PINDEX 12 9:06:19 12/02/93 FRAZZINI C ES PINDEX 12 9:21:57 12/02/93 FRAZZINI C PG P928200 12 9:33:11 12/01/93 FRAZZINI C DD P928200 12 9:33:12 12/01/93 FRAZZINI pt: 2=Edit 5=Work SAR 9=Delete F21=Print F24=More

�� �������� ��� �� ���� �� ��� �����!��� �������

� ��� ��

� �� � ����

� ���� �����

������ �������� ��� ������ �������� ��� ������"���

Page 133: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–97

����� ���������

�� ��#3).-� �(% !#3).- 3(!3 6!2 3!*%- .- 3()2 1%#.1$�

�(% 23!-$!1$ !#3).- #.$% 5!+4%2 !//+8�

�8 ��%#.1$ �8/%� �(% 38/% .& 1%#.1$ 3(!3 6!2 4/$!3%$�

�2% � 3. $)2/+!8 !++ 5!+)$ 1%#.1$ 38/%2 23.1%$ )- �2%1

�%&)-%$ �.$% � ���

�3%, �(% )$%-3)&)#!3).- -4,"%1 �/1.'1!, -4,"%1� &)+% -4,"%1�

1%/.13 -4,"%1� !22)'-%$ 3. !-8 %+%,%-3 .& 3(% 2.&36!1%�

�(%2% )3%,2 !1% 3(% ,%,"%12 3(!3 1%2)$% )- 3(% �.&36!1%

�%12).-2 �%/.2)3.18 .1 .3(%1 1%/.2)3.1)%2 24#( !2 3(% �!3!

�)#3).-!18� �.#!"4+!18 �5%11)$%2 %3#�

��� �4,"%1 �(% ��� -4,"%1 4-$%1 6()#( 3()2 #(!-'% 6!2 ,!$%�

�()2 &)%+$ #!- "% 4/$!3%$ .- 3()2 5)$%.�

�%5)2).- �.3% � 42%1 $%&)-%$ $%2#1)/3).- &)%+$ 3. &413(%1 #+!1)&8 3(%

#(!-'% ,!$%�

�()2 &)%+$ #!- "% 4/$!3%$ .- 3()2 5)$%.�

�),% �(% 3),% !3 6()#( 3(% #(!-'% 6!2 ,!$%�

�!3% �(% $!3% .- 6()#( 3(% #(!-'% 6!2 ,!$%�

�2%1 �(% 42%1 6(. ,!$% 3(% #(!-'%�

Selection Exits from the SAR Log Inquiry

�(% &.++.6)-' )2 ! +)23 .& 2%+%#3).- %7)32 &1., 3(% ��� �.' �-04)18 &.1, !-$ !-%7/+!-!3).- .& 3(% %&&%#32 .& %!#( 2%+%#3).-�

���� ���������

�� �$)3 �++.62 &.1 ,!)-3%-!-#% .& 3(% 1%#.1$ 38/%�

�(!3 /1.'1!, )2 !##%22%$ )2 "!2%$ .- 3(% 1%#.1$ 38/%� �.1

%7!,/+%� )& 3(% 1%#.1$ 38/% )2 ���� 3()2 %7)3 6)++ 3!*% 3(%

42%1 3. 3(% �!3! �)#3).-!18 /1.'1!,�

� � �.1* ��� �7)32 3. 3(% ��� !22.#)!3%$ 6)3( 3(% ��� +.' %-318�

� ��%+%3% �++.62 3(% 42%1 3. $%+%3% %-31)%2 &1., 3(% ��� +.'�

�& 8.4 %-3%1%$ 3()2 /1.'1!, &1., 3(% �%/.2)3.18 �%15)#%2 &.1, &1., 3(% �.&36!1%�%12).-2 �%/.2)3.18 /1.'1!,� 2%+%#3).- %7)3 � $.%2 -.3 &4-#3).- 6)3( 1%#.1$38/%2 9��� .1 9��� !2 3(%2% 1%#.1$ 38/%2 !33%,/3 3. #!++ 3(% �.&36!1% �%12).-2�%/.2)3.18� 6()#( #!42%2 ! 1%#412)5% #!++ %11.1�

Page 134: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

F5

F6

F21

Advanced Programming Concepts and Skills

2–98 A8.1 (8/97)

Function Key Exits from the SAR Log Inquiry

F5 – ASI Entry

�� � �:,65 61 �22.,&$6,10 �2(&,),& �05647&6,105 )14/ )14 75( '74,0* $ 51)69$4(72*4$'(� #17 0((' 6+( ���� ),.( 61 '1 6+,5�

F6 – Access Repository Services

�� � �4(55,0* 6+,5 -(; ',52.$;5 $ )14/ 6+$6 2418,'(5 $&&(55 61 6+( 16+(44(215,614; 5(48,&(5� (:&(26 )14 ��� �1* �037,4;�

F21 – Print

� � �..195 ;17 61 24,06 $ ��� .1* 4(2146�

�:,65 61 $ ����� "4,6(4 8(45,105 .,56�

Summary of the SAR Log Inquiry

�+( ��� �1* �037,4; +$5 6+( )1..19,0* )($674(5 $0' 4(564,&6,105�

� 5(5 6+( ),.( �� ��

� �) ;17 51 016 9$06 61 75( 6+( ��� �1**,0* )($674( $6 $..� 52(&,); ����� ,0

6+( ��� �(.,8(4; �;2( ),(.' )14 $.. ���� �41),.( 4(&14'5�

� �1 75( 6+( ��� �1**,0* )($674(�;17 /756 52(&,); $ 8$.7( 1) ����� �����

14 ������� ,0 6+( ��� �(.,8(4; �;2( ),(.' )14 $.. ���� �41),.( 4(&14'5�

� �+( ��� �1**,0* )($674( 4(&14'5 $0; &+$0*(5 6+$6 ;17 /$-( 61 6+( �$6$

�,&6,10$4;� !1&$%7.$4; �8(44,'(5� 5(4 �(),0(' �1'(5� $0' 51 )146+�

� �+( ��� �1* �037,4; 241*4$/ $..195 ;17 61 5(( 9+$6 &+$0*(5 ;17 /$-(

61 $0; 1) 6+( $%18(�

� �+( ��� �1* �037,4; 241*4$/ +$5 �70&6,10 �(;5 $0' �(.(&6,10 �:,65

9+,&+ $..19 ;17 61 &+$0*( 6+( ��� �1* 4(&14'5 ,0 6+( ��� �1* ),.(��� �� 14 61 (:,6 61 6+( /$,06(0$0&( 241*4$/ )14 6+( &+$0*( ;17 /$'(�

�14 (:$/2.(� (:,6 61 6+( �$6$ �,&6,10$4; 241*4$/ ,) 6+( 4(&14' ,0',&$6(5 $�$6$ �,&6,10$4; ,6(/ 9$5 $''(' 14 72'$6('�

ÁÁ Exercises�(( 6+( (:(4&,5(5 )14 6+,5 &+$26(4�

Page 135: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–99

Work with Promotion Paths and Projects

Working with Promotion Paths and Projects

� ��������� ���� ������� �� � ����� ��� ���� � ��� ������� ��� ������ �������� ��� ���� ���� ��� ����������� �� �������� �� ����������� ������� ������ � ��� ������� ��� ������ ���� ����� ��� ���� � ��� �������� �������������� ������� ���

� � ���� � ����

� � ���� � ������!

� �� ���� � ������!

��� ������ ���� ����� ��� ����������� ������� �� � ���� ������!�

������ ��� ����� ��� ������

� ��������� ��������� �����

� ������ � ��������� ����

� ������ � ����� �

Page 136: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–100 A8.1 (8/97)

Understanding Promotion Paths

� ��������� ���� ���� ��� ��� ������ �������� � ����� ��� ������ ��������� ��� ���� ��� ����� ��� ���� � ������ ��� �������� ��������� ��������� ����� ��� ������ ��� ������ ��� ���� ��� � ���������������������� �� � ���� ����������� ���� ���� ������� �� ��� ����������������������

DevelopmentEnvironment

TestEnvironment

Data LibraryDEVDTADEVDTADEVDTA

ControlFileData

F0004F0005F0012

DevelopmentEnvironment

SourceCode

MembersCLPRPGPF

Source Source Object File Library Library

JDECLSRC

JDESRC

JDESRC

DEVSRC

DEVSRC

DEVSRC

DEVOBJ

DEVOBJ

DEVDTA

Source Source Object File Library LibraryJDESRC

JDESRC

JDESRC

TSTSRC

TSTSRC

TSTSRC

TSTOBJ

TSTOBJ

TSTDTA

TestEnvironment

Data LibraryTSTCOMTSTCOMTSTDTA

��� ���� ������ ��� ������������ �������� ���� �� �� ��� � ��������������� �����

Page 137: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–101

� %&$���( �' � �$!!��(�$# $� '$�(+�&� �#� ��(� ,$) +�#( ($ �&$)% ($��(��& �$&%&$"$(�$#� � %&$���( �' ����#�� �, (�� �$!!$+�#� ���&��(�&�'(��'�

� ���' (��( �&� �''$���(�� +�(� (�� %&$���(

� �&$"$(�$# %�(�' (��( ��(�&"�#� (�� "$*�"�#( $� (�� %&$���( '$�(+�&� �#�

��(� ��(+��# �#*�&$#"�#('

� �(��& %&$���(' (��( �&� �((����� ($ (�� %&$���(

ProjectAttributes

SARs

PromotionPaths

OtherProjects

Before You Begin Defining a Promotion Path

� ��&��, (��( (�� ���' �#� %&$"$(�$# %�(�' ,$) +�#( ($ �''$���(� +�(� �%&$���( ��*� ���# '�( )%�

� ��� ��� ','(�" )'�' (�� �$& �&��& ��!�' � �� �#� ���� �� ,$)&%&$�)�(�$# �#*�&$#"�#( )'�' (��'� ��!�'� �#� �� (�� �� ��!� ��' �����&�#(&��$&� (,%�' (��# +��( *�&'�$# �$#(&$! #���'� ����#� � '�%�&�(� !��&�&,(��( �$#(��#' (��'� ��!�' �$& *�&'�$# �$#(&$! %)&%$'�' $#!,�

Page 138: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–102 A8.1 (8/97)

Defining a Promotion Path

��(�$�� %&�#% �$� �!("�(�� �! ����!�!� #$" "&�"! #�&�%� �" #��&� &�� �"��")�!�&�%�%

� �"��&� � #$" "&�"! #�&�

� ��� � #$" "&�"! #�&�

� ���!� � #$" "&�"! #�&� �"$ %"'$�� �"�� � ��$%

� ���!� � #$" "&�"! #�&� �"$ �"!&$"� &����%

�$" &�� ��$%�"! �"!&$"� �!' ������� %����& ��!��� �$" "&�"! ��&�%�

92403 Manage Promotion Paths Code 1 . . . . . Code 2 . . . . . Promotion Path . JDF73 Code 3 . . . . . Code 4 . . . . . O Promotion Description Release Code 5 . . . . . P Path Number JDF73 Transfer to JDF73 A73 JDF73T ’T’ file transfer to JDF73 A73 JDF73TEC Transfer to JDF73 SECURE A73 JDU71 Transfer to JDU71 A71X JDX71 Transfer to JDX71 A71X T130892PC2 Utility CIS – PCCPY A71X T130892PC3 Utility CIS – PCCPY A71X T130892PC4 Utility CIS – PCCPY A71X T130892PC5 Utility CIS – PCCPY A71X T130892PC6 Utility CIS – PCCPY A71X T130892PC7 Utility CIS – PCCPY A71X T130892PC8 Utility CIS – PCCPY A71X T130892PC9 Utility CIS – PCCPY A71X UQF62 UQF build for A6.2 A62 UQF71 UQF build A71 VCT Version control training A71

Opt: 1=Change 2=Members 3=Ctl Files F5=Add Path F24=More Keys

92403 Manage Promotion Paths Code 1 . . . . . Code 2 . . . . . Promotion Path . JDF73 Code 3 . . . . . Code 4 . . . . . O Promotion Description Release Code 5 . . . . . P Path Number JDF73 Transfer to JDF73 A73 Code 1 . Code 2 . Code 3 . Code 4 . CUR Code 5 . JDF

Page 139: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–103

�� ����� � ������� ���

��"��) %$� %� )�� �%""%, $� #�)�%�( )% "%��)� � &'%#%) %$ &�)��

� �$ � �"�$! ��$��� �'%#%) %$ ��)�( �%'#� &'�(( �$)�'�

��� (�'��$ � (&"�.( � �%#&"�)� " () %� &'%#%) %$ &�)�(�

� �$ ��$��� �'%#%) %$ ��)�(� �$)�' )�� &�)� $�#� $ )�� �'%#%) %$

��)� � �"��

��� (�'��$ � (&"�.( )�� &�)� $�#�� �� )�� &'%#%) %$ &�)� �%�( $%)�- ()� )�� (�'��$ � (&"�.( )�� &�)� $�#� )��) ( �"%(�()�"&����) ��"".�

�� ��� � ������� ���

�� �$ )�� ��$��� �'%#%) %$ ��)�( �%'#�&�'�(( � � �� ��)���

9240 Promotion Path

Action Code. . . I

Promotion Path . Description. . . Release. . . . .

Code 1 . . . . . Code 2 . . . . . Code 3 . . . . . Code 4 . . . . . Code 5 . . . . .

F9=Redisplay F10=Members F11=Ctl Files F24=More Keys

�� �%#&"�)� )�� �'%#%) %$ ��)� �%'#�

� �� � $�, &�)� $�#�� � &�)� ��(�' &) %$� �$� � '�"��(� "�+�"�

� �(� )�� �%�� � )�'%*�� � �"�( �%' ��� ) %$�" �"�(( � ��) %$(�

�� �%�� � )�'%*�� � �"�( �'� *(�' ��� $�� $ (.()�# ��� ).&�( ���

��� ��� �� �$� ��

� �&�� �. )�� ()�)*( %� )�� &'%#%) %$ &�)� $ )�� �%�� � �"��

Page 140: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–104 A8.1 (8/97)

�� �!�$�1*�&*!+!-� �$( ��,&�+!'& #�0 ��� ()'-!��* -�$!� -�$,�* �')

+ � �'�� �&� � �!�$�*�

� �(��!�0 + � +0(� '� ()'%'+!'& �&-!)'&%�&+ !& + � �'�� � �!�$��

� ����� � �� � � � ��� � � � ���� � �� �������

�� �'��+� �)'%'+!'& ��+ ��%��)* ,*!&� '&� '� + � �'$$'.!&� %�+ '�*�

� �& + � ��&��� �)'%'+!'& ��+ * �')%� $'��+� + � ()'%'+!'& (�+

0', .�&+ +' ���!&��

�� �&+�) ���%��)*� !& + � �� ��(+!'&� �!�$� &�/+ +' + �

()'%'+!'& (�+ &�%��

� �& + � �)'%'+!'& ��+ �')%� ()�** ��� ���%��)*��

92401 Promotion Path Members

Action Code. . . I Promotion Path . JDF73 Transfer to JDF73

O Mbr | From Environment | To Environment P Type | Src File Src Libr Obj Libr | Src File Src Libr Obj Libr ASM | SECURE JDFSRC71 JDFOBJ71 | JDESRC JDFSRC73 JDFOBJ73 CLP | JDECLSRC PGFSRC73 PGFOBJ73 | JDESRC JDFSRC73 JDFOBJ73 CMD | JDESRC PGFSRC73 PGFOBJ73 | JDESRC JDFSRC73 JDFOBJ73 COPY | JDECPY PGFSRC73 | JDECPY JDFSRC73 DSPF | JDESRC PGFSRC73 PGF0BJ73 | JDESRC JDFSRC73 JDFOBJ73 LF | JDESRC PGFSRC73 PGFDTA73 | JDESRC JDFSRC73 JDFDTA73 LFS | SECURE PGFSRC73 PGFDTA73 | SECURE JDFSRC73 JDFDTA73 PF | JDESRC PGFSRC73 PGFDTA73 | JDESRC JDFSRC73 JDFDTA73 PFS | SECURE PGFSRC73 PGFDTA73 | SECURE JDFSRC73 JDFDTA73 PLI | SECURE PGFSRC73 PGFOBJ73 | SECURE JDFSRC73 JDFOBJ73 PRTF | JDESRC PGFSRC73 PGFOBJ73 | JDESRC JDFSRC73 JDFOBJ73 PRTS | JDESRC PGFSRC73 PGFOBJ73 | JDESRC JDFSRC73 JDFOBJ73 RPG | JDESRC PGFSRC73 PGFOBJ73 | JDESRC JDFSRC73 JDFOBJ73 RPGS | JDESRC PGFSRC73 PGFOBJ73 | JDESRC JDFSRC73 JDFOBJ73 | |

Opt: 1=Copy 2=Target F11=Ctrl Files F13=CASE Profile F24=More Keys

� � �)'% �&-!)'&%�&+ �)�� '& + � �)'%'+!'& ��+ ��%��)* �')% * '.* + ��,))�&+ $'��+!'&* '� + � *',)�� �&� '�"��+ �'��� � � �' �&-!)'&%�&+ �)�� * '.*+ � $'��+!'&* +' . !� + � �'�� .!$$ �� %'-���

� �(��!�0 *',)�� �!$�* �&� $!�)�)0 &�%�* �') ��� %�%��) +0(� 0', $!*+ '&+ !* *�)��&�

� �' �!*($�0 -�$!� %�%��) +0(�* �&� + �!) ��*�)!(+!'&*� ()�** ��

. !$� 0',) �,)*') !* !& � ��) �0(� �!�$�� � � %�%��) +0(�* �)����!&�� !& + � �,&�+!'& �'��* ,*�) ���!&�� �'�� +��$� � ������

� �' �'(0 *',)�� �!$� �&� $!�)�)0 &�%�* �)'% '&� %�%��) +0(� +'

�&'+ �)� +0(� � ��'(0� !& + � �� ��(+!'&� �!�$� &�/+ +' + � %�%��)+0(� 0', .�&+ +' �'(0� �0(� ���)��+� !& + � �� �!�$�* &�/+ +' + �

Page 141: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–105

#�#��' ).&�( .%* ,�$) )�� �$�%'#�)�%$ �%&��� )%� �$� &'�(( �$)�'��%* ��$ (&����. #*")�&"� )�'��)(�

��� �%""%,�$� ���') (�%,( (%#� %� )�� �*$�)�%$ !�.( �+��"��"� %$)��( (�'��$�

��� ����������

� ����(&"�.( )�� '��%'� �%' )�� &'�+�%*("./���$���&�)��

�� ��(&"�.( )�� �'%#%)�%$ ��)� %$)'%" �"�( �%'#�

�� ��(&"�.( )�� �� �'%��"�( �%'#�

�� ��)'��+�( )�� (%*'�� ��"�� (%*'�� "��'�'.� �$�%� ��) "��'�'. �'%# .%*' �� &'%��"� �$� ��""( �$)�� '%# �$+�'%$#�$)� ���( %+�','�)�( �$.�$�%'#�)�%$ �*''�$)". �$ )�� ���"�(�

�� �*&"���)�( )�� (%*'�� ��"� �$� "��'�'. $�#�( �'%#)�� ��'() #�#��' ).&� )% )�� '�#��$�$� #�#��').&�(�

What You Should Know About

�� ���� �� ��������

������� ����� .%* �%&. �$ �-�()�$� &'%#%)�%$ &�)� )% �'��)� �

$�, &�)�� �� (*'� )��) )�� (%*'�� ��"�( �$� "��'�'.

$�#�( �%' )�� #�#��'( �'� �%''��) �%' )�� $�, &�)��

�������� ������ ���� �% ���$�� "��'�'. $�#�(� �$)�' )�� $�, "��'�'.

$�#�( %+�' )�� �*''�$) %$�(�

Page 142: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–106 A8.1 (8/97)

�� ��� � � ������� ��� ��� �� ���� ������

�� �*��. .# �,*(*.$*) ��.# *).,*' �$' - /-$)" *) *! .# !*''*1$)"( .#*�-�

� �) ��)�" �,*(*.$*) ��.#-� '*��. .# +,*(*.$*) +�.# 3*/ 1�).

.* � !$) �)� ). , � .' �$' -� $) .# �� ��+.$*)� !$ '� ) 2. .* .# +,*(*.$*) +�.# )�( �

� �) .# �,*(*.$*) ��.# !*,(� +, -- ��� � .' �$' -��

� �) .# �,*(*.$*) ��.# � (� ,- !*,(� +, -- ��� � .,' �$' -��

92402 Promotion Path Control Files

Action Code. . . I Promotion Path . JDF73 Transfer to JDF73

O Rec From To Control P Typ Data Libr Control Lib Record Type Description File C JDFCTL73 JDFTEM71 Members Affected F9801 D PGFDTA73 JDFCTL73 Menu Modifications F0090 F JDFCTL73 JDFTEM71 Software Inventory Records F9801 G PGFDTA73 JDFCTL73 DREAM Writer/Processing Option F98301 H PGFDTA73 JDFCTL73 Vocabulary Overrides F9220 M JDFCTL73 JDFTEM71 Data Dictionary F9200 N PGFDTA73 JDFCTL73 User Defined Codes F0005 W JDFCTL73 JDFTEM71 Pre-Compiler Commands F98CRTCMD

Opt: 1=Copy 2=Target F10=Members F13=CASE Profile F24=More Keys

�# �,*( ��.� �$�, �*'/() *) .# �,*(*.$*) ��.# *).,*' �$' - !*,( -#*1- .# �/,, ). '*��.$*) *! .# ��.� , �*,�-� �# �* *).,*' �$� �*'/() -#*1- .# '*��.$*) .* 1#$�# .# ��.� , �*,�- 1$'' � (*0 ��

�� �+ �$!3 '$�,�,3 )�( - !*, ��# , �*,� .3+ '$-. � *) .#$- !*,(�

�# !*''*1$)" �#�,. -#*1- -*( *! .# !/)�.$*) & 3- �0�$'��' *) .#$- !*,(�

��� ��� �������

� � �$-+'�3- .# , �*,� !*, .# +, 0$*/-'34�#�)" �+,*% �.�

��� �$-+'�3- .# �,*(*.$*) ��.# � (� ,- !*,(�

�� �$-+'�3- .# ��� �,*!$' - !*,(�

Page 143: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–107

��� �����������

�� �$20($4$1 2'$ # 2 +(!0 07 %0., 7.30 ���� /0.%(+$ -# %(++1 (- 2'$ %(012 �0., � 2 �(!0 %($+#� �'(1.4$050(2$1 -7 (-%.0, 2(.- "300$-2+7 (- 2'$ %($+#�

�� �3/+(" 2$1 2'$ +(!0 07 - ,$1 %0., 2'$ %(012 0$".0#27/$ 2. 2'$ 0$, (-(-& 0$".0# 27/$1�

�� �. "./7 +(!0 07 - ,$1 %0., .-$ 0$".0# 27/$ 2. -.2'$0� 27/$ � ��./7� (-2'$ �� ��/2(.-� %($+# -$62 2. 2'$ 0$".0# 27/$ 7.3 5 -2 2. "./7�

� �7/$ � �� 0&$2� (- 2'$ �� %($+#1 -$62 2. 2'$ 0$".0# 27/$1 7.3 5 -2 2'$(-%.0, 2(.- "./($# 2.� -# /0$11 �-2$0� �.3 " - 1/$"(%7 ,3+2(/+$ 2 0&$21�

Guidelines

� �% 7.3 "./7 - $6(12(-& /0.,.2(.- / 2' 2. "0$ 2$ -$5 / 2'� !$ 130$ 2'$

+(!0 07 - ,$1 %.0 2'$ ".-20.+ %(+$1 0$ ".00$"2 %.0 2'$ -$5 / 2'�

� �. "' -&$ +(!0 07 - ,$1� $-2$0 2'$ -$5 +(!0 07 - ,$1 .4$0 2'$ "300$-2

.-$1�

Defining a Project

�.,/+$2$ 2'$ %.++.5(-& 2 1*1

� �." 2$ /0.)$"2

� �## /0.)$"2

� �11(&- /0.,.2(.- / 2'1

� �11(&- /0.)$"2 ���1

�0., 2'$ �$01(.- �.-20.+ ,$-3 �������� "'..1$ � - &$ �0.)$"21�

Page 144: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–108 A8.1 (8/97)

92413 Manage Projects

Project . . . . Code 1 . . . . . Client . . . . . Code 2 . . . . . TEC Originator . . . Code 3 . . . . . Assigned To. . . Code 4 . . . . . Code 5 . . . . . O P Project Description Client Orig Assigned REINSTALL Simplified Reinstall Process TEC Tech Foundation Corrections TECHENH Tech Foundation Enhancements UBP User Based Pricing UPGRADE Upgrade Enhancements/fixes 256006 878411 878411 VC Version Control 875561 1055020 Merge PO Display Level 4 BYTE SYS 4 Byte System Code 878411 2211696

Opt: 1=Details 2=Paths 3=SARs F5=Add Project F24=More Keys

92413 Manage Projects

Project . . . . Code 1 . . . . . Client . . . . . Code 2 . . . . . TEC Originator . . . Code 3 . . . . . Assigned To. . . Code 4 . . . . . Code 5 . . . . . O P Project Description Client Orig Assigned REINSTALL Simplified Reinstall Process Code 1 . 300 Code 2 . TEC Code 3 . Code 4 . Code 5 .

�� ������ � �����

��� �� ������� ���� ��� �� ��� �����!��� ��������

� � �� �� � �� �������� ����� ����� ������

�� � �������� ���� �� �������� ��� ���

� � ��� � �� �������� ����� ����� ��� ������� � �� �� ��� �������

������

�� ��� ������� � �� ��� �� �� ��� ����� �� ��� ������� ���� ���

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

Page 145: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–109

�� ��� � �����

�� � �� ��� �#!���%$� ��!!$� ��� �#!���%�

9241 Software Development Project

Action Code. . . I

Project. . . . . Description. . . Parent Project . Edit File. . . .

Client . . . . . Requested. . . . Originator . . . Planned Comp . . Assigned To. . . Date Assigned. . Auth List. . . . Design Doc . . .

Code 1 . . . . . Code 2 . . . . . Code 3 . . . . . Code 4 . . . . . Code 5 . . . . .

F9=Redisplay F10=Promotion Paths F11=Project SARs F24=More Keys

�� � %�� �!�%(�#� �'��!"�� % �#!���% �!#�� �! %�� �!��!(� �

� � %�# � �( "#!���% ����

� � %�# � "#!���% ��$�#�"%�! �

� � %�# � ) !%��# � �!#��%�! )!& (� % %! �$$!���%� (�%� %�� "#!���%�

� �!�"��%� %�� �!�� � %�#!&�� � �����$ �!# ����%�! �� ���$$�����%�! $�

�� ��� �!�� � %�#!&�� � �����$ �#� &$�# ���� �� � $)$%�� �� %)"�$

��� ��� ��� ��� � � ���

�� �� )!& (� % %! �%%��� %��$ "#!���% %! � "�#� % "#!���%� $"����) %�� "�#� %"#!���% ��� � %�� ��#� % �#!���% ������

Page 146: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–110 A8.1 (8/97)

�"� )&&)0#(! �"�+- ,")0, ,)'� ) -"� .(�-#)( %�2, �/�#&��&� )( -"#, )+'�

��� ����������

� ���#,*&�2, -"� +��)+� )+ -"� *+�/#).,&23�"�(!��*+)$��-�

��� #,*&�2, -"� �+)$��- �+)')-#)( ��-", )+'�

��� #,*&�2, -"� �+)$��- �&�'�(-, )+'�

�� #,*&�2, -"� !�(�+#� -�1- �,,)�#�-�� 0#-" -"#,*+)$��-� �(� !#/�, 2). ����,, -) -�1- ')��&,�&��-#)(,�

�). '.,- �,,#!( *+)')-#)( *�-", �(� ���, -) -"� *+)$��- 2). ,�- .* "�+�� �"� )&&)0#(! ,��-#)(, �1*&�#( ")0 -) �,,#!( -"�'�

� ������ �� �� � ��

�� �)��-� -"� *+)$��- -) 0"#�" 2). 0�(- -) �,,#!( *+)')-#)( *�-", .,#(! )(�) -"� )&&)0#(! '�-")�,�

� �( ��(�!� �+)$��-,� &)��-� -"� *+)$��- -) 0"#�" 2). 0�(- -) �,,#!(

*+)')-#)( *�-",�

�� �( -"� �� ��*-#)(� #�&� (�1- -) -"� *+)$��- (�'�� �(-�+ �

���-",�

� �( �) -0�+� �/�&)*'�(- �+)$��-� *+�,, ��� ��+)')-#)( ��-",��

92411 Project Promotion Paths

Action Code. . . I Project. . . . . TEC Tech Foundation Corrections

O Promotion Release P Path Description Number A62CUM Transfer to current A62 Cum A62 A62PC000TI User based pricing A62 A62PREV Transfer to previous A62 Cum A62 A72CUM Transfer to current A71 Cum A71 A71PREV Transfer to previous A71 Cum A71 A72CUM Transfer to current A72 Cum A72 JDF62 Transfer to JDF62 A62 JDF62TEC Transfer to JDF62–SECURE A62 JDF71 Transfer to JDF71 A71 JDF71TEC Transfer to JDF71–SECURE A71 JDF73 Transfer to JDF73 A73 JDF73TEC Transfer to JDF73 SECURE A73 VCTL Version control Update A73 Opt: 1=Details 2=Members 3=Ctrl Files F11=Project SARs F24=More Keys

Page 147: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–111

�� �'�� �. *�� '(&$&* &% '�*�) .&+ -�%* *& �)) �% *& *� ) '(&!��*�

� �& � )'#�. *�� �,� #��#� '(&$&* &% '�*�)� '(�)) � ���#'� -� #� *��

�+()&( ) % � �(&$&* &% ��*� � �#��

��� �&##&- %� ���(* )�&-) )&$� &� *�� �+%�* &% "�.) �,� #��#� &% *� ) �&($�

��� ����������

��� )'#�.) *�� (��&(� �&( *�� '(�, &+)#./���%���'(&!��*�

�� � )'#�.) *�� �(&!��* �#�$�%*) �&($�

��� �&##&- %� ���(* )�&-) &'* &%) �,� #��#� &% *� ) �&($�

������

����������

� �� * *�� '(&$&* &% '�*� ��*� #)�

� �� * *�� '(&$&* &% '�*� $�$��()�

� �� * *�� '(&$&* &% '�*� �&%*(&# � #�)�

Page 148: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–112 A8.1 (8/97)

� ���� �� ���� ����

��( �'� �"�#�$)( %� � &'%!��)� �%,�+�'� %)��' &'%!��)( ��$ �"(% �� �"�#�$)( %�� &'%!��)�

�� ���(( )�� �'%!��) "�#�$)( �%'# *( $� %$� %� )�� �%""%, $� #�)�%�(

� �$ )�� ��'( %$ �%$)'%" �%'#� ��%%(� � ) �$� �'%#%)��

� �$ )�� ��$��� �'%!��)( �%'#� "%��)� )�� &'%!��) )% ,� �� .%* ,�$)

)% �(( �$ �"�#�$)(�

�� $)�' � ���(� $ )�� �� ��&) %$� � �"� $�-) )% )�� &'%!��) $�#��

� �$ )�� �%�),�'� ��+�"%&#�$) �'%!��) �%'#� &'�(( ��� ��'%!��)

��(��

� �$ )�� �'%!��) �'%#%) %$ ��)�( �%'#� &'�(( ��� ��'%!��) ��(��

92412 Project Elements

Action Code. . . I SAR #. . Project. . . . . TEC Tech Foundation Corrections Project. Promotion Path . Status . S/P O Project T P Element Y Description St Status 00718047 S % Menu Job Stream Int/Bth Mix 01 Complete – in next release. 00731073 S JDEDBG – V2R3 Misc. Fixes 26 Test in Demo 00735672 S Can’t Chg Value––DD Item Array 01 Complete – in next release. 00736245 S User Defined Code Security 26 Test in Demo 00863261 S User Based Pricing 23 Manager Review 00907489 S ASI Rpt and Screen 4 Digits 26 Test in Demo 00910451 S DDP RJE Code Correction CL 7.1 01 Complete – in next release. 00913176 S Version Control – Build PTF 23 Manager Review 00915577 S Quick Start – Vocab Overrides 01 Complete – in next release. 00917732 S Auto Build of JDE Msg File/JLF 25 Rework 00939827 S Menu Integrity rpt/sys 55–59 01 Complete – in next release. 00945565 S ASI Rpt Confusing When No ASIs 26 Test in Demo 00953602 S F6 Copy from ASI –Prt Override 01 Complete – in next release. 00955229 S Next Number Description–00 Sys 01 Complete – in next release. 00958278 S Validation rpt–prt file names 01 Complete – in next release. 00966438 S Action Code Security 01 Complete – in next release. Opt: 1=SAR 2=SAR Log 3=Edit 4=Promote F10=Project Paths F24=More

��� �'%!��) "�#�$)( �%'# � (&"�.( )�� �"�#�$)( �*(*�"". ��(� �(( �$��)% )�� &'%!��)�

�� �&�� �. )�� �"�#�$)( �*(*�"". ��(� .%* ,�$) )% �(( �$ )% )� ( &'%!��)� �%*��$ �"(% �(( �$ &'%!��)(� ,� �� ��+� ��( �((%� �)�� , )� )��#� �(�"�#�$)( %$ )� ( (�'��$�

� �$ )�� �� ��.&�� � �"�(� (&�� �. )�� �%''�(&%$� $� �"�#�$) ).&�( ��

�%' ��(� �$� � �%' &'%!��)(��

Page 149: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–113

� �1 6+( ! � :3(� ),(/'5� 53(&,): 6+( &244(5321',1* (/(0(16 6:3(5 ��

)24 ���5� $1' � )24 342-(&65�� +( )2//29,1* &+$46 5+295 520( 2) 6+()71&6,21 .(:5 $8$,/$%/( 21 6+,5 5&4((1�

��! ������� ���

�� �(',53/$:5 6+( 4(&24' )24 6+( 34(8,275/:;&+$1*('342-(&6�

�� �,53/$:5 6+( �42-(&6 �42026,21 �$6+5 5&4((1�

+( )2//29,1* &+$46 5+295 236,215 $8$,/$%/( 21 6+,5 5&4((1�

�� ��� ������� ���

�,53/$:5 24 (',65 6+( ��� '(6$,/�

�,53/$:5 24 (',65 6+( ��� /2*�

+( ��� �2* 4$15)(4 5&4((1 $33($45� 9+,&+ /(65 :27 (',66+( ��� /2* $1' 73'$6( 6+( 342-(&6 ���5� �24 024(,1)240$6,21 $%276 73'$6,1* 6+( ���5 %: 75,1* 6+,5 /2*� 5((� ��� ��� ��� ,1 6+,5 37%/,&$6,21� �24 ,1)240$6,21 $%2766+( ��� /2*� 4()(4 62 6+( �������� ������� ������

��������� ��� ��

� �,53/$:5 6+( �4(;�42026,21 �',6 �,5624: )240�

�24 ,1)240$6,21 $%276 6+,5 )71&6,21� 5(( ������� � �� ,16+,5 37%/,&$6,21�

� �42026(5 $ 342-(&6�

�24 ,1)240$6,21 $%276 6+,5 )71&6,21� 5(( ������� � �� ,16+,5 37%/,&$6,21�

�,53/$:5 6+( 342026,21 +,5624: 2) $ ��� �#"� 4(&24'��

� �,53/$:5 24 (',65 126(5 $552&,$6(' 9,6+ $ ��� �)24 �����'9$4'5 (18,4210(165 21/:� #�� 4(&24'��

Page 150: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–114 A8.1 (8/97)

Page 151: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–115

Promote a Project

Promoting a Project

��*�( .&+ �(��*� � '(&!��*� # %" '(&$&* &% '�*�) �%� ���) *& *� �%� �&$'#�*�'(&!��* ��,�#&'$�%*� .&+ �(� (���. *& ��� % *�� '(&$&* &% '(&��))�

��� ��� ).)*�$ +)�) *�� �&(" �(��( � #�) ���� �%� ����� �� .&+( '(&�+�* &%�%, (&%$�%* +)�) *��)� � #�)� �%� � *�� ��� � #� ��) � ���(�%* (��&(� *.'�) *��%-��* ,�() &% �&%*(&# %���)� ��� %� � )�'�(�*� # �(�(. *��* �&%*� %) *��)� � #�) �&(,�() &% �&%*(&# '+('&)�) &%#.�

&$'#�*� *�� �&##&- %� *�)")�

� �'��*� *�� ���)

� ��# ��*� � �(&$&* &% ��*�

� �(&$&*� � �(&!��*

See Also

� ������ � � ����� ����

Page 152: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–116 A8.1 (8/97)

Update the SARs

�$! � �/� 3$%�$ �.! �+*0�%*! %* 0$! �+.' �. !. �!� !. "%(! ������� $�2! !0�%(! %*"+.)�0%+* %* 0$! �+.' �. !. �!0�%( "%(! ������� �+1 )1/0 1, �0! 0$!%*"+.)�0%+* %* 0$! � �/ 0+ .!"(!�0 /+"03�.! !2!(+,)!*0/ 0$�0 �.! .!�+. ! %* 0$!� � (+#�

Developthe

Software

RecordChanges inSAR Log

UpdateSARs byUsing theSAR Log

PromoteProject byUsing SARLog Data

�$!* 5+1 !2!(+,! 0$! /+"03�.!� 0$! �$�*#!/ 3!.! .!�+. ! %* 0$! � � (+#�10+)�0%��((5� �+1 *+3 )1/0 1, �0! 0$! ���� "%(!�

�.+) 0$! �!./%+* �+*0.+( )!*1 ������� �$++/! � %0 �* �.+)+0!�

92412 Edit and Promote

Action Code. . . I SAR #. . 1079777 Project. . . . . TEC Tech Foundation Corrections Project. Promotion Path . JDF73 Transfer to JDF73 Status . S/P O Project T P Element Y Description St Status 01079777 S Multiple Jobs Submitted 23 Manager Review 01081666 S Release Specific Transfers 23 Manager Review 01083573 S Help Window Mods A73 26 Test in Demo 01086299 S Unable to use A Action Code 06 Returned – Already reported 01087558 S Data Selection – HMCU 23 Manager Review 01088104 S V3R1 CRTCPGM/CRTBNDC 28 A test complete 01088163 S Handle special char for DBCS 01 Complete – in next release. 01089414 S Localization Issues in A/B 01 Complete – in next release. 01093536 S No previous item displayed 23 Manager Review 01099807 S Finalize Version Control 23 Manager Review 01101364 S Video Illustration 23 Manager Review 01102615 S J97UPGRADE Command Validation 23 Manager Review 01104004 S DW Merge Database–No Merge Opt 26 Test in Demo 01105226 S WW–Reads all versions at once 28 A test complete 01107601 S Don’t delete SAR Log if Trf er 23 Manager Review 01113921 S Variable Length Field Support 26 Test in Demo Opt: 1=SAR 2=SAR Log 3=Edit 4=Promote 5=’Z’ F10=Proj Paths F24=More

� ���� � � ����

�� �* 0$! � %0 �* �.+)+0! "+.)� %*-1%.! +* 0$! ,.+&!�0 5+1 3�*0 0+,.+)+0!�

�� �* 0$! �� ��,0%+*� "%!( *!40 0+ 0$! ,.+&!�0 � � 5+1 3�*0 0+ 1, �0!� !*0!.� �� � �+#��

Page 153: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–117

�&# ��� �+% �-�*.$#- $+-) �,,#�-.� 2&'!& ('./. �(( �""#" +- !&�*%#"-#!+-". (+%%#" '* /&# ��� (+% ������� �!!+-"'*% /+ -#!+-" /4,#� �&# ����#/�'( �/. $'#(" .&+2. 2&#/&#- /&# -#!+-" &�. ##* 0,"�/#" '* /&# ����$'(#�

9242 SAR Log Transfer

SAR Number . . . 1079777 Multiple Jobs Submitted Record Type. . . and/or Member. . O Primary Secondary Data File T A P Record Type Log Item Log Item Library R C SAR Detail Sts M – Data Dictionary 4888 JDFCTL73 1 A Updated M – Data Dictionary 4889 JDFCTL73 1 A Updated C – Modified Source J9242S JDFSRC73 1 A Updated C – Modified Source J98901B JDFSRC73 1 A Updated C – Modified Source J98901T JDFSRC73 1 A Updated C – Modified Source P924124 JDFSRC73 1 A Updated C – Modified Source P9242 JDFSRC73 1 A Updated C – Modified Source P9242D JDFSRC73 1 A Updated C – Modified Source P924210 JDFSRC73 1 A Updated C – Modified Source P98905 JDFSRC73 1 A Updated C – Modified Source P98907 JDFSRC73 1 A Updated F – Software Reposit J9242S JDFCTL73 1 A Updated F – Software Reposit P9242D JDFCTL73 1 A Updated

Opt: 1=Details 9=Delete F5=Add F10=Update SAR F24=More Keys

�$ /&'. $+-) ('./. )�*4 ��� (+% -#!+-".� 4+0 !�* *�--+2 4+0- .#�-!& 4#*/#-'*% '*$+-)�/'+* '* /&# �#!+-" �4,# �*" /&# �*"�+- �#) #- $'#(".�

�+ 1'#2 /&# "#/�'(. +$ � ��� (+% '/#)� #*/#- � ��#/�'(.� '* /&# �� ��,/'+*�$'#(" *#3/ /+ /&# '/#)� �* /&# $+-) /&�/ �,,#�-.� 4+0 !�* #"'/ /&# ���"#/�'(.� �$ /&# ��� (+%%'*% .4./#) "+#. *+/ (+% �* '/#) /&�/ 4+0 2�*/ /+'*!(0"#� ,-#.. �� ��""� $-+) /&# ��� �+% �-�*.$#- $+-) /+ �"" '/�

� �+ 0,"�/# /&# ���� $'(#� ,-#.. ��� ��,"�/# �����

�#$+-# 4+0 0,"�/# � ���� 1#-'$4 /&�/ #�!& ��� (+% -#!+-" .&+0(" #/-�*.$#--#" 2'/& /&# ���� �&�*%# +- "#(#/# /&+.# /&�/ �-# �..+!'�/#"'*!+--#!/(4 2'/& /&# ���� �+ "'.,(�4 �(( -#!+-". 2'/& "�/� /&�/ !�* #/-�*.$#--#" ��� $'#(" 1�(0# '. �� +- 2'/& /#./ "�/� ��� $'#(" 1�(0# '. ��� ,-#..�� ��'.,(�4 �,"�/# ��,� (#��(( �/#).�� �,"�/# +*(4 /&+.# -#!+-". /&�/.&+0(" # /-�*.$#--#" 2'/& /&'. ����

�&# .4./#) !-#�/#. +- 0,"�/#. /&# -#!+-". '* /&# ��� $'(# /&�/ '. (+!�/#" '*/&# ��� (' -�-4 4+0 '*"'!�/#" '* /&# �"'/ �*" �-+)+/# ,-+!#..'*% +,/'+*.�*+/ /&# ��� (' -�-4 �,,#�-'*% '* 4+0- (' -�-4 ('./��

Page 154: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–118 A8.1 (8/97)

Validating a Promotion Path

���"%� ,"( #%" "'� � ��� ,"( (&' #�%�"% � #%�-#%" "'�"! ���'� "%)�����'�"!� ����!&' '�� #%" "'�"! #�'� '��' *��� �� (&�� �"% '��& ���

�� �������� � � ����� ����

�� %" '�� ���' �!� �%" "'� �"% � �!$(�%� "! '�� #%"���' ,"( *�!' '"#%" "'��

�� �! '�� �%" "'�"! ��'� ������ ',#� '�� !� � "� '�� #%" "'�"! #�'� ,"(*�!' '" (&� �"% ,"(% #%"���'�

�� �! '�� �� ��#'�"!� ����� !�+' '" '�� #%"���' �� ,"( *�!' '" (#��'�� �!'�%� ����'��

�� ,"( ��� !"' ��""&� � #%" "'�"! #�'� �"% '�� #%"���'� '�� �%"���'�%" "'�"! ��'�& �"% ��&'& ��� #%" "'�"! #�'�& ����!�� �"% '�� #%"���'�

92411W Project Promotion Paths Project. . TEC Tech Foundation Corre O Path Name Description A62CUM Transfer to current A62 Cum A62PC000TI User based pricing A71CUM Transfer to current A71 Cum A72CUM Transfer to current A72 Cum JDF62 Transfer to JDF62 JDF62TEC Transfer to JDF62–SECURE JDF71 Transfer to JDF71 JDF71TEC Transfer to JDF71–SECURE Opt: 4=Select F24=More Keys

� �! '�� � ��#'�"!� ����� !�+' '" '�� #%" "'�"! #�'� ,"( (&� '" #%" "'� '��#%"���'� �!'�% ������'�� �� ,"( ��)� %(! #%�-#%" "'�"! ���'& #%�)�"(&�,�"% '��& ��� '�� �%�-�%" "'�"! ���' ��&'"%, �"% ��&'& '�� � �'��%*�&��'��& �"% �& ���!��

Page 155: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–119

9243 Pre Promotion Edit History

Project. . . . . TEC Tech Foundation Corrections SAR. . . . . . . 1079777 Multiple Jobs Submitted Promotion Path . JDF73 Transfer to JDF73

O Hrd No. P Date Time User ID Err Err 01/22/96 13:18:24 TFRCTL6 01/22/96 9:17:28 CHAN 8 01/16/96 12:39:59 CHAN 4

Opt: 1=Details F5=Perform Edit F24=More Keys

�� �� %��& #�� �!!�!" �""����#�� &�#� � !�) !���#��� ���#� ��#�! � ���#���"��� #�� �� �� #���� ����� ��'# #� #�� ��"�!�� ��"#�!( !���!��

92431 Pre Promotion Edit Details

Project. . . . . TEC Tech Foundation Corrections SAR Number . . . 1079777 Multiple Jobs Submitted Promotion Path . JDF73 Transfer to JDF73 Date of Edit . . 01/22/96 Time of Edit . . 9:17:28

O R Member Err E P T Description Name 2nd Item Key Description T C Members Affe J9242S 1946 Object Not Found W C Members Affe J98901B 1946 Object Not Found W C Members Affe J98901T 1946 Object Not Found W C Members Affe P924124 1946 Object Not Found W C Members Affe P9242 1946 Object Not Found W C Members Affe P9242D 1946 Object Not Found W C Members Affe P98905 1946 Object Not Found W C Members Affe P98907 1946 Object Not Found W Opt: 1=Error Details F24=More Keys

�� !�� #�� �!�)�!���#��� ���# ��"#�!( ��!�� !�"" � ���!��!� ���#� #� �!��!� #�� !�) !���#��� ���#�

� �!!��# ��( �!!�!" ��� �!��!� #�� ���# $�#�� �� �!!�!" ���$!� ��$ �� ��#���� #� !�"��%� &�!����" #��# ��� ���$!�

��� �����&��� #���� "��&" � �!#��� ��"# �� �!!�!" ��� ��& #� !�"��%� #����

Page 156: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–120 A8.1 (8/97)

� � ���� ����� ��� ��������

���� ������ �*/ ). , � � 5�,*(� '$�,�,3 .#�. �* - )*. 2$-. *,

3*/ �, )*. �/.#*,$4 � .* /- �

��������� �$.# , �*,, �. .# '$�,�,3 )�( � �, �. .#

'$�,�,3� *, " . �/.#*,$4�.$*) .* /- $.�

�� � ������ � ��.���- .��' *, ( (� , �*/'� )*. � *+ ) �

� ��/- $. �$� )*. 2$-.� � �*)!'$�.$)" '*�& -.�. # '� �3

�)*.# , %*� 2$-.-� *, 3*/ �, )*. �/.#*,$4 � .* *+ ) $.�

��������� �# �& 3*/, %*� '*" ( --�" -�

�� ������ �) ���� *, ���� 0 ,-$*) 1�- 2+ �. � �/. )*.

!*/)��

��������� �! �) ���� *, ���� 0 ,-$*) -#*/'� 2$-.�

�, �. $.� �! )*.� .# ) �#�)" .# +,*� --$)" *+.$*) !*,

!*,( �� � ����

���� ������ �*/ ). , � � 5�,*(� .��' .#�. �* - )*. 2$-. *,

3*/ �, )*. �/.#*,$4 � .* /- �

��������� � 0$ 1 .# 5�,*(� '$�,�,3 !*, .# +,*(*.$*)

+�.# �*).,*' .��' � �$.# , �*,, �. .# '$�,�,3 )�( *, �, �.

.# .��' �

���� ������ �*/ ). , � � 5�*� .��' .#�. �* - )*. 2$-. *, 3*/

�, )*. �/.#*,$4 � .* /- �

��������� � 0$ 1 .# 5�*� '$�,�,3 !*, .# +,*(*.$*)

+�.# �*).,*' .��' � �$.# , �*,, �. .# '$�,�,3 )�( *, �, �.

.# .��' �

���� ������ � & 3 3*/ 1�). � .* �*+3 !,*( .# 5�,*(� '$�,�,3

�* - )*. 2$-.�

��������� � 0$ 1 .# 5�,*(� '$�,�,3 !*, .# +,*(*.$*)

+�.# �*).,*' .��' � �$.# , �*,, �. .# '$�,�,3 )�( *,

, 6 ). , .# ��.� , �*,��

�� � ������ � 5�,*(� '$�,�,3 )�( $- .# -�( �- .#

�*,, -+*)�$)" 5�*� '$�,�,3 )�( �

��������� � 0$ 1 .# 5�,*(� �)� 5�*� '$�,�,$ - !*, .#

+,*(*.$*) +�.# �*).,*' .��' � ��& .# �++,*+,$�.

�#�)" -�

Page 157: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–121

�� ����� �+ -!�+- . !3%./ %* /$! �-+)+/%+* ��/$ �!)�!-.

/��(! ������� "+- /$! ,-+)+/%+* ,�/$ 4+0 .,!�%"%! �

�������� �+),(!/! /$! �-+)+/%+* ��/$ �!)�!-. "+-)

"+- /$! ,-+)+/%+* ,�/$�

�� ����� �+ -!�+- . !3%./ %* /$! �-+)+/%+* ��/$ �!)�!-.

/��(! ������� "+- /$! ,-+)+/%+* ,�/$ 4+0 .,!�%"%! �

�������� �+),(!/! /$! �-+)+/%+* ��/$ �+*/-+( �%(!.

"+-) "+- /$! ,-+)+/%+* ,�/$�

� ����� �+ -!�+- . !3%./ %* /$! ��� �+# /��(! ������� "+-

/$! ,-+&!�/ 4+0 .,!�%"%! �

�������� �* /$! ,-+&!�/ )�./!- -!�+- � �$�*#! /$!

��.! 5+* /��(! "+- /$! �-!5�-+)+/%+* � %/ /+ /$! ���

�!/�%( /��(! ������� /$!* )�*0�((4 0, �/! /$! ��� �!/�%(

-!�+- . "+- /$! )!)�!-. �* �+*/-+( /��(! -!�+- .

0, �/! �4 /$%. ,-+&!�/�

�� ����� �+ -!�+- !3%./. %* /$! �-+)+/%+* ��/$ �!)�!-.

/��(! ������� "+- /$! "0*�/%+* �+ ! +" /$! )!)�!- 4+0

2�*/ /+ ,-+)+/!�

�������� �+- /$! .,!�%"%! ,-+)+/%+* ,�/$� !*/!- /$!

!*1%-+*)!*/ "+- /$! "0*�/%+* �+ ! +" /$! )!)�!-�

�� ����� �+ -!�+- !3%./. %* /$! �-+)+/%+* ��/$ �+*/-+(

�%(!. /��(! ������� "+- /$! �+*/-+( /��(! 4+0 2�*/ /+

,-+)+/!�

�������� �+- /$! .,!�%"%! ,-+)+/%+* ,�/$� !*/!- /$!

!*1%-+*)!*/ "+- /$! �+*/-+( /��(! +" /$! -!�+- �

� ����� �* !--+- +��0--! 2$%(! 4+0 �//!),/! /+ �+,4 �

.+0-�! �+ ! )!)�!-�

�������� �$!�' "+- 1�(% (%�-�-4� /��(!� �* )!)�!-

*�)!.� �. 2!(( �. +,/%+*. %* /$! ���� �+))�* � �$!�'

/$! &+� (+# "+- /$! !--+- )!..�#! ���

Page 158: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–122 A8.1 (8/97)

Promoting a Project

��� #%" "'�"! #%"��&& �!)"�)�& '%�!&��%%�!� � ��%& �!� �"#,�!� �"!'%"� ������'��

Before You Begin

� ���"%� ,"( #%" "'� '�� #%"���'� �� &(%� ,"( ��)� ���'�� ��� �'� & '��'�##��% "! '�� �� �"� �%�!&��% &�%��!� �'��%*�&�� '�� �� �"� �%�!&��%&�%��! �##��%& *��! ,"( �''� #' '" #%" "'� '�� #%"���'�

� �"( (&' (#��'� ��� �� �"� %��"%�& �&&"���'�� *�'� '�� �� ���"%� ,"(#%" "'� �'�

� �"( ��&" (&' %�&"�)� ��� �%%"%& �!"' *�%!�!�&� ���"%� ,"( #%" "'� '�����

�� ����� � �����

�� �! '�� �%" "'� � �%"���' �"% � �!$(�%� "! '�� #%"���' ,"( *�!' '"#%" "'��

�� ! '�� �� ��#'�"!� �����& !�+' '" '�� #%"���' ��� �!'& ,"( *�!' '"#%" "'�� �!'�% ��%" "'���

�" &����' ��� #%"���' ��� �!'& �('" �'�����, �"% #%" "'�"!� #%�&& ���

�� �! '�� �%"���' �%" "'�"! ��'�& �"% � �!'�% ������'� �! '�� � ��#'�"!�������

Page 159: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–123

924124 Software Transfer

Project. . . . . TEC Tech Foundation Corrections SAR Number . . . 1079777 Multiple Jobs Submitted Promotion Path . JDF73 Transfer to JDF73 Release. . . . . A73 Errors . . 000 Warnings . . 006

O Member From Environment To Environment P ID Src File Src Libr Obj Libr Src File Src Libr Obj Libr J924147 JDECLSRC PGFSRC73 PGFOBJ73 JDESRC JDFSRC73 JDFOBJ73 P92402 JDESRC PGFSRC73 PGFOBJ73 JDESRC JDFSRC73 JDFOBJ73 P924124 JDESRC PGFSRC73 PGFOBJ73 JDESRC JDFSRC73 JDFOBJ73 P924127 JDESRC PGFSRC73 PGFOBJ73 JDESRC JDFSRC73 JDFOBJ73 P924147 JDESRC PGFSRC73 PGFOBJ73 JDESRC JDFSRC73 JDFOBJ73 V92402 JDESRC PGRSRC73 PGFOBJ73 JDESRC JDFSRC73 JDFOBJ73

Opt: 1=Src & Obj 2=Src 3=Obj F4=More F5=Ctl Files F6=Override F15=Edit Hist

� �' ,"� �� ��),#('� #�%�+ '�0, ,( ,"� &�&��* ��+� +)��# 1 /"�,"�* ,(,*�'+ �*�

� �(," +(-*�� �'� (�$��, �(�� �(),#(' ��

� �(-*�� �(�� ('%1 �(),#(' ��

� ��$��, �(�� ('%1 �(),#(' ��

�( (.�**#�� ,"� �*(& �'.#*('&�', �'� �( �'.#*('&�', (�$��, %#�*�*#�+�� (*� 1(- ,*�'+ �* ,"� &�&��*+� )*�++ �� �� (*� 1(- �',�* (),#('+ �� ��(* �� �',�* ,"� '�&�+ ( ,"� (�$��, %#�*�*#�+ ,( /"#�" 1(- /�', ,"�&�&��*+ ,*�'+ �**���

�"� +1+,�& ,*�'+ �*+ ,"� &�&��*+ 1(- +�%��,�� ,( ,"� ,�*!�, �'.#*('&�',�

�(- ��' *�.#�/ ,"� ��,�" $(� ,"�, /�+ +-�&#,,�� �1 ,"#+ ,*�'+ �* )*(!*�& *(& ,"� ���� ��/�*�+ �(&&�'� %#'�� �( �#+)%�1 ,"� �(&&�'� %#'�� )*�++���

� 1(-* )*(&(,#(' #+ +-���++ -%� ,"� +1+,�& ��%�,�+ �%% � � %(! *��(*�+ (*,*�'+ �**�� #,�&+� �, �%+( �*��,�+ � '�/ � � %(! *��(*� (* ���" ,*�'+ �**��#,�& �'� �++(�#�,�+ #, /#," ,"� ,�*!�, %#�*�*1�

� �( �()1 �(',*(% #%� ��,�� )*�++ � ��(',*(% �#%�+� *(& ,"� �( ,/�*��*�'+ �* (*&�

Page 160: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–124 A8.1 (8/97)

924127 Control Files Copy

Project. . . . . TEC Tech Foundation Corrections SAR Number . . . 1079777 Multiple Jobs Submitted Promotion Path . JDF73 Transfer to JDF73 Release. . . . . A73 Errors . . 000 Warnings . . 000

O Member Secondary Data Libr Data Libr P Record Type Name Name From To Copy Status M – Data Dictio 4888 JDFCTL73 JDFTEM71 M – Data Dictio 4889 JDFCTL73 JDFTEM71

F – Software Re J9242S JDFCTL73 JDFTEM71 F – Software Re P9242D JDFCTL73 JDFTEM71

Opt: 1=Copy to target library F13=Copy All F15=Edit History

�� � "�� �� ���"���� �����! ��&" "� "�� �"��! '�# %��" "� ���'� ��"� ����' "� "� ��" ��� � '��

���� � �!! ��� "� !����" ��� �"��! �#"���"�����' �� ���'����

��� !'!"�� �����! "�� �"��! '�# !����"�� "� "�� "� ��" ��$� �����"�

Page 161: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–125

Promote Project Updates

Promoting Project Updates

�� ������ ������� ������� ��� ������� ��� ��� �������� ��� �����!��� ����� �������

� ��� �� ��� �� ����� ���� �"

� ���� �� ��� �� �"����

� ������ ��������� � ���

� ������ �������

� ��� �� ��� ���

� � ��� �� ��� ��������� � ��

� ������� ��

� � ��� �� ����� ���� �" �� � ��

� ������� ��� �� ����� ���� �" ���� � ��

� ����� ��� �� ����� ���� �" ������

� �� � ��� �� ����� ���� �"

� � ����� ���� ��� � ������� � ��� �������

Page 162: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–126 A8.1 (8/97)

�� � ���� ��� � ����� � � �

�� �" � $�� � �$&�"� ��#$��� ���% ������ �� #� �%��� �"��#��" ���"�"(�

WARNING!!! If you specify a library that already exists on you system to be used as a software transfer library it will be cleared prior to use. All data and objects in that library will be lost. If the library you specify does not exit it will be created for you. ( F6 – Execute )

�� ��$�" ( % "��� $�� &�"���� ��##���� !"�## � � '��%$���

98312 Build Transfer Library Form ID. . . . P92414 Version. . . . ZJDE0001 Build Skeleton Transfer Library Display Level. 4 This job has various options described below. Enter the desired values and press ENTER to continue. Enter the name of the transfer library MYLIBRARY to be created. If the library already exists it will be CLEARED before use. F5=Printer Overrides

�� �� $�� !" ��##��� !$� � ������ ��$�" � ���� � " $�� $"��#��" ���"�"( ( %&��$ $ �"��$��

Page 163: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–127

�� ����� �� ��� �����

�% &'�&�'� -%*' �� (-()�#� (�� ������ ��� ��� ������ $ )� ( �* ���

�� � � ������ �� �����

'%# )�� ��'( %$ �%$)'%" #�$* ������� ��%%(� ��$��� �'%#%) %$ ��)�(� �(�)�� &'%!��) *&��)� " �'�'- $�#� �( -%*' &'%#%) %$ &�)� $�#�� %' $�%'#�) %$��%*) ��� $ $� � &'%#%) %$ &�)�� (�� �� ��� ��������� ���� $ )� ( �* ���

�� � � � ������

�% ��� $� � &'%!��)� (�� �� ��� ������ $ )� ( �* ���

�� ���� �� ����

'%# )�� �%�),�'� �$()�"" #�$* ������� ��%%(� �� ) �$� �'%#%)�� %' $�%'#�) %$ ��%*) *&��) $� � ��� (�� ����� ��� ���� $ ������� ��� $ )� (�* ���

�� ��� �� �� ������ �� ����

'%# )�� �%�),�'� �$()�"" #�$* ������� ��%%(� �� ) �$� �'%#%)�� %' $�%'#�) %$ ��%*) +�" ��) $� � &'%#%) %$ &�)�� (�� ������ ��� ��������� ���

$ ������� ��� $ )� ( �* ���

�� ������ �� ������

'%# )�� �%�),�'� �$()�"" #�$* ������� ��%%(� �� ) �$� �'%#%)�� %' $�%'#�) %$ ��%*) &'%#%) $� � ��� (�� ������� ��� ������ $ ������� ��� $)� ( �* ���

�� ��� �� ������� � ����� �� ���

�� '%# )�� �%�),�'� �$()�"" #�$* ������� ��%%(� ��+� � �'�'- )% ��&��

Page 164: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–128 A8.1 (8/97)

Save Library (SAVLIB) Type choices, press Enter. Library . . . . . . . . . . . . MYLIBRARY Name, *NONSYS, *ALLUSR, *IBM + for more values Device . . . . . . . . . . . . . TAP01 Name, *SAVF + for more values Bottom F3=Exit F4=Prompt F5=Refresh F10=Additional parameters F12=Cancel F13=How to use this display F24=More keys

�� �� "�� ��� � & ������ "&�� "�� ���� �� &�# " ��!�� ��� � &�

�� �� "�� ��$��� ������ ��"� "�� ���� �� &�# "��� ��$����

�� ������� ��� �������� ������ ��� �� �

�� � �� "�� ���"%� � ��!"��� ���# � ���� ����!� ��!"� � ��� � & � �������

Restore Library (RSTLIB) Type choices, press Enter. Saved library . . . . . . . . . MYLIBRARY Name, *NONSYS, *ALLUSR, *IBM Device . . . . . . . . . . . . . TAP01 Name, *SAVF + for more values Bottom F3=Exit F4=Prompt F5=Refresh F10=Additional parameters F12=Cancel F13=How to use this display F24=More keys

�� �� "�� ��$�� ��� � & ������ "&�� "�� ���� �� &�# " ��!�� ��� � &�

Page 165: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–129

�� �! &�� ��(��� ������ �!&�$ &�� !� � "� *"'$ &�#� ��(����

�� � �� ��� � ���� �� � � ��� �

�� $" &�� �"�&)�$� �!%&��� �!' ������ ��""%� �$�!& �$�!%��$ ��#"$&�

� #$"��%%�!� "#&�"!% �"$ �##��$%� �%� &�� �'$%"$ ��*% &" ��%#��*����&�"!�� #$"��%%�!� "#&�"!%�

98312 Print Transfer report Form ID. . . . P924143 Version. . . . ZJDE0001 Control File Changes to be Installed Display Level. 4 This job has various options described below. Enter the desired values and press ENTER to continue. Enter name of Transfer Library. MYLIBRARY Print UDCs 1=Yes, 0=No. 1 Print AAIs 1=Yes, 0=No. 1 Print Menus 1=Yes, 0=No. 1 Print Data Dictionary 1=Yes, 0=No. 1 Print Vocabulary/Exits 1=Yes, 0=No. 1 Print CASE specs 1=Yes, 0=No. 1 More... + F5=Printer Overrides

�� �! &�� ��$%& #$"��%%�!� "#&�"! ������ &*#� &�� !� � "� *"'$ &$�!%��$ ���$�$*�

Page 166: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–130 A8.1 (8/97)

98312 Print Transfer report Form ID. . . . P924143 Version. . . . ZJDE0001 Control File Changes to be Installed Display Level. 4 This job has various options described below. Enter the desired values and press ENTER to continue. Print Helps 1=Yes, 0=No. 1 – Print SVR 1=Yes, 0=No. 1 Print DREAMWriter 1=Yes, 0=No. 1 Print Next Numbers 1=Yes, 0=No. 1 Bottom. F5=Printer Overrides

�� �� ��� �������� ��������� ������ ������ ����� ��� ����� � ������ ���� �� ���� ��� ��� �� ����� �� ��������

�� �� ����� ��� ������� ����� ������

Page 167: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–131

�* "3�),(" +# /%" �-&*/ �*./�(( �" +-!. -",+-/ ������� #+((+2.� �/ ,-+1&!". /%"/+/�( *0)�"- +# -" +-!. #+- "� % /4," +# +*/-+( #&("� �/ �(.+ .%+2. 2%"/%"- /%"/-�*.#"- -" +-! �(-"�!4 "3&./. &* 4+0- +*/-+( #&("�

924143 J.D. Edwards & Company Page - 2 Print Install Records Date - 2/05 /96

Primary Secondary New/ Record Type Item Item Description Change –––––––––––––––– –––––––––– –––––––––– –––––––––––––––––––––––––––––– –––––––– Menus G9261 Version Control Changed Menus G9262 Software Install Changed

Total Number of Records for Menus 00002

. . . . . . . . . DREAMwriter / PO P00PURGE ZJDE0024 Payee Control File Purge Changed DREAMwriter / PO P92412 ZJDE0001 Promote a Project Changed DREAMwriter / PO P92413 ZJDE0001 Manage Projects Changed DREAMwriter / PO P92414 ZJDE0001 Build Skeleton Transfer Librar Changed DREAMwriter / PO P924143 ZJDE0001 Control File Changes to be Ins Changed DREAMwriter / PO P924147 ZJDE0001 Load Transfer Software Changed DREAMwriter / PO P924801 ZJDE0001 SAR Inquiry by Reference Changed

Total Number of Records for DREAMwriter / PO 00007

. . . . . . . . .

Vocbulary /Exits R924143 Print Install Records Changed Vocbulary /Exits V9240 Promotion Path Changed Vocbulary /Exits V9240W Promotion Path Master Window Changed

Total Number of Records for Vocbulary /Exits 00030

�� ��� ��� � ����� � � �

�"#+-" 4+0 (+�! /%" /-�*.#"- (&�-�-4� 4+0 )0./ -"�/" *"2 /�-$"/ (&�-�-&". #+- /%"+�'" /.� .+0- " +!"� �*! !�/� #&(". 4+0 2&(( /-�*.#"-� �* 4+0- /�-$"/ .+0- "(&�-�-4� 4+0 )0./ -"�/" /%" #+((+2&*$ )0(/&5)")�"- .+0- " #&(".

� ������

� ������

� ���������

�+�! /%" +*/"*/. +# 4+0- /-�*.#"- (&�-�-4 &*/+ 4+0- /�-$"/ (&�-�-&".� �%" ,-+ "..)"-$". +*/-+( #&(" -" +-!. &*/+ 4+0- (&�-�-4 #&(".� �+0 �(.+ �* /-�*.#"- +*/-+(#&(" -" +-!. &*!&1&!0�((4� �+- )+-" &*#+-)�/&+*� ."" ������� ������� ������

�� ����� #+((+2&*$ /%&. ,-+ "!0-"�

�� �-+) /%" �+#/2�-" �*./�(( )"*0 ������� %++." �+�! �-�*.#"--"! �&�-�-4�

Page 168: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–132 A8.1 (8/97)

WARNING!!! This program will transfer source code, objects and new data files into the libraries you name in the processing options. It will also add to or replace data in the control files in your current library list. It is recommended that you first run the ’Print Transfer Report’ to view control file changes. ( F6 – Execute )

�� �!�� %�" ���� !�� #������ �� ���� ��� � ��$��"!���

����� ��� ��!��� ���� ������ � � � !�� �"� �� ��% !� �� ���%����!����� ����� ��� ��!��� �

98312 Load Transferred Library Form ID. . . . P924147 Version. . . . ZJDE0001 Load Transfer Software Display Level. 4 This job has various options described below. Enter the desired values and press ENTER to continue. Enter name of Transfer Library or MYLIBRARY blank for no transfer. Enter name of Target Object Library or MYOBJ blank for no transfer. Enter Name of Target Source Library or MYSRC blank for no transfer. EnterName of Target New Files Library or MYDATA blank for no transfer. More... + F5=Printer Overrides

�� � !�� ��� ! ����� ��� ��!��� ������ �����% !�� ���� �� %�"� !��� ���������%�

�� � !�� ��$! !���� ����� � �����% !�� �������� %�" ����!�� ��� !�� �"�������� �����! � ��� ��!� ���� %�" #��� !��� ����

Page 169: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 2–133

98312 Load Transferred Library Form ID. . . . P924147 Version. . . . ZJDE0001 Load Transfer Software Display Level. 4 This job has various options described below. Enter the desired values and press ENTER to continue. Transfer UDCs 1=Yes, 0=No. 0 – Transfer AAIs 1=Yes, 0=No. 0 Transfer Menus 1=Yes, 0=No. 0 Transfer Data Dictionary 1=Yes, 0=No. 1 Transfer Vocabulary/Exits 1=Yes, 0=No. 0 Transfer CASE specs 1=Yes, 0=No. 0 Transfer Helps 1=Yes, 0=No. 0 More... + F5=Printer Overrides

98312 Load Transferred Library Form ID. . . . P924147 Version. . . . ZJDE0001 Load Transfer Software Display Level. 4 This job has various options described below. Enter the desired values and press ENTER to continue. Transfer SVR 1=Yes, 0=No 0 – Transfer DREAMWriter 1=Yes, 0=No 0 Bottom. F5=Printer Overrides

�� �� �� � ������ �� ���� � � �� �� ������� ��� � ��� ��� �� ���� � ������� ��

�� �� ��� �� ����� �� �� �� ��� ��

Page 170: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

2–134 A8.1 (8/97)

�$! ,2,-!' '!+#!, -$! �)(-+)& "%&!, %(-) -$! -�+#!- �-� &%�+�+2� �)+()(3�)(-+)& "%&!,� -$! ,2,-!' � , -$! "%&! %" %- �.++!(-&2 )!, ()- !1%,- %(-$! -�+#!- �-� &%�+�+2� �" -$! "%&! )!, !1%,- %( -$! -�+#!- �-� &%�+�+2� -$!,2,-!' )!, ()- -+�(,"!+ -$! "%&! )+ �(2 �-�� �"-!+ -$! -+�(,"!+ *+)�!,,�)'*&!-!,� 2). '.,- �$�(#! -$!,! "%&!, '�(.�&&2 ��,! )( %(")+'�-%)( %(-$! �+%(- �(,-�&& �!�)+ , +!*)+- ��������

�/!( -$).#$ 2). ��( %(�&. ! (!1- (.'�!+, %( -$! -+�(,"!+ &%�+�+2 �( %,*&�2 %(")+'�-%)( ��).- -$!' %( -$! �+%(- �(,-�&& �!�)+ , +!*)+-� -$!,2,-!' 0%&& ()- -+�(,"!+ -$!' �.-)'�-%��&&2� �$%, *+)-!�-, 2).+ (!1-(.'�!+ -��&!,� �"-!+ -$! -+�(,"!+ *+)�!,, �)'*&!-!,� 2). '.,- �$�(#!-$!' '�(.�&&2 ��,! )( %(")+'�-%)( %( -$! +!*)+-�

�� � ����� ������ ���� � ���� ��� ��

�� �+)' -$! �)"-0�+! �(,-�&& '!(. ������� �$)),! )*2����������� ������!(.,�

99630 Copy DD,VO,DW,UDC,SVR,Menus From Library . . . . . MYLIBRARY To Library . . . . . . MYDATA Dictionary Item. . . . Language . Appl Ovr . Scrn/Rpt . Vocabulary Overrides . Language . Appl Ovr . DREAM Writer Form. . . Language . User Def Codes Sys . . Language . Type. . Software Versions Rep. Menu Identification. . Generic Rate/Msg Sys . Type. . F24=More

�� �( -$! �+)' �%�+�+2� -2*! -$! (�'! )" 2).+ -+�(,"!+ &%�+�+2�

�� �( -$! �) �%�+�+2� -2*! -$! (�'! )" -$! -�+#!- �-� "%&! &%�+�+2�

� �( -$! �**+)*+%�-! "%!& ,� !(-!+ %(")+'�-%)( -$�- %, ,*!�%"%� -) -$! �)(-+)&"%&! +!�)+ 2). 0�(- -) -+�(,"!+�

Page 171: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–1

Programming Tools

Objectives

� �� $��� $�!� ��!� ��������

� �� "���� !��� !�� ���!$��� �� ��� ��� �!��%

� �� �! "� " �� ������� #��"�

� �� ��!���#� �������!���

� �� ����!� ��!� �� ����!��� ��������!���

� �� �� ��� ��� ����!��� �� ���% ����

� �� �� ��� �����!

About Programming Tools

������ !�� �����$��� !� � �

� ���� $�!� ��!� ��������

� ���� $�!� !�� �����! ��� �������� ��� �!��%

� ���� $�!� ��!� ���!�����%

� ���� $�!� ��!� ���� �� ��� ���

� ���� $�!� ������ �� ��� ���

� ���� $�!� ����! �� ��� ���

Page 172: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–2 A8.1 (8/97)

Page 173: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–3

Work with Data Modeling

Working with Data Modeling

�� ���� ������� ������� �������� ������ �������������� �� ��� ��������������� ��������� ������ �� ��������� ���� �� �� ��� ���� ������� ���� �������������� ����

� �� �� ������ �� �� ��� �������������

� �� ������ �� �� ������ ��� ������ �� ����������� �� ���� �� �� ��

������ ���� !� ��� ���� ��� ���� ��������������

� �� �� ���������� �� � �� ��� ���� �� ������ ��� ����� ���� ������� � ������

� ����� � ���� ������ �� ���� ��� ��� ���� ���� ��������

Page 174: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–4 A8.1 (8/97)

Accessing Data Modeling

���!� �!� #&� &�'" #� ����"" �#� ���������

�� ���� ���� ������

�� �"� ��� �� #�� �����&��� #&� ��#���" #� ����"" �#� ���������

� �� $�!� �� #�� ���� #�!�$�� #�� ���#&�!� ��!"���" ����"�#�!' ���

#��� �!�"" ��

� !�� #�� ����� ����#���" ��!�� "����# �#� ��������

The Data Model Diagrammer displays models from Base Files stored in the Entity Relationship Tracking file (F9804). When using the Data Model Diagrammer for the first time, rebuild the Cross Reference Index of the menu G9642. This rebuild will create data in the Entity Relationship Tracking file and allow file relationships to be built. ( F6 – Execute )

� ���$ ��""��� ��!� �����!" &�#� "����� ��#� '�$ ��� $"� #� %��& � "$��������#� ������

�� !�"" � #� ���#��$��

Page 175: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–5

��� �&� �"����!� �"$ �##��$% )�&� &�� �'$%"$ #"%�&�"!�� �! &�� ����� )��$�+"' �!&�$ � ���� !� ��

98042 Data Modeling Max Levels . 08 Function Use 230 Base File Display Dupl 1 In Sys 0009 0304

Opt: 1=Move Top 5=Display 7=Where Used 8=Fields F11=Install/Reporting

� �" (��) &�� �&� �"���� �!&�$ � ���� !� � �!� #$�%% �!&�$�

����� ���������

��* ��(��% �&�$ �!�% )��& ��(�� "� ��&��� +"' )�!& &" (��) �! &�$ %

"� ���� $���&�"!%��#%� ��(�� � $�#$�%�!&% &�� �����%& ��(��

�!� ��(�� �� $�#$�%�!&% &�� �")�%& ��(��� ��� ����'�&

(��'� �% ��(�� ��� ��(�� �� %�")% "!�+ &�"%� ����% &��& �$�

��$��&�+ $���&�� &" &�� ��&� "��� �����

�'!�&�"! �%� �%#��+% &�� ����% &��& ��&��$ �&�� "$ ��(� � �'!�&�"! '%�

��%% &��! &�� �'!�&�"! '%� +"' %#����+�

�%#��+ '#����&�

����&�"!%��#%

�&�$ �!�% )��&��$ +"' )�!& &" ��%#��+ �'#����&�

$���&�"!%��#% "$ !"&� ��� (���� (��'�% �$��

� � !" �'#����&�% �����'�& (��'� � ��$%& �"����� "!�+ � ��� ����%

�! �+% �� �&% +"'$ "��� &" "!�+ &�"%� ����% �$" &�� %#�������

�!%&��� "$ $�#"$&�!� %+%&� �"��%� �" &"���� &" $�#"$&�!�

%+%&� �"��%� +"' #$�%% ���� �!%&������#"$&�!��

Page 176: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–6 A8.1 (8/97)

�� �� ������ �� ������ � � ������ �� � ������� ��� � ����� � ����� ��� ����� �� � �� ���� � ��� � �� ����

98042 Data Modeling Max Levels . 08 Function Use 230 Base File Display Dupl 1 F0006 Business Unit Master In Sys 00 09 03 04 | |<M:1> F0010 F0010 Company Constants | | | |<1:M> F0901 F0901LE Account Master | | | | | |–M:M> F4801 F4801LB Work Order Master File | | | | | | |–M:1> F0902 F0902LA Account Balances | | | | | | | |–M:M> F0311 F0311LG Accounts Receivable Ledger | | | | | | | | |–M:M> F0411 F0411LK Accounts Payable Ledger | | | | | | | | |–M:M> F0911 F0911LD Account Ledger | | | | | Opt: 1=Move Top 5=Display 7=Where Used 8=Fields F11=Install/Reporting

Page 177: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–7

Detailed Explanation of a Line

��� �%""%, $� � �+(� )�%,) � &%(* %$ %� *�� ��*� �%��" $� �%(#�

Base File F0006 Business Unit Master |<M:1> F0010 F0010 Company Constants

��"%, ) �$ �-&"�$�* %$ %� *�� �%#&%$�$*) � )&"�.�� %$ *�� �%(#�

� �+) $�)) �$ * ��)*�( ) *�� &( #�(. � "� ������

� �%#&�$. �%$)*�$*) ) *�� )��%$��(. � "� �������

� �#�� � ���(� ) � #�$. *% %$�� � 0� (��* %$�" (�"�* %$ ��*,��$ *�� � "�)

����� ���������

�+�$* � �( ��� '+�$* � �( $%*�* %$ $� ��*�) *�� �%""%, $��

��� #�$. *% %$�

��� %$� *% #�$.

��� #�$. *% #�$.

��� #�$. *% /�(% %( #�$.

��� /�(% %( #�$. *% #�$.

��� %$� *% /�(% %( #�$.

��� %$� *% %$�

� (��* %$ ��� *�(�� � (��* %$ $%*�* %$) �(� �) �%""%,)�

� (���() *%

�� (���((�� *%

�� ,�. (�"�* %$

�.&� �)�� *% � )* $�+ )� ��*,��$ &(%*%*.&� �$� &�(#�$�$*

� "�)�

�+�� "� &%(* %$ %� )�(��$ � )&"�.) *�� !�. � �"�) *��* (�"�*� *��)� *,% � "�) *%��*��(

Page 178: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

F11

F16

Advanced Programming Concepts and Skills

3–8 A8.1 (8/97)

Function Key Exits from Data Modeling

Install/Reporting

��� � ����%! '�# "� "����� ��"%��� ��!���'��� ��!"��� � ��� "��� !'!"�� ����!�

Rebuild A File Relationship

��� � ���#���! � ��"� ������

&�"! "� � ��� � �"� $� !���! ��!"�

��� ��#��� �! �#������"���' ��!�� #��� "�� � �� �� ������� � ������"�����"%��� ��"� �"��!�

�� �&������ �� '�# � ��"� ��% ��"� �"��! �� "�� �"� ��"���� ' ��� #!� "��!���"� �"��! %��� � ��"��� � ��% ����� '�# �� ��" ��" � � ����� �� �!��"�"��� �� "��" ���� ����#!� "�� ��"� �"��! �� ��" �&�!" �� ��' �"�� ����� �� � ��"� ���� �!��" ���� ���"���!���!� "�� � �#!" �� �" ���!" ��� ��"� �"�� �� "�� � ��� ' ����"��" ��!� �!���! �� !��� �"�� ���� �! %����

Selection Exits from Data Modeling

Selection 1 – Move Top

�� !����" � ���� �� "�� �# ��" ��"� ����� ��� ��$� �" "� "�� "�� "� $��% �"! ��"�������

Selection 5 – Display

�� $��% "�� ���� ���"���!���!� ��� ����� � ���� ����"���!��� �� � ����� !��!���'��� "�� ���"���!��� ��"��� �� "�� "%� ����!�

Selection 7 – Where Used

&�"! "� "�� ����" � �!! ���� ���� ����!�"� ' ��� ��!���'! ��� "�� � �� ��! "��"����!! "�� �� "��#�� �����

Page 179: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–9

980014 Cross Reference Object: Name . . . F0006 Business Unit Master Type . . . F All programs using file To Display P Funct Cd .

O Name Description Field Attr T Start Upd P Len Dec Y Loc Y/N PJON Jon Nugent Test N P0006 Business Unit Master Revisions – Single Y P0006A Business Unit Structure Revisions Y P0006ISS File Conversion – Plug the default value Y P0006P Business Unit Master Print N P0006QD Update Bill Code If Business Unit Type = C N P00061 Job Master Revisions Y P00062 Property/Building Revisions Y P00071 Work Day Calendar N P0012 Automatic Accounting Instructions Revisi N P0013QD Convert Amounts to Domestic Decimal N P0018 Tax File Revisions N P0018P3 Tax Detail Report by Tax Authority N

Opt: 1=SVR 2=Create Object 3=Field Explanation F21=Print F16=Regenerate

Selection 8 – Fields

�� ���� � � ���� ���� ���������� ���� ��� ��� ���� ������� �� � � ��������� � � ���� ���� ���������� ���� �������� ��� � � ����� �� � ����� � � ��������� � ��� ���� �� � ��� �������� �� � � �����

98042 Data Modeling Max Levels . 08 Function Use 230 Base File Display Dupl 1 F0010 Company Constants In Sys 00 09 03 04 | 8 |<1:M> F0006 F0006LB Business Unit Master | | | |–M:1> F0901 F0901LB Account Master | | | | | |–M:M> F4801 F4801LB Work Order Master File | | | |98FFD––––––––File–Field–Descriptions––––––––––S/FMT| | | |–M:1> | File and Libr: F0006 TEST PF | | | | | I0006 – Business Unit Master File | | | | | MCMCU K01 Business Unit. . . . A 12 1 | | | | | MCDL01 Description. . . . . A 30 13 | | | | | MCDC Description – Compre A 25 43 | | | | | MCLDM Level of Detail. . . A 1 68 | | | | | MCAN8 Address Number . . . S 8 0 69 | | | | | MCCO Company. . . . . . . A 3 77 | | MCSTYL Type Business Unit . A 2 80 | | MCRP01 Division x . . . . . A 3 82 | | MCRP02 Region . . . . . . . A 3 85 | |Opt:–2=Dictionary––4=Sel––F15=Resequence––F3=Return| Opt: 1=Move Top 5=Display 7=Where Used 8=Fields F11=Install/Reporting

Page 180: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–10 A8.1 (8/97)

Page 181: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–11

Work with the Object Cross Reference Repository

Working with the Object Cross Reference Repository

��� �� ��) �'%(( ����'�$�� ��&%(�)%'- "%��)�( �"" )�� %� ��)( �((%���)�� ,�)� �&�')��*"�' #�#��' %' %� ��)� ���$ -%* ��� � $�, #�#��' )% )�� �%�),�'���'(�%$( ��&%(�)%'-� '*$ )�� ���*�"� �'%(( ����'�$�� %� )% ��+� )�� $�,#�#��' �$�"*��� �$ )�� ��(&"�-� �%* #*() ��+� (%*'�� �%�� %$ -%*' #����$� )%'*$ )��( '��*�"� �$� ��(&"�- )��( %&)�%$�

�%#&"�)� )�� �%""%,�$� )�(!(

� ���(( )�� �� ��) �'%(( ����'�$�� ��&%(�)%'-

� �%$�*�) �$ �� ��) �'%(( ����'�$�� ��&%(�)%'- (��'��

�������� ��� �� ��� ����� �������� ����������

�� ����� �� �� �� ����� ���� ���������

��"��) %$� %� )�� �%""%,�$� #�)�%�(�

� '%# )�� ��()�' ��'��)%'-� ��%%(� )�� ����$���" �$� �+�$���

�&�'�)�%$( #�$*� '%# )�� ����$���" �$� �+�$��� �&�'�)�%$( #�$*����� (�"��) �%�*#�$)�)�%$ ��'+���(� '%# )�� �%�*#�$)�)�%$ ��'+���(#�$* ������ ��%%(� �� ��) �'%(( ����'�$�� ��&%(�)%'-�

� �$ �%�),�'� ��'(�%$ ��&%(�)%'-� &'�(( �� )% ����(( )�� �� ��) �'%((

����'�$�� ��&%(�)%'-�

Page 182: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–12 A8.1 (8/97)

Example

��� �"��")�!� �"$ ��%#��*% ��� #$"�$� % '%�!� &�� ���� �����

��� ��$%& �"'$ �����% "! &��% �"$ $���&� &" &�� "����& ���!� �$"%% $���$�!���� ���$� ��!��$ "� &�� �"$ ��%&% &�� � ��$% �"'!� �'$�!� &�� �$"%% $���$�!�� %��$���

980014 Object Cross Ref. Repository Object: Name . . . F0006 Business Unit Master Type . . . F All programs using file To Display P Funct Cd . O Name Description Field Attr T Start Upd P Len Dec Y Loc Y/N P000661 Business Unit Master Conversion Y P06238 Report - Payroll Check Register N P06371 Report - Certified Payroll Register N P06611I Tip Credit Generation with Interim Check N P06638 Sales Allocation Report N P126410 STAR - Columnar Spreadsheet N P200 Submit Network Job N P23250 Texas 250 Report N P26011 Gas Balancing - Entitlement Extract N P26112 Gas Balancing - Entitlement Explosion to N P26115 Gas Balancing Statement by Sales Point N P26116 Gas Balancing Statement by Owner N P26119 Gas Balancing Master Subfile Display N Opt: 1=SVR 2=Create Object 3=Field Expl F21=Print F16=Regenerate

��������� �� ����� ����� ����� ��������� ����

�� � ��$% "� &�� �"�&)�$� ��$%�"!% ��#"%�&"$* �$� �$"%% $���$�!���� �!� *"'��! %��$�� �"$ &��%� $���&�"!%��#% �! �����$�!& )�*%�

�� ������ �� ����� ����� ����� ���� ���� �����

$" &�� �"�' �!&�&�"! ��$(���% �!' ����� ��""%� �����& �$"%% ������#"%�&"$*�

��� �"��")�!� �"$ ��%#��*% &�� %&�&�%&��% �"$ #$"�$� ������

Page 183: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–13

980014 Object Cross Ref. Repository Object: Name . . . P0006 Business Unit Master Revisions - Single Type . . . P Statistics for program To Display # Funct Cd . O Name Description Field Attr T Start Upd P Len Dec Y Loc Y/N Total Statements in RPG II 1,259 Total Statements as Comments 1,313 Total Statements in RPG III 3,993 Total Statements in Program

�� �� ����#�" �� �����" � �!! ��� ���� ���!�"� % !�� ��� ��"� �� �����" ���� �%�� ���� ��� �� �!���% ����� �� �� �$ "�� !�� ��� ��"� ��#��" ���

� �� %�# � � #�������� $�"� "�� � �!! ���� ���� ����"���!���! ����!�

"%�� �� �!"� �!� ��� �� "�� �%�� ������ �! !��$� ����$� � �!! �"� �

��� � �!! ���� ���� ����"���!���! ����! ����� �� � ��$ �� ��

Object: Name . . . F0006 Business Unit Master Type . . . * To Display Funct Cd . O Name Description Field Attr T Start Upd P Len Dec Y Loc Y/N

Page 184: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–14 A8.1 (8/97)

81QM User Defined Codes Window 98 XR Cross-Reference Relationships Skip To Code . . . . /D All data fields in /COPY /F All files in /COPY /I Program invocations from /COPY /P Programs containing /COPY CP All Programs using command DF All files using data field DP All programs using data field EP Error messages in a program F/ All /COPY members using file 4 FD All data fields in file Opt: 4=Select F9=Glossary F14=Memo

�� ����� � �� ��� ������ ������� ���� �� ��� ���� �� ��� ����� �� �� �������� ����� ���� ���������� ���� ������ ���� ��� ������� �� ���

980014 Object Cross Ref. Repository Object: Name . . . F0006 Business Unit Master

Type . . . F All data fields in file To Display D Funct Cd . O Name Description Field Attr T Start Upd P Len Dec Y Loc Y/N MCMCU Business Unit. . . . . . . . . . 12 A 1 MCSTYL Type Business Unit . . . . . . . 2 A 13 MCDC Description - Compressed . . . 40 A 15 MCLDM Level of Detail. . . . . . . . 1 A 55 MCCO Company. . . . . . . . . . . . 5 A 56 MCAN8 Address Number . . . . . . . . 8 0 S 61 MCAN8O Owner/Receivable Address . . . 8 0 S 69 MCCNTY County . . . . . . . . . . . . 3 A 77 MCADDS State. . . . . . . . . . . . . 3 A 80 MCDL01 Description. . . . . . . . . . 30 A 83 MCDL02 Description 02 . . . . . . . . 30 A 113 MCDL03 Description 03 . . . . . . . . 30 A 143 MCDL04 Description 04 . . . . . . . . 30 A 173 Opt: 1=SVR 2=Create Object 3=Field Expl F21=Print F16=Regenerate

Page 185: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–15

Work with Data Dictionary

About the Data Dictionary Repository

��� ��%� ���%� ��#* �$ %�� � $% ! (�#�&� ������% �� ��� � ���� �(�#�$�$ �%(�#� ���#���$� �� ������ ��� ��%� �%��$ &$�� �* ���� �(�#�$ !# �#��$ ��%�� ��%� ���%� ��#*� �* #�"&�#��� %��$ &!,�# �% ������%� �� %�� ��%� ���%� ��#*��� #��$ &��� #��%*� � �$�$%���*� ��� ���&#��* ��# $$ ��� ���� �(�#�$�!!����%� �$�

��� ��%� ���%� ��#* #�!#�$��%$ � ���%#���+�� �� $$�#* � ����

� ���� ������%� �$

� �# �#�� �## # ��$$���$� � %� ��%�#��%�'� ��� ��%��

� ���& ��$$���$

� � #� �����$

� �$�# ������� ���! ��$%#&�%� �$

� �# �#�� ��� ����� ��$�#�!%� �$ ����$$�� �* %�� ���! ������%*

� �!��%� %�� � �� (��� %�$�$�

� ����#$%��� %�� ��%� ���%� ��#* $%#&�%&#�

� ��%� � ��%� �%�� ����

� � #� (�%� %�� ��%� ���%� ��#*

� � #� (�%� ��%� �%�� ����$ #�'�$� �$

� � #� (�%� ��%� ���%� ��#* �� $$�#*

� � #� (�%� &$�# ������� ���! ��$%#&�%� �$

� � #� (�%� ��%� ����� ��$�#�!%� �$

� � #� (�%� %�� ��)% �&���#$ ������%*

� ��%� %�� ����� #���#���� #��&���

Page 186: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–16 A8.1 (8/97)

Understanding the Data Dictionary Structure

�� ����� ��� ����� �������� ��� ���� ���������! ���������!�

�� ����� ��� ������� ����������� ��� ������������� �� ��� ����� ������

Data FieldSpecifications

F9201

GlossaryText KeyF98163

Error MessagesReferenced Prog.

F9205

Data Items AlphaDescriptions

F9203

VocabularyOverrides

F9220

Data ItemMasterF9200

GlossaryText

F9816

Data FieldDisplay Text

F9202

Data FieldAliasesF9204

Data Item Master (F9200)

��� �� ��� ������ ���� ��� ��� ���� ���������!� ����! ���� ���� ��� � ������ ������ �����

Data Field Specifications (F9201)

��� ���� �������� ���� ��� ������� ���� �� � �������! ����� �� "�� �� "�� ���������� �������! ����� "��� ��� ����������� �������! ����� "��� ��� ���� ����������� ��� ������! ��� ���������� ����� ��� ��� ���� ��� ���� ������

Page 187: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–17

Data Field Display Text (F9202)

���& ���� ��'& ,"( ����!� (�'�#�� %"* ��&�%�#'�"!& �!� �"�( ! '�'��& �"% ���� ��'��'� � ��&�� (#"! ��!�(��� "% %�#"%'�!� &,&'� ��##����'�"! ")�%%����� �"( ��!��� � ��!�(��� )��(� �"% ���� ��!�(��� '%�!&��'�"! %�$(�%�� �"% '�� %"*��&�%�#'�"! �!� �"�( ! '�'��� ��� %�#"%'�!� &,&'� �"�� ���"*& '�� �!'%, "���%�"! "% �" #�!, '�% �!"�"�, '��' ")�%%���& '�� ��!�%�� '�+' &(##���� *�'� '���##����'�"!�

Data Item Alpha Descriptions (F9203)

���& ���� �"!'��!& '�� ��#�� �!� �" #%�&&�� ��&�%�#'�"!& �"% ��� ��'� �'� &� ���&���"*& ,"( '" #�%�"% � �'� ��'�"!�%, &��%�� �, ��&�%�#'�"!� �"( ��! ��&"&#����, &�#�%�'� ��#�� ��&�%�#'�"!& �, ��!�(��� #%���%�!�� �!� %�#"%'�!�&,&'� � )�%, ��'� �'� ��& � %��"%� �! '��& �����

Data Item Aliases (F9204)

���& ���� "!�, �"!'��!& ��'���&� �����&� *���� �& � ��"&&�%, �%"(# "� -� "% -������& ���� �"!'��!& (�'�#�� ����&�& �"% �"'� � ���� ����& �!� � � ����& �"% ������'� �'� �

Error Message Program ID (F9205)

���& ���� �"!'��!& �%%"% �&&���& '��' ��)� � #%"�%� � �"% � "% %�#"%' ��''����� '" '�� � �"( �+�' '" '��& #%"�%� � �"% � "% %�#"%' *��! ,"( %����)� '���%%"%� �"% �+� #��� �� ,"( %����)� � (&�% ����!�� �"�� �%%"%� ,"( �"(�� �+�' '"'�� �&�% ���!�� �"�� ��)�&�"!& #%"�%� '" "���, � )��(��

Glossary Text File (F9816)

���& ���� �"!'��!& '�� ��"&&�%, '�+' �"% �)�%, ��'� �'� � ��� ��!� "� '�+' �! '����"&&�%, �& "!� %��"%��

Key Index File (F98163)

���& ���� �"!'��!& ��, �!�"% �'�"! '" ��!� '�� ��'� �'� & '" '���% ��"&&�%, �!� '"&#������ �'� &�

Page 188: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–18 A8.1 (8/97)

Locating A Data Item Name

��� "("#�� $"�" ��#� �#��" #� ������ #�� �!���#�!" �� � ����� �! ��""���� �!�'�� ��� ��� ������" #�� ����� ���!�� �( �� ��� "("#�� ����#���" ���� ��#��#�� $"�� �� � ���� �! !�#!��%�� ��! � ��!� �! !� �!# ��"�� �� � ��#� �#�� �����"$�� �" ���� �� &�!� &�#� #�� ��#� ���#����!( �$��#���" (�$ ���� #� ���& #��"�����

�� ������ � ���� ��� ��

��� ���� �&�!�" �����)��%�� ��� ��" ��(" ��#� �#�� ����"�

�"�#��� #�� �$!"�! �� ��( ����� ��� !�"" ��

�! �'�� ��� �"�#��� #�� �$!"�! �� #�� ���!�� �( � ����� �� #�� ���!�""���� ��%�"���" ��!� ��� !�"" �� ��� �"�! ������� ����" ��!� ��" ��("��! #�� ���!�� �( � ������ �� #�� $ �! !���# ��!��! �� #��" ��!� �" #�� ��#��#�� ���� ��! #�� ���!�� �( � ������ &���� �" ����

01051 Address Book Revisions Long Addr No. Resp. Bus. Unit . . . Action Code. . . Address Number . Alpha Name . . . Search Type. . . Payables Y/N/M . 81QM User Defined Codes Window AT1 Receivable Y/N . 01 ST Search Type Employee Y/N . . Skip To Code . . . . User Code. . . . A Applicants Subldgr Inact. . C Customers E Employees F Facilities I Investors J Jobs M Mail Distribution List . . O Company . . P Prospects . . Q Participants . . Opt: 4=Select F9=Glossary F14=Memo 13=Add’l Info F24=More

��� ��#� �#�� ���� �" ��&�(" �� #�� $ �! !���# ��!��! �� #�� ��� ��!���� ��##�! &���� ��� ��!� ��" ��("� "$�� �" #�� �"�! ������� ����" ��!��! #�� ����� �' ����#��� ��!��

Page 189: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–19

Working with the Data Dictionary

�"� �,� #�,#('�*1 )*(.#��+ &�'1 -+� -% ��#%#,#�+� �(- ��' �*��,� ��,� #,�&�%#�+�+ (* (,"�* )*(!*�&&#'! %�'!-�!�+� /(*$ /#," ,"� !%(++�*1� ��� (* �"�'!�-+�* �� #'�� "�%) #'+,*-�,#('+� �'� %(��,� ��,� #�%� ��+�*#),#('+�

�� ���� ��� � ���� ����������

�*(& &�'- ��� �"((+� �,� #�,#('�*1� �"� �,� #�,#('�*1 (*& #+�#+)%�1���

9201 Data Dictionary Rls Last Chg Action Code. . . . Item Parent. Data Item. . . . . Glossary Group . . – – – – – – – – – – – – General Information – – – – – – – – – – – – – Alpha Desc . . . . Reporting System . System Code. . . . Type . Size . Data File Decimals Data Item Class. . Item Occurrences Display Decimals . – – – – – – – – – – – – Descriptions – – – – – – – – – – – – – Row Description. . Column Title . . . – – – – – – – – – – Default and Display/Edit Rules – – – – – – – – – – – Default Value. . . Data Display Rules Justify. Data Edit Rules. . Search Program . . Next Nbr System. . Next Number Index . . F4=Search F8=UDC F9=Prev F10=Glossary F11=Descriptions F15=Where Used

�(- #'� ,"� �,� #�,#('�*1 +�%��,#(' (' +�.�*�% �� � ��/�*�+ &�'-+ �'�*�)(+#,(*1 +�*.#��+�

�(- ��' �%+( �#+)%�1 ,"� �,� #�,#('�*1 (*& �1 �',�*#'! ,"� &'�&('#� #' ,"� ��%��,#(' %#'� ( �'1 �� � ��/�*�+ &�'-�

�+� ,"� (%%(/#'! #�%�+ /"�*� �))%#���%�

�� � ��� �������

�%+ ��+, �"! �"� +( ,/�*� .�*+#(' '-&��* ,( �� �� �-%,�� #' ,"�

�( ,/�*� ��*+#('+ ��)(+#,(*1 #%��

�,�& ��*�', #+)%�1 ('%1� � ��,� #,�& /"#�" ���(&�+ ,"� ,�&)%�,�

*(& /"#�" (,"�* ��,� #,�&+ �*� �*��,��� �(* �0�&)%�� ��

���,�!(*1 �(��+� #+ ,"� )�*�', ,( �����

Page 190: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–20 A8.1 (8/97)

����� ���������

�(9( �9,2 #/, !�� +(9( 3(2, #/08 +(9( -0,1+ /(8 ),,3 8,9 :5 (8 (

��?)>9, -0,1+ -47 -:9:7, :8, �:77,391>� 09 08 7,8970*9,+ 94 �

)>9,8 84 9/(9� </,3 57,*,+,+ )> ( ?)>9, -01, 57,-0=� 9/,

!�� +(9( 3(2, +4,8 349 ,=*,,+ � )>9,8

&09/03 9/, �(9( �0*9043(7>� (11 +(9( 09,28 (7, 7,-,7,3*,+

)> 9/08 �?)>9, +(9( 3(2, �8 9/,> (7, :8,+ 03 +(9()(8,

9()1,8� ( ?*/(7(*9,7 57,-0= 08 (++,+ 94 *7,(9, :306:, +(9(

3(2,8 03 ,(*/ 9()1, 85,*0-0*(9043 ���"� "5,*0(1

*/(7(*9,78 (7, 349 (114<,+ (8 5(79 4- 9/, +(9( 09,2 3(2,�

<09/ 9/, ,=*,59043 4- �� �� �

'4: *(3 *7,(9, 5749,*9,+ +(9( 3(2,8 )> :803. �=== (3+

�===� </,7, >4: +,-03, ===

�,88(.,8 *(3 *439(03 :5 94 �� */(7(*9,78 #>5,8 4-

2,88(.,8 (7, -:79/,7 +,-03,+ )> .1488(7> .74:5

�� ��������� ��� ����� � � � � � � � � � � � � � � � � � � � � � � � � � �

�,88(.,8 *(3 *439(03 :5 94 �� */(7(*9,78 #>5,8 4-

2,88(.,8 (7, -:79/,7 +,-03,+ )> .1488(7> .74:5

�1488(7> �74:5 �0--,7,390(9,8 +(9( 09,28 0394 9>5,8 #/,8, 9>5,8 03*1:+,

5702(7> (3+ 8,*43+(7> 9>5,8� ,7747 2,88(.,8� (3+ /,15

9,=9 ",, $�� ���� -47 ( *4251,9, 108903. 4- �1488(7>

�74:58

",, (184 �&/(9 �7, 9/, �(9( �0*9043(7> �1488(7> �74:58��

<09/03 9/08 ��(9( �0*9043(7> !,5480947>� */(59,7

�15/( �,8* �(9()(8, 9,=9 89703. 9/(9 3(2,8 9/, +(9( 09,2 �39,7 9,=9 03

:55,7 (3+ 14<,7 *(8, #/, 8>89,2 :8,8 9/08 -0,1+ 94 8,(7*/

-47 80201(7 +(9( 09,28 #4 ,39,7 (3 (15/( +,8*7059043�

-4114< 9/,8, *43;,390438�

�(9,8 � �,.03 (11 �(9, -0,1+8 <09/ �(9,�24:398 � �,.03 (11 �24:39 -0,1+8 <09/ �24:39$3098 � �,.03 (11 $309� :(3909>� (3+ %41:2,-0,1+8 <09/ $3098�(2, � �,.03 (11 ��?)>9, +,8*7059043 -0,1+8 <09/�(2,�74259 � �,.03 (3> '� 57425903. -0,1+ <09/�74259�++7,88 �:2),7 � �,.03 (11 (++7,88 3:2),78�,2514>,,� *:8942,7� 4<3,7� <09/ �++7,88�:2),7

!,547903. ">89,2 4+, �,80.3(9,8 9/, 8>89,2 3:2),7 -47 7,547903. 5:7548,8

#/08 7(7,1> +0--,78 -742 9/, �389(11 ">89,2 �=*,590438

4**:7 -47 +(9( -01,8 :8,+ )> 247, 9/(3 43, 8>89,2

">89,2 �4+, #/, 8>89,2 *4+, (3+ 9>5, 4- 9/, 9()1, 94 ), *450,+ �11

;(1:,8 -47 9/, 85,*0-0,+ 9()1, <011 ), *450,+

Page 191: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–21

����� ���������

�8/& �)& �"3" �*$3*.-"18 -",& .' 3)& '*&+% .1 3)& 1&$.1% '.1,"3

-",&�

� �)& '*+& /1&'*7 *2 "%%&% 3. $1&"3& 4-*04& %"3"

-",&2 '.1 &"$) '*+& 2/&$*'*$"3*.- *' " %"3" *3&, *2&-3&1&% *- 3)*2 '*&+%�

� �)& 1&$.1% '.1,"3 +*-& *2 "43.,"3*$"++8 %&'"4+3&%

*-�

�� ��������� ��� ����� � � � � � � � � � � � � � � � � � � � � � � � � � �

�.3& )&- 42*-( 3)& :�� '.1,"3� $1&"3& 3)& '*&+% "2 +"1(&

"2 /.22*#+&� �)*2 "++.62 3)& 42& .' *%&.(1"/)*$ +"-(4"(&2

24$) "2 �"/"-&2&�

�*9& �)& %&2$1*/3*.- .' 3)& %"3" *3&, &-3&1&% *- 3)& /1&5*.42

'*&+%�

� �.,&2 '1., 3)& �.6 �&2$1*/3*.- '*&+% *- 3)& �"3"

�*$3*.-"18�

�"3" �*+& �&$*,"+2 �)& -4,#&1 .' /.2*3*.-2 3. 3)& 1*()3 .' 3)& %&$*,"+ .' 3)&

%"3" *3&,�

�"3" �3&, �+"22 �&'*-&2 3)& &22&-3*"+ "331*#43&2 "-% $)"1"$3&1*23*$2 .' " %"3"

*3&,�

�3&, �$$411&-$&2 �- 2&33*-( 4/ " %"3" *3&, *- 3)& %"3" %*$3*.-"18� 8.4 ,"8

2/&$*'8 " -4,#&1 .' "11"8 &+&,&-32� �)*2 6*++ $"42& 3)&

"43.,"3*$ $1&"3*.- .' .-& "%%*3*.-"+ %"3" *3&, '.1 &"$)

"11"8 &+&,&-3�

�)& "11"8 %"3" *3&, -",&2 "1& 1&231*$3&% 3. $&13"*- +&-(3)2

%&/&-%*-( .- 3)& -4,#&1 .' "11"8 &+&,&-32

#83&2 � � 3. � &+&,&-32 #83&2 � �� 3. �� &+&,&-32� #83& � ��� 3. ��� &+&,&-32

�*2/+"8 �&$*,"+2 �2& 3)*2 /"1",&3&1 3. %&2*(-"3& 3)& -4,#&1 .' %&$*,"+2 *-

3)& $411&-$8� ",.4-3� .1 04"-3*38 '*&+%2 3)& 2823&,

%*2/+"82� �.1 &7",/+&� ���� �.++"12 6.4+% #& %&$*,"+2�

�"/"-&2& !&- 6.4+% #& -. %&$*,"+2� "-% �",&1..-

�1"-$2 6.4+% #& %&$*,"+2�

�.6 �&2$1*/3*.- �1&"3&2 3)& 3*3+& .- 3&73 "-% 1&/.132� �3 *2 42&% *- " ,"--&1

2*,*+"1 3. 3)& $.+4,- %&2$1*/3*.- *- 3)& 04&18 '"$*+*38� �3

2).4+% #& +&22 3)"- � $)"1"$3&12� �2& "##1&5*"3*.-2

6)&-&5&1 /.22*#+&� �.1 &7",/+&

��� �-*32 .' ,&"241&

!�� !&"1;3.;%"3&

��� �.-3);3.;%"3&

�!� �1*.1 8&"1 &-%

��! �4"-3*38

��� �&-&1"+ +&%(&1

��� �$$.4-32 /"8"#+&

���� �&/1&$*"3*.-

Page 192: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–22 A8.1 (8/97)

����� ���������

�/,5-. �*4,& �)& '*234 ,*.& /' %&3$2*04*/. 4)"4 7*,, #& 53&% *. $/,5-.

)&"%*.(3 /. " 2&0/24 /2 '/2-� �)*3 %&3$2*04*/. 3)/5,% #&

./ ,"2(&2 4)". 4)& %"4" *4&- 3*:&� *' 0/33*#,&� �' 4)& $/,5-.

)&"%*.( *3 /.,9 /.& ,*.&� *4 3)/5,% #& 0,"$&% *. 4)*3

$/,5-.� �3& 4)& 3&$/.% ,*.& /' 4)& �/,5-. �*4,& 7)&.

/.& *3 ./4 $,&"2�

�&'"5,4 �",5& �3&% "3 4)& *.*4*", 6",5& /. 4)& %"4" &.429 3$2&&. '/2 4)&

"33/$*"4&% %"4" *4&-� �)& 6",5& &.4&2&% -534 #& 4)& &8"$4

3"-& ,&.(4) "3 4)& %"4" *4&- 3*:&� �,"$& 3*.(,& 15/4&3

"2/5.% 4)& 6",5& *' *4 $/.4"*.3 ".9 &-#&%%&% #,".+3� �)&

+&97/2%3 ��� ��� ".% �!���� $". #& 53&% "3 4)&

%&'"5,4 6",5&� �)&. &.4&2*.( " .5-&2*$ %"4" *4&- 7*4)

%&'"5,4 6",5&3� 4)& 2&%*30,"9 /' 4)& %"4" *4&- 35002&33&3

",, ,&"%*.( :&2/3�

� ������ �' " #,".+ &.429 *3 ",,/7&%� %&'"5,4 6",5&3

3)/5,% ./4 #& 53&%�

�"4" �*30,"9 �5,&3 �&97/2%3 7)*$) %&$2*#& ". &%*4*.( 4&$).*15& "00,*&%

7)&. %"4" *3 %*30,"9&%� �",*%"4*/. *3 "00,*&% 4/ 4)& %"4"

"'4&2 �.4&2 *3 02&33&%�

�)& 25,& 7*,, #& "00,*&% "3 30&$*'*&% *. 4)& ���� 4"#,& "4

4)& 3$2&&.�2&0/24 ".%�/2 4)& "$4*/. $/%& 3* %&3*2&%�

�)& %&6&,/0&2 $". /6&22*%& 4)&3& 25,&3 "4 4)& 4*-& /'

02/(2"- $2&"4*/.�

�)& $522&.4 ,*34 /' 4)&3& 25,&3 *3 +&04 *. 4)& �3&2 �&'*.&%

�/%&3 "4 � ���� � ".% ������ � �� � ���

�"4" �%*4 �5,&3 �&97/2%3 7)*$) %&$2*#& ". &%*4*.( 4&$).*15& "00,*&%

7)&. %"4" *3 &.4&2&%� �",*%"4*/. "00,*&% 4/ 4)& %"4" "'4&2

�.4&2 *3 02&33&%�

�)& 25,& 7*,, #& "00,*&% "3 30&$*'*&% *. 4)& ���� 4"#,& "4

4)& 3$2&&.�2&0/24 ".%�/2 4)& "$4*/. $/%& "3 %&3*2&%�

�)& %&6&,/0&2 $". /6&22*%& 4)&3& 25,&3 "4 4)& 4*-& /'

02/(2"- $2&"4*/.�

�)& $522&.4 ,*34 /' 4)&3& 25,&3 *3 +&04 *. 4)& �3&2 �&'*.&%

�/%&3 "4 � ���� � ".% ������ � �� � ���

Page 193: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–23

����� ���������

�%!1#( �1.'1!, �(% �%+/ �%73 �1.'1!, &)%+$ )2 42%$ 3. #!++ ! /1.'1!,

6(%- 3(% &4-#3).- *%8 : � )2 /1%22%$ .- )32 �!3! �3%,�

�(%- � )2 /1%22%$� 3(% /1.'1!, %-3%1%$ )- 3()2 &)%+$ 6)++

"% %7%#43%$� �& 3()2 &)%+$ )2 +%&3 "+!-*� 3(% '+.22!18 6)++ "%

42%$� �& 8.4 6)2( 3(% �2%1 �%&)-%$ �.$% 6)-$.6 3.

!//%!1 6(%- � )2 /1%22%$� %-3%1 ������ )- 3()2 &)%+$ �3()2

)2 3(% $%&!4+3 6(%- ����� )2 %-3%1%$ )- 3(% �!3! �$)3 �4+%2

&)%+$�� �& 8.4 $. -.3 6!-3 3(% ��� 6)-$.6 3. !//%!1 !-$

8.4 (!5% ����� )- 3(% �!3! �$)3 �4+%2 &)%+$� #(!-'% 3()2

&)%+$ 3. "% "+!-*�

�1.'1!, �%04)1%,%-32� �.1 8.41 3%73 /1.'1!, 3. 6.1*

#.11%#3+8� 8.4 ,423 !++.6 )3 3. !##%/3 3(1%% 23!-$!1$

/!1!,%3%12�

� ����

�)%+$ �!,%� 2)9% �� 38/% !+/(!

� ����

�%341- �!+4%� 2)9% ��� 38/% !+/(!

� ���� �

�%341- �%2#1)/3).-� 2)9% ��� 38/% !+/(!

�%73 �"1 �823%, �%2)'-!3%2 3(% 2823%, -4,"%1 &.1 3(% �%73 �4,"%1

1%31)%5!+� �%% �2%1 �%&)-%$ �.$%2� 2823%, #.$% �� �� 1%#.1$

38/% �� ��

�%73 �4,"%1 �-$%7 �(% !11!8 %+%,%-3 -4,"%1 1%31)%5%$ )- 3(% �%73 �4,"%1

�%5)2).-2 /1.'1!,� �.1 %7!,/+%� 3(% -%73 5.4#(%1

-4,"%1 )2 !11!8 %+%,%-3 ��� .& 2823%, �����

Page 194: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–24 A8.1 (8/97)

What You Should Know About

���� ������� ������ �* " � /5/0") &/ +,".�0&+*�(� 5+1 )1/0 �" ,�.0& 1(�.(5

�."#1( 0+ /" 1." 0%" &*0"$.&05 +# 0%" ��0� �& 0&+*�.5� �3+

#� &(&0&"/ �." ,.+2&!"! 0+ �&! 5+1 3&0% 0%" /" 1.&05�

� �,".�0&+*�( /5/0")/ +!&*$ 6 �5/0") *1)�"./ �*!

*�)"/ �." !"#&*"! &* �/". �"#&*"! �+!"/� /5/0") +!" � � ." +.! 05," ��� �# 5+1 ,(� " �* � &* 0%"/" +*! (&*" +# !"/ .&,0&+* #+. � ,�.0& 1(�. /5/0")� &03&(( �" !"/&$*�0"! �/ +,".�0&+*�(� �* " � /5/0") %�/�""* /"0 1, �/ +,".�0&+*�(� �(( !�0� #&"(!/ +!"! 0+0%&/ /5/0") �." ,.+0" 0"! #.+) )+!&#& �0&+*/� �%&/ +*0.+(� %+3"2".� �* �" 2&+(�0"! �5 .")+2&*$ 0%" �&* �/". �"#&*"! �+!"/�

� � 0&+* �+!" �" 1.&05 6 � )+." ,.1!"*0 #+.) +#

+*0.+( &/ 0+ �//&$* %�*$"�!"("0" �10%+.&05 0+ +*(5+*" &*!&2&!1�(� 0%" !�0���/" �!)&*&/0.�0+.� �# 5+1 %++/" 0+ 1/" 0%&/ +*0.+(� 5+1 /%+1(! ."/0.& 0 � "//0+ 0%" ��0� �& 0&+*�.5 ,.+$.�) ������ &* � 0&+*�+!" �" 1.&05� �"" ����� ��� ����� ���� ����������(( 1/"./ )1/0 �" /"0 1, 3&0% �!! �10%+.&05 +*(5� �%"!�0���/" �!)&*&/0.�0+. 3+1(! �" /"0 1, 3&0%�!!� %�*$"�!"("0" �10%+.&05�

The Function Keys for the Data Dictionary

�%" #+((+3&*$ #1* 0&+* '"5/ �." �2�&(��(" #.+) 0%" ��0� �& 0&+*�.5 #+.)�

� �� � !�0� &0") /"�. % #� &(&05� �# 5+1 �." � !+1�("6�50" 1/".� 5+1 )1/0

,.+2&!" � /"�. % !"/ .&,0&+* #+. "� % !�0� &0") 5+1 ."�0" +. %�*$" &*+.!". #+. 0%" /"�. % #� &(&05 0+ #1* 0&+* ,.+,".(5� �*0". 0%" /"�. % 0"40 &*0%" �"�. % �"/ .&,0&+* #&"(! +* 0%" ��0� �& 0&+*�.5 / .""*�

� ��� �",+/&0+.5 �".2& "/

� � � �/". �"#&*"! �+!" ���("/

� ��� �10+)�0& �"&*-1&.5

� ���� � !�0� &0") .+// ."#"."* "

Page 195: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–25

Working with Data Item Alias Revisions

�+� ,"� ��,� �,�% �$#�+ '*% ,' �++#!& �$#�+ &�%�+ ,' � ��,� #,�% ,"�, ',"�*(*'!*�%%#&! $�&!-�!�+ -+�� �"�& ���#&! � ��,� #,�% ' !$'++�*0 !*'-( 1�� '*1��� 0'- %-+, �&,�* �& �$#�+ '* ,"�, #�$�� �"#+ '*% �-,'%�,#��$$0 �((��*+ '& �&��� -&�,#'& ."�& ,"� �$#�+ #+ &', -&#)-�� �"� �$#�+ �� �-$,+ *'% ,"� �$("���+�*#(,#'&�

�� �� � ���� ���� ��� ���� ��������

�& ��,� �#�,#'&�*0 ��('+#,'*0 '*%

�� �*�++ ��� �"� ��,� �#�$� �$#�+ '*% �#+($�0+�

9201 Data Dictionary Repository Rls Last Chg __________ Item Parent. Action Code. . . . I Data Item. . . . . AT1 ____ 9204 Data Field Alias Glossary Group . . D – – – – – – – – – – – – Action Code. . . I – – – – Alpha Desc . . . . Search Data Item. . . . AT1 Reporting System . 01 Search Type System Code. . . . Alias imals __ Data Item Class. . _______ Type Alias __________ als . _ 1 ADDRESS_TYPE_1 __________ – – – – – – – – – – – – 2 Address Type1 __________ – – – – Row Description. . Search _ ________________________ Column Title . . . S _ ________________________ T – F24=More – – – – – – – – – – Defa – – – – Default Value. . . _______ Data Display Rules ______ ________________________________________ Justify. _ Data Edit Rules. . UDC 01 ST Search Program . . Next Nbr System. . ____ Next Number Index . . __

F4=Search F8=UDC F9=Prev F10=Glossary F11=Descriptions F15=Where Used

�� �&,�* �& �$#�+ ,0(� �&� &�%��

�& �$#�+ &�%� %-+, �� -&#)-� ,' ,"� +0+,�% '* ,"� +0+,�% �'�+ &', $�,0'- �/#, *'% ,"� ��,� �#�$� �$#�+ '*%�

-**�&, �$#�+ ,0(�+ *�)-#*��

� � ��� '* ����

� � $�&!-�!�

�& �$#�+ %-+, ��"�*� ,' ���� ��.�*�+� +0&,�/ *-$�+ ' ,"� 1 � $�&!-�!��

Page 196: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–26 A8.1 (8/97)

Working with the Data Dictionary Glossary

What are the Data Dictionary Glossary Groups?

�(% �!2! �)#2).-!07 #.-1)121 .& 1%4%0!+ '+.11!07 '0.3/)-'1 2(!2 $%&)-% 2(% $!2!)2%, )- 2(% ���� �$5!0$1 1.&25!0%� �++ '+.11!07 '0.3/1 27/)#!++7 (!4% !11.#)!2%$2%62� �(% '+.11!07 12.0%1 2()1 2%62� �(% ,!*.0 '+.11!07 '0.3/1 &.++.5�

�(% �!2! �)#2).-!07 #.-1)121 .& 1%4%0!+ '+.11!07 '0.3/)-'1 2(!2 $%&)-% 2(% $!2!)2%, )- 2(% ���� �$5!0$1 1.&25!0%� �++ '+.11!07 '0.3/1 27/)#!++7 (!4% !11.#)!2%$2%62� �(% '+.11!07 12.0%1 2()1 2%62�

� ���� �$5!0$1 )-2%0!#2)4% %00.0 ,%11!'%1

� ���� �$5!0$1 $%&)-%1 )-2%0!#2)4% %00.0 ,%11!'%1 5)2(

-3,"%01 +%11 2(!- ��� !-$ 5)2( -3,"%01 &0., ����2. � �.0 %6!,/+%� ����

� �+)%-2 $%&)-%1 )-2%0!#2)4% %00.0 ,%11!'%1 5)2(

-3,"%01 &0., ��� 2.

� �%-3 �%11!'%1

� ���� �$5!0$1 $%&)-%1 ,%-3 ,%11!'% $!2! )2%,1 !1

�������666� 5(%0% 666 0%/0%1%-21 ! -3,"%0� �.0%6!,/+%� ��������

� �+)%-2 $%&)-%1 ,%-3 ,%11!'% $!2! )2%,1 !1

�������666� 5(%0% 666 0%/0%1%-21 ! -3,"%0

� ���� �$5!0$1 "!2#( %00.0 ,%11!'%1

� ���� �$5!0$1 $%&)-%1 "!2#( %00.0 ,%11!'%1 5)2(

���6666� 5(%0% 6666 0%/0%1%-21 ! -3,"%0 +%11 2(!-����� �.0 %6!,/+%� �������

� �+)%-2 $%&)-%1 "!2#( %00.0 ,%11!'%1 5)2( ���6666�

5(%0% 6666 0%/0%1%-21 ! -3,"%0 '0%!2%0 2(!- ����!-$ +%11 2(!- ���

� �(% ������� ,%11!'% &)+% #.-2!)-1 "!2#( %00.0

,%11!'%1

� � ���� �$5!0$1 /0.'0!, &.3-$ .- �%"3)+$1 !-$

�+."!+ �/$!2%1 �� ��� ,312 "3)+$ 2(% "!2#( %00.0,%11!'%1 &)+%1 �������

� �!2! �2%, �3-#2).-1 �!2%'.0)%1

� �0.3/1 #.,,.- $!2! %+%,%-21

� �.0 %6!,/+%� ��������

Page 197: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–27

� � �1*-"18 /1 �&$/.%"18 �"3" �3&-2

� �2&% '/1 5",*%"3*/.2

� �&73 /. �*%&/2

� �&73 /. �&0/132

� �*&,% �&'&1&.$& �*,&2 : ������:! � ".%

� �/1 &7"-0,&� �� '/1 " � %"3" *3&-� ���� '/1 ". � %"3"

*3&-

� �*,&2

� �&.&1", �"11"3*5&� �2&% 3/ "%% *.'/1-"3*/. "#/43 "

20&$*'*$ %"3" *3&-

� �2&1 �&'*.&% 01/(1"- �&,02

� �,*&.3 42& /.,8 '/1 "%%*.( $423/- )&,02 '/1 ����

�%6"1%2 01/(1"-2

� �/1 &7"-0,&� �������

� �&0/13 �&22"(&2� �&22"(&2 /1 6"1.*.(2 '/1 $&13"*.

01/$&%41&2� /1 ,&33&12 61*33&. ".% 01/%4$&% 3)1/4()

����� 1*3&1

� �1/(1"- �/3&2

� �2&% #8 01/(1"--&12 3/ 380& ./3&2 "#/43 " 01/(1"-

*. 3)& 2823&-

� �%% 3)& ./3&2 3/ 3)& (,/22"18 *. 3)& �"3" �*$3*/."18

� �1&"3& ./3&2 '/1 " 01/(1"-� "%% " %"3" *3&- 6*3) ".

9�� "2 " 01&'*7 *. '1/.3 /' 3)& 01/(1"- ."-&� �/1&7"-0,&� �������

� �1/(1"- �410/2&2

� �2&% *. 3)& (&.&1", 24--"18 )&,0 *.2314$3*/.2

� �2&% '/1 3)& �1/(1"- �&.&1"3/1 �1/%4$3

� �/1 &7"-0,&� �����

�&0/13 �"3" �,&-&.32 : 3)& -"+/1*38 /' 3)&2& %"3" *3&-2

"1& ,&33&12 01/%4$&% 3)1/4() ����� 1*3&1

� �&1-2

� �)&2& %"3" *3&-2 "1& %&'*.*3*/.2 /' $/--/.,8 42&%

3&1-2

� �)& 01&'*7 /' 3)& %"3" *3&- ."-& *2 9������ �/1

&7"-0,&� 3)& ��� %&'*.*3*/. *2 *. 3)& (,/22"18 4.%&13)& %"3" *3&- ��������

Page 198: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–28 A8.1 (8/97)

� �-/ 4-/) $'#*"0 1&�1 � ./-%/�+ 21'*'7#0

� �#%', 4'1& �

� �-/ #5�+.*#� �

�� ��� ���� ��� �� ���

�� �/-+ ��1� �'!1'-,�/6� ./#00 ���� �&# ��1� �1#+ �*-00�/6 �#3'0'-,0 $-/+"'0.*�60�

�$ 6-2/ %*-00�/6 %/-2. '0 �� �� �� -/ �� 1&'0 $-/+ �21-+�1'!�**6 "'0.*�604&#, 6-2 ./#00 �,1#/ -, 1&# +�', ��1� �'!1'-,�/6 $-/+�

92001 Data Item Glossary Revisions Language . . . . . __ Applic Override ____ Scrn/Rpt . __________ Action Code. . . . . I Data Item. . . . . . AT1 _______ Desc Search Type_____________________________ System Code. . . . . 01 __ Reporting System Code. 01 __ Glossary Group . . . D Search Desc

A user defined code (system 01, type ST) that identifies the kind of Address Book record you want the system to select when you do name or message searches. Examples: E – Employees X – Ex–Employees V – Vendors C – Customers P – Prospects M – Mail Distribution Lists __________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ F4=Search F9=Redisplay Prev F19/F20=Prev/Next Item F24=More

� �- 1&# $-**-4',% 1&�1 �..*'#0�

� �0# 1&# ��,%2�%#� ..*'! �3#//'"#� �," �!/,��.1 $'#*"0 $-/ (�/%-,�

�## ���� ����� �� ���� $-/ "#1�'*0�

� �0# !2/0-/ )#60 1- 0## �""'1'-,�* 1#51 *',#0�

� �&#, #,1#/',% �, 8�� %*-00�/6 %/-2. '1#+� 4&'!& '0 �, ',1#/�!1'3#

#//-/ +#00�%#� 20# �� 1- "#$',# � ./-%/�+� $-/+� -/ /#.-/1 1-/#$#/#,!# 4&#, 1&# 0601#+ "'0.*�60 1&# #//-/ +#00�%#�

� �, "-2 *#9 61# +�!&',#0� 1&'0 $-/+ "'0.*�60 1&# �#�/!& �#0! $'#*"�

�- #,02/# 1&# "�1� '1#+ 0#�/!& $�!'*'16 $2,!1'-,0 ./-.#/*6� 6-2 +201#,1#/ � 0#�/!& "#0!/'.1'-, $-/ #�!& "�1� '1#+ 6-2 !/#�1# -/ !&�,%#��-2 !�, #,1#/ '1 -, 1&'0 $-/+ -/ -, 1&# ��1� �'!1'-,�/6 $-/+�

� *4�60 *#�3# 1&# *�01 14- !&�/�!1#/ .-0'1'-,0 -$ #�!& 1#51 *',# *�,)�

Page 199: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–29

����� ���������

�+=+ �=/6 '2/ %$� .+=+ 7+6/ '23< .+=+ 03/5. 2+< ,//7 </= >9 +< +

��D,B=/ 03/5. 08; 0>=>;/ ></ �>;;/7=5B� 3= 3< ;/<=;3-=/. =8 �

,B=/< <8 =2+=� @2/7 9;/-/./. ,B + D,B=/ 035/ 9;/03A� =2/

%$� .+=+ 7+6/ .8/< 78= /A-//. � ,B=/<

)3=237 =2/ �+=+ �3-=387+;B� +55 .+=+ 3=/6< +;/ ;/0/;/7-/.

,B =23< �D,B=/ .+=+ 7+6/ �< =2/B +;/ ></. 37 .+=+,+</

=+,5/<� + D-2+;+-=/; 9;/03A 3< +../. =8 -;/+=/ >73:>/ .+=+

7+6/< 37 /+-2 =+,5/ <9/-303-+=387 ���&� &9/-3+5

-2+;+-=/;< +;/ 78= +558@/. +< 9+;= 80 =2/ .+=+ 3=/6 7+6/�

@3=2 =2/ /A-/9=387 80 �� �� �

*8> -+7 -;/+=/ 9;8=/-=/. .+=+ 7+6/< ,B ><371 �AAA +7.

�AAA� @2/;/ B8> ./037/ AAA

!/<<+1/< -+7 -87=+37 >9 =8 �� -2+;+-=/;< 'B9/< 80

6/<<+1/< +;/ 0>;=2/; ./037/. ,B 158<<+;B 1;8>9

�� ��������� ��� ����� � � � � � � � � � � � � � � � � � � � � � � � � � �

�0 B8> +;/ +..371 +7 /;;8; 6/<<+1/� =23< 03/5. 6><= ,/ 5/0=

,5+74 '2/ <B<=/6 +<<317< =2/ /;;8; 6/<<+1/ 7>6,/;

><371 7/A= 7>6,/;< '2/ 7+6/ +99/+;< 87 + <>--/<<0>5

+.. *8> <28>5. +<<317 37=/;+-=3?/ /;;8; 6/<<+1/

7>6,/;< 1;/+=/; =2+7 ����

�58<<+;B �;8>9 �300/;/7=3+=/< .+=+ 3=/6< 37=8 =B9/< '2/</ =B9/< 37-5>./

9;36+;B +7. </-87.+;B =B9/<� /;;8; 6/<<+1/<� +7. 2/59

=/A= &// (�� ���� 08; + -8695/=/ 53<=371 80 �58<<+;B

�;8>9<

&// +5<8 �)2+= �;/ =2/ �+=+ �3-=387+;B �58<<+;B �;8>9<��

@3=237 =23< ��+=+ �3-=387+;B %/98<3=8;B� -2+9=/;

�� ��������� ��� ����� � � � � � � � � � � � � � � � � � � � � � � � � � �

"#'�� �0 B8> 7//. =8 +<<317 B8>; 8@7 /;;8; 6/<<+1/

7>6,/;<� ></ � .313= 7>6,/;< 1;/+=/; =2+7 ������

�8; 2/59 =/A= �158<<+;B 1;8>9 ��� =2/ .+=+ .3-=387+;B

C�7:>3;B%/?3<387 $;81;+6� 03/5. 6+B ,/ ></. =8 <9/-30B

=2/ 7+6/ 80 + 08558@D87 3=/6

'8 -;/+=/ B8>; 8@7 6/<<+1/< 08; =2/ ��! 6/<<+1/ 035/

�158<<+;B 1;8>9 ��� ,/137 =2/ .+=+ 3=/6 7+6/ @3=2 B8>;

8@7 =2;// -2+;+-=/;< �/1� � '�����

Page 200: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–30 A8.1 (8/97)

Working with User Defined Help Instructions

�"� ��+#�+, /�1 ,( &(�# 1 "�%) #'+,*-�,#('+ #+ ,( -,#%#2� ,"� �+�* � #'���'+,*-�,#('+ #' �,� #�,#('�*1�

�� ��� ���� ���� ������� �� ������������

�' ,"� �,� �,�& �%(++�*1 ��.#+#('+ (*&

92001 Data Item Glossary Revisions Language . . . . . __ Applic Override ____ Scrn/Rpt . __________ Action Code. . . . . I Data Item. . . . . . U00MENU ___ Desc Help – User Defined Instructions ________ Install System Code. 00 __ Reporting System Code. 00 __ Glossary Group . . . H

This is a sample of user defined instructions that may be entered by users for any given program in the system. If you wish to provided ~high lighted~, or |underlined,|or ¢both high lighted and underlined¢ text refer to the special attributes section of help instructions. All user defined instructions may be entered directly into the data dictionary. ______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ F4=Search F9=Redisplay Prev F19/F20=Prev/Next Item F24=More

�� � ��/�*�+ )*(.#��+ �' �0�&)%� *��(*� ��������� #' 1(-* +1+,�&�

�� �',�* � )*(!*�& '�&� #' ,"� �,� �,�& #�%�� *�)%��#'! ,"� 3�� /#," 3����(* �0�&)%�� (* )*(!*�& ������� �*��,� � ��,� #,�& �������

� �',�* � #' ,"� �%(++�*1 �*(-) #�%�� �"� � �%(++�*1 �*(-) �� #'�+ -+�*�� #'�� "�%)� �� � ��/�*�+ �(�+ '(, *�)%��� � �%(++�*1 �*(-) ��,� #,�&+�-*#'! �' -)!*����

� ��* (*& �' ��� (* �"�'!��

�' ,"� ��%) ��+$ �#+, (*&� 3����+�* �'+,� #+ �#+)%�1�� # 1(- /*(,� 1(-*(/' �+�* � #'�� ��%) #'+,*-�,#('+�

Page 201: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–31

Working with Data Field Descriptions

� � � ��� ���� ���� ������� ��

�� ���� �� ���������� �� �� ����

9202 Data Field Descriptions

Action Code. . . . . . I Data Item. . . . . . . AN8 _______ Address Number Row Description. . . . Address Number . . . . . . . . . . . . . Column Title . . . . . Address _____________ Number _____________ ––––––––

O Lan Appl Column P Over Description _________________________ Titles _______ _ __ 44 __ Row Vendor Number. . . . . . . . . . . . . . Vendor _____________ Number _____________ –––––––– _ __ 48 __ Row Customer Number. . . . . . . . . . . . . Address _____________ Number _____________ –––––––– _ __ ____ Row ________________________________________ ____________________ ____________________

_ __ ____ Row ________________________________________ ____________________ ____________________

Opt: 5=Glossary F9=Redisplay Prev F19/20=Prev/Next Item F24=More

�� �� �� �� �� �� � ���������� ����� �� � �� ����� ����� �� ����� � ���������� ��� �� �� �� �� ����� �������� �� ������ ���� ���� ��������� ��� � �����

Page 202: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–32 A8.1 (8/97)

Working with the Next Numbers Facility

�� ��$ �!���� ������ % ��� ���� �� �! ��� �� �!������� ��� �!�� � ��� ����# �� ����!� �!������ "�!���� �!������ ������� �!������ ����#� %�! �������% #�� �!������� �%� �� %�! #�� � !�� ��� ��"�� %�! � �� ��� ���������� ��� �!����� � ���!�� �������� ���� ��� ��%��� �������

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

� ���� � �� ��$ �!����� ������ %

� ���� #� � ��$ �!����� �% ������% ��� ������ %���

� � ���� �� ���� ������� ������

���� ���! ��� ������ ��$ �!������

0002 Next Numbers

Action Code. . . . . . I System Code. . . . . . 09 __ General Accounting

Use ______ Next Number Check Digit Next Account ID 21831 _ Journal Entries 1946 _ Consol Accounts 90000214 _ _______________ ________ _ _______________ ________ _ _______________ ________ _ _______________ ________ _ _______________ ________ _ _______________ ________ _ _______________ ________ _

CAUTION: Changing the data on this screen may make it impossible to retrieve previously added addresses and may result in attempts to assign duplicate numbers.

F8=Next Numbers by Co/FY F24=More Keys

Page 203: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–33

What You Should Know About

What You Should Know About Next Numbers

���� ������� � � %�.* %+$��() �!#� !) �����

� �� �#�$�%* �((�/

� � (��&(� '�( )/)*�$

� �&�+#+) �� � ��" &'*!&%�#

�%�� )�*� �& %&* � �%��

� ��) �% !$'��* &% )/)*�$ '�(�&($�%��

� �!## %&* �+'#!��*� %+$��()� � �% !* (��� �) $�.�

)*�(*) &,�(

� ��%%&* � �%�� '&)!*!&% &� +)�( &( ��� %�- �%*(/

-!* &+* '(&�(�$$!%� $&�!�!��*!&%)

�!�) -!* * � ��*� �!�*!&%�(/

� ��*� �*�$ !% ��*� �!�*!&%�(/ '&!%*) *& * � ��.*

�+$��( �/)*�$� �&( �.�$'#�� �/)*�$ �&�� � ����*� �*�$

� � %�.* %+$��() �!#� !) ������

� �� �#�$�%* �((�/

� � (��&(� '�( )/)*�$

� �&�+#+) �� � ��" &'*!&%�#

�%�� )�*� �& %&* � �%���

� ��) �% !$'��* &% )/)*�$ '�(�&($�%��

� �!## %&* �+'#!��*� %+$��()� - �% !* (��� �) $�.� )*�(*) &,�(

� ��%%&* � �%�� '&)!*!&% &� +)�( &( ��� %�- �%*(/ -!* &+* '(&�(�$$!%�

$&�!�!��*!&%)

�!�) -!* * � ��*� �!�*!&%�(/�

� ��*� �*�$ !% ��*� �!�*!&%�(/ '&!%*) *& * � ��.* �+$��( �/)*�$ ��&(

�.�$'#�� �/)*�$ �&�� � �� ��*� �*�$�

�� ���� ��� ���� ������� �� ������� ��� ���� ����

�� �(&$ ��.* �+$��()� '(�)) ��

Page 204: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–34 A8.1 (8/97)

00021 Next Numbers by Company/Fiscal

Action Code. . . _ Next Number Constant . _

Skip to Company / Sequence . . . . . . . _____ _______ Skip to Fiscal Year. . . . . . . . . . . ____

Doc Seq Do Sm Description Fisc I Next C Auto Co Number Ty As ______________________________ Year D Number D Reset _____ _______ __ __ ____ _ ________ _ ________ _____ _______ __ __ ____ _ ________ _ ________ _____ _______ __ __ ____ _ ________ _ ________ _____ _______ __ __ ____ _ ________ _ ________ _____ _______ __ __ ____ _ ________ _ ________ _____ _______ __ __ ____ _ ________ _ ________ _____ _______ __ __ ____ _ ________ _ ________ _____ _______ __ __ ____ _ ________ _ ________ _____ _______ __ __ ____ _ ________ _ ________ _____ _______ __ __ ____ _ ________ _ ________ _____ _______ __ __ ____ _ ________ _ ________ _____ _______ __ __ ____ _ ________ _ ________

F24=More

�� �". .%" �"2. �/(�", *)-.�). #&"'! .* (�&).�&) )"2. )/(�",- �3

� *(+�)3

� *(+�)3 �)! �&- �' �"�,

�-" �"2. �/(�", �3 *(+�)3 #*, .%"-" *,&$&)�' !* /(").-

� �*/,)�' �).,&"-

� � */).- ��3��'" �*/ %",-

� � */).- �" "&0��'" �)0*& "-

� ��'"- �,!",-

� �/, %�-" �,!",-

About the Field Reference File

�%" �&"'! �"#",") " �&'" *).�&)- .%" -+" &#& �.&*)- #*, "� % !�.� &."( &) .%" �����!1�,!- ��.� �& .&*)�,3� �" �/-" .%" ���� �!1�,!- ��.� �& .&*)�,3 &- !&##",").#,*( .%" -.�)!�,! ��� ��.� �& .&*)�,3� "� % !�.� &."( ," *,! )""!- .* �".,�)-'�."! #,*( .%" ���� �!1�,!- -.�)!�,! .* .%" ��� -.�)!�,!�

�%") �/&'!&)$ .%" �&"'! �"#",") " �&'"� ���� �!1�,!- $,*/+- .%" !�.� &."(-��."(- .%�. �"$&) 1&.% 4�� �," .,�)-'�."! &).* .%" ���5,"�!��'" #*,(�. �)! -.*,"!&) #&'" �������� ��.� &."(- .%�. �"$&) 1&.% 4�� �," &) �������� �� % '"..", *# .%"�'+%��". %�- � *,,"-+*)!&)$ ������ #&'"� '&"). !�.� &."(- �," -.*,"! &)������� �)! ������� �*/ �) ,"�/&'! *)" #&'" �. � .&("� �*/ �) �'-* �/&'! .%"("--�$" #&'" &) �'.",)�.&0" '�)$/�$"-�

Page 205: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–35

What Happens with the Rebuild?

#-* 6;67*1 )3*6 7-* +3003:.2,�

� !*'8.0)6 ����!��=%� �� &2) �

� �.(/6 84 �&7& �.(7.32&5; )&7& .7*1 ,0366&5; ,53846 � &2) "

� !*'8.0)6 7-* 1*66&,* +.0* � ����"�� .2 ��� $6*6 & 453(*66.2, 347.32�

�351 �� ������"��� 73 )*7*51.2* :-.(- 0.'5&5; 73 '8.0) 7-* ����"�+.0* #-* )*+&807 .6 ���

� �3*6 237 5*'8.0) 7-* �� �):&5)6 1*66&,* +.0* .+ *27*5.2, & 6.2,0* +.*0)

5*+*5*2(* +.0* 73 '* '8.07

� �8.0)6 & 6*4&5&7* 1*66&,* +.0* +35 *&(- 0&2,8&,* .267&00*) �27*5 <��� +35 &00

0&2,8&,*6 .267&00*) 32 7-* 6;67*1

�0:&;6 5*'8.0) 7-* +.0*6 .2 7-* 6&1* 0.'5&5; &6 45*9.3860; '8.07

About the J.D. Edwards Message File

#-* �� �):&5)6 �*66&,* � ����"�� +.0* (327&.26 &00 7-* 1*66&,*6 7-&7 &5*(3)*) �0366&5; �5384 � #-* 453,5&16 &((*66 7-* 1*66&,*6 +531 7-.6 +.0* �+ &(0.*27 &))6 1*66&,*6 :.7- �0366&5; �5384 �� & 5*'8.0) .6 2*(*66&5; 73 (355*(70;&)) 7-* 2*: 1*66&,*6 73 7-* �� �):&5)6 �*66&,* � ����"�� +.0*

Rebuilding only the J.D. Edwards Message File?

#-* 6;67*1 )3*6 7-* +3003:.2,�

� !*'8.0)6 7-* 1*66&,* +.0* � ����"�� .2 ��� $6*6 & 453(*66.2, 347.32�

�351 �� ������"��� 73 )*7*51.2* :-.(- 0.'5&5; 73 '8.0) 7-* ����"�+.0* #-* )*+&807 .6 ���

� �.(/6 84 �&7& �.(7.32&5; )&7& .7*1 ,0366&5; ,5384 �

�27*5 & 9&08* +531 $�� 7&'0* ���� 73 ,*2*5&7* & 1*66&,* +.0* +35 & 6.2,0*0&2,8&,* �27*5 <��� +35 &00 0&2,8&,*6 .267&00*) 32 7-* 6;67*1

Locating the Rebuild FRF and JDE Msg File Form

�� ���� �� � ���� ��� �� ��� ��� ��� ����

�531 1*28 ���� � (-336* !*'8.0) �!� � ��� �6, �.0*

Page 206: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–36 A8.1 (8/97)

98FRF Rebuild FRF & JDE Msg File

The Field Reference Files are facsimiles of the J. D. Edwards Data Dictionary and are vital for the creation of all data base files. The version of the Data Dictionary upon which they are based determines the type and characteristics of all application data elements. This procedure will recreate these files based upon the Data Dictionary files found in the library specified, placing the DDS source in the JDESRC source file the Source Library selected, with the Field Reference Files being created in the Data Library selected.

Base Field Ref Files on Data Dictionary in Library __________

Create Field Ref source in Source Library __________

Create Field Ref Files in Data Library __________

Single field ref($, @, A–Z or blank=all) _

Language for message file (** for all) .

NOTE: Generation of Field Reference and Message File is submitted to batch. No data files may be created during this generation process.

Press Enter to Rebuild Field Reference Files F3=Exit without Rebuild

ÁÁ Exercises��� ��� ����� � �� �� ��������

Page 207: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–37

Work with Data File Design Aid

About the Data File Design Aid

���� �,�'�( ��)� ��!� ��(��# �� %'$+���( � (�"%!� "����#�(" �$' �'��)�#���)� ��(�'�%)�$# �%�������)�$#( ����� �$' %�.(���! �#� !$����! ��!�(�

� ���� �,�'�( �$�( #$) �!!$, �#. ��!� ���#��( )�'$*�� )�� �$*'�� #)'.

�)�!�). �� �� )$ �#�$'�� ()�#��'�(� ���#��( "*() �� �$#� )�'$*�� ��!���(��# ���

What You Should Know About

������� ������� ��'$*��$*) )�� ��)� ���)�$#�'.� ���� �,�'�( "� �(

�-)�#(�+� *(� $� )�� ��)� �)�" #�"�� ��)��# ��!�(�

)��(� ��)� �)�" #�"�( �'� &*�!����� ,�)� � %'���- )$

"� � )��" *#�&*�� +�'. ��)� ��!� �# ���� �,�'�(

($�),�'� �( �((��#�� � ),$/���'��)�' %'���-� �$'

�-�"%!��

� *(�#�(( �#�) ��()�' ��!� �( ��

� ��'�(( $$ ��()�' �(

� ��� ��)� #�"� ��� �# )�� *(�#�(( �#�) ��()�' ��!� �(

�����

� ��� ��)� #�"� �# )�� ��'�(( $$ ��!� �( ���

� �(� $� %'���-�( �#(*'�( )��) ��)� �)�" #�"�( �'� �$)�

�$#(�()�#) �#� *#�&*��

������� �� ��

�����������) ���� �,�'�(� ��!� #�"�( ����# ,�)� �# � %'���-

�#� )�� �$'"�) ,�)��# )��) ��!� ����#( ,�)� �# �

%'���-�

���� ����������

����������� !! ��)� ���!�( ����#�� �# ��!�( �'� +�'����� ����#() )��

��)� ���)�$#�'.�

� �'$�'�""�'( ��##$) �#)�' ��)� #�"�( ,�)�$*) ��'()

�'��)�#� �#� �$�*"�#)�#� )��" �# )�� ��)����)�$#�'.�

� �'���-�( $� � �#� � �'� '�(�'+�� �$' �!��#) *(��

Page 208: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–38 A8.1 (8/97)

���� ���� �������� ��

����� �������� ������ �� �%�!�" $"�" ����" ����� ����!���� ���� �����

#��������& ��! ��� ����"� ���� �!��#��� #�� � ��! ������ &�$ ���� #� ��#�! #�� �#� ��#����!& ��#� �#������� �#� ���� �"��� ��� �$#���#�����& ��#�!" #����!!��# ��&%�!�" ��! !���!!��� #� #�� ���"�

� �� ��#� �#��" �!� ����� #� #�� �#� ��#����!&� #��

$"�! ����" #� !$� #�� !��$��� ��! #�� ����� ����!��������" ����!� $"��� �#� ���� �"��� ����

����������� � � "� $���� �$���! ����%" &�$ #� !��!!���� ��#��#��" %�#��� � ���� %���� &�$ �!� ��"�������

Page 209: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–39

About Assigning the File Prefix

���� �����#�� ��� �������� ���� �� ��� ����"��� �������� ���������$�

9801 Software Versions Repository Action Code. . . I Member ID. . . . F92801 Description. . . SDM Item Master File Function Code. . PF Function Use . . 210 System Code. . . 92 Reporting System 92 Base Member Name F92801 File Prefix. . . QX Maint/RSTDSP . . Omit Option. . . Generation Sev . Copy Data (Y/N). N Optional File. . N Common File. . . N O Source Object Source SAR Version S D User Date P Library Library File Number ID C P ID Modified JDFSRC71 JDFDTA71 JDESRC 241883 A71 1 HERITAGE 02/02/92 Opt: 1=Browse 2=Edit 3=Copy 5=SAR 8=Print 9=Dlt 10=Design 14=Crt F24=More

� �� ������ �� �����!�� ��� ��������

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

��$����� �����

� � !��" ��� ���� �����#�� � ������$ �� ��� ����� �� �� ��� ���� ����# ������

� ���� �����# ��� ������$ �� ���� ���� ���� ���� ���� �� �� �� �������� �� �������� ��� �����

� ������� ��� ���� ���� ���� ������$� ��� ���� �����#�� ���� $� ��� ��

��� ���

Page 210: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

F10

Advanced Programming Concepts and Skills

3–40 A8.1 (8/97)

F10 – User Defined Code Form

��� � �*�) ��!%�� �&�� �&)$

���� !*'#�0* + � �*�) ��!%�� �&�� �&)$ +& *�� . !� ')��!/�* 0&, * &,#� %&+,*��

�� ��� �������

�!#� �*�)!'+!&% � � ��*�)!'+!&% &� � )��&)� !% + � �&�+.�)� ��)*!&%*

��'&*!+&)0 �!#�� � � $�$��) ��*�)!'+!&% !* �&%*!*+�%+ .!+

+ � ��*� $�$��) ��*�)!'+!&%�

�� ���������� � � ��*�)!'+!&% &� � )��&)� !% + � �&�+.�)� ��)*!&%*

��'&*!+&)0 �!#�� � � $�$��) ��*�)!'+!&% !* �&%*!*+�%+

.!+ + � ��*� $�$��) ��*�)!'+!&%�

� � � !%�&)$�+!&% !% + !* �&)$ �&$�* �)&$ � #&�!��# �!#� �,!#+ &-�) + �

�&�+.�)� ��)*!&%* ��'&*!+&)0�

� � � !%�&)$�+!&% !% + !* �&)$ !* ,'��+�� �,+&$�+!��##0 . �%�-�) + �

,*�) ���*� ,'��+�*� &) ��#�+�* *&�+.�)� -�)*!&% )�'&*!+&)0 )��&)��*��&) �!#�*�

� �)&�)�$$�)* �)� )�*'&%*!�#� �&) %&+ �**!�%!%� + � *�$� ')��!/ +& �!���)�%+

�!#�* ,*�� !% + � *�$� ')&�)�$�

Entering Data File Design Aid

�&, $,*+ �-� ����** +& + � *&,)�� �!#� +& �%+�) � ��

�� ��� ���� �� ����� ��

�� �%(,!)� &% � ' 0*!��# �!#��

� �&'0 + � ')&�,�+!&% *&,)�� �&.% +& � ��-�#&'$�%+ �%-!)&%$�%+�

� � &&*� �'+!&% �� +& +�"� 0&, +& + � �'')&')!�+� �*!�% �!� �&)$ ��*��&% + � $�$��)* �,%�+!&% �&�� -�#,��

� � �� &) �� -�#,� +�"�* 0&, +& �!#� �*!�% �!��

Page 211: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–41

92102 Data File Design Aid File Description . . . SDM Item Master File Unique Keys(Y/N) . . . Y Member ID. . . . . . . F92801 File Prefix. . . . . . QX Src Library. . . . . . PGFSRC Source File Name . . . JDESRC Data Item. Data Field Desc. K/S Function Specifications Seq No I92801 R 1.00 XIT Item ID REFFLD(XIT F98FRFX ) 2.00 XDS Description REFFLD(XDS F98FRFX ) 3.00 XTY Item Type REFFLD(XTY F98FRFX ) 4.00 XDT Date Last Ship REFFLD(XDT F98FRFX ) 5.00 XBU Business Unit REFFLD(XCC F98FRFX ) 6.00 XQT Quantity – On Hand REFFLD(XQT F98FRFX ) 7.00 XUM Item Unit of Measur REFFLD(XUM F98FRFX ) 8.00 X001 Item Category Code REFFLD(X001 F98FRFX ) 9.00 X002 Item Category Code REFFLD(X002 F98FRFX ) 10.00 X003 Item Category Code REFFLD(X003 F98FRFX ) 11.00 X004 Item Category Code REFFLD(X004 F98FRFX ) 12.00 X005 Item Category Code REFFLD(X005 F98FRFX ) 13.00 XIT Item ID K 14.00 F3=Exit/Save F16=Search by File F1=Search by Name F4=Field Attributes

����� ���������

�� � �&�%�$'�#" �'���&� '�+' &'%�"� '��' "�!�& '�� ��'� �'�!� �"'�% '�+' �"

($$�% �"� #*�% ��&�� ��� &,&'�! (&�& '��& ��� � '# &��%��

�#% &�!� �% ��'� �'�!&� �# �"'�% �" � $�� ��&�%�$'�#"�

�# #* '��&� �#")�"'�#"&

�'�& � ����" � �'� ��� �& *�'� �'��!#("'& � ����" � �!#("' ��� �& *�'� �!#("'�"�'& � ����" � �"�'� �(�"'�',� �"� �# (!���� �& *�'� �"�'&��!� � ����" � �-�,'� ��&�%�$'�#" ��� �& *�'���!��%#!$' � ����" �", ��� $%#!$'�"� ��� � *�'��%#!$'���%�&& �(!��% � ����" � ���%�&& "(!��%&��!$ #,��� �(&'#!�%� #*"�%� *�'� ���%�&&�(!��%

Page 212: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–42 A8.1 (8/97)

����� ���������

�)$,0 � 4.����� �+ �$!$ . $! /# ��/� !$' �*)/�$). 0)$,0 & 4.�

� ! 4*0 .�4 4 .� �/� �$' .$") �$� +0/. /#

0)$,0 & 42*-� $) /# �� �. � - .0'/� )* /2*- �*-�. (�4 #�1 �0+'$��/ & 4.�

� ! 4*0 .�4 )*� �/� �$' .$") �$� ' �1 . /#

�� ��� & 42*-� *0/ *! /# !$' ��

�� ��������� ��� ����� � � � � � � � � � � � � � � � � � � � � � � � � � �

! � !$' ��) � *-"�)$5 � .* /# & 4 2$'' 0)$,0 '4 $� )/$!4

*)'4 *) .+ �$!$� - �*-�� � !$) /# �)$,0 � 4. !$ '��

�)$,0 ) .. ��) � .+ �$!$ � !*- +#4.$��' �)� '*"$��' !$' .�

�*./ �� � ��2�-�. +#4.$��' !$' . $) /# +�./ #�1 � )

� !$) � �. . ,0 )/$�' �)� '*"$��'. 2 - 0. � !*- �- �/$)"

& 4 � . ,0 )� .� �*- - � )/'4� #*2 1 -� +#4.$��' !$' .

#�1 � ) & 4 ��

� (� - �# - �*-� *! /# �*!/2�- � -.$*). � +*.$/*-4 ( (� - /*

� �*+$ ��

�� ��������� ��� ����� � � � � � � � � � � � � � � � � � � � � � � � � � �

�# )�( �..$") � /* /# !$' � !�0'/. $) !-*( /#

�*!/2�- � -.$*). � +*.$/*-4�

�$' �- !$3 �#$. !$ '� $)�$��/ . /# +- !$3 �..*�$�/ � 2$/# � !$' � �.

�� /* �$.+'�4 �'' !$' +- !$3 . $) 0. � ���# +#4.$��' !$'

.#*0'� #�1 �) 0)$,0 !$' +- !$3�

�-� �$�-�-4 �# '$�-�-4 �*)/�$)$)" /# ��/� /* � �*+$ ��

�� ��������� ��� ����� � � � � � � � � � � � � � � � � � � � � � � � � � �

�# '$�-�-4 2# - /# .*0-� !*- /# ��/� !$' - .$� .�

!�0'/. $) !-*( /# �*!/2�- � -.$*). � +*.$/*-4�

�*0-� �$' ��( �# )�( *! /# !$' 2$/#$) /# .*0-� '$�-�-4 /#�/ �*)/�$).

/# .*0-� ( (� -� !�0'/. $) !*-( /# �*!/2�-

� -.$*). � +*.$/*-4�

�. � *) �$' .$")�/ . /# +#4.$��' !$' *) 2#$�# � '*"$��' !$' $.

��. ��

� !�0'/. $) !-*( /# �*!/2�- � -.$*). � +*.$/*-4

�)� *)'4 �$.+'�4. !*- '*"$��' !$' .�

�� ��������� ��� ����� � � � � � � � � � � � � � � � � � � � � � � � � � �

�*- +#4.$��' �)� '*"$��' !$' .� /# �. � �) �$' $. /#

.�( �. /# +#4.$��' !$' �

�*- %*$) !$' .� /# �. � �) �$' $. /# )�( *! /# !$-./

+#4.$��' !$' /#�/ /# %*$) $. �0$'/ *1 -�

Page 213: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–43

����� ���������

�/� �/ ( �4+ �# �/� $�/$*)�-4 )�( *! /# !$ '� *- /# - �*-� !*-(�/

)�( �

� �# !$' +- !$3 $. ��� � /* �- �/ 0)$,0 ��/�

)�( . !*- ��# !$' .+ �$!$��/$*) $! � ��/� $/ ( $. )/ - � $) /#$. !$ '��

� �# - �*-� !*-(�/ '$) $. �0/*(�/$��''4 � !�0'/ �

$)�

�/� �/ ( �$5 �# � .�-$+/$*) *! /# ��/� $/ ( )/ - � $) /# +- 1$*0.

!$ '��

� *( . !-*( /# �*2 .�-$+/$*) !$ '� $) /# �/�

$�/$*)�-4�

��� �� )/$!$ . /# � �4+ $)�$��/$)" 2# /# - /# !$ '� $. �

!*-(�/ )�( � & 4 !$ '�� . ' �/ '*"$� !$ '� *- *($/ '*"$�

!$ '�� �/ (�4 � 0. � $) �*)%0)�/$*) 2$/# $)!*-(�/$*) /#�/

�++ �-. $) /# �0)�/$*) �+ �$!$��/$*). !$ '��

�0)�/$*) �+ �$!$��/$*). �. � 2$/# /# � �4+ .+ �$!$ � $) /# ��� �*'0()�

� �! $/ $. � - �*-� !*-(�/ )�( �

�/ $. �'�)& !*- +#4.$��' !$' .*)/�$). /# ����� ��$' )�( � ./�/ ( )/ !*- �'*"$��' !$' �)� 4*0 )/ -� ����� ��$' )�( �$' )�( � ./�/ ( )/ !*- %*$) !$' . '$./$)" �'' /# !$' . $)1*'1 � $) /# %*$)� �$"#/ � '*2 /# �����./�/ ( )/� 4*0 0. /# ��� ��$ '� �$ '��./�/ ( )/ /* '$./ /# !$ '�. /#�/ �- 0. � /*�*)./-0�/ /# %*$)�

� �! 4*0 �- � !$)$)" � )*-(�' ��/� $/ ( �)� 4*0

2�)/ /# ��� !$ '� � .$")�/$*) +0'' � $)� 4*0' �1 $/ �'�)&�

� �! 4*0 �- � !$)$)" � ' �/��($/ '*"$� *) � !$ '��

4*0 )/ - /# '*"$� $/. '!�

� �! 4*0 �- � !$)$)" � & 4 ��/� $/ (� 4*0 (�4 ' �1

/# �0)�/$*) �+ �$!$��/$*). !$ '� �'�)&� *- 4*0(�4 )/ - �)4 1�'$� � !0)�/$*) & 42*-������� ������� �� ��� ����� �)� .*!*-/#��

� , �* / -($) . /# *-� - *! /# !$ '�. $) /# !$' �

�� ��������� ��� ����� � � � � � � � � � � � � � � � � � � � � � � � � � �

�# ) � .$")$)" � +#4.$��'� '$./ /# �*(+*) )/ !$ '�. $)

� .� )�$)" *-� - *! /# $- $(+*-/�)� /* /# !$' � � 4 �

$/ (. (0./ �'2�4. � '�./ $) . ,0 )� )0(� - 2$/#$) /#

�/� �$' .$") �$� +-*"-�( $/. '!�

�# - $. � !*'� �- � 2#$�# $)�'0� . ���$/$*)�' $)!*-(�/$*)� ��/� $/ ( /4+ � ��/�$/ ( .$5 � �)� )0(� - *! �$.+'�4 � �$(�'.�

Page 214: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–44 A8.1 (8/97)

Sample — Logical File

���� ������� ���� �� ����� ������ ��� ������ ���� ��� �� ���� ���� ��� ��� ������

92102 Data File Design Aid File Description . . . LF – Business Unit, Item ID Unique Keys(Y/N) . . . Y Member ID. . . . . . . F92801LA File Prefix. . . . . . QX Src Library. . . . . . PGFSRC Based on File. . . . . F92801 Source File Name . . . JDESRC Data Item. Data Field Desc. K/S Function Specifications Seq No I92801 R PFILE(F92801) 1.00 XCC Business Unit K 2.00 XIT Item ID K 3.00 4.00 5.00 6.00 7.00 8.00 9.00 10.00 11.00 12.00 13.00 14.00 F3=Exit/Save F16=Search by File F1=Search by Name F4=Field Attributes

Sample — Logical File with Selects

���� ������� ���������� �� �� �������� ��� ��� ���� ���

92102 Data File Design Aid File Description . . . LF – Acct ID, LT, DOI, Sub LT, Serv Date, Doc TyN# Unique Keys(Y/N) . . . Member ID. . . . . . . F0911LH File Prefix. . . . . . GL Src Library. . . . . . PGFSRC Based on File. . . . . F0911 Source File Name . . . JDESRC Data Item. Data Field Desc. K/S Function Specifications Seq No I0911 R PFILE(F0911 ) 1.00 AID Account ID K 2.00 LT Ledger Type K 3.00 DOI DOI Sub K 4.00 SBL Subledger K 5.00 DSV Date – Service/Tax K 6.00 DSVY Date – Service/Tax K 7.00 DSVM Date – Service/Tax K 8.00 DSVD Date – Service/Tax K 9.00 DCT Document Type K 10.00 DOC Document (Voucher, K 11.00 KCO Document Company K 12.00 POST G/L Posted Code S CMP(EQ ’P’) 13.00 BC Bill Code CMP(NE ’H’) 14.00 F3=Exit/Save F16=Search by File F1=Search by Name F4=Field Attributes

Page 215: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

F1

F2

A8.1 (8/97) 3–45

Sample — Logical File with Omits

���$ �)��"�� #�"#�$� %$ � �� �! ��%�! �!# %�� !��%$�

92102 Data File Design Aid File Description . . . LF – Report Code 01 Unique Keys(Y/N) . . . Member ID. . . . . . . F0101LH File Prefix. . . . . . AB Src Library. . . . . . PGFSRC Based on File. . . . . F0101 Source File Name . . . JDESRC Data Item. Data Field Desc. K/S Function Specifications Seq No I0101 R PFILE(F0101 ) 1.00 AC01 Category Code – Add K 2.00 ALPH Name – Alpha K 3.00 AN8 Address Number K 4.00 DFI Date – First Invoic O COMP(EQ 000000) 5.00 DLI Date – Last Invoice COMP(EQ 000000) 6.00 7.00 8.00 9.00 10.00 11.00 12.00 13.00 14.00 F3=Exit/Save F16=Search by File F1=Search by Name F4=Field Attributes

Creating Join Files and Work Files

Creating Join Files and Work Files

�! �#��%� � �!� ���� !# � (!#� ����� *!& $�!&�� &$� %�� �!&#�� ��% �%���%*�

Function Keys From File Design Aid

F1 – Field Help on Data Item

��� �$� � �� � %�� �%� �%�� ����� %���$ *!& %! %�� �%� �%�� ���#�� �!#��

F2 – J.D. Edwards Command Line

��� ����$$ %�� �!��� � �� � %! � %�# � �� �(�#�$ !# ��� �!��� � (�%�!&%��'� � %! �)�% %! �!��� � %#* !# � �� &� �� *!& �#� $��&#�� !&% !��!��� � %#* !# �� & �#�'��� �� *!& �� $%��� ��% %! %��$ �!��� � �� � �&%*!& �� !% �)��&%� �!��� �$ !# �� & %#�'���

Page 216: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

F3

F6

F16

Advanced Programming Concepts and Skills

3–46 A8.1 (8/97)

F3 – Exiting Data File Design Aid

��� ���� %�! ����� �� � �$� � � ���� ����� ���� �� �����#��� ���� ��������

Data File Design Aid Update Source Changes (Y/N). . N Member ID. . . . . . . . . . . F92801 File ID. . . . . . . . . . . . JDESRC Src Library. . . . . . . . . . PGFSRC Description. . . . . . . . . . SDM Item Master File Function Code. . . . . . . . . PF Return to Design (Y/N) . . . . N

� ��� ����� %�! ��� ������ ��

� $� #� ��! ��"��� �� ������� �����

� $� ��� ��"� �� ������� �����

� ��"� �� ������� ���� ��� �� !�� � �� ����� ��� �����

F6 – Access Repository Services

��� ���� ���� ���"���� ������ � � ��� ������ ��% ���"���� #� ��� ��� �#�����

F16 – Search by File

���� �������� �� ���� ����� ������ ��� ���� � "��# ���� ����� � ��� ������������ ���� ��� ��% ���� �� �� �%� ���

Page 217: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–47

What Are the Data File Design Aid Standards?

����� ���������

�)$,0 � 4. �+ �$!$ . $! /# ��/� !$' �*)/�$). 0)$,0 & 4. ! � .� ��

+0/. /# 0)$,0 & 42*-� $) /# �� �* /2* - �*-�. ��)

#�1 �0+'$��/ ��/� $) /# & 4 !$ '�� ! �*� �� ' �1 . /#

& 42*-� *0/ *! /# !$' �� � �*-�. ��) .#�- ��/� $)

/#*. & 4 !$ '�.�

�� ��������� ��� ����� � � � � � � � � � � � � � � � � � � � � � � � � � �

! � !$' ��) � *-"�)$5 � .* /# & 4 2$'' 0)$,0 '4 $� )/$!4

*)'4 *) .+ �$!$� - �*-�� � !$) /# �)$,0 � 4. !$ '��

�)$,0 ) .. ��) � .+ �$!$ � !*- +#4.$��' �)� '*"$��' !$' .�

�*./ �� � ��2�-�. +#4.$��' !$' . $) /# +�./ #�1 � )

� !$) � �. . ,0 )/$�' �)� '*"$��'. 2 - 0. � !*- �- �/$)"

& 4 � . ,0 )� .� �*- - � )/'4� #*2 1 -� +#4.$��' !$' .

#�1 � ) & 4 ��

�$' .�-$+/$*) �# � .�-$+/$*) *! � - �*-� $) /# �*!/2�- � -.$*).

� +*.$/*-4 !$' � �# ( (� - � .�-$+/$*) $. �*).$./ )/ 2$/#

/# ��. ( (� - � .�-$+/$*)�

�� ��������� ��� ����� � � � � � � � � � � � � � � � � � � � � � � � � � �

�# � .�-$+/$*) �..*�$�/ � 2$/# ��# !$' $. 0. � /* !0-/# -

$� )/$!4 /# - '�/$*) *! /# !$' �)� $/. +0-+*. �

� �#4.$��' !$' . .#*0'� #�1 � � .�-$+/$*) /#�/

3+'�$). /# +0-+*. *! /# !$' �

� �*"$��' !$' . .#*0'� � � .$")�/ � �. !*''*2.� �� �

!'�)�( � !'�)�( � !'�)�( � 2# - !'�)�( $. �& 4 !$ '��

� �*$) !$' . .#*0'� � � .$")�/ � �. !*''*2.� �� �

!$' )�( �!$' )�( �!$' )�( �!'�)�( �!'�)�( �!'�)�( � 2# - /# !$' )�( $. �!$' *1 - 2#$�# /# %*$) $. �0$'/ �)� !'�)�( $. /# & 4 !$ '� %*$)$)" /# !$' .�

� �*-& !$' . .#*0'� � � .$")�/ � �. !*''*2.� �� �

!$' )�( � 2# - !$' )�( $. /# !$' /#�/ /# 2*-&!$' ��� .. .�

�. � �) �$' .$")�/ . /# +#4.$��' !$' *) 2#$�# � '*"$��' !$' $.

��. ��

� !�0'/. $) !-*( /# �*!/2�- � -.$*). � +*.$/*-4

�)� *)'4 �$.+'�4. !*- '*"$��' !$' .�

�� ��������� ��� ����� � � � � � � � � � � � � � � � � � � � � � � � � � �

�*- +#4.$��' �)� '*"$��' !$' .� /# �. � �) �$' $. /#

.�( �. /# +#4.$��' !$' �

�*- %*$) !$' .� /# �. � �) �$' $. /# )�( *! /# !$-./

+#4.$��' !$' /#�/ /# %*$) $. �0$'/ *1 -�

Page 218: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–48 A8.1 (8/97)

����� ���������

!��!��� �� �����" ��#�!����" #�� �!��! �� #�� �����" �� #�� �����

�� ��������� ��� ����� � � � � � � � � � � � � � � � � � � � � � � � � � �

���� ��"������ � ��'"����� ��"# #�� ��������# �����" ��

��"������� �!��! �� #���! ����!#���� #� #�� ����� ��'��

�#��" �$"# ��&�'" �� ��"# �� "� $���� �$���! &�#��� #��

��#� ���� ��"��� ��� �!��!�� �#"����

������� ����" ������� ����" ����$�� ��� �����"� &� �� ��# ������ "�������

�����"�

����������� ���� !���������� � ��'"����� '�$ ���� #� ����#� ��'

�������" �! ����" �!�� #�� ��#� ���� ���!�!' ��� #���

!�������� #��� ��#�! #�� ��'"���� ��" ���� !����������

����!� ��!��# # �" � ��� ��&�!�" "#����!� #��# ���' ��� !���!� ��!��# �"

������� ��! ���� ��'"���� ��� ������� ����� ���" ��'

���#��� ��!�� ����!� ��!��# ����" ����� &�#� �����&��

�' #�� ��'"���� ���� �$���!�

����� ����!���� ����" �"�� �� ��� ���� �!��#���" #� !�#!��%� ����� ��"�!��#���"�

Page 219: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–49

Merge Functions for Program Temporary Fix (PTF) Installations andReinstallations

��� � ��"#����#��� �! !���"#����#��� ���" #�� �����%����

� � � ��"#����#��� !��#" � !� �!# #��# ����#����" ��� ����" #��# �!� �� #�� �

���!�!& �$# %�!� ��# ��"#����� �� #�� �����#�" !��$�#��� ���!�!��"� ��$ �$"#��� #�� ��% ����" ���$���& ��#� #�� � !� !��#� ���!�!��"�

� � !���"#����#��� !��#" � !� �!# #� ��� ��% ����" ��#� � !� !��#� ���!�!��"�

� � ��#�" ������ �� � � ��"#����#���� !� ����" ������ �� �

!���"#����#����

� ���" ��% ��&" #� ��#� ������� ��� �&"���� ����"�

� ������" #�� ���� ��!��#" �� ������� ��� �&"���� ����"�

��� ��#� �����" ��" ��& !���#����� �����" �� #�� ����! ����" %�#��� �������� �%�!�" !��$�#�

��� ��#� �����" ��" ��& !���#����� �����" �� #�� ����! ����" %�#��� �������� �%�!�" !��$�#�

Page 220: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–50 A8.1 (8/97)

Data File Design Aid Summary

�, 13++ 07� 2'$ � 2 �(*$ �$1(&, �(# ' 1 2'$ %-**-5(,& %$ 230$1 -0 0$120("2(-,1�

� �2 ' 1 #(0$"2 2($1 2- 2'$ � 2 �("2(-, 07 ,# 2'$ �($*# �$%$0$,"$ �(*$1�

� �2 22 "'$1 25-9"' 0 "2$0 .0$%(6 2- $ "' # 2 (2$+ 2- "0$ 2$ 3,(/3$ %($*#

5(2'(, 2'$ %(*$�

� � 0$"-0# %-0+ 2 +312 !$ #$%(,$# %-0 ** %(*$1 5(2' ��� 4 *3$ -% �� �'(1 (1

2'$ #$% 3*2 0$"-0# %-0+ 2�

� �'$ ����� )$75-0# (1 32-+ 2(" **7 .3**$# (, %-0 *-&(" * %(*$1�

� �-&(" * %(*$1 +312 ' 4$ � 1$# -, �(*$ #$1(&, 2$# (, 2'$ �-%25 0$ �$01(-,1

�$.-1(2-07� 5'("' " 00($1 -4$0 2- 2'$ #$1(&, %-0+�

� �-3 +312 $,2$0 2'$ # 2 (2$+ , +$1 %0-+ 2'$ � 2 �("2(-, 07�

� �$0%-0+ 2'$1$ 12$.1 %-0 "0$ 2(,& ,$5 %(*$�

� � 2 (2$+1 +312 0$1(#$ (, 2'$ � 2 �("2(-, 07�

� �-3 +312 0$!3(*# 2'$ ��� %(*$1 (% ,$5 # 2 (2$+1 5$0$ ##$# �%0-+

2'$ �$!3(*#1 +$,3� � ���

� � ,$5 %(*$ +312 ' 4$ %(*$ .0$%(6 1.$"(%($# -, 2'$ �-%25 0$ �$01(-,1

�$.-1(2-07 0$"-0#�

� �($*# �$%$0$,"$ �(*$1 0$ "' 0 "2$0(8$# !7 2'$ %-**-5(,&�

� �'$7 "-,2 (, ** 2'$ #$%(,(2(-,1 %-0 "0$ 2(,& %($*#1�

� �'$0$ 0$ � (, ** �� ������� ������ � ������ ,# � �������

� � "' %($*# 0$%$0$,"$ %(*$ "-,2 (,1 ** 2'$ # 2 (2$+1 !$&(,,(,& 5(2'

2'$ 1 +$ "' 0 "2$0 1 2'$ %($*# 0$%$0$,"$ %(*$�

�-0 $6 +.*$� � ����� "-,2 (,1 ** � 2 �("2(-, 07 # 2 (2$+1!$&(,,(,& 5(2' 2'$ *$22$0 ��

ÁÁ Exercises�$$ 2'$ $6$0"(1$1 %-0 2'(1 "' .2$0�

Page 221: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–51

Work with Screen Design Aid

About Screen Design Aid

�%2''/ �'3+)/ �+& ����� +3 #/ +/4'2#%4+6' ('#452' 905 53' 40 &'3+)/ #/& .#+/4#+/(02.3� �*+3 (5--:3%2''/ '&+402 6#-+&#4'3 9052 702, #)#+/34 4*' �#4# �+%4+0/#29#/& #&&3 2'%02&3 40 60%#$5-#29 06'22+&'3� "05 %#/ 702, 7+4* .5-4+1-' 2'%02&(02.#43 3+.5-4#/'053-9 #/& 905 %#/ .06' (+'-&3 (20. 0/' (02.#4 40 #/04*'2�

�'-07 +3 # -+34 0( 30.' ('#452'3 0( 4*' �%2''/ �'3+)/ �+&�

� �'3+)/ +3 %0/&5%4'& +/ # 3#(' 702, '/6+20/.'/4� �( 905 .#,' # .+34#,'

905 %#/ '8+4 7+4*054 %*#/)+/) # (02.�3 �#4# �'3%2+14+0/ �1'%+(+%#4+0/3������

� �02. 31'%+(+%#4+0/3 #2' 3402'& +/ &#4# 3425%452'3 +/ 4*' �����!��"

-+$2#29� �*+3 +3 3+.+-#2 40 4*' ��� 2'%06'29 0( �� �

� "05 %#/ %2'#4' # (02. +/ /02.#- .0&' �� %0-5./3 $9 �� 2073� 02 7+&'

.0&' �� � %0-5./3 $9 �� 2073�� "05 %#/ #-30 &'3+)/ 7+&' (02.3 0/ �%0-5./ &'6+%'3 53+/) # 7+/&07+/) (#%+-+49�

� �/37'2+/) +/+4+#- 9'3/0 014+0/3 #--073 905 40 %2'#4' # $#3+% (02.

3,'-'40/ (02 # 35$(+-'� /0/:35$(+-' 02 7+/&07:349-' (02.�

� ��� +3 (5--9 +/4')2#4'& 7+4* 4*' �#4# �+%4+0/#29 #/& 60%#$5-#29 06'22+&'

(+-'3� "05 %#/ 1-#%' (+'-&3 0/ 4*' (02. $9 2'('22+/) 40 # �#4# �+%4+0/#29/#.' #/& 06'22+&' &'(#5-4 #442+$54'3� +( /'%'33#29� "05 %#/ 1-#%'60%#$5-#29 06'22+&' (+'-&3 0/ 4*' (02. #/&� +( &'3+2'&� .0&+(9 4*'+2%0/4'/43 4*205)* 4*' (5-- (02.�

� ��� +3 (5--9 +/4')2#4'& 7+4* 4*' 3934'. &#4#$#3'� "05 %#/ 3'-'%4 (+'-&3

(20. 4*' 3934'. &#4#$#3'� %2'#4' # 1+%, -+34 #/& 4*'/ 2'02&'2 (+'-&3 +/ 4*'1+%, -+34� "05 %#/ 1-#%' (+'-&3 0/ 4*' (02. +/&+6+&5#--9 02 #-- #4 0/%' $91+/10+/4+/) -0%#4+0/3 0/ 4*' (5-- (02. 7+4* #/ #.1'23#/& ��� 02 #34'2+3,����

� ��� *#3 (5-- 3%2''/ %#1#$+-+49� "05 %#/ #&&� %*#/)'� .06'� 02 &'-'4' (+'-&3

$9 '/4'2+/) %0/420- %*#2#%4'23 &+2'%4-9 0/ 4*' (02.�

� /-+,' 4*' ��� ���� 4*' ��� ��� #--073 905 40 702, 7+4* .5-4+1-'

2'%02& (02.#43 #4 0/' 4+.'� "05 %#/ &+31-#9 #/& %*#/)' #/9 %0.$+/#4+0/0( (02.#43 3+.5-4#/'053-9 �#3 -0/) #3 4*'9 &0 /04 06'2-#1�� "05 %#/ #-30.06' (+'-&3 (20. 0/' (02.#4 40 #/04*'2�

Page 222: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–52 A8.1 (8/97)

� ��� !++.51 7.3 2. 1),3+!2% ! &.0, !2 /0.'0!, %6%#32).- 2),%� .3 #!-

03- 2(% 1),3+!2).- &.0 !-7 1%2 .& #.-$)2).-)-' )-$)#!2.01 2. 0%/0%1%-2 !/!02)#3+!0 %00.0 #.-$)2).- .0 .2(%0 /0.'0!, &3-#2).-1�

Editing Commands

�%+.5 )1 ! +)12 .& %$)2)-' #.,,!-$1 !4!)+!"+% )- 2(% ����

������ ���������

���� �%+%2% &)%+$�1� �31%$ )- �)%+$ �%&)-)2).- 5)-$.5�

$

�#!--.2 "% 3//%0#!1% ��

�%+%2% &)%+$�1� �31%$ )- �)%+$ �%&)-)2).- 5)-$.5�

��� �� �()&2 &)%+$�1� 2. 2(% +%&2 .0 0)'(2

�66���66� �66���66� �)2%0!+1 �31% !/.120./(%1�

� �.4% &0., /.1)2).-�

� �.4% 2. /.1)2).-�

� � �.4% "+.#* &0., /.1)2).-

� �.4% "+.#* 2. /.1)2).-�

� �%12.0% 2(% &.0, )& 7.3 !##)$%-2+7 /0%11 �)%+$ �6)2 .0 !

/.5%0 &!)+30% *-.#*1 7.3 .&&�

�(% &.++.5)-' )1 ! +)12 .& /0%#!32).-1 !-$ !32.,!2)# &%!230%1 .& 2(% ����

� �. -.2 31% 2(% ������ .0 ������ *%71 5()+% )- 2(% !#23!+ $%1)'-

/.02).- .& ����

� �. -.2 31% 2(% ������ .0 ������ *%71 5()+% )- 2(% !#23!+ $%1)'-

/.02).- .& ����

� ��� !32.,!2)#!++7 !11)'-1 %$)2)-' )-$)#!2.01�

�� �-$)#!2.01 � 2. � !0% 0%1%04%$ &.0 %$)2)-'�

�� �-$)#!2.0 � )1 0%1%04%$ &.0 2(% �#2).- �.$% &)%+$�

�� �-$)#!2.0 � )1 0%1%04%$ &.0 2(% *%7 &)%+$1�

�� �& 7.3 31% !++ !4!)+!"+% )-$)#!2.01� 7.3 5)++ '%2 !- %00.0 ,%11!'%�

� �-$)#!2.0 � )1 31%$ )- 13"&)+% &.0,1 2. ()'(+)'(2 !++ &)%+$1 .- 2(% +!12

+)-% .& 2(% 13"&)+% 2. )-$)#!2% 2(!2 -. ,.0% 0%#.0$1 %6)12�

Page 223: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–53

Prefix Standards

���� �� � ���� �� �����! ��������� ��� ��� �� ��� ����

����� � �������

� ���� ������" �������

� � ������ ������" �������� ����������� ���� ���

���� ����� ���� ��� ��� ���� ��� "�� ��� ��� ������ ����� �������� ������������

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

���������" ��� ��� ���� ���� ����� ������"���

� ������ �� ��� ����� �� ���� ��� ��� ��

�������������

� ������� �������

� ���� �� � ������� ��� ���" ��� �� � ��������

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

���������" ��� ��� ���� ���� ����� ������"�� ����������� �����������

� ������� ����� �������

� ������ ����� ���� ���� �� ��� ������"�� �� � �����

Page 224: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–54 A8.1 (8/97)

Field Name Standards

�)/29 -5 % /-56 2* *-)/( 1%0) 56%1(%4(5 *24 75) -1 6,) ����

����� ������

"� � "-()2 '2156%165 "� *-)/(5 (-53/%; ()*-1-6-215 24 ()5'4-36-215 *24 % 5-1+/)

3-)') 2* (%6% 24 *24 % +4273 2* (%6%�

"� *-)/(5 %4) %/9%;5 276376 *-)/(5 %1( 6,) ()5'4-36-21

6,%6 -5 /2%()( -162 6,) "� *-)/( -5 2&6%-1)( *420 %

5)3%4%6) *-/)

� �24 ):%03/)� -* '4)%6-1+ % *240 75-1+ 6,) �6)0

�%56)4 *-/) ������� ;27 1))( 62 6%.) 6,) �6)0�%56)4 �75-1)55 !1-6 *-)/( %1( ',%-1 276 62 6,)�75-1)55 !1-6 �%56)4 *-/) ���� 62 +)6 6,)()5'4-36-21 *24 6,%6 �75-1)55 !1-6�

� $27 )16)4 �"� *24 6,) �-)/( �%0) *-)/( -16,) �-)/( �)*-1-6-21 *240 9,)1 %((-1+ % 1)9'2156%16 24 ()5'4-36-21 *-)/(�

� ,) ()*%7/6 5-<) *24 "� *-)/(5 -5 ��

" # � "-()2 6):6 ,)5) *-)/(5 (-53/%; 6,) 429 ()5'4-36-21 24 '2/701

,)%(-1+5 *420 6,) �%6% �-'6-21%4;�

� ,) 6):6 6,%6 (-53/%;5 -1 6,) " # *-)/(5 -5 5624)( -1

6,) "2'%&7/%4; �8)44-()5 *-/) �������

� $27 '%1 6;3) (-4)'6/; 28)4 "2'%&7/%4; �8)44-()

*-)/(5 -1 ����

$27 )16)4 �" # *24 6,) �-)/( �%0) *-)/( -1 6,) �-)/(

�)*-1-6-21 *240 9,)1 %((-1+ % 1)9 6):6 *-)/(�

� ,) ()*%7/6 5-<) *24 " # *-)/(5 -5 ��

�-1) � -5 %/9%;5 "��� $27 '%1126 ',%1+) 6,) 6):6 *24 �-1) � &; 75-1+ 6,) �-)/(

�)*-1-6-21 *240 &)'%75) -6 -5 622 /%4+)�

;3) 28)4 6,) 6):6 -1 �-1) � 62 ',%1+) -6�

�� !5)5 6,) ()*%7/6 6-6/) *420 "2'%&7/%4; �8)44-()5 -* 6,)

*240 -5 '%//)( *420 %126,)4 *240�

!5)5 6,) 0)17 5)/)'6-21 6):6 -* 6,) *240 -5 '%//)( *420 %

0)17�

�� ��� �'6-21 �2() *-)/(�

� ,) 1%0) %55-+1)( &; ����

� ,) ()*%7/6 '74524 .);924( -5 %55-+1)( 62 6,)

%'6-21 '2() *-)/(�

��� �� � �-6)4%/ *-)/(5 �-6)4%/5 %4) %(()( &; 3/%'-1+ %3256423,)5 %4271( 6,) 6):6

21 6,) 5'4))1 %1( 34)55-1+ �16)4� ��24 ):%03/)�

="������

Page 225: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–55

Updating or Adding Fields through SDA

����� ���������

� � �%!' �!"%)%/%*)

�%) *1

''*1. 3*0 /* 0+ �/! !2%./%)# "%!' . �) � )!1 "%!' .

1%/$*0/ 0.%)# /$! �%�& �%./ "!�/0-!� �'��! /$! � *)! .+��!

/* /$! '!"/ *" /$! "%-./ �$�-��/!- *" /$! -!,0!./! "%!' /*

%.+'�3 /$! �%!' �!"%)%/%*) "*-(�

� �* � � "%!' � +'��! �) �./!-%.& ��� *) /$! ��

!.%#) �-!� 1$!-! 3*0 1�)/ /* � /$! "%!' �

� �* 0+ �/! � "%!' � +'��! �) �./!-%.& %) /$! �//-%�0/!

�$�-��/!- *" /$! "%!' 3*0 1�)/ /* 0+ �/!�

�*0 ��) +0'' %) /$! "*-( "%!' � /$! �*1 �!.�-%+/%*)

�*'0() �!� %)#. ������ �) � � �$�-��/!- !.�-%+/%*)

"%!' ���� �'' �/ /$! .�(! /%(! �3 (�&%)# .+!�%�' !)/-%!.

%) /$! "%!' !"%)%/%*) "*-( ������ �) � ����

� � �%!' �!'!�/%*)

�%) *1

''*1. 3*0 /* � )!1 "%!' . 0.%)# /$! �%�& �%./ "!�/0-!

��0.!. /$! �%!' �!'!�/%*) "*-( /* %.+'�3�

�* +'��! � "%!' *) /$! .�-!!) "-*( 3*0- �%�& �%./� +'��!

�) �(+!-.�) ��� *) /$! �� !.%#) �-!� 1$!-! 3*0

1�)/ /* +'��! /$! "%-./ �$�-��/!- *" /$! "%!' �

''*1. 3*0 /* +0'' %) *)! *- �'' *" /$! "*''*1%)# �/ /$!

.�(! /%(!�

� �$! �*1 �!.�-%+/%*)�*'0() �!� %)#. �����

� �$! "*-( "%!'

� !.�-%+/%*) "%!' ����

Page 226: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

F12

Advanced Programming Concepts and Skills

3–56 A8.1 (8/97)

Working with Screen Design Aid

�& .&)" .!+ ��)��% ��*!�% �!� 0&, $,*+ �-� ����** +& + � *&,)�� �!#��

�� ���� ��� ����� ���� ���

�� �%(,!)� &% � �&)$ !% ���

� �&'0 + � ')&�,�+!&% *&,)�� �&�� �&.% +& � ��-�#&'$�%+ �%-!)&%$�%+,*!%� *�#��+!&% �

� � &&*� &'+!&% �� +& ����** + � �'')&')!�+� ��*!�% �!� �&)$ ��*�� &% + �$�$��)�* �,%�+!&% �&�� -�#,��

928200 Item Search

Business Unit. BBBBBBBBBBBB OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO

O Item Ship P Number Description Date Quantity On Hand UM B OOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOO OOOOOOOOOOOOOOOOO OO Code 1 . OOO Code 2 . OOO Code 3 . OOO Code 4 . OOO Code 5 . OOO B OOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOO OOOOOOOOOOOOOOOOO OO Code 1 . OOO Code 2 . OOO Code 3 . OOO Code 4 . OOO Code 5 . OOO B OOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOO OOOOOOOOOOOOOOOOO OO Code 1 . OOO Code 2 . OOO Code 3 . OOO Code 4 . OOO Code 5 . OOO B OOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOO OOOOOOOOOOOOOOOOO OO Code 1 . OOO Code 2 . OOO Code 3 . OOO Code 4 . OOO Code 5 . OOO B OOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOO OOOOOOOOOOOOOOOOO OO Code 1 . OOO Code 2 . OOO Code 3 . OOO Code 4 . OOO Code 5 . OOO B OOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOO OOOOOOOOOOOOOOOOO OO Code 1 . OOO Code 2 . OOO Code 3 . OOO Code 4 . OOO Code 5 . OOO B OOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOO OOOOOOOOOOOOOOOOO OO Code 1 . OOO Code 2 . OOO Code 3 . OOO Code 4 . OOO Code 5 . OOO B OOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOO OOOOOOOOOOOOOOOOO OO Code 1 . OOO Code 2 . OOO Code 3 . OOO Code 4 . OOO Code 5 . OOO

Opt:1=Item Master Information F5=Item Maintenance F24=More Keys

Function Key Exits

F12 – Return to Previous Panel

��� �/!+* 0&, &,+ &� + � �,))�%+ �&)$ &) ,+!#!+0 �%� )�+,)%* +& + � �&)$ 0&, .�)�&% ')�-!&,*#0�

� �*� �� !%*+��� &� � &.�-�)� !� 0&, �)� ��##!%� �%&+ �) ')&�)�$ &,+*!��

&� ��� ��&) �/�$'#�� ��� ���� 0&, $,*+ ,*� � +& )�+,)% +& ����

Page 227: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–57

Updating an Existing Field

� ������ �� ����� ����

�#��� �% �*+�)!*" ��� !% �)&%+ &� + � �!�#� �!% + � �++)!�,+� � �)��+�)��

928200 Item Search *Business Unit . BBBBBBBBBBBB OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO O Item Ship P Number Description Date Quantity On Hand UM B OOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOO OOOOOOOOOOOOOOOOO OO Code 1 . OOO Code 2 . OOO Code 3 . OOO Code 4 . OOO Code 5 . OOO B OOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOO OOOOOOOOOOOOOOOOO OO Code 1 . OOO Code 2 . OOO Code 3 . OOO Code 4 . OOO Code 5 . OOO B OOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOO OOOOOOOOOOOOOOOOO OO Code 1 . OOO Code 2 . OOO Code 3 . OOO Code 4 . OOO Code 5 . OOO B OOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOO OOOOOOOOOOOOOOOOO OO Screen: V928200–––––––––––––––Field–Definition–––––––––––––Format:–V928200C– Dict Name XCC Text Business Unit. . . . . . . . . . . . . . Data Type A Field Name VTX004 Cond Ind Row/Column 3 2 Field Use O RI Size 14 Text Form R HI Dft Cursor Edited UL Lower Case Change ND OVRDTA Duplicate BL OVRATR Field Cond PR PC ––F3=Exit––F12=Prev–Screen––F17=Dictionary––––––––––––––––––––––––––––––––––

���� �������� �

�!�+ ��$� ���%+!�!�* + � �&,)��/+� ��+� !+�$ %�$� �)&$ + � ��+�

�!�+!&%�)/�

� !* !* + � &%#/ )�(,!)�� �!�#� �&) $&*+ ��+� !+�$*� + � )�*+

-!## ����,#+�

��.+ ��*�)!��* + � �!�+!&%�)/ ��$��

�% ��� �!�#�* �&%+�!%* *&�+ �&��� ��*�)!'+!&% + �+

,'��+�* ���

��+� �/'� � �,$�)!� ��+� !+�$*�

� �#' �%,$�)!��

#�%" -����!$�# '&*!+!&% �#�%" ����,#+* +& ��

#�%" -����!$�# '&*!+!&% ���!%�� ����,#+* +& �% ��

�## ���� ��-�)�* �!�#�* �)� ���!%�� �* ��

Page 228: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–58 A8.1 (8/97)

����� ���������

�1-3, �)4- Identifies a screen field name.� *VTX (VTX001–VTX200) automatically assigns next

available.� *VC0 (VC0001–VC0200) automatically assigns next

available.� *LITER literal fields.� *BOTH or *ALL to bring in video (VD), VC0, and

VTX fields.

6=�63;45 "=6 ��,1/1: .1-3,9 :0): ,-.15- :0- 86= )5, +63;45

36+):165 6. .1-3,�

�1-3, #9- �6= :0- ,):) 19 :6 *- ;9-, 65 :0- 9+8--5�

� 157;: 653?�

� 6;:7;: 653?�

� �6:0 157;: )5, 6;:7;:�

� �1,,-5 .1-3,�

� ��� �-99)/- .1-3,�

!1@- "=6 .1-3,9 1,-5:1.? :0- 3-5/:0 6. :0- ,):) 1:-4 )5, .68

5;4-81+ .1-3,9� :0- ,-+14)3 73)+-9�

� �. 3-.: *3)52� );:64):1+)33? .1339�

"->: �684 �68 $"& .1-3,9� 1,-5:1.1-9 :0- .1-3, .864 :0- �):)

�1+:165)8? :0): 19 ;9-, .68 0-),15/9�

6= �-9+817:165�

� �63;45 �-),15/ ��

D Column Heading 2.

�.: �;8968 !:)8:15/ +;8968 7691:165 65 ) ,):) -5:8? 9+8--5� ' 68 ��

�,1:-, !06;3, :0- .1-3, *- +0-+2-, .68 -8868 +65,1:1659� ' 68 ��

� %133 )991/5 )5 15,1+):68 .68 -8868 0)5,315/ )5,

,-.);3: �65,1:165 �5,1+):68 15.684):165�

� �991/59 -8868 15,1+):689 ����

� �-? .1-3,9� �� �991/59 15,1+):68 ��

�6=-8 �)9- "6 )336= 36=-8+)9-� ' 68 ��

�0)5/- ������ 2-?=68, 19 15 -..-+:� ' 68 �� "0- 15,1+):68 =133

*- 9-:65 =0-5-<-8 :0- <)3;- 15 :019 .1-3, 19 +0)5/-,�

�$� �"� �$ �"� 2-?=68, 19 15 -..-+:� ' 68 �� #9-, =1:0 �#"�$

:6 6<-881,- ,):) :0): 19 15 ) .1-3, )38-),? 65 :0- <1,-6�

'6; 906;3, -,1: )33 157;: +)7)*3- .1-3,9� �"0-8- =133 *- )A'� 68 A�� 15 :0-A�,1:-,� .1-3,��

��"�� �33 157;: +)7)*3- .1-3,9 906;3, *- -,1:-, �('� 68 (�� 15 �,1:-, .1-3,��

Page 229: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–59

����� ���������

+'#!��*� +'#!��*� * � ��*�� �%#. ,�#!� �&( �% ��� �&($�*� �+*) * �

�� "�.-&(� !% * � ,!��&�(�'&(* � �+* * � �(&�(�$

��%�(�*&( �&�) �� ��%�(�*� �%. �&�� *& �%��#� * !)�

������ ������ "�.-&(� !) !% �����*� � &( �� �)�� -!* ������

*& &,�((!�� �!)'#�. �**(!�+*�) &� � �!�#� &% * � ,!��&�

�!�#� &%� �!�#� &%�!*!&%!%� �%�!��*&()� �*�($!%�) !� * � +)�( ��%

)�� * � �!�#� &( %&*�

&%�!*!&% �%�!��*&() �& )�* � �&%�!*!&% !%�!��*&( &% � �!�#�� �%*�( � � !% * �

�!()* �#�%" *& * � (!� * &� * � ��)!(�� �&%�!*!&%� �&+ �,�

* � &'*!&% &� �%*�(!%� +' *& � !%�!��*&() *& �� �))&�!�*��

-!* * � �&%�!*!&%� � (�� )'���) �(� '(&,!��� *& �##&- �%

� '(!&( *& * � *-& �!�!* !%�!��*&( *& �(��*� � %���*!,�

�&%�!*!&%� � � �##&-�� �&%�!*!&%) �(��

�� ��,�()� �$���

� !� #!� *

�� �%��(#!%�

� �&%�!)'#�.

�� �#!%"

�� �(&*��*

� �#��� +()&(

� �#�%" &( � -!## ����*!,�*� * � �&%�!*!&%�

&#&( F8 toggles to display the color attributes for the field. The firstblank to the right of each color controls the order that multiplecolors will appear in the DDS (1–7). If multiple colors aredefined, the first enabled color appears and the remainingcolors are ignored. A blank or N disables the color. The colorvalues default based on whether you selected JDE or SAAcolors in QJDF.

Page 230: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–60 A8.1 (8/97)

Accessing Fast Path Create for a New Form

�!�% /&+ ��)" % *!� �&($�* �&( � %�- �&($� /&+ !�,� *!� &'*"&% *& +)� ��)*��*! �(��*��

�� ����� ���� ���� ���� ��� � �� ����

�� �&��*� /&+( �&($ �%� �%*�( )�#��*"&% ��

� �� ��� ��%%&* �"%� *!� �.")*"% ��� �&( /&+( �&($� *!� �&##&-"%

�&($ -"## �''��(�

� �� ��� ��%%&* �"%� *!� �.")*"% ��� �&( /&+( �&($� *!� �(��*� ��-

��(��% �� ����� �&($ -"## �''��(�

92510 Create New Screen Screen: V927400 Text Description. . . Item Search (Y/N) Fast Path Create Y Screen Type Action Code Y Window N Wide Screen (Y/N). . N Subfile Creation Subfile N Subfile Fold N Subfile Clear Y Selection Exits N Record Format Level PUTOVR N OVERLAY Y F3=Exit F12=Previous

� � �������� ��

��)�("'*"&% ��)�("��) *!� �+%�*"&% &( &'*"&% �."*�

��%%&* �.���� � �!�(��*�()�

��)* ��*! �(��*� �+*&$�*"��##/ �(��*� (��&(� �&($�*)� �"�#�)� �"#�� �%� (��&(�

#�,�# '�(�$�*�()�

��*"&% �&�� �+*&$�*"��##/ �(��*� �% ��*"&% �&�� �"�#��

�"%�&- �"��& ") � -"%�&-�

�"�� ��(��% �"��& ") "% -"�� �&($�* ��� �&#+$%) �/ �� (&-)� &(

%&($�# �&($�* ��� �&#+$%) �/ � (&-)��

Page 231: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–61

����� ���������

�,��"$� �)��+� *,��"$� �')%�+�

�,��"$� '$� �)��+� � �'$� �)�� "& +!� *,��"$� ,*"& � ���� �&�

� � � #�0.')�*�

�,��"$� �$��) �*� � � � ��� �� � ��� ����

��$��+"'& /"+* �)��+� *�$��+"'& �/"+* +' �$$'. +!� ,*�) +' �/"+ +!� ()' )�%

,*"& *�$��+"'& �'��*�

������ �!� -"��' )��')� �')%�+ ,*�� +!� ������ #�0.')��

��,*�* +!� -"��' +' �� �)�*�� �&� )��"*($�0�� .!�& �

."&�'. "* �"*($�0���

��� �� �!� -"��' )��')� �')%�+ ,*�* +!� ��� �� #�0.')��

�"$$ &'+ �)�*� �&� )��"*($�0 -"��' .!�& � ."&�'. "*

�"*($�0��� �'*+ �� �� �.�)�* -"��'* ,*� ��� ���

�� �)�** &+�) �&� ��� �� "&* +!� �)��+"'& '� 0',) �')% ��*�� '& .!�+ 0',*(��"�"���

Example – Form with Action Code and No Subfile

92700 Item Maintenance

Action Code. . . B

F24=More Keys

Page 232: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–62 A8.1 (8/97)

Example – Form with Action Code and Subfile

92700 Item Maintenance

Action Code. . . B

SFLCTL DELETE THIS FIELD DELETE THIS FIELD DELETE THIS FIELD DELETE THIS FIELD DELETE THIS FIELD DELETE THIS FIELD DELETE THIS FIELD DELETE THIS FIELD DELETE THIS FIELD DELETE THIS FIELD DELETE THIS FIELD DELETE THIS FIELD DELETE THIS FIELD DELETE THIS FIELD DELETE THIS FIELD

F24=More Keys

Example – Form with Action Code, Subfile and Selection Exits

92700 Item Maintenance

Action Code. . . B

O P B B B B B B B B B B B B B B B

F24=More Keys

Page 233: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–63

Adding Fields without Using a Pick List

� � � �� ��� ��� �����

�� �(� " �* �./"-&.' ��� +* /%" ��� !".&$* �-"� 2%"-" 4+0 2�*/ /+ ,(� " /%"1&!"+ /"3/ #&"(!�

928011 Item Master Information Action Code. . . B * Screen: V928011–––––––––––––––Field Definition–––––––––––––Format: V9280111– Dict Name XIT Text Data Type Field Name *VTX Cond Ind Row/Column Field Use RI Size Text Form R HI Dft Cursor Edited UL Lower Case Change ND OVRDTA Duplicate BL OVRATR Field Cond PR PC ––F3=Exit F12=Prev Screen F17=Dictionary–––––––––––––––––––––––––––––––––––

�%"* /%" #&"(! !"#&*&/&+* #+-) �,,"�-.�

� �* /%" �& / ��)" #&"(!� "*/"- /%" ��/� �& /&+*�-4 &/") *�)"�

� �* /%" �&"(! ��)" #&"(!� .," &#4 �����

� �%" .4./") �..&$*. /%" *"3/ �1�&(��(" ��� *0)�"-�

�� �*/"- � 1�(0" &* /%" �"3/ �+-) #&"(! /+ &*!& �/" 2%"/%"- /%" -+2!". -&,/&+* +- � +(0)* %"�!&*$ #-+) /%" ��/� �& /&+*�-4 .%+0(! �" 0."!�. /%" /"3/�

� � � �+2 �". -&,/&+*�

� � � �+(0)* �"�!&*$ ��

� � � �+(0)* �"�!&*$ �

�"#�0(/ &. � #+- *+*6.0�#&(" #+-)�/.

� �"3/ !"#�0(/. #-+) /%" ��/� �& /&+*�-4 ��."! 0,+* /%" �"3/ �+-)

1�(0"�

�� �*/"- � 1�(0" &* /%" �&5" #&"(! +*(4 &# 4+0 2�*/ /+ +1"--&!" /%" !"#�0(/("*$/% +# � #+- /%" �+2 �". -&,/&+* /%�/ 2&(( �" �-+0$%/ &*�

Page 234: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–64 A8.1 (8/97)

�"' %�"'�� %&�$& *"'$ �����% �! �"�' ! &(" �'!��%% %����&�"! �)�&% �)�%&�� ���%���"(% *"' &" #���� �! �%&�$�%� &" &�� ���& "� &�� ��$%& ����� �! �"�' ! "!��

����� �"' %�"'�� %&�$& *"'$ �����% �! �"�' ! &(" �'!��%% %����&�"! �)�&% �)�%&�����% ���"(% *"' &" #���� �! �%&�$�%� &" &�� ���& "� &�� ��$%& ����� �! �"�' ! "!��

�� � � ������� ���� ��� ����

�� ����� �! � "! &�� � � ��%��! �$�� (��$� *"' (�!& &�� ����� &" �� #������

928011 Item Master Information Action Code. . . B * Screen: V928011–––––––––––––––Field Definition–––––––––––––Format: V9280111– Dict Name XIT Text Data Type Field Name Cond Ind Row/Column Field Use B RI Size Text Form HI Dft Cursor Edited UL Lower Case Change ND OVRDTA Duplicate BL OVRATR Field Cond PR PC ––F3=Exit F12=Prev Screen F17=Dictionary––––––––––––––––––––––––––––––––––

�� �! &�� ����� ����!�&�"! �"$ � �!&�$ &�� �&� ��&�"!�$* �&� !� � �! &�� ��& �� � ������

� �#����* � ����� '%��

� ��� ����'�& �"$ ����� '%� �% � �"$ "'&#'&�

� ���&�!� �!����&"$% �$� !"& �%%��!�� �"$ "'&#'& �����%�

� �!&�$ &�� �&� �*#�� ��+�� �!� ��)& ����'�&% �$" &�� �&� ��&�"!�$*�

Page 235: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–65

�� ���� ������� ��� �����

�� ����� �� � � $�� �� ��#��� �"�� '��"� ) % '��$ $ !���� $����#�"�!$� � " � �#$��$ ������

928011 Item Master Information Action Code. . . B * Screen: V928011–––––––––––––––Field Definition–––––––––––––Format: V9280111– Dict Name Text Data Type Field Name *VC0 Cond Ind Row/Column Field Use RI Size Text Form HI Dft Cursor Edited UL Lower Case Change ND OVRDTA Duplicate BL OVRATR Field Cond PR PC ––F3=Exit F12=Prev Screen F17=Dictionary––––––––––––––––––––––––––––––––––

��� ����� ������$� � � "� �# ��#!��)���

�� �� $�� ����� ������$� � � "�� #!����) ��� �� $�� ����� ���� ������

� ��� #)#$�� �##���# $�� ��($ �&������� �� �%���"�

�� � ) % '��$ $ &�""��� $�� ����%�$ ����$� � ��� ��$�" � &��%� �� $�� #�*�������

Page 236: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–66 A8.1 (8/97)

Adding a Literal Field

� ��� � ������ �����

��� � �� ��� �� � �� �� �� �� � ���� � � ����� �� � �� ������ ����� ���� �� �� �� �� ��� ��

’928011’ Item Master Information

���� ������ ������ �� ��� �� ���� ��� �� �� ���� �� �� ������ �� �� �� ��� � �� ���� ��

���� ������ ������ �� ��� �� ���� ��� �� �� ��� � �� �� ������ �� �� �� ��� � �� ���� ��

Page 237: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–67

Using the *BOTH and *ALL Features

��� ����� ������$� � � "� ��� '# ( % $ ��$�" # �� #!����� ��(' "�# �� $�� ��������� ������ �' � $��#� #!����� ��(' "�# �"� ���� ��� �����

���# ���$%"� !" &���# � " !�������$ � �%�$�!�� �����# '�$� � #����� ��$"(�

Using *BOTH

� ( % %#� $�� ��(' "� ���� '�$� � &���� ��$� ���$� ��"( �$��� #�"��� ��#���'��� !���� � ��� ����� ��� � &��� ��� ����� � $�� #�"����

�� � �����

�� ����� �����$� � $(!� )����� �� $�� ����� ����

928011 Item Master Information Action Code. . . B Item ID. . . . . BBBBBBBB Item Desc. . . . BBBBBBBBBBBBBBBBBBBBBBBBBBBBBB Business Unit. . BBBBBBBBBBBB OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO Item Type. . . . BB OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO Date Last Ship . BBBBBBBB Qty On Hand. . . BBBBBBBBBBBBBBBBBBBBB * Item Code 001. . BBB OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO Screen: V928011–––––––––––––––Field Definition–––––––––––––Format: V9280111– Dict Name XUM Text Data Type Field Name *BOTH Cond Ind Row/Column Field Use RI Size Text Form HI Dft Cursor Edited UL Lower Case Change ND OVRDTA Duplicate BL OVRATR Field Cond PR PC ––F3=Exit F12=Prev Screen F17=Dictionary––––––––––––––––––––––––––––––––––

Page 238: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–68 A8.1 (8/97)

���� �� ����� ����� ��� ��������� ���� ������� �� ��� ��� ������ ���� ������ ��� �� ������ ������

928011 Item Master Information Action Code. . . . Item ID. . . . . . Item Desc. . Business Unit. . . OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO Item Type. . . . . OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO Date Last Ship . . Quantity On Hand . Unit of Measure. Item Code 001. . . OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO Item Code 002. . . OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO Item Code 003. . . OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO Item Code 004. . . OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO Item Code 005. . . OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO

F24=More Keys

Page 239: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–69

Using *ALL

� ( % %#� $�� ��(' "� ��� '�$� � &���� ��$� ���$� ��"( �$��� #�"��� ��#���!����# � ��� ������ � &��� ���� ������ ��� � �� ����� � $�� � "��

�� �� ����

�� $�� ����� ������$� � � "�� $(!� )���� �� $�� ����� ����

928011 Item Master Information Action Code. . . B Item ID. . . . . BBBBBBBB Item Desc. . . . BBBBBBBBBBBBBBBBBBBBBBBBBBBBBB Business Unit. . BBBBBBBBBBBB OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO Item Type. . . . BB OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO Date Last Ship . BBBBBBBB Qty On Hand. . . BBBBBBBBBBBBBBBBBBBBB * Item Code 001. . BBB OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO Screen: V928011–––––––––––––––Field Definition–––––––––––––Format: V9280111– Dict Name XUM Text Data Type Field Name *ALL Cond Ind Row/Column Field Use RI Size Text Form HI Dft Cursor Edited UL Lower Case Change ND OVRDTA Duplicate BL OVRATR Field Cond PR PC ––F3=Exit F12=Prev Screen F17=Dictionary––––––––––––––––––––––––––––––––––

Page 240: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–70 A8.1 (8/97)

�# ' 1(- ', * ���� ,# !(%%(/$'" !(*& �)) �*+ $' ,# �� � +$"' �* � !(* ,# �'$, (! � �+-* !$ %��

928011 Item Master Information Action Code. . . . Item ID. . . . . . Item Desc. . Business Unit. . . OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO Item Type. . . . . OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO Date Last Ship . . Quantity On Hand . Unit of Measure. OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO Item Code 001. . . OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO Item Code 002. . . OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO Item Code 003. . . OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO Item Code 004. . . OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO Item Code 005. . . OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO F24=More Keys

Field Defaults

Field Defaults

�# !(%%(/$'" �* !$ %� � !�-%,+ $' ,# ���

�� 2 �$� ( �$+)%�1 !$ %�

� �-,)-, ('%1

�(- ��' ', * � $' ,# �$ %� �+ !$ %� ,( (. **$� ,# � !�-%, �'��#�'" $, ,( �(,# $')-, �'� (-,)-,�

� �( �$,$'"

�! 1(- ', * $' ,# �$ %� �+ !$ %�� ,# �$, � !$ %� � !�-%,+ ,( ���# �('�$,$(' �'�$��,(*+ � !�-%, ,( � �'� ,# ' 0, �.�$%��% �$,$'"$'�$��,(* $+ �++$"' � ,( ,#�, !$ %��

��� 2 �$� ( � 0, !$ %�

� �� �1, + %('"

� � !�-%,+ ,( �(/ � +�*$),$(' *�,# * ,#�' �(%-&' � +�*$),$('

��� 3 �$� ( �('+,�', !$ %�

Page 241: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

F3

A8.1 (8/97) 3–71

� �� �,'�& #"�

Understanding the SDA Exit/Save Function Key

F3 – Design Aid Exit/Save

�� ��)�& #% �+�'& #% �#�& �#'� �%#! ��%��" �&��" ����

92590 Design Aid Exit/Save Save DDS (Y/N) . . . N Member ID. . . . . . V928200 File ID. . . . . . . JDESRC Src Library. . . . . STB301SRC Description. . . . . Item Search Function Code. . . . DSPF Return to Edit (Y/N) N F12=Previous

����� ���������

��)� � ����� ���'��% #% "#' '# �"� (�� '�� �("�'�#" #% #$'�#" ��, #"

'�� &�%��"�

�� ��������� ��� ����� � � � � � � � � � � � � � � � � � � � � � � � � � �

��)�& '�� � �"� ($��'�& #% �%��'�& �#���( �%,

�)�%%���& �"� ("�'�#" ��, ����"�'�#"&�

�!��% � ��� %��#%� #� '�� �#�'*�%� ��%&�#"& ��$#&�'#%, !�!��% '#

�� �#$����

�� ��������� ��� ����� � � � � � � � � � � � � � � � � � � � � � � � � � �

��!� #� '�� &�%��"�

� � � ��� "�!� #� '�� �� � *�'��" '�� &#(%�� ��%�%, '��' �#"'��"&

'�� &#(%�� !�!��%� ���( '& �" �#%! '�� �#�'*�%�

��%&�#"& ��$#&�'#%,�

�� ��������� ��� ����� � � � � � � � � � � � � � � � � � � � � � � � � � �

���"'����& '�� �� � '��' *� �#"'��" '�� &#(%�� �#���

Page 242: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–72 A8.1 (8/97)

����� ���������

�,� �%�,�,2 �$! '%�,�,2 �*).�%)%)# .$! �.� .* �! �*+%! �

�� ��������� ��� ����� � � � � � � � � � � � � � � � � � � � � � � � � � �

� !).%"%!- .$! '%�,�,2 1$!,! .$! -*/,�! �* ! ,!-% !-�

�!-�,%+.%*) �$! !-�,%+.%*) *" � ,!�*, %) .$! �*".1�,! �!,-%*)-

�!+*-%.*,2 "%'!� �$! (!(�!, !-�,%+.%*) %- �*)-%-.!). 1%.$

.$! ��-! (!(�!, !-�,%+.%*)�

�� ��������� ��� ����� � � � � � � � � � � � � � � � � � � � � � � � � � �

�!-�,%+.%*) *" .$! �!(�!, ���

�$*/' �! .$! -�(! �- %) ����

�/)�.%*) * ! �!-%#)�.!- .$! *�&!�. .2+! -/�$ �- %-+'�2 "%'!� +$2-%��'

�) '*#%��' "%'!-� �-! �� %) .$! "%!' .* 0%!1 .$! �0�%'��'!

.2+!-�

�� ��������� ��� ����� � � � � � � � � � � � � � � � � � � � � � � � � � �

� !).%"%!- .$! �!(�!, ���

�!./,) .* � %. ����� �*#%��' "%'!- %)�'/ ! �'' "%!' -� 1! * )*. !"%)! -+!�%"%�

"%!' -�

�� ��������� ��� ����� � � � � � � � � � � � � � � � � � � � � � � � � � �

��� *, ,!./,) .* ����

Page 243: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–73

Compiling Your Form

� ����� �� ���

���� ��� ������� ������� ���������� ����� ����� �� ���� �� ��� ������ �� ���������� ���� ��� ���� �� ����� ��� ����� ������

9801 Software Versions Repository Action Code. . . I Member ID. . . . V928200 Description. . . Item Search Function Code. . DSPF Video Display Files Function Use . . 113 Inquiry Install System . 92 Computer Assisted Design Reporting System 92 Computer Assisted Design Base Member Name P928200 File Prefix. . . Maint/RSTDSP . . 1 Omit Option. . . Generation Sev . Copy Data (Y/N). N Optional File. . Common File. . . N O Source Object Source SAR Version S D User Date P Library Library File Number ID C P ID Modified JDFSRC JDFOBJ JDESRC 241883 A61 1 HERITAGE 11/04/91 Opt: 1=Browse 2=Edit 3=Copy 5=SAR 8=Print 9=Dlt 10=Design 14=Crt F24=More

Page 244: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–74 A8.1 (8/97)

Screen Design Standards and Tips

Title

� 2#1%%- 3)3+% )2 +),)3%$ 3. �� #(!1!#3%12 !-$ 2(.4+$ ,!3#( 3(% �.&36!1% �%12).-2�%/.2)3.18 ������� �(% 3)3+% 8.4 %-3%1 )- ��� 4/$!3%2 3(% 5.#!"4+!18 .5%11)$%21%#.1$ &.1 3(% &.1,� �& 8.4 !##%22 3(% &.1, 42)-' ! ,%-4 2%+%#3).-� 3(% ,%-42%+%#3).- -!,% .5%11)$%2 3(% &.1, 3)3+%� �& 8.4 !##%22 3(% &.1, 42)-' ! 2%+%#3).-./3).- .1 &4-#3).- *%8� 3(% 5.#!"4+!18 .5%11)$%2 3)3+% )2 42%$�

Line 24

.4 2(.4+$ $.#4,%-3 !++ &4-#3).- *%82 .- 3(% 1)'(3 2)$% .& +)-% � !-$ 8.42(.4+$ $.#4,%-3 ./3).-2 .- 3(% +%&3 2)$%� �(% &.++.6)-' '4)$%+)-%2 2(.4+$ !+2."% &.++.6%$�

� �)23 ".3( 3(% ./3).-2 !-$ &4-#3).- *%82 )- -4,%1)# .1$%1�

� �� 2(.4+$ !+6!82 !//%!1 !-$ 2(.4+$ 2!8 ���� �� � .1 �����

� �� 2(.4+$ !+6!82 1%!$ ���� ������ .1 �������

� �. -.3 )-#+4$% 23!-$!1$ %7)32 .& ��� � � �� �%+/� �.++4/� �.++$.6-�

� �)-% � 2(.4+$ "% )- 1%5%12% ),!'% $41)-' !- %11.1 #.-$)3).- %7#%/3 .-

&.1,2� �)-% � )2 #.-$)3).-%$ 3. !//%!1 )- 1%5%12% ),!'% .- &.1,2 "!2%$.- )-$)#!3.1 ���

� �& 8.4 2/%#)&8 ����� &.1 3(% &)%+$ 9�11.1 �%73� &.1 �)-% � )- 5.#!"4+!18

.5%11)$%2� 3(%- 3(% 3%73 $)2/+!8%$ )2 3(% 2!,% !2 3(% 3%73 2/%#)&)%$ &.1 3(%-.1,!+ �)-% ��

Forms

�)3()- ! &.1,� +)-% � 2(.4+$ )-#+4$% �� !-$ �� 6(%- 3(% &.1, )2 )-)3)!++8$)2/+!8%$� �(%- $%2)'-)-' &.1,2 )- ���� &)++ )- 4-42%$ +)-% 2/!#% 6)3( +)3%1!+&)%+$2 3. /1%5%-3 $!3! .- 3(% #!++)-' &.1, &1., 2(.6)-' 3(1.4'( .- 3(% &.1,� .4 #!- !$$ 3(% +)3%1!+ &)%+$2 !2 "+!-*2 6)3( ! 2)-'+% 04.3% .- %!#( %-$ .13(1.4'( 3(% �)%+$ �%&)-)3).- &.1,�

Page 245: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–75

4038 Allen, Ray Jr. 08DBD–––––Dep/Ben Addition & Review––––––––––– 4039 Allen, Marilyn Action Code. . I 4037 Allen, Cindy Dep/Ben No.. . 4037 4039 Allen, Marilyn Alpha Name . . Allen, Cindy 4036 Allen, Cindy 4037 Allen, Cindy Date Of Birth. 06/13/48 SSN. . 432–51–2468 4038 Allen, Ray Jr. Dep/Ben Status 4037 Allen, Cindy Memo/Address . 2525 E. 11th Avenue 4039 Allen, Marilyn Denver, Colorado 80206 –F3=Exit–––F6=Return w/Value–––F24=More Keys–– Opt:1=Single Assignment 2=Add/Rev D/B F4=Detail F21=Print F24=More Keys

��$ �$"#��#�! �����"#� �%�!��(��#� �� #��������� ��!�

Default Cursor

��$ "�# #�� ����$�# �$!"�! �##!��$#� #� ��#��� ���� ��! #�� �� $# ����� ���"�"# #�#�� $ �!)���# ��!��! �� #�� ��!��

Fold Area

�� #�� �$���! �� ���� �!�� ����" #� �� ��!� #��� #&� ����" #� �%����'��""�%� $"� �� #�� �$!"�! ��(" &��� #�� ���� �!�� �" � ���

Description Fields

����� ��� ��"�!� #��� �� $# �����" #� ����& ��! $ �!��"� ��� ��&�!��"� ��##�!"��"� ��� ��"�!� #���" &��� � ������" %��$� ��" �� ��%��$" ������� ��� (�$ ���!�#!��%� � ��"�!� #��� �!�� � ��"#�! ���� �! $"�! ������� ����"�

Alpha Fields

����$"� �� #�� �(����� ��#$!� �� ��#�!��#����� �$!!���(� (�$ �$"# ������ �%�!(����� �" �� ��� ��� ���( �'�� #��� �" #��# (�$ ��� ������ ������ �����" �"�$��!��� ��� �&�!�" "�!$����� !�$#���" ������ #�� #&�)&�( ���%�!"�����#&��� �$��!�� ���� ��#� ��� �� �� ��!� �����"�

Page 246: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–76 A8.1 (8/97)

General Aesthetics

��� �����$��� ��� !���� %�" ����! $��! !� ��� ���� $��� �� ������ ���� ����% ��� �"������� !��! $��� ��#� %�"� ���� � ���� ����� ����� �����

Alignment

���� "� ����� #��!�����%� ��� ����"�� ��$ �� ����!��� � ���"! ����� � ����� ����!��� ����� � ���� �� !�� ���! ��� �� !�� ���� ��"�� �� �� ���"�� ����� ����"�� � � ������ ��� !�� �!!���"!� �%!���

���� "��� ����� �� ��$ �� ����!���

08332 Single D/B Relation Entry Action Code. . . . . . . . I Employee Number. . . . . . 6001 Allen, Raymond Plan ID. . . . . . . . . . DEPCARE Dependent Care Reimb. Account Dependent/Beneficiary No.. 4036 Name . Allen, Cindy Effective From . . . . . . 01/01/90 Thru . Relationship Data: Dependent or Beneficiary . D Relationship . . . . . . . C Child Dep/Ben Type . . . . . . . Primary Beneficiary Percent Allocated. . . . . Dependent/Beneficiary Data: Social Security Number . . 524–58–5113 Date Of Birth. . . . . . . 04/01/72 Dep/Ben Status . . . . . . Memo/Address Info. . . . . 2525 E. 11th Avenue Denver, Colorado 80206 F5=D/B Relationships F21=Print F24=More Keys

���� "����"! �����

� ������ !���"���&� ����!� ����$ �� ����!���

Page 247: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–77

Grouping Fields

���� �������� � ��� ������� ������� �� ����� ������� ������� ��� �� �� �� ���� ���� ��� ��� ��� ������� ��� �� ���� �� ��� � ��������� ��������� ���������� ��� ��� �� ���� � ����� ��������� ��� �������� ������ ��� ����� �������� ��� ��� � �� ��� ������

08332 Single D/B Relation Entry Action Code. . . . . . . . Employee Number. . . . . . Plan ID. . . . . . . . . . Dependent/Beneficiary No.. Name . Effective From . . . . . . Thru . Relationship Data: Dependent or Beneficiary . Relationship . . . . . . . Dep/Ben Type . . . . . . . Percent Allocated. . . . . Dependent/Beneficiary Data: Social Security Number . . Date Of Birth. . . . . . . Dep/Ben Status . . . . . . Memo/Address Info. . . . . F5=D/B Relationships F21=Print F24=More Keys

Spacing

�� ��� ��������� �� ���� ��������� ���� ��� ��� ��������� ���� ���������

� ������� ����� �������� ���� ��� ��� ��

O . . . Dependent / Beneficiary . . . Plan D DB % S Effect.P Number Name ID B Rel Ty Alloc. T From

Page 248: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–78 A8.1 (8/97)

� ��� ��� ����������� ���� �� ����� ��� ������ ������� � � ������ ����

� ��� ��� ���� ��������� ����� ������

Dependent or Beneficiary . Relationship . . . . . . . Dep/Ben Type . . . . . . . Percent Allocated. . . . .

� ������ ���� ���� ����� ��� �� ���� ����� �� � ��� ���� ��� �������

�� ����

08335 Benefits by Employee Year . . . . 90 Type of Year C Dates:Employee . . 6001 Allen, Raymond Birth. . . . 10/20/58Soc Sec No . 798–52–5841 Orig. Hire . 12/15/88Benefit Grp. Started. . . 12/15/88Business Unit 9 An Energy Deleted Interes Terminated . O . . Effective. . . Contributions .P Plan Name From Through Employee Employer Dependent Care Reimb. Account Plan ID: DEPCARE Provider/Trustee: Edwards, J. D. Life Insurance 01/01/90 12/31/90 Plan ID: LIFE Provider/Trustee: State Mutual Insurance Company

� ��� ��� �� ���� ����� �� �������� ���� ���� ���� ����� ��� ���

����������� ���� ����� �� ��� ���� ����� ��� ���� ���� ��� ��������������� � ���� ������� � ������� �� ��� ����������

O . . Effective. . . Contributions . P Plan Name From Through Employee Employer Dependent Care Reimb. Account Plan ID: DEPCARE Provider/Trustee: Edwards, J. D. Life Insurance 01/01/90 12/31/90 Plan ID: LIFE Provider/Trustee: State Mutual Insurance Company

Page 249: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–79

� ������ � ����� ���� ������� ������ ��� ������� ������������

Benefit Grp. Started. . . Business Unit Terminated . O . . Effective. . . Contributions . P Plan Name From Through Employee Employer

� ��� ��������� ������ � ����� ���� ������� ��� ����� ��� ����� ������ �����

������ �� ���� � ������ �� ���� �� ��� ��� ����� ����� ����� �� ���� ���� ��

069116 Pay Type Specifications Action Code. . . . .

ÁÁÁ

Exercises�� ��� ���� ���� ��� ���� �������

Page 250: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

F10

Advanced Programming Concepts and Skills

3–80 A8.1 (8/97)

Adding Video Fields Using Pick List

�� ��� ���� ����

" � $�� �� � "��

�� ���## $�� ��� "�# "��$# ��#$ %#��� $�� �� ��(

�� �!��$� $�� ��� "� "��$# ��#$ � "�

F10 – Record Formats List

��� ��#!��(# $�� ��� "� "��$# ��#$�

92520 Record Formats List Screen: V928200 Start Fast Path / End Related # Fields Fld Opt Format Name Type File Lines Record Selected Pfx 1 V928200C SFLCTL F92801 001 006 V928200S 000 VD V928200S SFL 007 022 000 SF V9282001 RECORD 024 024 000 VD Opt: 1=DB Field Selection 3=Field List 4=Delete 5=Format Keywords

���# � "� �# %#�� $ #����$ ��$���#� �����# ��� ����$��� "�� "� � "��$#� "�� "�$(!�#� ��#$ !�$� ����#� ��� "�� "� � "��$ ��(' "�#�

��� �� ������

�!$ ��$�" $�� �!!" !"��$� �%���" $ ������$� ( % '��$ $

#����$ �� � $�� � �� '��� &��%�#�

��������� !��� ��#$ � ��!�"#��� �%��$� �#� ��������� !��� ��#$ � " ��#$ !�$� �%��$� �#���#$ � ������� �����# �� $�� � "��$�����$� � "��$���� "� � "��$ ��(' "�#�

Page 251: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–81

����� ���������

�%(#�* ��#� ��(��$ (��%(� �%(#�*�

� � �%(#�* $�#� -!"" �� * � ,!��% �� �%""%-�� �/ �

)&��!�!� �%(#�* )+��!. ,�"+�� �/&!��""/� * � )+��!. ,�"+�)

�(��

)+��!"� �%$*(%" �%(#�*)+��!"� �%(#�*(��%(� �%(#�*

�� ���!*!%$�" �%(#�*) �(� (�'+!(��� ��� �%(#�* $�#� #+)*

�� +$!'+� )% $�- �%(#�* )+��!. ,�"+�) #+)* �� �))!�$���

�/&� ���%(� �%(#�* */&�� ��� */&�) "!)*�� ��"%-�

��)* ��* �!"� � � ��*���)� �!"� /%+ -�$* *% )�"��* �!�"�) �(%#�

�*�(*��$� �!$�) �&��!�!�) * � "!$� $+#��( (�$�� %� * � �%(#�*�

��"�*�� ���%(� �!�"� * �* *!�) � )+��!"� *% � �%$*(%" (��%(� �%(#�*�

��'+!(�� !$ �"" ��� �� (��%(� �%(#�*)�

� �!�"�) ��"��*�� � � $+#��( %� ��*���)� �!�"�) * �* �,� ���$ )�"��*�� �%(

+)� %$ * � �%(#�*�

�"� ��. �%(# �!�"� &(��!. *% �� +)�� �%( * � ,!��% �!�"�)� ��� ���

About Record Formats

��,�(�" ���%(� �%(#�* �/&�) �(� ,�"!� �%( �%(#)� +((�$*"/� * �/ �(�

� ��� �� 0 �+��!"� �%$*(%"

�(�)�$* !$ �"" )+��!"� �%(#)� %$*�!$) �"" %� * � �!�"�) !$ * � ����( %( *%&&%(*!%$ %� * � �%(#� !$�"+�!$� * � )+��!"� �%"+#$ ���!$�)�

928200 Item Search

Business Unit. BBBBBBBBBBBB OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO

O Item Ship P Number Description Date Quantity On Hand UM

���� ���� ���

Page 252: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–82 A8.1 (8/97)

� ��� � �(��� �

#"'��"& � #� '�� ��� �& �" '�� &(��� � $#'�#" #� '�� �#%!� �"� (��"� '���# � �%��� �� �$$ ���� ��

B OOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOO OOOOOOOOOOOOOOOOO OO Code 1 . OOO Code 2 . OOO Code 3 . OOO Code 4 . OOO Code 5 . OOO B OOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOO OOOOOOOOOOOOOOOOO OO Code 1 . OOO Code 2 . OOO Code 3 . OOO Code 4 . OOO Code 5 . OOO B OOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOO OOOOOOOOOOOOOOOOO OO Code 1 . OOO Code 2 . OOO Code 3 . OOO Code 4 . OOO Code 5 . OOO B OOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOO OOOOOOOOOOOOOOOOO OO Code 1 . OOO Code 2 . OOO Code 3 . OOO Code 4 . OOO Code 5 . OOO B OOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOO OOOOOOOOOOOOOOOOO OO Code 1 . OOO Code 2 . OOO Code 3 . OOO Code 4 . OOO Code 5 . OOO B OOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOO OOOOOOOOOOOOOOOOO OO Code 1 . OOO Code 2 . OOO Code 3 . OOO Code 4 . OOO Code 5 . OOO B OOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOO OOOOOOOOOOOOOOOOO OO Code 1 . OOO Code 2 . OOO Code 3 . OOO Code 4 . OOO Code 5 . OOO B OOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOO OOOOOOOOOOOOOOOOO OO Code 1 . OOO Code 2 . OOO Code 3 . OOO Code 4 . OOO Code 5 . OOO

V928200S (SFL)

� ����

�%�&�"' �" � �#%!&� �" &(��� � �#%!&� �#"'��"& ���� � �"� �� '�*'�� �""#",&(��� � �#%!&� ��" �#"'��" � ��� �& #" '�� �#%!� �"� (��"� �����

Opt:1=Item Master Information F5=Item Maintenance F24=More Keys

V9282001 (RECORD)

� ����� � �(��� � ��&&���

�&$ �+& �%%#% !�&&��� '�*'� ��� ��)�%�& �#�& "#' (&� '��& �#%!�'����(&� �%%#%& �%� ��"� �� '�%#(�� �� $%#�%�!&�

Page 253: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–83

Selecting Database Fields

����� ��� "� �� ���� �� ����� ��� �� ����� ������ ��� �������� �� �� �����

� �� � ��� �� �

� �� � �� ���� ���� ��� ��

����� �����������

��� �� � �$�� � ��# � �� ����� �� "���� $�! "�� � ����� ��

������ ��� �� �� � ���� ���� !���� �� ��� �� � ����

���!���

���� ���� ��� �� �$�� � ��# � �� ����� �� "���� $�! "�� � ����� ��

������ �! �� �� �� �� � ���� �����

�������� � ���� ����� ��� ���� "���� $�! ��� ������$

�!� ���� ����� ��� ��������� ���� "���� � ����� �� �����

�������

�� ����� � ������� ���� ���� ���� ����

�� � �� ������ ����� � �� ����� �� �� � ��� �� � ���� ��� �� �������������� �

�� ��� �� ����� ����� ����� ���� ������ �� ��� � �

92520 Record Formats List Screen: V928200 Start Fast Path / End Related # Fields Fld Opt Format Name Type File Lines Record Selected Pfx 1 V928200C SFLCTL F92801 001 006 V928200S 000 VD V928200S SFL 007 022 000 SF V9282001 RECORD 024 024 000 VD Opt: 1=DB Field Selection 3=Field List 4=Delete 5=Format Keywords

Page 254: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–84 A8.1 (8/97)

�)& �*&,% �&,&$4*/. �*34 "00&"23�

92524 Field Selection List Report: V928200 Format: V928200C Seq No Field Name Description DT Size HDG D Use QXXIT K01 Item ID. . . . . . . . . . . . . . . S 8 0 QXXDS Description . . . . . . . . . . . . A 30 QXXTY Item Type. . . . . . . . . . . . . . A 2 QXXDT Date Last Ship . . . . . . . . . . . S 6 0 QXXCC Business Unit. . . . . . . . . . . . A 12 QXXQT Quantity On Hand . . . . . . . . . . S 15 0 QXXUM Unit of Measure. . . . . . . . . . . A 2 QXX001 Item Code 001. . . . . . . . . . . . A 3 QXX002 Item Code 002. . . . . . . . . . . . A 3 QXX003 Item Code 003. . . . . . . . . . . . A 3 QXX004 Item Code 004. . . . . . . . . . . . A 3 QXX005 Item Code 005. . . . . . . . . . . . A 3 F3=Exit F12=Prev Screen F21=Select All

����� ���������

�&1 �/ �&15&.$& �5-#&2 4/ *.%*$"4& 7)*$) %"4" *4&-3 8/5 7".4

/. 4)& 6*%&/ 8/5 "2& $2&"4*.( ".% 7)"4 /2%&2 8/5 7".4

4)&- 4/ #& %*30,"8&% *. 4)& �*$+ �*34 7*.%/7 "$$&33&%

'2/- ����

�*&,% �"-& �)& ."-& (*6&. 4/ " 2&$/2% '/2-"4 '/2 " '/2-� 2&0/24� /2

%"4"#"3& 4"#,&�

�&3$2*04*/. �)& �"4" �*$4*/."28 2/7 %&3$2*04*/.�

�"4" �4&- �80& �)& 480& /' %"4"� �)& %"4" *4&- 480&3 "2& %&'*.&% *. �3&2

�&'*.&% �/%&3� 3834&- $/%& ! ��� 2&$/2% 480& !���� �/4&�

�,, "-/5.4 '*&,%3 3)/5,% #& &.4&2&% "3 �� #84&3� �

%&$*-",3� ".% %"4" *4&- 480& 3)/5,% #& � �0"$+&%��

�"4" �4&- �*9& �)& '*&,% 3*9& /' 4)& %"4" *4&-�

����� �,, "-/5.4 '*&,%3 3)/5,% #& &.4&2&% "3 �� #84&3� �

%&$*-",3� ".% 4)& %"4" *4&- 480& 3)/5,% #& � �0"$+&%��

��� )*$) )&"%*.( 4/ 53& '2/- 4)& �"4" �*$4*/."28�

�/7 �&3$2*04*/.�/,5-. � )&"%*.(�/,5-. � ".% )&"%*.(

� �3&% 4/ *.%*$"4& 7)&4)&2 " � $)"2"$4&2 �� '*&,% 3)/5,%

#& #2/5()4 '/2 $/.34".4 *.'/2-"4*/. 4/ #& ,/"%&% *.4/�

Page 255: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

F21

A8.1 (8/97) 3–85

����� ���������

�&� �$������& �#* '�� ��'� ��� � �& '# �� (&�� #" '�� )���#

�"$(' #" +��('$(' #" + �����( '��#'� �"$(' �"� #('$('��� ��&&��� ��� ��

F21 - Select All

���� �# &� ��' � '�� ��� �& �#% '�� �� � �"&'��� #� &� ��'�"� '��! �"��)��(� +�$%�&& ��� �%#! '��& �#%!�

�&�� #" '�� %��#%� �#%!�' �#% *���� +#( �%� (&�"� '�� ��� � �� ��'�#" ��&'� '���# #*�"� �"�#%!�'�#" �& '�� ����( '

� �#% � &(��� � �#"'%# %��#%� �#%!�'� '�� �� ��� � *� ����( ' '# � �#% '��

'+$� #� �����"� �"� '�� �&� ��� � *� ����( ' '# �#% �"$('�#('$('�

� �#% � &(��� � %��#%� �#%!�'� '�� �� ��� � *� ����( ' '# � �#% '�� '+$� #�

�����"� �"� '�� �&� ��� � *� ����( ' '# �#% �"$('�#('$('�

� �#% � "#",&(��� � �#%!� '�� �� ��� � *� ����( ' '# � �#% '�� '+$� #�

�����"� �"� '�� �&� ��� � *� ����( ' '# �#% �"$('�#('$('�

� �#% � %�$#%'� '�� �� ��� � *� ����( ' '# � �#% '�� '+$� #� �����"� �"�

'�� �&� ��� � *� ����( ' '# � �#% #('$('�

Page 256: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–86 A8.1 (8/97)

�� ���� ������ ���� ����� � ��� ������� ����

���� ��� ����� ������� ���� �����

�� ������ ������ ��� �� �� ��� ������� � �����

92520 Record Formats List Screen: V928200 Start Fast Path / End Related # Fields Fld Opt Format Name Type File Lines Record Selected Pfx 1 V928200C SFLCTL 001 006 V928200S 000 VD V928200S SFL 007 022 000 SF V9282001 RECORD 024 024 000 VD Opt: 1=DB Field Selection 3=Field List 4=Delete 5=Format Keywords

��� ���� �������� ���� ��������

92522 File Selection List Screen: V928200 Format: V928200C File Name Library File Type Description F92801 JDFDATA PF SDM Item Master File F3=Exit F12=Prev Screen

Page 257: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–87

�� �!�� !�� ���� ���� #���� $�" #��! !� ����! ����� �

���� ��� ���� ���"� !�� #��� �� �� ���$�� !���"�� !�� ���� �����!��� �� !�����

92524 Field Selection List Screen: V928200 Format: V928200C Seq No Field Name Description DT Size HDG D Use QXXIT K01 Item ID. . . . . . . . . . . . . . . S 8 0 QXXDS Description . . . . . . . . . . . . A 30 QXXTY Item Type. . . . . . . . . . . . . . A 2 QXXDT Date Last Ship . . . . . . . . . . . S 6 0 QXXCC Business Unit. . . . . . . . . . . . A 12 QXXQT Quantity On Hand . . . . . . . . . . S 15 0 QXXUM Unit of Measure. . . . . . . . . . . A 2 QXX001 Category Code 001. . . . . . . . . . A 3 QXX002 Category Code 002. . . . . . . . . . A 3 QXX003 Category Code 003. . . . . . . . . . A 3 QXX004 Category Code 004. . . . . . . . . . A 3 QXX005 Category Code 005. . . . . . . . . . A 3 F3=Exit F12=Prev Screen F21=Select All

�� �����! ����� " ��� !�� ��� !������"� � �� !�� � ! �!� ��!����

� �� $�" ����! � ��$ ������ !��! ����� � ���!�� � !�� ��$ �� !�� �����

�� ���! ������!�� �� �� � � ������

Page 258: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–88 A8.1 (8/97)

Placing Fields on a Form Using a Pick List

�� � ��� �� �� �� � ��� ���� � ���� ����

�( .# �. ' ��-. , �(!),'�.$)( !),'

928011 Item Master Information Action Code. . . . B & & Screen: V928200 Field Selection List Format: V928200C Seq Fields to select Row Desc Length. . 10 No Field Name Description DT Size HDG D Use 1 Qx$XIT 01 Item ID. . . . . . . . . . . . . . . S 8 0 R B 2 Qx$XCC Business Unit. . . . . . . . . . . . A 12 R D B F3=Exit F10=Formats F12=Prev Screen F16=Field List

� �3* $.# , )( ), '), �'* ,-�(�- ��� )( .# !),' 1# , 3)/ 1�(. .)*&�� .# !$ &�- !,)' .# *$�% &$-. 3)/ �, �. ��

� �! 3)/ *&�� '), .#�( )( �� '�% -/, .#�. 3)/ �&&)1 ,))' !),

�&& )! .# !$ &�- .#�. �, , ./,( � .) .# !),'� -) .#�. 3)/ �) ().)0 ,&�* !$ &�-�

�� �( .# �$ &� � & �.$)( !),'� 0 ,$!3 .# $(!),'�.$)( .#�. $- )( .# !),'���� !$ &� 5 ���� �5�#�,��. , � -�,$*.$)( 5 �� �(� !$ &� �- 5 ����� �-1 && �- .# ),� , .#�. .# 3 1$&& � �,)/"#. ���% �.# - +/ (� (/'� ,���(� ,)1 � -�,$*.$)( & (".#�

Adding a Fold Area to a Subfile

�) ��� � �)&� , �� *&�� �( �-. ,$-% ��� ), �'* ,-�(� ��� )( .# - �)(� &$( $(.# -/�!$& !),'�. )! 3)/, !),'� �! 3)/ ( � � - �)(� &$( $( .# �)&� , �� 3)/��( *&�� �( �-. ,$-% ��� ), �'* ,-�(� ��� )( .# .#$,� &$( )! .# -/�!$& !),'�.���� -#)/&� � 4�� 1# ( ���$(" .) .# !)&��

ÁÁ Exercises� .# 2 ,�$- - !), .#$- �#�*. ,�

Page 259: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

F2

F5

A8.1 (8/97) 3–89

Function Key Exits from Screen Design Aid

F2 – J.D. Edwards Command Line

��� ���� � ������� ���� !� ��!�� � �� �$��� �� ��� ������� $�!��"!��#��� !� �%�! !� ������� �!�& �� � ���"�

�� !&�" ��� ��"��� �"! �� ������� �!�& �� ���" ���#������ &�" !��� ��! !�� ������� ����� �"! &�" �����! �%��"!� ������� �� ���" !��#���

F5 – Format Display Control Window

��� ���$ !�� �����! � ���& ���!��� �����

928200 Item Search Business Unit. BBBBBBBBBBBB OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO O Item Ship P Number Description Date Quantity On Hand UM B OOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO –––––Format–Display–Control––––––––– Code 1 . OOO Code 2 . OOO Code 3 . OO Sel Format Type Boundaries B OOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO 1 V928200C SFLCTL 001 006 Code 1 . OOO Code 2 . OOO Code 3 . OO 1 V928200S SFL 007 022 B OOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO 1 V9282001 RECORD 024 024 Code 1 . OOO Code 2 . OOO Code 3 . OO B OOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO Code 1 . OOO Code 2 . OOO Code 3 . OO B OOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO Code 1 . OOO Code 2 . OOO Code 3 . OO Window: Row 001 Col 001 B OOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO Browse (Y/N) N Code 1 . OOO Code 2 . OOO Code 3 . OO Opt:–1=Display–Fmt––F3=Exit––F12=Pre B OOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOO OOOOOOOOOOOOOOOOO OO Code 1 . OOO Code 2 . OOO Code 3 . OOO Code 4 . OOO Code 5 . OOO B OOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOO OOOOOOOOOOOOOOOOO OO Code 1 . OOO Code 2 . OOO Code 3 . OOO Code 4 . OOO Code 5 . OOO Opt:1=Item Master Information F5=Item Maintenance F24=More Keys

��� �����$��� !���� ���#��� �� �%�����!��� �� !�� ����� �� !�� �����! � ���&���!��� �����

Page 260: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

F4

F6

F8

F10

Advanced Programming Concepts and Skills

3–90 A8.1 (8/97)

����� ���������

�'-'%4+0/ �0/420-3 4*' &+31-#9 0( 2'%02& (02.#43�

�02.#4 +3 #%4+6'�

�-#/, �04 40 &+31-#9�

�02.#4 �+343 4*' ��� (02.#4 /#.'3 (02 4*' 6+&'0 3%2''/�

�-- /#.'3 $')+/ 7+4* +&'0 /#.'

� �5$(+-' %0/420- (02.#43 '/& 7+4* ��

� �5$(+-' (02.#43 '/& 7+4* ��

� �'%02& �/0/�35$(+-'� (02.#43 '/& 7+4* �

�91' �'3%2+$'3 4*' ��� (02.#4 /#.'�

�05/&#2+'3 �70 �&+)+4 /5.$'23 4*#4 &'(+/' 4*' 2#/)' �2073� (02 4*'

����

!+/&07 �--073 #%%'33 40 (+'-&3 0543+&' 4*' $05/&#2+'3�

�2073' �"��� �--073 53'2 40 '/#$-'�&+3#$-' 4*' $2073' .0&' #/& 6+'7

4*' 3%2''/ #3 +4 705-& #11'#2 7*'/ '8'%54'&�

� �#//04 %*#/)' 02 #%%'33 #/9 +4'. 7*+-' +/ $2073'

.0&'�

F4 – Subfile Drop (while in browse mode)

��� �206+&'3 4*' (0--07+/)�

� �0))-' $'47''/ &+31-#9+/) 4*' �0-& �2'# 02 /04 (02 # 35$(+-' (02.

� �534 3'4 �2073' +/ �02.#4 �+31-#9 �0/420- !+/&07 ����

F6 – Access Repository Services

� � �*+3 (02. 1206+&'3 #%%'33 40 04*'2 2'103+4029 3'26+%'3 7+4*+/ ���� �&7#2&3�

F8 – Toggle Monochrome/Color Display

��� �206+&'3 4*' (0--07+/)�

� !+-- &+31-#9 9052 (02. +/ .0/0%*20.' 02 %0-02

� �( #%%'33+/) 4*' �+'-& �'(+/+4+0/ (02.� 7+-- 40))-' $'47''/ �0/&+4+0/

�/&+%#4023 #/& �0-02 �442+$54'3

F10 – Option 5 — Format Keyword Maintenance

�� � �+31-#93 4*' �02.#4 �'9702& �#+/4'/#/%' (02.�

Page 261: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–91

92537 Format Keyword Maint Screen: V928200 Format: V928200C General Keywords PUTOVR (Y/N) . . . . . . . N OVERLAY (Y/N). . . . . . . Y –––––––––––––––––––––––––––––––––––––––– Subfile Keywords Subfile Fold . . . . . . . Y Type (A/F) . . . . . . . F Subfile Clear. . . . . . . Y Subfile Next Change. . . . Y Subfile Page . . . . . . . 8 Subfile Size . . . . . . . 30

����� ���������

������ �!��� �*' 7+&'0 3'%03& (03.#5 64'& 5*' ������ ,':803&�

#64'4 5*' 7+&'0 50 $' '3#4'& #/& 3'&+41-#:'& 8*'/ #

8+/&08 +4 &+41-#:'&�

������! �!��� �*' 7+&'0 3'%03& (03.#5 64'4 5*' ������! ,':803&�

�+-- /05 '3#4' #/& 3'&+41-#: 7+&'0 8*'/ # 8+/&08 +4

&+41-#:'&� �045 �� �� �&8#3&4 7+&'04 64' ������!�

�6$(+-' �0-& 3'#5' # (0-& #3'# +/ 5*' 46$(+-' 64+/) ������� #/&

������� ,':803&4�

�:1' ����� �635*'3 +&'/5+(+'4 46$(+-' (0-& #3'#�

� � �+-- -04' .0&+(+'& &#5# +/ 5*' 46$(+-'

8*'/ :06 13'44 ��

� � �#5# +4 3'5#+/'&�

�6$(+-' -'#3 �*+4 015+0/ 41'%+(+'4 +( :06 8#/5 50 64' ��� �� 03 �����"�

�*' &'(#6-5 +4 ��� ��� �*+4 015+0/ +4 +)/03'& 8*'/

&'4+)/+/) /0/;46$(+-' 4%3''/4�

! .'#/4 :06 8#/5 ��� ��

� 8+-- )+7' :06 �����"

�6$(+-' �'95 *#/)' �*'5*'3 03 /05 50 64' ���� � �� �!���� �+-- 3'26+3'

5*' 64'3 50 %033'%5 #/: '33034 +/ 5*' 46$(+-' $'(03' (635*'3

'9'%65+0/ 0( 5*' 130)3#.�

�6$(+-' �#)' �&/'5+(+'4 5*' /6.$'3 0( 3'%03&4 0/ 0/' 46$(+-' 1#)'� 8+5*

5*' (0-& #3'# 01'/� +( #11-+%#$-'�

� � 50 � +/%-64+7'

Page 262: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

F13

Advanced Programming Concepts and Skills

3–92 A8.1 (8/97)

����� ���������

�/�!$& �$3 �� (.$!$ - .# .).�& (/'� , )! , �),�- $( .# -/�!$& .#�.

1$&& � &)�� � $( )( *,)",�' �2�& �

� � .) ���� $(�&/-$0

F13 – Function Key/Opt Definition

��� �$-*&�2- .# �/(�.$)( � 2��*. � !$($.$)( !),'�

� �- � .) � !$( .# !/(�.$)( % 2- !), .# !),'

� �/(�.$)( � 2 � !$($.$)( !$& - ����� �(� �����

9601 Function Key/Opt Definition Action Code. . . I Video Screen . . . V928200 Video Title. . . . Item Search Line 24 Opt:1=Item Master Information F5=Item Maintenance F24=More Keys Include Description Key/Opt Field Y Exit Program 03 #FEOJ Y Clear Screen 22 #FCLR Y Help Instructions HL #FHELP Y Roll Up/Next Record RU #FROLU Y Roll Down/Previous Record RD #FROLD Y Field Sensitive Help 01 #FQMRK Y Display Error Message(s) 07 #FERRD Y Display All Function Keys_ ______________ 24 #FKEYS Y Item Maintenance 05 #F01 Y Item Master Information 01 #S01 Include: Y/N F16=Display All

����� ���������

�.$)( �)� �( �#�,��. , !$ &� /- � .) $(�$��. .# ��.$)( .#�. .#

/- , 1�(.- .) .�% )( .# , �),� , +/ -. ��

�(+/$, )( � , �),� � !), 2)/ �.. '*. .) �#�(" $.�

�$� ) ��, ( �# (�' )! .# -�, ( ), , *),. , �),� .) � �)*$ �� &&

, �),�- !), -)!. �)�$(" 1$&& � �)*$ ��

�$� ) �$.& �# 0)���/&�,2 )0 ,,$� - .$.& /- � )( !),'- �(� , *),.-�

�( !),'-� .# .$.& $- , .,$ 0 � !,)' .# � (/ .��& � �! �

, �),� $- (). !)/(�� .# ( .# .$.& $- , .,$ 0 � !,)' .#

�)���/&�,2 �0 ,,$� - .��& � � *),. .$.& - �, , .,$ 0 � !,)'

.# ��� � �,$. , � ,-$)( �� ��������

Page 263: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

F14

A8.1 (8/97) 3–93

����� ���������

�$�"*�� ���)��' %' $%) )% $�"*�� )�� �*$�) %$ %' %&) %$ !�. %$

)�� (�'��$�

�(�' &) %$ �(�' ��( )�� �*$�) %$ %' %&) %$ �- )�

��$$%) �-���� � ���'��)�'(�

��.��&) ���$) � �( )�� �*$�) %$ !�. $*#��' %' %&) %$�

�&�� �" +�"*�(

��"&(��%"" �&��%"" %,$�

� �"� ���$) � �( )�� $�#� %� )�� �*$�) %$ %' %&) %$ �- )�

��"*�( �",�.( ��� $ , )� � � �&%*$� ( �$��

F14 – Indicator Control

��� (&"�.( )�� �$� ��)%' �%$)'%" &%') %$ %� � ( #*"�)�� &'%�'�# �-��*) %$�%'#�

� �(�� , )� )�� �'%,(� #%�� )% ( #*"�)� � �%'# �) &'%�'�# �-��*) %$

928200 Item Search –––––––Indicator–Control–––––––––– Business Unit OOOOOOOO 1 2 3 4 5 6 7 8 9 O Item 1 0 0 0 0 0 0 0 0 0 0 P Number 11 0 0 0 0 0 0 0 0 0 0 Quantity On Hand UM B OOOOOOOO OO 21 0 0 0 0 0 0 0 0 0 0 OOOOOOOOOOOOOOOOO OO Code 1 . OO 31 0 0 0 0 0 0 0 0 0 0 . OOO Code 5 . OOO B OOOOOOOO OO 41 0 0 0 0 0 0 0 0 0 0 OOOOOOOOOOOOOOOOO OO Code 1 . OO 51 0 0 0 0 0 0 0 0 0 0 . OOO Code 5 . OOO B OOOOOOOO OO 61 0 0 0 0 0 0 0 0 0 0 OOOOOOOOOOOOOOOOO OO Code 1 . OO 71 0 0 0 0 0 0 0 0 0 0 . OOO Code 5 . OOO B OOOOOOOO OO 81 0 0 0 0 0 0 0 0 0 0 OOOOOOOOOOOOOOOOO OO Code 1 . OO 91 0 0 0 0 0 0 0 0 0 . OOO Code 5 . OOO B OOOOOOOO OO OOOOOOOOOOOOOOOOO OO Code 1 . OO Ignore all conditioning (Y/N) . OOO Code 5 . OOO B OOOOOOOO OO Reset all indicators (1/0) OOOOOOOOOOOOOOOOO OO Code 1 . OO ––––F3=Exit–––F12=Prev–Screen––––– . OOO Code 5 . OOO B OOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOO OOOOOOOOOOOOOOOOO OO Code 1 . OOO Code 2 . OOO Code 3 . OOO Code 4 . OOO Code 5 . OOO B OOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOO OOOOOOOOOOOOOOOOO OO Code 1 . OOO Code 2 . OOO Code 3 . OOO Code 4 . OOO Code 5 . OOO Opt:1=Item Master Information F5=Item Maintenance F24=More Keys

Page 264: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

F16

Advanced Programming Concepts and Skills

3–94 A8.1 (8/97)

F16 – List of Defined Fields

�� ��$"��*$ %�� ��$% !� ���� �� ����$ �!#��

� �$�� %! ��� %�� %�� ���� �� �����$ � � ��� ����� �����$�

� � �* $�!($ �����$ �!# %�� �!#��%$ %��% �#� ��%�'��

92540 List of Defined Fields Screen: V92801 Opt Fmt/Field Description Row/Col Typ Size Use VTX007 Item 006 013 A 30 O VTX009 Quantity 006 044 A 21 O VTX011 Ship 006 066 A 8 O VTX003 P 007 002 A 1 O VTX006 Number 007 004 A 8 O VTX008 Description 007 013 A 30 O VTX010 On Hand 007 044 A 21 O VTX012 Date 007 066 A 8 O V92801S Record Format SFL SHXIT Item ID – Hidden Field 000 000 A 8 H SFSELC Selection Exits 008 002 A 1 B SFXIT Item ID. . . . . . . . . . . . . . . 008 004 A 8 B SFXDS Description . . . . . . . . . . . . 008 013 A 30 B SFXQT Quantity On Hand . . . . . . . . . . 008 044 A 21 B Opt: 4=Delete 5=Display/Update F3=Exit F12=Prev Screen

Hidden Fields

�$�� %! $%!#� ����� ����� � �!#��%�!

�� ��� � ������ ���� �� � ��

�� �!�� %! %�� �!%%!� ��� � �� � !� %�� �!#��% %��% �! %�� $ %�� ������

�� �!!$� !"%�! �� ��$"��*��"��%��

�� � %�# %�� ����� (�%� � "#���) !� ��� ��$�#�"%�! � %*"�� $�+�� � � "#�$$ � %�#�

� ���$ � �!#��%�! $�!&�� �� %�� $��� �$ %�� ��$"��*�� ��%���$� �����

%��% �$ �����%���

Page 265: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

F17

A8.1 (8/97) 3–95

Option 5. Select Field Definition

928200 Item Search *Business Unit. BBBBBBBBBBBB OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO O Item Ship P Number Description Date Quantity On Hand UM B OOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOO OOOOOOOOOOOOOOOOO OO Code 1 . OOO Code 2 . OOO Code 3 . OOO Code 4 . OOO Code 5 . OOO B OOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOO OOOOOOOOOOOOOOOOO OO Code 1 . OOO Code 2 . OOO Code 3 . OOO Code 4 . OOO Code 5 . OOO B OOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOO OOOOOOOOOOOOOOOOO OO Code 1 . OOO Code 2 . OOO Code 3 . OOO Code 4 . OOO Code 5 . OOO B OOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOO OOOOOOOOOOOOOOOOO OO Screen:V928200––––––––––––––––Field–Definition–––––––––––––Format:–V928200C– Dict Name XCC Text Business Unit . . . . . . . . . . . . . Data Type A Field Name VTX004 Cond Ind Row/Column 3 2 Field Use O RI Size 14 Text Form R HI Dft Cursor Edited UL Lower Case Change ND OVRDTA Duplicate BL OVRATR Field Cond PR PC F3=Exit F12=Prev–Screen F17=Dictionary

� � "//"/ 0%" �&")! �"#&+&0&,+ #,.*� '1/0 �/ &# 5,1 %�! "+0"."! �+ �/0".&/(

��� #,. 0%" #&")!�

F17 – Define Soft Coding (Vocabulary Override) Fields

� � �/"! 0, !"#&+" /,#0 ,!&+$ #&")!/�

� �, !"#&+" ��� #&")!/ ,0%". 0%�+ .,3 �+! ,)1*+ %"�!&+$/ ,+ 0%" #,.*�

�,3 �+! ,)1*+ %"�!&+$/ �." -.,0" 0"! %"."� �-" &#5 3%"0%". 5,1 3�+00, 1/" 0%" ��0� �& 0&,+�.5 .,3 !"/ .&-0&,+� ,)1*+ %"�!&+$ ,. ,)1*+%"�!&+$ �

� �,1 �+ /-" &#5 0%" )&0".�) 0"40 0%�0 3&)) �" ),�!"! &+0, � ���� #&")!�

� �,1 *1/0 /�2" 5,1. #,.* �0 )"�/0 ,+ " &+ ,.!". 0, �" ��)" 0, 1-!�0"

2, ��1)�.5 ,2"..&!"/ �+!�,. #1+ 0&,+ ("5 !"#&+&0&,+/ �5 0%&/ *"0%,!� �%&/&/ �" �1/" 3%"+ 5,1 �." #&./0 !"#&+&+$ � #,.*� 0%" 2, ��1)�.5 ,2"..&!"." ,.! �+! #1+ 0&,+ ("5 !"#&+&0&,+ ." ,.! �." +,0 ."�0"! 1+0&) 5,1 /�2"0%" #,.*�

�#0". %�+$&+$ 0%" /&6" ,# � ��� #&")!� 5,1 /%,1)! "4" 10" 0%" �"�1&)!�, ��1)�.5 �2"..&!" �&")! �"+$0%/ -.,$.�* �������� �%&/ !&/-)�5/ 0%" ,.." 0 ��� #&")! )"+$0%/ &+ 0%" �&")! �&6" #&")! &+ �, ��1)�.5 �2"..&!"/�

�+ "4�*-)" ,# 0%" �"#&+" �,#0 �,!&+$ �&")!/ #,.* #,)),3/�

Page 266: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

F19

F20

Advanced Programming Concepts and Skills

3–96 A8.1 (8/97)

928200 Item Search Business Unit. BBBBBBBBBBBB OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO O Item –––––––––––––––––Define–Soft–Coding–Fields––––––––––––––––––– P Number B OOOOOOOO O Dict Screen Code 1 . O Name CH Text Description Field B OOOOOOOO O VTX001 Code 1 . O SELC C O VTX002 B OOOOOOOO O SELC D P VTX003 Code 1 . O XCC R Business Unit. . . . . . . . . . . . . . VTX004 B OOOOOOOO O XIT C Item VTX005 Code 1 . O DL01 C Description VTX006 B OOOOOOOO O XDT C Ship VTX007 Code 1 . O XQT C Quantity On Hand VTX008 B OOOOOOOO O XUM C UM VTX009 Code 1 . O XIT D Number VTX010 B OOOOOOOO O X001 R Code 1 . VTX011 Code 1 . O XDT D Date VTX012 B OOOOOOOO O Code 1 . O –––––––––––––––––––F3=Exit––F12=Prev––––––––––––––––––––––––– Opt:1=Item Master Information F5=Item Maintenance F24=More Keys

F19 – Window left

���� �����" ���

� ��� �!�� ��� ��# �� ���������� ���# "��� ��������� "��� ����� ���� �#

� ��"�� �� � ���!�� ��������

F20 – Window right

���� �����" ����

� ��� �!�� ��� ��# �� ���������� ���# "��� ��������� "��� ����� ���� �#

� ��"�� �� � ���!�� ��������

Page 267: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–97

Changing Subfile Boundaries

�# !�.#$1) 3&#+ !&�+%'+% 0&# /'6# ,$ � /1 $')# 0&.,1%& ���� �,+/'"#. 1/'+%0&#/# -.,!#//#/ 0, *�(# /1!& !&�+%#/ #�/'#. �+" )#// !,+$1/'+%�

�� ��� � ������ ����

�� �, �!!#// 0&# �#!,." �,.*�0/ �'/0 $,.*� -.#// ����

�� �&�+%# 0&# /0�.0'+% )'+# +1* #. $,. 0&# /1 $')# $,.*�0 ��44444���

� �, .#01.+ 0, ���� -.#// �+0#.�

� �, �!!#// 0&# �#!,." �,.*�0/ �'/0 $,.* �%�'+� -.#// ����

�� �&�+%# 0&# #+"'+% )'+# +1* #. $,. 0&# !,+0.,) $,.*�0 ��44444���

�� �, .#01.+ 0, ���� -.#// �+0#.�

� �,2# ,. �"" &#�"'+%/�

�� ��� � ������ � ��

�,1 !�+ .#2#./# 0&# � ,2# /0#-/ '$ 5,1 3�+0 0, *�(# 0&# /1 $')# )�.%#.� �,1*1/0 *,2# 0&# !,+0.,) $,.*�0 $'#)"/ 1- #$,.# !&�+%'+% 0&# /0�.0'+% )'+# +1* #.$,. 0&# /1 $')# $,.*�0�

�� �,2# &#�"'+%/�

�� �, �!!#// 0&# �#!,." �,.*�0/ �'/0 $,.*� -.#// ����

� �&�+%# 0&# #+"'+% )'+# +1* #. $,. 0&# !,+0.,) $,.*�0 ��44444���

� �, .#01.+ 0, ���� -.#// �+0#.�

�� �, �!!#// 0&# �#!,." �,.*�0/ �'/0 $,.* �%�'+� -.#// ����

�� �&�+%# 0&# /0�.0'+% )'+# +1* #. $,. 0&# /1 $')# $,.*�0 ��44444���

� �, .#01.+ 0, ���� -.#// �+0#.�

�� �+ ���� -.#// ��� 0, �)0#. 0&# $,.*�0�

�� �+0#. � ,+ 0&# !,+0.,) $,.*�0 $'#)"�

� �&�+%# /1 $')# -�%# /'6# '$ "#/'.#"�

�&#+ 5,1 !&�+%# 0&# /1 $')#� 5,1 *1/0 !&�+%# 0&# /1 $')# -�%# �+" /1 $')# /'6#0, !,..#!0)5 .#$)#!0 0&# /'6# ,$ 0&# +#3 /1 $')#�

Page 268: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–98 A8.1 (8/97)

Process Overview - Placing Selected Fields

�$�� .%+ ��,� �)*��" )��� .%+( � �"� & �! " )*� +)� *�� �#&�()�$� ��� *% )&�� �.-��(� .%+ -�$* *% "%��*� *�� � �"��

928011 Item Master Information Action Code. . . B & &

��� �#&�()�$� ��� ��"") +& *�� & �! " )* $ *�� � �"� ��"��* %$ �%(# -��(� .%+��$ %(��( *�� � �"�) �$� �+(*��( ��� $� *�� ( )&�� � ��* %$)�

Screen: V928200 Field Selection List Format: V928200C Seq Fields to select Row Desc Length. . 10 No Field Name Description DT Size HDG D Use 1 Qx$xIT 01 Item ID. . . . . . . . . . . . . . . S 8 0 R B 2 Qx$xCC Business Unit. . . . . . . . . . . . A 12 R D B F3=Exit F10=Formats F12=Prev Screen F16=Field List

Options

��� �%""%- $� %&* %$) �(� �,� "��"�� �%+ ��$

� �,�(( �� �%- �)�( &* %$ "�$�*�

� ��)�'+�$�� � �"�) $ " )*

� ��"��* ���� $�) ��%-� �%"+#$ ���� $�)� ����

� �)�( &* %$ � �"� ������

� �)��� ���+*&+*� ��%*� �$&+* �$� �+*&+*�

Page 269: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–99

���� ��� ���� ��������� ��� �� ��� ���� ��� ��������� ��� ��� � � ��� � ������ ��� ����� �����

928011 Item Master Information Action Code. . . . B

Item ID. . . . . . BBBBBBBB Business Unit. . . BBBBBBBBBBBB 00000000000000000000000000000000000000000

Screen: V928200 Field Selection List Format: V928200C Seq Fields to select Row Desc Length. . 10 No Field Name Description DT Size HDG D Use 001 Qx$xIT 01 Item ID. . . . . . . . . . . . . . . S 8 0 R B 002 Qx$xCC Business Unit. . . . . . . . . . . . A 12 R D B F3=Exit F10=Formats F12=Prev Screen F16=Field List

Page 270: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–100 A8.1 (8/97)

Process Overview - Revising the Field Definition

SDA Design Area

List of Defined Fields

Field Definition

Field Definition

Place asterisk in the field’sattribute byte to revise

F16

F8

=

=

Use the Field Definitioninformation to displayor create attributes forthe data item.

Option 5 nextto displayed

From the Field DefinitionInformation to displaycolor attributes for thedata item.

OR ORF10

Option 3

Page 271: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–101

Process Overview - Revising Vocabulary and Function Keys

Define SoftCoding Fields

SDA Design Area

Function Key/OptDefinitions

F17

F13

=

=

Use the Define Soft CodingFields form to define VTXfields other than row andcolumn headings.

Use the Function Key/OptDefinition screen to definethe function keys for theform.

Function Keys for Form and Display Format Control

SDA DesignArea

Indicator Control

Format DisplayControl

Browse (Y/N)Y

SDA DesignArea

F14 F5

F4

User can turn indica-tors on and off to seehow the form will look.

The form will show a subfileform that has a fold area inits folded & un–folded for-mats. The form must be inbrowse mode for this tofunction.

Use the format displaycontrol form to:1) Put the form in

browse mode2) Activate or

deactivate formats3) Enable the F4 key to

see a subfile form inthe folded orunfolded format.

Page 272: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–102 A8.1 (8/97)

Summary of Screen Design Aid

� �+0904. 5690548

� +� ����

� ��� ��

� '====�

� �� �

� � �� �

� � (4+ �

� &5: 8/5:2+ 459 :8, 9/, ��!� " (4+ ����"� 1,>8 </02, 04 !��

� �� 7,8957,8 ( -573 0- >5: (**0+,49(22> 67,88 �0,2+ �=09

� !9(4+(7+ 67,-0=,8

� $�� !�� !�

� !6,*0(2 �0,2+8

� �$"%� �$��� ���"� � ���"�� �"���

� ��"���

� $���

� ""��

� �7757 04+0*(9578 � 95 �� (7, (:953(90*(22> (880.4,+ 95 $� (4+ !� -0,2+8

9/(9 (7, +,-04,+ (8 046:9 57 046:95:96:9

� #6+(9, -0,2+8 )> :804. �

� &5: /(;, 9<5 3,9/5+8 5- (++04. -0,2+8 95 ( -573

� � �454?60*1 2089 3,9/5+�

� � �60*1 2089 3,9/5+�

� &5: *(4 6:22 04 $"%� $�� (4+ 9/, -573 +(9()(8, -0,2+8 (22 (9 9/,

8(3, 903, -57 54, +(9()(8, -0,2+

� &5: /(;, 9<5 3,9/5+8 5- 8,2,*904. +(9()(8, -0,2+8

� �(89 �(9/

� �54?�(89 �(9/ ? �**,88,8 �02, !,2,*9054 -573

Page 273: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–103

� � %�! ��� �������� �!����� ��!�������� %�! ���!�� !�� �� �! �����

��������� � ���� ��� ������� ������

� ��! �!� ��"� � ���� � ���� ���� ������ !��� ��� "����!���% �"�������

�� !�� ��� ��% ������ ���� ����!�� �� �$� ���� �� ���� �� �����������

� ��! ��� ������ ������ ���� �� ��� �� ������� ����� ����� #���� %�!

������ �% �������� �� ���� ��

� ��! ��� ������ ������ ��� � � ���

� ��! �!� �� �� � ����� ��� �$� � � �� !���% ��� �� �����

ÁÁÁÁ

Exercises �� �� �$������� ��� ��� ���� ���

Page 274: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–104 A8.1 (8/97)

Page 275: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–105

Work with Report Design Aid

About Report Design Aid

��� ��&%') ��(��$ �� ���� �( � &%,�'�*" �$� +�'(�)�"� )%%" �%' ��(��$�$�'�&%')(�

�) *(�( )�� (�#� &'%��(( �( )�� ��'��$ ��(��$ �� ����� �-��&)�

� �) �-)�$�( )% �%"*#$ ���

� �) ��( ,�$�%,�$� ��&���"�).

�%* $��� )% ���$)��. %$". ���"� $�#�(� ���"� "�$�)�(� �$� ���"� &%(�)�%$( %$ )��'�&%')�

���� ��,�'�( '�&%')( �'� �-)�'$�"". ����$��� ,���� #��$( )��) �"" )�� ��)���(�'�&)�%$ �&�������)�%$( �'� �'��)�� �$� �%#&�"�� �( � &'�$)�' ��"�� (�&�'�)��'%# )�� &'%�'�# %� ��)� ��&%') ��(��$ �� �*)%#�)���"". ��$�'�)�( )�� ���� �)�"(% �$�%'&%'�)�( )�� '�&%') �$�%'#�)�%$ �$)% )�� �%�*#�$)�)�%$ �$� ���( �) )%)�� �'%(( '���'�$�� ����"�)��(� �%* ��$ &'�$) �""*()'�)�%$( %� ���� '�&%')�

�� �����'( �'%# �� �$ )��) �)( &�'�#�)�'( �'� )�'��)�� �%' &'�$)/��(�� %*)&*)�,���� �$�"*��( &��� (!�&&�$�� "�$� (!�&&�$�� �$� '�"�)�+� &%(�)�%$�$��

��'�%'# )�� �%""%,�$� )�(!(�

� ���(( ��&%') ��(��$ ��

� �&��)� � ��"� �$ ��

� %#&�"� � ��&%')

� ��$�� )�� %#&�"� �&)�%$ ����*")( �%' ��&%')(

Page 276: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–106 A8.1 (8/97)

Example - RDA and DREAM Writer

DREAM Writer

CL ProgramJ01800

RPG ProgramP01800

ComputerAssisted

Programming

ReportTemplateR01800

R01800Version 001

ReportDesign

Aid

CreatesDDS forR01800

F98301/F98302F98303/F9831F98311/F98312

Comparing RDA and SDA – Field Definition Form

Screen: V5501Z–––––––––––––––Field Definition––––––––––––––Format: V5501ZS Dict Name $XDS Text Description. . . . . . . . . . . Data Type A Field Name SF$XDS Cond Ind Row/Column 8 13 Field Use B RI Y 44 Size Text Form HI Y 44 Dft Cursor Edited Y 44 UL Y N44 Lower Case Y Change ND OVRDTA Duplicate BL OVRATR Field Cond PR PC ––F3=Exit F12=Prev Screen F17=Dictionary––––––––––––––––––––––––––––––––––

Page 277: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–107

Report:R55400X––––––––––––––––Field–Definition–––––––––––––Format:–DETAIL1–– Dict Name $XDS Text Description. . . . . . . . . . . . . Data Type A Field Name RR$XDS Cond Ind Row/Column 9 89 Field Use O Highlight Size 12 Text Form Underline Lines Cond Ind Field Cond Space Before Char per Inch Space After Edit Code Skip Before Asterisk Fill Skip After Float Symbol ––F3=Exit F12=Prev–Screen F17=Dictionary––––––––––––––––––––––––––––––––––

����� ��� ��� ����� ��� ���

�� �! ��������� �� ��� �� � �� ���

����� ������ ��� ��"��� ��� ��� ����

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

�� �� �� ���� ������ ������

������ ��������� �� ��"���

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

����������� �� �� ������ ���

��! ��� ���� ��� �#��� ��# ���

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

������� ������� ����

��� ���� ��! �� ������ ���������

�� ��"��� � ����� ��� �� �� ���

������ �" ���# !���� ��� �! ��

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

� ����� � � ��� � ������������

����������� �� �� ���� �� ��� ��

�� ����� ��� ��! ��� � ��� ���

�� ����� ��������� ��� � �����

������ �� ������

Cover Page Fields

��� ������ ����! ���!� ��� ������ ���� �� ��� �� �� � �� �� ������� ����������� !���� ����� �� #��� ���� �# �� ���������� �� ���������

Program ID . . P01301 J.D. Edwards and /company Report Date . . . 08/1 0/96Version. . . . 048 Vendor Listing Report Time . . . 12:0 7:56 Colorado Only One Line per Address

The Following Version Options Were Selected: Print Cover Page (Y/N) . . . . . . . . . Y Print Instructions (Y/N) . . . . . . . . N The Following Forms Options Were Selected: Form Type. . . . . . . . . . . . . . . . Maximum Form Width . . . . . . . . . . . Maximum Form Length. . . . . . . . . . .

VC0CO

TXT2TTL@

TXT3

Page 278: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–108 A8.1 (8/97)

��� �$!!$+�#� (��!� %&$*���' (�� ���!� #�"�' �#� � ��'�&�%(�$# $� �����

���� ������ ��

��� ��"� $� �$"%�#- �����

���� ��#� � $� ���� �&�(�& ��&'�$# � �� �( �,�'('� $(��&+�'� �(

�' �!�#

���� ��#� � $� ���� �&�(�& ��&'�$# �� $& �!�#

���� ��#� � $� ���� �&�(�& ��&'�$# �� $& �!�#

Report Header Fields

��� ���)&� ��!$+ '�$+' (�� ���!�' )'�� $# (�� &�%$&( �����&� ���'� ���!�' +$)!��#����(� -$)& �$"%�#- �# � %&$�)�(�$# �#*�&$#"�#(�

014021 J.D. Edwards and Company Page–Version . . . . 048 Vendor Listing Date– 08/10 /96 Colorado Only One Line per Address

Address Name Phone Line2 Line3 ST P ostalNumber Number C ode– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – 4008 Allied Steel 779–1675 Attn: Andrew Carnegie 4949 S. Syracuse Pkwy CO 80112 6805 American General Insurance Co. (303) 522–7575 1717 Chamber St. Denver CO 80202 4004 American Supply Company (303) 321–5648 2658 Sherman Street Denver CO 80131 5004 Apple Hotel (303) 773–3733 1234 Mercy Road Englewood CO 80237 1119 Arapahoe Hospital 773–7355 1476 Arapahoe Road Englewood CO 80111 4003 Arapahoe Plumbing (303) 798–1515 c/o Phillips, Andover 25 DTC Center CO 80121 1759 Ashby, Arnold (303) 643–4132x1611 4329 S. Adams Street Denver CO 80121 4976 August, Rodin (707) 456–2245 94 Rue de Balrac Paris CO 7018 Bank of America So. St. Louis Denver CO 80327 7211 Bovaird, Georgia (303) 733–5546 707 Vine Street Denver CO 80209

VC0CO

RRTXT2RRTTL@

RRTXT3

��� �$!!$+�#� (��!� %&$*���' (�� ���!� #�"�' �#� � ��'�&�%(�$# $� �����

���� ������ ��

��� ��"� $� �$"%�#- �����

������ ��#� � $� ���� �&�(�& ��&'�$# � �� �( �,�'('� $(��&+�'� �(

�' �!�#

������ ��#� � $� ���� �&�(�& ��&'�$# �� $& �!�#

������ ��#� � $� ���� �&�(�& ��&'�$# �� $& �!�#

Page 279: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–109

What Are the Report Formats?

�)& '*123 23&0 *. %&2*(.*.( " .&6 1&0/13 *2 %&3&1-*.*.( 3)& '/1-"3 /' 3)& 1&0/13�!/4 2)/4,% "$$/4.3 '/1 ",, ,*.&2 /' *.'/1-"3*/. /. 3)& 1&0/13 3/ $/11&$3,8 %&'*.&3)& '/1-"32 .&&%&% ".% 3)&*1 2*9&�

����� ����� �� ������

.8 '/1-"3 ���

����

22*(.2 3)& '*123 "5"*,"#,& ��

."-& 3/ 3)& '*&,% ".% (&32 "

%&2$1*03*/. '1/- 3)& �"3"

�*$3*/."18 3)"3 8/4 $". $)".(&�

22*(.2 3)& '*123 "5"*,"#,& ���

'*&,% ".% "22*(.2 " %&'"4,3 2*9& /'

3)*138�

�� ���� � $/.3"*.2 3)&

23".%"1% '*&,%2 3/ #& 01*.3&% /.

3)& 3/0 /' &5&18 0"(&

�� ��

�� ��

�� ��

�� ��

�����

������

��� � �

��� ��

�)& %&'"4,3 �� '*&,% 6)*$) 01*.32

3)& 1/6 %&2$1*03*/.� �"(& ��

�)& %&'"4,3 20&$*", '*&,% 3)"3

*.2&132 3)& ��� +&86/1% � ����

*. 3)& 2/41$& ".% 1&31*&5&2 3)&

$411&.3 0"(& .4-#&1 /. 3)&

1&0/13�

�)& %&'"4,3 �� '*&,% 6)*$) 01*.32

3)& 1/6 %&2$1*03*/.� �"3& ��

�0&$*", '*&,% 3)"3 1&31*&5&2 3/%"8�2

%"3&�

�)& ."-& /' 3)& %&'"4,3 $/-0".8

���� *3 "00&"12 /. 3)& '*123 ,*.& /'

&"$) 0"(&�

�*.& /' ��� � �1*3&1 �&12*/.

�� *' *3 &7*232� /3)&16*2& *3 *2 #,".+�

��� � �1*3&1 /5&11*%&2 3)"3

$/11&20/.% 3/ 3)& 2&$/.% ".%

3)*1% )&"%&1 ,*.&2 /' 3)& 1&0/13�

�� ���� � $/.3"*.2 3)&

24#)&"%*.( '*&,%2 42&% 3/ %&2$1*#&

3)& ,&5&, #1&"+ %&3"*, 3)"3 *2 3/

'/,,/6

������

�����!

������

�"3" �*$3*/."18 1/6 %&2$1*03*/. /'

3)& ,&5&, #1&"+ '*&,%�

�)& 5",4& /' 3)& ,&5&, #1&"+ '*&,%�

�)& %&2$1*03*/. /' 3)& 5",4& /' 3)&

,&5&, #1&"+ '*&,%�

��� �� � $/.3"*.2 3)& %"3" ,*.&

'*&,%2

��7777 �)& 5",4& /' 3)& %"3" '/1 3)*2 '*&,%

Page 280: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–110 A8.1 (8/97)

����� �� �����������

������ � �%$)� $( )�� )%)�" " $�

� �"�(

�����

�� ��

���

�����

�)� �) %$�'. '%, ��(�' &) %$ %�

)�� "�+�" �'��! � �"�

��� +�"*� %� )�� "�+�" �'��! � �"�

��� ��(�' &) %$ %� )�� "�+�" �'��!

� �"�

��"*� %$ )%)�" " $��

�%* ��$ ��+� �( #�$. �%'#�)( �( .%* ��$ � ) %$ %$� �� �%'#� �*() '�#�#��')% $�'�#�$) )�� (*�� - $*#��' �%' ���� �%'#�) ����� �( ,�"" �( �$. � � �"�(.%* #�. �� *( $��

�')� $ � �"�( �'� *(�� $ �� ,��$ ��$�'�) $� '�&%')( )��) �%$)� $ (*����� $�(%' �.$�# � �� �'�'�� ��"� )%)�" $�� ��� �%""%, $� ""*()'�)�( �%, )��(� � �"�( �'�*(�� , )� $ � '�&%')�

VC0ROWRR Fields

$$ Fields

VC1ROW

VC0KEY VC0DSC

HEADING1

HEADING2

DETAIL1

TOTAL1

VC1KEY VC1DSC

Item Description Quantity

Business Unit

Business UnitBusiness Unit

Business Unit

Denver

Denver

Boulder9

4

850

300400150

4

1 Bolt2 Nut3 Nail

What Are the Report Design Standards?

��� �%""%, $� ( � " () %� '�&%') ��( �$ ()�$��'�(� �( $� )��(� ()�$��'�( , "" � +�.%*' '�&%')( �$ *$ �%'# �&&��'�$���

Page 281: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–111

RDA Features

�&$� �& *!� ���*+(�) &� ��� �(�

� �&($�# ��)" % (�% � &� � � ��� �!�(��*�( (�'&(*)

� ��#"��*�) � �"%)* *!� ��*� �"�*"&%�(/

� �+*&$�*"��##/ ���) (��&(�) *& *!� ,&���+#�(/ &,�(("��) �"#�

J.D. Edwards Standards for Record Formats

�(��". )*�%��(�)

� �� �&( &+*'+* �"�#�)

� �� �&( *&*�# �"�#�)

General Aesthetics

�!�% '&))"�#�� ��)" % /&+( (�'&(*) +)"% *!� �&##&-"% )�* &� (+#�)

Column Headings

�&#+$% !���"% ) )!&+#� %&* �� -"��( *!�% *!� #�% *! &� *!� ��*� *!�* �''��(��#&- *!�$�

Alignment

�� "% �"�#�) "% �&#+$% )'��� �%� �& %&* �.*�%� �"�#�) ��/&%� �&#+$% �+%#�)) %���))�(/�

Spacing

�)� *!� �&##&-"% �) /&+( +"��) -!�% )'��"% �"���(�%* (�'&(* �#�$�%*)

� ��'�(�*� �&#+$% !���"% ) �/ &%� )'���

� �)� �&*! �&#+$% !���"% ) -!�% &%� !���"% ") %&* �#��( �%&+ !

Special Effects

�&+ )!&+#� �#-�/) +)� ��)!�) ��#&- �&#+$% !���"% ) "%)*��� &� +%��(#"%�)��%��(#"%�) ��% "$'��* *!� '�(�&($�%�� &� '("%*�()� �&+ �%*�( ��)!�) �) #"*�(�#�"�#�)�

�& %&* +)� !" !#" !* �) "* '("%*) � #"%� *!(�� *"$�) *& ��!"�,� *!� !" !#" !*�� �&(�&#������ �����*� � �"% "$'��*"% '�(�&($�%���

Page 282: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–112 A8.1 (8/97)

Format

�" �("�� "(�$��")� �� �& &�� !' ��$ "� ��!�% �! �!+ ��&��� "$ &"&�� �"$ �& &" %�*"$ ��%%�

Line and Page Skipping

�" �� �"!%�%&�!& )�&� "&��$ $�#"$& #$"�$� %� '%� ����� �!� � ��� �!%&��� "������ �!� � ����

About Designing the Report

� � �$� ���!� �$��&�� �% +"' ��%��! &�� $�#"$&

� ����� �!� ����� �$� �!&�$�� �!� $� "(�� �% +"' ��� �!�

"(� �����% �$"'!��

� �'�&�#�� �"$ �&% �$� $���&�(� &" ���� "&��$�

� ��� ���� � ��

���!��!� &�� ��#"$& ��&�� TTL@

����!� � ��) ����� �� �

�#��&�!� *�%&�!� �����% �

���&�!� �! *�%&�!� ����� �� "! ����� ����!�&�"! �"$

�"$ �& �� � �%#��+�� �! '##�$ $���& ��!� �"$!�$ "� �"$ �

����� #"%�&�"!% ��#$�%�!& %&�$&�!� #"%�&�"!%�

Page 283: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–113

Accessing Report Design Aid

� & �&$% ��'� ����$$ % %�� $ &#�� ���� % ��%�# ���

� ����� �� �� ���� ���

�# � %�� %�� � �%(�#� ��#$� �$ ��! $�% #)

9801 Software Versions Repository Action Code. . . I Member ID. . . . R928400 Description. . . Inventory by Cost Center w/o Subheadings Function Code. . PRTF Printer Files Function Use . . 161 Simple Reports System Code. . . 92 Computer Assisted Design Reporting System 92 Computer Assisted Design Base Member Name P928400 File Prefix. . . Maint/RSTDSP . . 1 Omit Option. . . S Generation Sev . Copy Data (Y/N). N Optional File. . N Common File. . . N

O Source Object Source SAR Version S D User Date P Library Library File Number ID C P ID Modified JDFSRC71 JDFOBJ71 JDESRC 834451 A71 1 QUARLES 10/26/94

Opt: 1=Browse 2=Edit 3=Copy 5=SAR 8=Print 9=Dlt 10=Design 14=Crt F24=More

�� �"&�#� � � #�! #%�

�� !) %�� !# �&�%� � $ &#�� � �� � (� % � ��'�� !���% ��'�# ����%�

�� � $� !%� � �� � %�� � �%(�#� ��#$� �$ ��! $�% #) � #� % � % %���!!# !#��%� ��$��� �� � #� ��$�� � %�� �����#$ �&��%� � �� '��&��

� � � % ��! #% ��$��� ��� ��%�# *����� # *����� �� %�� �&��%� �

�� �����

Page 284: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–114 A8.1 (8/97)

Updating a Field in RDA

��� ����� ���� �%�! �!#� � �� �$ $����%�* �����#� % �#!� ���

�� ���� � �� �� ���

�#!� �!�%(�#� ��#$�! $ ��"!$�%!#*� ��!!$� %�� ��$�� !"%�! �

�� %�# +�� � %�� ����� *!& (�$� %! &"��%��

928400 OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO Inventory by Business Unit OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO Business It Unit Description Ty Description –––––––––––– –––––––––––––––––––––––––––––– –– –––––––––––––––––––––––––––––– – *OOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO O OOOOOOOOOOOOOOOOOOOOOOOOOO Report:R928400––––––––––––––––Field–Definition–––––––––––––Format:–DETAIL1–– Dict Name XCC Text Business Unit. . . . . . . . . . . . Data Type A Field Name RRXCC Cond Ind Row/Column 9 2 Field Use O Highlight Size 12 Text Form Underline Lines Cond Ind Field Cond Space Before 1 Char per Inch Space After Edit Code Skip Before Asterisk Fill Skip After Float Symbol ––F3=Exit F12=Prev–Screen F17=Dictionary––––––––––––––––––––––––––––––––––

�� ��� �������

�"��� ��!#� �"������$ %�� &���# !� �� �$ � "#� %�# ��'��� �$ %! $"���

���!#� "#� %� � %�� �)% �� ��$�

�"��� �%�# �"������$ %�� &���# !� �� �$ � "#� %�# ��'��� �$ %! $"���

��%�# "#� %� � %�� �)% �� ��$�

Skip Before �"������$ %��% %�� "#� %�# ��'��� �$ %! $��" %! � $"������ �� �

&���# ���!#� �% "#� %$ %�� �)% �� ��$��

Skip After �"������$ %��% %�� "#� %�# ��'��� �$ %! $��" %! � $"������ �� �

��%�# �% "#� %$ %�� �)% �� ��$��

����� �! � � ����%�$ (��%��# %�� ����� �! ��%�! � � �%! "#� % %��$ �����

!# !%� �$ � �����%�

Page 285: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

F5

A8.1 (8/97) 3–115

����� ���������

�$�- ,!- �*�$ �,!�%"%!. /$! $+-%4+*/�( ,-%*/%*# !*.%/3�

�� � � 2�- . .,!�%"%!. /$%. �/ /$! -!,+-/ (!1!( �* /$%. "%!(

%. *+/ 0.! �

� %/ �+ ! �.! /+ .,!�%"3 +0/,0/ "+-)�//%*# +" *0)!-%� �/��

�.! %* �+*&0*�/%+* 2%/$ � ���� ������ ������

�./!-%.' �%(( �,/%+*�((3 .,!�%"3 �./!-%.' "%(( "+- ! %/ �+ !. ��� �� � �*

����

�* �./!-%.' 2%(( ,-%*/ "+- !��$ 4!-+ .0,,-!..! %* /$!

! %/! "%!( �

�(+�/ �3)�+( �,!�%"3 � �0--!*�3 .3)�+( ��+--!.,+* %*# /+ /$! .3./!)

1�(0! �������� /$�/ 2%(( �! ,-%*/! %))! %�/!(3 /+ /$!

(!"/ +" /$! (!"/�)+./ %#%/ +" �* ! %/! "%!( �

��(% "+- � *0)!-%� "%!( /$�/ $�. �* ! %/ �+ ! +" ���

�� � +- ����

Understanding the Report Design Aid Function Keys

F5 – Format Display Control

�� �$+2. /$! �+-)�/ %.,(�3 �+*/-+( ,+-/%+* +" � "+-)�

928400 OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO Inventory by Business Unit OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO Business It Unit Description –––––Format–Display–Control––––––– –––––––––––– –––––––––––––––––––––––––––– Sel Format Type Boundaries OOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOO 1 HEADING1 REPORT 001 008 1 DETAIL1 REPORT 009 009 1 TOTAL1 REPORT 010 011 Window: Row 001 Col 001 Browse (Y/N) N Form Width 132 Opt:1=Display–Fmt––F3=Exit–F12=Pre

Page 286: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

F6

Advanced Programming Concepts and Skills

3–116 A8.1 (8/97)

����� ���������

�&, �&,&$3*/.�

�/.31/,2 3)& %*20,"7 /' 1&$/1% '/1-"32�

�/1-"3 �*232 3)& ��� '/1-"3 ."-&2�

",*% '/1-"3 ."-&2 "1&�

� ��������

� �������

� �������

� ������

�70& �&2$1*#&2 3)& ��� '/1-"3 370&�

�,6"72 ������ /1 ������ *. ����

�/4.%"1*&2 �6/ �%*(*3 .4-#&12 3)"3 %&'*.& 3)& 1".(& �1/62� '/1 3)&

����

� �������� *2 1/62 � 3/ �

� ������� *2 1/6

� ������ *2 1/62 �� 3/ ��

Window �,,/62 7/4 3/ "$$&22 '*&,%2 /432*%& 3)& #/4.%"1*&2�

�1/62& �!��� �.%*$"3/1 3)"3 ",,/62 7/4 3/ &."#,&�%*2"#,& 3)& #1/62&

-/%&�

��� -*()3 "43/-"3*$",,7 "%+423 %*20,"7&% '/1-"32 6*3) 3)/2& '/1-"32 3)"3 "1& ./3%*20,"7&%�

F6 – Repository Services

��� �)/62 3)& �&0/2*3/17 �&15*$&2 0/13*/. /' " '/1-�

Page 287: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

F10

A8.1 (8/97) 3–117

928400 OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO Inventory by Business Unit OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO Business It Unit Description Ty Description –––––––––––– ––––––––––––––––– 985001––––Repository–Services–––––––––––––––– OOOOOOOOOOOO OOOOOOOOOOOOOOOOO “1” Available Services Data Dictionary Menus Vocabulary Overrides Function Key Definitions Processing Options User Defined Codes Edit System Helps _ CASE Profiles _ SAR Log Inquiry Copy DD,VO,DW,UDC,SI,Menus –Sel:––“1”=Select–––––F12=Previous–––––––––––

F10 – Record Formats List

���� ������� ��� ����� ������ ���� �����

92520 Record Formats List Report: R928400 Start Fast Path / End Related # Fields Fld Opt Format Name Type File Lines Record Selected Pfx HEADING1 REPORT 001 008 000 RR 1 DETAIL1 REPORT F92801 009 009 000 RR TOTAL1 REPORT 010 011 000 $$ Opt: 1=DB Field Selection 3=Field List 4=Delete 5=Format Keywords

�� ����� ������ �������� ��� ��������� �� ���� � �� ���� ������ � ����� ������� �� ��� ��� ���� �� �� ������

Page 288: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–118 A8.1 (8/97)

����� ���������

�#' !'�% '�� �##%"#%��'� !( ��% '" �!����'� ,"( *�!' '"

&����' "!� "� '�� �"��"*�!� )��(�&�

��������� #��� ��&' "� � #�%&�!� �(!�'�"!&���������� #��� ��&' �"% ��&' #�'� �(!�'�"!&���&' "� ����!�� �����& �! '�� �"% �'�����'� �"% �'����"%� �"% �' ��,*"%�&�

"% �' � � ��%��! %��"%� �"% �'�

��� �"% �' !� � *��� �� '�� )���" �� �"��"*�� �, �

&#������ �"% �' &(���+ )��(�� �,#�����,� '�� &(���+ )��(�&

�%��

&(����� �"!'%"� �"% �'&(����� �"% �'%��"%� �"% �'

�� ����'�"!�� �"% �'& �%� %�$(�%��� ���� �"% �' !� � (&'

�� (!�$(� &" !�* �"% �' &(���+ )��(�& (&' �� �&&��!���

�,#� ���"%� �"% �' ',#�� ��� ',#�& ��&'�� ���"*�

�&' ��'� ��� ��� ��'� ��&� ���� ,"( *�!' '" &����' �����& �%" �

�'�%'�!� ��!�& �#������& '�� ��!� !( ��% %�!�� "� '�� �"% �'�

����'�� ���"%� ���� '��' '��& � &(����� '" � �"!'%"� %��"%� �"% �'�

��$(�%�� �! ��� ����� %��"%� �"% �'&�

�� ��+ ��%��! ����� #%���+ '" �� (&�� �"% '�� )���" �����&� ��� ��

���%� &�"(�� �� !" ��#& ��'*��! '�� �!� ��!� "� "!� �"% �' �!� '�� &'�%' ��!�"� '�� !�+' �"% �'� �� ,"( ��� ���!��& '" '�� #"&�'�"!�!� "� � �"% �' �!� ���)�� ��# ��'*��! �"% �'&� ��� *��� �('" �'�����, ���(&' '�� �!� ��!�& �"% ,"(�

Page 289: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

F14

F16

A8.1 (8/97) 3–119

F14 – Indicator Control form

���� �������� ��� � ������ ������� �����

928400 OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO –––––––Indicator–Control–––––––––– Inventory by Business Unit OOOOOOOOOOOOOOOOOOOOOOOOOOOO 1 2 3 4 5 6 7 8 9 OOOOOOOOOOOOOOOOOOOOOOOOOOOO 1 0 0 0 0 0 0 0 0 0 0 Business 11 0 0 0 0 0 0 0 0 0 0 Unit 21 0 0 0 0 0 0 0 0 0 0 Description –––––––––––– 31 0 0 0 0 0 0 0 0 0 0 –––––––––––––––––––––––––– – OOOOOOOOOOOO 41 0 0 0 0 0 0 0 0 0 0 OOOOOOOOOOOOOOOOOOOOOOOOOO O 51 0 0 0 0 0 0 0 0 0 0 61 0 0 0 0 0 0 0 0 0 0 OOOOOOOOOOOOOOOOOOOOOOOOOO 71 0 0 0 0 0 0 0 0 0 0 81 0 0 0 0 0 0 0 0 0 0 91 0 0 0 0 0 0 0 0 0 Ignore all conditioning (Y/N) Reset all indicators (1/0) ––––F3=Exit–––F12=Prev–Screen–––––

F16 – Display All Defined Fields

���� �������� ��� ��� �� ������ ���� � �����

92540 List of Defined Fields Report: R928400 Opt Fmt/Field Description Row/Col Typ Size Use HEADING1 Record Format REPORT *LITER 001 003 6 O VC0CO Company Name 001 046 A 40 O VTX001 Page No. . . . . . . . . . . . . . . 001 112 A 12 O *PAGE 001 125 4 0 O RRTTL@ Inventory by Business Unit 002 046 A 40 O VTX002 Date – . . . . . . . . . . . . . . . 002 112 A 12 O *DATE 002 125 6 0 O RRTXT2 Processing Option Text 003 046 A 40 O RRTXT3 Processing Option Text 004 046 A 40 O VTX003 Cost 006 002 A 12 O VTX006 Item 006 046 A 2 O VTX009 Item 006 080 A 8 O VTX011 Ship 006 109 A 8 O Opt: 4=Delete 5=Display/Update F3=Exit F12=Prev Screen

Page 290: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

F17

F19

F20

Advanced Programming Concepts and Skills

3–120 A8.1 (8/97)

F17 – Maintain Vocabulary Override Fields

��� � �� !� ����!��� #����"���% �#������ ����� �

928400 OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO Inventory by Business Unit OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO –––––––––––––––––Define–Soft–Coding–Fields––––––––––––––––––– Business Unit Dict Screen –––––––––––– Name CH Text Description Field – OOOOOOOOOOOO PAGN R Page No. . . . . . . . . . . . . . . . . VTX001 O DATE R Date – . . . . . . . . . . . . . . . . . VTX002 XCC C Business VTX003 OO XCC D Unit VTX004 DL01 C Description VTX005 XTY C Item VTX006 XTY D Type VTX007 DL01 C Description VTX008 XIT C Item VTX009 XIT D Number VTX010 XDT C Ship VTX011 XDS D Description VTX012 –––––––––––––––––––F3=Exit––F12=Prev–––––––––––––––––––––––––

��" �" ! �#� %�"� �����! �! ��� ! ���� !� "���!� #����"���% �#������ �% !�� ��!���� �� � ����" � $��� %�" ��� ��� ! �������� � �����!� !�� #����"���%�#������ ������ � ��! ����!�� "�!�� %�" �#� !�� �����!�

F19 – Window Left

� � �����$ ���!

F20 – Window Right

�� � �����$ ����!

Page 291: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–121

Compiling A Report

� ����� � ����

���� ��� ������� ������� ���������� ����

9801 Software Versions Repository Action Code. . . I Member ID. . . . R928400 Description. . . Inventory by Cost Center w/o Subheadings Function Code. . PRTF Printer Files Function Use . . 161 Simple Reports System Code. . . 92 Computer Assisted Design Reporting System 92 Computer Assisted Design Base Member Name P928400 File Prefix. . . Maint/RSTDSP . . 1 Omit Option. . . Generation Sev . Copy Data (Y/N). N Optional File. . N Common File. . . N

O Source Object Source SAR Version S D User Date P Library Library File Number ID C P ID Modified JDFSRC71 JDFOBJ71 JDESRC 834451 A71 1 QUARLES 10/26/94 14 STB301SRC STB301OBJ JDESRC 241883 A71 2 STUDENT3 07/19/95 Opt: 1=Browse 2=Edit 3=Copy 5=SAR 8=Print 9=Dlt 10=Design 14=Crt F24=More

����� �� ���� �� ��� ������ �� ��� ������� ��� ��� ��� �� ����� � �����������

Page 292: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–122 A8.1 (8/97)

� ��� � �� ��� � �������� � �������

Printer File Parameters Member ID. . . . . . . R928400 Forms Length . . . . . 068 Forms Width. . . . . . 132 Lines/Inch (4/6/8/9) . 8 Char./Inch (10/15) . . 15 Overflow Line. . . . . 062 Align Forms. . . . . . N Form Type. . . . . . . *STD Copies . . . . . . . . 001 Separator Pages. . . . 1

�� ��� ��� ��� ����� �� ������ �� ����� ��� �� ��������

Page 293: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 3–123

Changing the Compile Option Defaults for Reports

-2 +201 #-+.)*% /%.-/10 1(/-2'( 1(% ���� �$4!/$0 #-+.)*%/ "6 1()0 +%1(-$ 0-1(!1 ������� !,$ ������ !/% .2**%$ ), &-/ 1(% #-3%/ .!'% !,$ (%*.),01/2#1)-,0� �-+.)*),' 1(/-2'( 1(% �/-$2#1)-, �%3%*-.+%,1 �!,!'%/ ����� -/0-+% -1(%/ +%1(-$ 4)** ,-1 "/),' 1()0 ),&-/+!1)-, ), !21-+!1)#!**6�

�� �� �� ������ ���� �������� ��� �������

�(!,'% 1(% �!1! �)#1)-,!/6 $%&!2*10 &-/ 1(% &-**-4),' $!1! )1%+0�

� ����� �-/+0 �%,'1(

� ����� �-/+0 �)$1(

� ���� �),%0 �%/ �,#(

� ���� � �(!/!#1%/0 �%/ �,#(

� ����� �3%/&*-4 �),% �2+"%/

� � �� � *)',+%,1 � ���

� ��� � �-/+ �6.%

� ��� � �2+"%/ -& �-.)%0

� ���� � �2+"%/ -& �%.!/!1-/ �!'%0

�-+% 0%3%/)16 *%3%* � %//-/0 #!, -##2/ 4(%, 6-2/ /%.-/1 #-+.)*%0"%#!20% -& ������� ���� � �/)1%/ #-3%/ .!'%� !,$ ������ ���� ��/)1%/ (%*. ),01/2#1)-,0�� �(%0% !/% -,*6 4!/,),' %//-/0�

ÁÁ Exercises�%% 1(% %5%/#)0%0 &-/ 1()0 #(!.1%/�

Page 294: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

3–124 A8.1 (8/97)

Page 295: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–1

Programming Standards

Objectives

� �� ���������� ��� ��� ���� ��!���� ����������� ���������

Programming Standards

��� ������ ��������� ��� �� �� ��� ������" �������� �� ���� ��!��������������� ���������� ����� ��������� ������� ����������� ��� ����������������� ���� ���� ��� ����������� �������� ��� �����!��� ����� ��� �� ���� ����� ����������� ����������

� ������ ��������������

� ������ �� ��!

� ������ ���������

� ���������� ������

� ��� ������

� ��� �������

� ���� ��� ���

� ���������� ��� ���

� ����� ����

� ���� ��!���� ������ ��������

Page 296: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–2 A8.1 (8/97)

Page 297: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–3

Program Specifications

About Program Specifications

�- � -�,$� � $( ����- ���������� ����� ������ ��� �� .# , �, - 0 ,�& %$(�-)! ������ -* �$!$��.$)(-� �# ( 3)/, -)/,� *,)",�' $- �)'*$& �� .# - -* �$!$��.$)(- �, �,,�(" � $( .# !)&&)1$(" - +/ (�

� )(.,)& -* �$!$��.$)(- �� �* �-�

� �$& � -�,$*.$)( -* �$!$��.$)(- �� �* �-�

� �2. (-$)( -* �$!$��.$)(- �� �* �-�

� �(*/. -* �$!$��.$)(- �� �* �-�

� �&�/&�.$)( -* �$!$��.$)(- � �* �-�

� �/.*/. -* �$!$��.$)(- �� �* �-�

�( ������ *,)",�' �) - (). #�0 .) /- �&& -* �$!$��.$)(-� � .3*$��& ������1�,�- *,)",�' �)(.�$(- �)(.,)&� !$& � -�,$*.$)(� 2. (-$)(� $(*/.� ��&�/&�.$)(��(� )/.*/. -* �$!$��.$)(-� �# !)&&)1$(" � -�,$*.$)(- �, !,)' .# � ��������������� ������ ��� �� �(� �, , * �. � # , !), 3)/, �)(0 ($ (� �

Page 298: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–4 A8.1 (8/97)

What Are Control Specifications?

��� ������� �������������� ������� ��� ���� �� ��� ��������

� ��� ����� ���� ���������� ��� �������� �������� ��������� ��� ������������

��� ���������� ������

� ��� ��!� �������� ����� ��� �������� ���� ��� �������� �� ��� �� ����

�������� ��� ���"����� �������� ��� ������������ �������������

Columns . . . : 1 71 Browse DEVSRC/JDESRC

SEU==>> P55011X FMT ** ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 *************** Beginning of data *************************************0001.00 H/TITLE P55011X – Item Information Update0002.00 H* –––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––0003.00 H*0004.00 H* Copyright (c) 19930005.00 H* J. D. Edwards & Company0006.00 H*0007.00 H* This unpublished material is proprietary to0008.00 H* J. D. Edwards & Company. All rights reserved.0009.00 H* The methods and techniques described herein are0010.00 H* considered trade secrets and/or confidential.0011.00 H* Reproduction or distribution, in whole or in part,0012.00 H* is forbidden except by express written permission0013.00 H* of J. D. Edwards & Company.0014.00 H*0015.00 H* –––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––0016.00 F* F3=Exit F5=Refresh F9=Retrieve F10=Cursor F12=Cancel F16=Repeat find F24=More keys

Page 299: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–5

What Are File Description Specifications?

��� ��"�!� #��� " �������#���" � � ��"� ��"�!��� ��� #�� ����" #��# (�$! !��!��$"�"� ��� ����!��#��� ��! ���� ���� ����$��"�

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

� ��& #�� ���� �" $"�� ���! �'�� ��� �� $#�

� ��� "�)� �� !���!�" �� #�� ���� ��! ��#�!��� ����" �! �� �'#�!���

��"����#���

� ���#��! �! ��# #�� ���� �" ��(��

� �� $# �! �$# $# ��%��� $"�� ��! #�� ����

� �� #�� ���� &��� ��%� !���!�" ����� #� �#

Columns . . . : 1 71 Browse DEVSRC/JDESRC

SEU==>> P55011X

FMT ** ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 70027.00 F*0028.00 FF0001 IF E K DISK0029.00 FF5501X UF E K DISK A0030.00 FV55011X CF E WORKSTN KINFDS SRVFDS0031.00 F*****************************************************************0032.00 F*0033.00 F* Copy Member for Composite Common Subroutine – C00010034.00 F*0035.00 F/COPY JDECPY,D00010036.00 F*****************************************************************0037.00 E*****************************************************************0038.00 E* PROGRAM TABLES AND ARRAYS0039.00 E* –––––––––––––––––––––––––0040.00 E* F3=Exit F5=Refresh F9=Retrieve F10=Cursor F12=Cancel F16=Repeat find F24=More keys

���� #�� �!��!�� ���!�#�! ����!�#�" � !��!��� �# �!!����" #�� ����$��� ����"�� �� ����#���� �!��! &�#��� #�� � ��"�

���� � !��!�� !$�"� �# � ��" #�� ����" �� ��##��*#�*#� �!��!� �" � ����!��!$���

� ����� #�� ����" #��# ��%� #�� ��"# �� " �# #�� ��##�� �� #�� " ��"�

� ����� ��( "���� $"��� ����" �! ����" #��# �!� ���"�� ��#�! ��!"# $"� �# #�� #�

�� #�� " ��"�

� ����� #�� ��" ��( �! !��# ����" �# #�� ��##�� �� #�� ��"#�

Page 300: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–6 A8.1 (8/97)

�$' � ,#(/, � + *. ,- !(+ -# �(&)$% + -( �()1 $' � ,) �, !+(& ������� %% �,) � �()$ , � "$' /$-# ��

What Are Extension Specifications?

�0- ',$(' ,) �$!$��-$(', � ,�+$� �%% -��% , �'� �++�1, ., � $' -# )+("+�&� �# $'!(+&�-$(' $'�%.� ,�

� ��& (! -# !$% � -��% � (+ �++�1

� �.&� + (! '-+$ , $' � -��% (+ �++�1 $').- + �(+�

� � '"-# (! -# -��% (+ �++�1 '-+1

� �)-$('�% �(&& '- - 0-

Columns . . . : 1 71 Browse DEVSRC/JDESRC SEU==>> P55011X FMT ** ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 70040.00 E*****************************************************************0041.00 E* PROGRAM TABLES AND ARRAYS0042.00 E* –––––––––––––––––––––––––0043.00 E*0044.00 E EMK 64 4 Error Msg0045.00 E @MK 64 1 Error Msg0046.00 E @ER 64 4 Error Msg0047.00 E @DV 40 1 Dflt Wrk0048.00 E*0049.00 E*0050.00 E* Copy Member for Composite Common Subroutine – C00010051.00 E*0052.00 E/COPY JDECPY,E00010053.00 E*****************************************************************

F3=Exit F5=Refresh F9=Retrieve F10=Cursor F12=Cancel F16=Repeat find F24=More keys

�$' , �� -#+(."# �� �+ ., � $' -#$, )+("+�& -( !��$%$-�- ++(+ #�'�%$'" �'� !$ %� �$-$'"�

� �# !$+,- %$' � !$' , �' �++�1 ��%% � ��� /#$�# #�, � &�0$&.& (! �

'-+$ ,� ��# /$-# � % '"-# (! � �#�+��- +,�

�$' � + *. ,-, -#�- -# �(&)$% + )+("+�& �()1 $' � ,) �$!$� , - (! � �) �,�

� �# � �) �,� ������ �+ ., � $' �'1 )+("+�& -#�- 0 �.- , -# �(&&('

,.�+(.-$' � ������

Page 301: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–7

What Are Input Specifications?

� %$ # �������$���# ��#�"��� $�� "���"�#� �����#� ��$� #$"%�$%"�#� ��� ��������#$��$# %#�� �( $�� "��"��� ��� ����"��$��� �� $�� �� %$ # �������$���#����%��#

� ��� ���� �� $�� ����

� ��� #�!%���� �� "���"� $( �#

� ���$��" "���"�*����$��(��� ������$�"#� ���$"��*��&�� ������$�"#� �����*"���"�

"���$��� ������$�"#� �" ����� ������$�"# �"� %#��

� ���$��" ��$� #$"%�$%"�#� ����*����� �����#� "���"� ����$�����$��� ����#� �"

��$�� �����# �"� %#��

� ��� $( � �� ���� ���� ��� ���%��"�� �" �%��"��� �����*�������� )����

�������� �" ����"( ��"��$�

� ��� ����$��� �� ���� ����� �� $�� "���"�

� ��� ���� �� ���� ����� �� $�� "���"�

� ��� ����� ���#$��$#

Columns . . . : 1 71 Browse DEVSRC/JDESRC SEU==>> P55011X FMT ** ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 70067.00 I*****************************************************************0068.00 I* PROGRAM INPUT SPECIFICATIONS AND DATA STRUCTURES0069.00 I* ––––––––––––––––––––––––––––––––––––––––––––––––0070.00 I*0071.00 I* Data Structure to Load Video Screen Text0072.00 I*0073.00 IDSTXT DS 5200074.00 I 1 18 VTX0010075.00 I 41 58 VTX0020076.00 I 81 92 VTX0030077.00 I 121 138 VTX0040078.00 I 161 178 VTX0050079.00 I 201 218 VTX0060080.00 I 241 258 VTX0070081.00 I 281 298 VTX0080082.00 I 321 338 VTX0090083.00 I 361 378 VTX010 F3=Exit F5=Refresh F9=Retrieve F10=Cursor F12=Cancel F16=Repeat find F24=More keysThere are no commands to retrieve.

����# �� $�"�%�� �� �"� %#�� $� ������ #��� �� $�� &����%��"( �&�""���# $��$� ��" �� $��# #�"����

� ��� ������ ����$�# ������ �"�� "��"�� $� "��"��� ��� $�� "��"��

"�$"��&�# $�� &��%�# ��" ���� ����� �$ $�� $��� �$ �'��%$�# $�� ��%#���� ���#%�"�%$���� ��

Page 302: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–8 A8.1 (8/97)

What Are Calculation Specifications?

����$��#��� " �������#���" ��"�!��� #�� ����$��#���" #� �� ���� �� #�� ��#� ���#�� �!��! �� #�� ����$��#���"� ����$��#��� " �������#���" ��� ��"� �� $"�� #����#!�� ��!#��� �� $# ��� �$# $# � �!�#���"� ��� ����!��#��� ����$��"�

� ���#!��(��%�� ��� �����#������ ������#�!" ��! #�� � �!�#��� " �������

�����!���' ��# $"�� �� ���� �&�!�" "��#&�!��

� ����" �! ���"#��#" #� �� $"�� �� #�� � �!�#���

� ��� � �!�#��� #� �� !���""��

� ���#��! !�"$�#��� ������#�!" �!� "�# ��#�! #�� � �!�#��� �" !���""��

Columns . . . : 1 71 Browse DEVSRC/JDESRC SEU==>> P55011X FMT ** ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 70098.00 C* MAINLINE PROGRAM0099.00 C* ––––––––––––––––0100.00 C*0101.00 C* Process housekeeping.0102.00 C*0103.00 C EXSR S9990104.00 C* –––– ––––0105.00 C*0106.00 C* If LR on, end program.0107.00 C*0108.00 C *INLR CABEQ’1’ EOJ0109.00 C* ––––– –––0110.00 C*0111.00 C* If automatic inquiry set, process inquiry.0112.00 C*0113.00 C $AUTO CASEQ’1’ S003 240114.00 C* ––––– –––– F3=Exit F5=Refresh F9=Retrieve F10=Cursor F12=Cancel F16=Repeat find F24=More keys

��� � � ��" �!� #�� ���!# �� #�� !���""��� �� � !��!��� ���� �&�!�" !��!��" �!� ��"����� &�#� � ���� �� �!#��� &���� �" � "����# "�# �� � � ��"#��# ���� �#��! "$�!�$#���"�

Page 303: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–9

What Are Output Specifications?

�-,)-, +)��# #��,#('+ ��+�*#�� ,"� *��(*�+ �'� #�%�+ #' ,"� (-,)-, #%�+ �'� ,"��('�#,#('+ -'��* ."#�" (-,)-, ()�*�,#('+ �*� )*(��++��� �"�/ #'�%-��#' (*&�,#(' +-�" �+�

� ��&� ( ,"� #%�

� �/)� ( *��(*� ,( �� .*#,,�'

� �)��#'! �'� +$#))#'! #'+,*-�,#('+ ( �*#',�* #%�+

� �-,)-, #'�#��,(*+ ,"�, �('�#,#(' ."�' ,"� *��(*� #+ ,( �� .*#,,�'

� ��&� ( ���" #�%� #' ,"� (-,)-, *��(*�

� �(��,#(' ( ���" #�%� #' ,"� (-,)-, *��(*�

� ��#, �(��+ �'� ��#, .(*�+

� ('+,�',+ ,( �� .*#,,�'

� (*&�, '�&� (* � .(*$+,�,#(' #%�

Columns . . . : 1 71 Browse DEVSRC/JDESRC SEU==>> P55011X FMT ** ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 72334.00 CSR MOVE ’0026’ EMK,08 Inv MCU2335.00 CSR MOVE ’0027’ EMK,09 Inv Desc Ttl2336.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––2337.00 C*2338.00 C* Load invalid action code array.2339.00 C*2340.00 CSR MOVEA’ ’ @NAC2341.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––2342.00 C*2343.00 C* Load system date.2344.00 C*2345.00 CSR TIME $WRK12 1202346.00 CSR MOVE $WRK12 $$EDT 602347.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––2348.00 CSR END999 ENDSR2349.00 C*****************************************************************2350.00 OI5501X E UNLOCK F3=Exit F5=Refresh F9=Retrieve F10=Cursor F12=Cancel F16=Repeat find F24=More keys

���� ��.�*�+ -,#%#0�+ ,"� ��� ���� ()�*�,#(' ,( *�%��+� %(�$+ (' ��,� *��(*�+��"#+ � �)��+ #' (*& ,"� )*(!*�& ."#�" *��(*� (*&�, #+ ,( �� *�%��+�� ."�',"� ���� ����� ��%�-%�,#(' #+ )�* (*&��� ���#,#('�% (*&�,+ ��' ��#��',# #�� .#," � '�&� +-�" �+ ����� (* �����

� �/)#��%%/� ���� ��.�*�+ �(�+ '(, )�* (*& *�)(*,#'! -'�,#('+ -+#'! �

�)��+�

� �(- ��' -+� ,"� �)�(�� 1����� #'+,��� ( ������������

Page 304: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–10 A8.1 (8/97)

Page 305: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–11

Program Overview

About the Program Overview

�� ������� �������� �������� � ���� �������� �� ��� ��������� ���� �� ��������� ����������

� � ��������

� ����� ��������

� ��������� �����

� �������������

� ������������� �����

Page 306: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–12 A8.1 (8/97)

Subroutines

�"� �,)!,�' ��(�,�.), /-�- .0) ��.�!),#�- ) -/�,)/.#(�-�

� �.�(��,� �/�,)/.#(�-

� �)'')( �/�,)/.#(�-

Standard Subroutines

�"� �,)!,�' ��(�,�.), #(�&/��- ."� ,�+/#,�� -.�(��,� ,)/.#(�- #( ."���&�/&�.#)( �*��# #��.#)(- �. ."� .#'� #. !�(�,�.�- � *,)!,�'� �. �,,�(!�- ."�' #(�&*"�(/'�,#� ),��,�

� 2)/ '/-. �(.�, 2)/, )0( -.�(��,� -/�,)/.#(�� (�'� #. #( -/�" � 0�2 ."�. #.0#&& �� �1��/.�� #( ."� (���--�,2 ),��,� �), �1�'*&�� # 2)/ (��� 2)/,-/�,)/.#(� .) �� �1��/.�� � .�, ."� -�,/� �(� ��#. -/�,)/.#(� ������ �/. �� ),�."� /*��.� #&�- -/�,)/.#(� ������� ��!#( ."� (�'� 0#." �( � �(� ."�( /-� �.",�� .) )/, �"�,��.�, -/ #1 ."�. #.- #( &)!#��&&2� -/�" �- ���� ), ����

�.�(��,� -/�,)/.#(� �)�� &#(�- �,� #��(.# #�� #( *)-#.#)(- �(� � 0#." ��� �"�#,(�'�- �&0�2- ��!#( 0#." �( �� �/�,)/.#(�- �,� -�*�,�.�� �2 � -#(!&� &#(� ) �-.�,#-%-� ��$), �&)�%- ) �)�� 0#."#( � -/�,)/.#(� �,� -�*�,�.�� �2 � -#(!&� &#(�) ��-"�-�

1870.00 CSR MOVE *BLANK HRJBCD1871.00 CSR MOVE *BLANK HRJBST1872.00 CSR MOVE *BLANK HRRVW1873.00 CSR END1874.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––1875.00 CSR END001 ENDSR1876.00 C****************************************************************1877.00 C*1878.00 C* SUBROUTINE S003 – Edit Key1879.00 C* ––––––––––––––––––––––––––1880.00 C*

�&��� �( ��� .�! )( ."� ����� -.�.�'�(.� �"� � � (�'� -")/&� -.�,. 0#."���� �"� -/�,)/.#(� (�'� #- ����� �- � -/ #1� �), �1�'*&�� ������ 0)/&� ��."� /-�� ), -/�,)/.#(� ����� �) (). /-� ."� �(� .�! ), �(2."#(! �&-�� �-� � �.�! # ."� �)�� (���- .) �� �1��/.�� *,#), .) ."� ����� -.�.�'�(.� �), �1�'*&������ 0)/&� �� /-�� ), -/�,)/.#(� ���� # ."� .�! #- /-�� #( ."� '#��&� ) ."�-/�,)/.#(��

Page 307: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–13

1874.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––1875.00 CSR END001 ENDSR1876.00 C****************************************************************

Common Subroutines

������ "���"!��� ��� ����!����� �"! ��� !�� ������� ��� ��� ����"��� �!!�� ���������!� !��� " ��� !�� ���� !�!����!� ������ "���"!��� ��� �� ��������� !� � ���& ���"�� ��� !��! ��� ��� ��� �$��� !��� ��� ������ "���"!��� �� !�� ���� �����

�! ������� !���� !�� �������� ����� �� ���� ��� ��� �� !���� �� !�� ���� !�!����!� ��� ����"��� ���� ������ ���& ���� ��� !��� ��� �� ������ ������&$���� $�!��� !�� ��������

��� !�!����! !��! �� !�"�! !�� �������� !� ���& �� !�� �"��� ���� � ��$�����$� ����� ���� �� � !��� � �����!� ������ "���"!��� �

0731.00 C****************************************************************0732.00 C*0733.00 C* Copy Common Subroutine – Right Justify Numeric Fields0734.00 C*0735.00 C/COPY JDECPY,C00120736.00 C*****************************************************************

��� �%����� ��$ ��$ !�� ���� !�!����! �� !�� �"��� ����#�� ����� ������!����� ���� !� !�� �������� �"��� �����$��

Page 308: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–14 A8.1 (8/97)

73400 C* 73500 C/COPY JDECPY,C0012 Q000000+ MEMBER C0012 IN FILE JDECPY LIBRARY JDFSRC OPENED FOR /COPY. Q000100+ C************************************************************** Q000200+ C* This is part of a composite common subroutine. In Q000300+ C* order for the subroutine to work correctly, the Q000400+ C* RPG program must /COPY in the following members: Q000500+ C* E0012, C0012 Q000600+ C****************************************************************** Q000700+ C* MAINLINE PROGRAM Q000800+ C* –––––––––––––––– Q000900+ C* Q001000+ C* Q001100+ C* SUBROUTINE C0012 – Right Justify Numeric Fields Q001200+ C* ––––––––––––––––––––––––––––––––––––––––––––––– Q001300+ C* Q001400+ C* PURPOSE Q001500+ C* ––––––– Q001600+ C* To provide a subroutine common to all programs which Q001700+ C* right justifies numeric fields and places the sign over Q001800+ C* the low order byte of the fields, designated by either a Q001900+ C* leading or trailing minus sign. This routine also ignores Q002000+ C* all non–numeric characters in the input field, and Q002100+ C* determines the placement of the decimal point. Q002200+ C* Q002300+ C* REMARKS Q002400+ C* ––––––– Q002500+ C* Q002600+ C* Prior to executing this subroutine data from an Q002700+ C* alphanumeric input field should be placed in the array Q002800+ C* named ’@NM’ with a ’MOVEA’ command. The right justified Q002900+ C* number is available from the subroutine field named Q003000+ C* ’#NUMR’, which is a 15 digit 6 decimal field. Q003100+ C* CAUTION: The largest number that can be handled Q003200+ C* by this subroutine is 999,999,999.999999. Q003300+ C* However, the input field may contain only 15 Q003400+ C* numbers. Q003500+ C* Q003600+ CSR C0012 BEGSR Q003700+ C* ––––– ––––– Q003800+ C* Q003900+ CSR Z–ADD0 #NUMR 299 Q004000+ CSR Z–ADD0 #NUMR2 152 Compile only Q004100+ CSR Z–ADD0 #NUMR9 159 Compile only Q004200+ C* Q004300+ CSR MOVEA@NM #ALNUM Q004400+ CSR #ALNUM CABEQ*BLANKS EN0012 Q004500+ CSR MOVE *ALL’0’ #ALNUM 22

��� ��������� ���� ������� ���� ���� ��� � ������ ������� �� �������� ������

��� �� ����� ����� ��

���� ������� ����� ��

Page 309: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–15

Error Handling

���� �+�&�' ��' ��*�'�� �# �������#( "��#' $� ��#�!�#� �&&$&' �, +�, $� �&&�,'�

Columns . . . : 1 71 Browse DEVSRC/JDESRC SEU==>> P55011X0040.00 E*****************************************************************0041.00 E* PROGRAM TABLES AND ARRAYS0042.00 E* –––––––––––––––––––––––––0043.00 E*0044.00 E EMK 64 4 Error Msg0045.00 E @MK 64 1 Error Msg0046.00 E @ER 64 4 Error Msg0047.00 E @DV 40 1 Dflt Wrk0048.00 E @AV 10 10 Allowed Values0049.00 E @40 40 1 Allowed Values0050.00 E @10 10 1 Allowed Values0051.00 E*0052.00 E*0053.00 E* Copy Member for Composite Common Subroutine – C00010054.00 E*0055.00 E/COPY JDECPY,E00010056.00 E*****************************************************************0057.00 E*0058.00 E* Copy Member for Composite Common Subroutine – C00120059.00 E*0060.00 E/COPY JDECPY,E0012

� ��� �� �&&�, �$!�' (�� �$)& �,(� ��(� ���(�$#�&, #�"� $� �*�&,

�&&$& (��( �$)!� $��)& �# (��' %&$�&�"� ��� �&&�, �' !$���� �#�$)'� ��%�#� ����

� ��� �� �&&�, "��#(��#' � �!�� '�((�#� �$& ���� �&&$& ���#(����� �#

��� �� $#� $� (�� �&&$&' $��)&'� (�� �!�� �' '�( $#�

� ��� � �&&�, !$��' (�� &�!�(�� �&&$& "�''���' +��# (�� )'�&

%&�''�' �� ($ *��+ (�� �&&$&' (��( ��()�!!, $��)&&���

� � %&$�&�" "�, ��*� )% ($ �� �&&$&'�

Page 310: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–16 A8.1 (8/97)

��� ���� &" &�� �$$"$ �%%��� ��!���!� #$"�$� �% %�")! ���")�

Columns . . . : 1 71 Browse DEVSRC/JDESRC SEU==>> P55011X0278.00 C*0279.00 C* If Display errors pressed, exit to error messages.0280.00 C* ––––––––––––––––––––––––––––––––––––––––––––––––––0281.00 C*0282.00 CSR @@AID IFEQ #FERRD0283.00 CSR Z–ADD1 #G0284.00 CSR Z–ADD1 #H0285.00 CSR #G DOWLE640286.00 CSR @MK,#G IFEQ ’1’0287.00 CSR MOVE EMK,#G @ER,#H0288.00 CSR ADD 1 #H0289.00 CSR END0290.00 CSR ADD 1 #G0291.00 CSR END0292.00 CSR CALL’P0000E’ 980293.00 C* ––––––––––––0294.00 CSR PARM @ER0295.00 CSR GOTO ENDEXE0296.00 C* –––– ––––––0297.00 CSR END0298.00 C*

�� �!+ �$$"$ ���� �% %�& &" "!�� &��! &�� #$"�$� "(�% &�� �"$$�%#"!��!� ��&��&� �$" &�� �$$�+ "� ��� #"%%���� �$$"$% ����� �!&" &�� �$$�+ "� &�� �$$"$% &��&��(� ��&'���+ "��'$$�� � ���� ������ �% ������ &" ��%#��+ &�� �$$"$% )��! &���'!�&�"! ��+ �% #$�%%���

��� !�*& �*� #�� "� �"�� %�")% �") � ���� �% %�& �! &�� �� �$$�+�

Columns . . . : 1 71 Browse DEVSRC/JDESRC SEU==>> P55011X0347.00 C*0348.00 C* If error on read, set error.0349.00 C*0350.00 CSR *IN82 IFEQ ’1’0351.00 CSR SETON 93410352.00 CSR MOVE ’1’ @MK,20353.00 CSR GOTO ENDEXE0354.00 C* –––– ––––––0355.00 CSR END0356.00 CSR END0357.00 CSR END0358.00 C*0359.00 C* If ROLL DOWN key pressed, process read prior.0360.00 C* –––––––––––––––––––––––––––––––––––––––––––––0361.00 C*0362.00 CSR @@AID IFEQ #FROLD0363.00 C*0364.00 C* Reset error indicators if roll0365.00 C*0366.00 CSR MOVEA$RESET *IN,410367.00 CSR MOVE ’0’ *IN,40

�� �!����&"$ �� �% "!� &�� %&�!��$� �!����&"$ �"$ �! �$$"$ ��� �% %�& "! �!��!����&"$ � �% %�& "! &" ��������& &�� ����� �! �$$"$�

Page 311: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–17

��� ���� ������� � ��� ����� ��� ������� � ��� ����� ���� ������� ������������ ����� �� ���� �������� ���� ������� ����� ���� ���� ��� ��� ������

Columns . . . : 1 71 Browse DEVSRC/JDESRC SEU==>> P55011X2324.00 C*2325.00 C* Load error messages array.2326.00 C*2327.00 CSR MOVE ’0001’ EMK,01 Inv Action2328.00 CSR MOVE ’0002’ EMK,02 Inv Key2329.00 CSR MOVE ’0003’ EMK,03 Inv Blanks2330.00 CSR MOVE ’0004’ EMK,04 Inv Date2331.00 CSR MOVE ’0005’ EMK,05 Inv Next Nbr2332.00 CSR MOVE ’0007’ EMK,06 In Use2333.00 CSR MOVE ’0025’ EMK,07 Inv Values2334.00 CSR MOVE ’0026’ EMK,08 Inv MCU2335.00 CSR MOVE ’0027’ EMK,09 Inv Desc Ttl2336.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––2337.00 C*2338.00 C* Load invalid action code array.2339.00 C*2340.00 CSR MOVEA’ ’ @NAC2341.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––2342.00 C*2343.00 C* Load system date.2344.00 C*

Indicator Usage

����� ��� �� ��������� �������� �� ���� ���� ��� ������� � �������� ������� �� ��� ���� ���� ����� ��� �������� ��������� ��� ����� �����������

Page 312: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–18 A8.1 (8/97)

�������� � �������

�� �#75'5 6*' �08#.+& �70%6+10 �': �4'55'& /'55#)' 61 #22'#4

� �+%6#6'5 6*' %1.14 2#.'66' 61 $' 75'&

�� �0&+%#6'5 # (70%6+10 -': 9#5 24'55'&�

� �#0&.'5 6*' %.'#4 5%4''0 #%6+10 %1&'

� �#0&.'5 6*' #&& #%6+10 %1&'

�#0&.'5 6*' %*#0)' #%6+10 %1&'

�#0&.'5 6*' &'.'6' #%6+10 %1&'

� �#0&.'5 6*' +037+4' #%6+10 %1&'

� �#0&.'5 6*' +037+4' #%6+10 %1&' ��� (14 24+06 �2#:41..�

� 5'& +0 %10,70%6+10 9+6* 57$(+.' 241%'55+0) 61 +0+6+#6' 6*' ��!��� 14

������ -':914&� 5+0) ��!��� 9+.. 5.19 241%'55+0)

5'& +0 %10,70%6+10 9+6* 57$(+.' 241%'55+0) +0+6+#6+0) 6*' -':914&

����"����

5'& +0 %10,70%6+10 9+6* 57$(+.' 241%'55+0) 61 #81+& &+52.#: 1( #0 '/26:

57$(+.' �75'& 10.: 9+6* +037+4: 57$(+.'5�

� 5'& +0 %10,70%6+10 9+6* 57$(+.' 241%'55+0) 61 *+)*.+)*6 6*' .#56 4'%14&

+0 6*' &+52.#: �-':914& ������� #0& #81+& &+52.#: 1( #0 '/26: 57$(+.'

��� � 5'& (14 '4414 241%'55+0) 61 +0&+%#6' 9*+%* (+'.&5 #4' +0 '4414 #0& 0''&

61 $' *+)*.+)*6'&

�� �'5'48'& (14 '44145 +0 6*' �%6+10 �1&' (+'.&

�� �'5'48'& (14 '44145 +0 6*' -': (+'.&5

����� �'0'4#. 4'75#$.' 10'�6+/' +0&+%#6145� 5' 6*'/ #5 0''&'&�

� �.1$#. '4414 +0&+%#614 6*#6 *+)*.+)*65 .+0' �

�� �0&+%#6'5 # %*#+0 14 4'#& (#+.74'

�� �0&+%#6'5 # 4'%14& +5 +0 75' 14 (+.' '4414

�� �0&+%#6'5 18'4(.19 (14 4'2146 241%'55+0)

�� �0&+%#6'5 6*#6 6*' .#56 4'%14& *#5 $''0 4'#& #0& 6*' 241)4#/ 5*17.& '0&

014/#..:

�� �0&+%#6'5 6*#6 # 6'/214#4: 14 (+0#. *#.6 +0 6*' 241)4#/ 5*17.& 6#-' 2.#%'�

�'67405 61 %#..+0) 241)4#/ .'#8+0) (+.'5 12'0�

Page 313: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–19

Documentation

�� ��� � �������������� ��� ������� �������� ������� ������� ����� ���� ��� ������� �� ��� ������� ��������� ���� �� ��� ������ ���� ��� ����������� ������ ������� ��� �������� ��� ���� ��� ��������� ��� ���� ��� ��� ����������� ��� ������ ���� �� �����

0016.00 F*0017.00 F* PROGRAM REVISION LOG0018.00 F* ––––––––––––––––––––0019.00 F*0020.00 F* Date Programmer Nature of Revision0021.00 F* –––––––– –––––––––– –––––––––––––––––––––––––––––––––0022.00 AUTHRF* 03/18/93 MARTIN SAR # 00000005 (AS/400 A/G)0023.00 F* 05/01/93 RIPPEY SAR # 00167542

���� �������� ������� ������ ��� ��� ����� ��� ������������

� �� �������� �� ������ ����� ��������� ���� ��� ���� �� � ������� ����

���"�

� �� �������� ������ � ����� �� " ���� ���� ������ ����� ���

������� ������

� ������� ��� ����� ��� ������� ����� ��� � ���� �����

�� �!����� ��� ��� � �� ����� ����������� ��� � �������

0034.00 F*****************************************************************0035.00 F*0036.00 F* Copy Member for Composite Common Subroutine – C00010037.00 F*

Page 314: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–20 A8.1 (8/97)

Guidelines

�+))+* ."*." .%+0(! �" 4+0- $0&!" 2%"* !+ 0)"*/&*$ 4+0- ,-+$-�).� "/%+-+0$% �*! !". -&,/&1"� �0/ 4+0-."(# &* /%" ,(� " +# /%" *"3/ ,-+$-�))"- 2%+2&(( &*%"-&/ 4+0- 2+-'� �." �*$(&.% �*! *+/ 5,-+$-�))"-"."� /+ .," &#4 /%"� /&+* + 0--&*$� �+- "3�),("� #+- /%" +!" .%+2* �"(+2�

0130.00 C* 0131.00 C $998 CASEQ’ ’ S998 0132.00 C* ––––– –––– 0133.00 C END

� ����� ������ �# � &. �(�*'� "3" 0/" ��

� ������� ������ �+�! !�/� #&"(! !& /&+*�-4 ,�-�)"/"-. �+*" 4 (" +*(4��

�%" #+((+2&*$ "3�),(" $&1". )+-" !"/�&( /%�* �* �" &*#"--"! #-+) /%" � /0�( +!"�

�* (0!" � (&*" +# !�.%". �"*"�/% �*4 (&*" +# +!" /%�/ �-�* %". /+ �*+/%"- (&*"+# +!" ����33� �� 33� ����� ����� ����� ������ �%" -" "&1&*$ /�$./�/")"*/ .%+0(! �(.+ �" #+((+2"! �4 � (&*" +# !�.%". �. .%+2* &* /%" "3�),("�"(+2�

0275.00 C*0276.00 C EXSR S9990277.00 C* –––– ––––

Page 315: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–21

Miscellaneous Items

�# !)&&)1$(" , *, - (. '$-� &&�( )/- $. '- )! (). .#�. 3)/ -#)/&� % * $('$(� 1# ( 1,$.$(" 3)/, )1( �)� �

Naming Conventions

�- .# !)&&)1$(" !$,-. �#�,��. , .) �$-.$("/$-# �$!! , (. $. ' (�' -�

� � �,,�3 (�' -

� � �,)",�' �, �. � !$ &� (�' - �!&�"- �(� 1),% !$ &�-�

� � �$ &�- � !$( � $( �)'')( -/�,)/.$( -

Key List (KLIST)

� 3 &$-.- -#)/&� �&& � � !$( � $( .# #)/- % *$(" -/�,)/.$( �

� "$( .# % 3 &$-. (�' 1$.# .# ��.� !$& *, !$2� �), 2�'*& � .# ���, -- �))%��-. , !$& *, !$2 $- ��� -) .# % 3 &$-. 1)/&� � ������

�# �,)",�' � ( ,�.), �, �. - % 3 &$-.- /-$(" .# !)&&)1$(" (�'$("�)(0 (.$)(-�

� ����� !), *#3-$��& !$& - 1# , �� .# !$& *, !$2� �), 2�'*& �

�����

� �# ( � *#3-$��& !$& ( �- .) #�0 '), .#�( )( % 3 &$-. $( � *,)",�'�

.# -/�� --$0 !$& - �, (). � $( .# &�-. �#�,��. , -*�� � �), 2�'*& � !),

.#, % 3 &$-.- !), .# *#3-$��& !$& ���� .# % 3 &$-.- 1)/&� � � ������������ �(� �������

� �����2 !), &)"$��& !$& - 1# , �� $- +/�& .) .# !$& *, !$2 �(� 2 $- +/�&

.) .# &�-. & .. , )! .# &)"$��& !$& (�' � �), 2�'*& � ������ !),������ ������ !), ������

� �# ( � &)"$��& !$& ( �- .) #�0 '), .#�( )( % 3 &$-. $( � *,)",�'� .#

-/�� --$0 !$& - �, (). � $( .# - �)(� .) &�-. �#�,��. , -*�� � �), 2�'*& !), .#, % 3 &$-.- !), .# &)"$��& !$& ������ .# % 3 &$-.- 1)/&�� � ������� ������ �(� ������

Page 316: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–22 A8.1 (8/97)

Work Fields

� !$( 0)+% !$ &�, )(&2 )(� 0$-#$( � *+)"+�'� �# ., )! -# ���� � ���)''�(� $, #$"#&2 + �)'' (� � !)+ � !$($(" 0)+% !$ &�, 0# ( -# $+ �--+$�.- ,�+ �$+ �-&2 -$ � -) -#), )! ��-���, !$ &�,�

�)+ 1�'*& � $! -# 0)+% !$ &� ( �, -) #�/ -# ,�' �--+$�.- , �, � !$ &� -#�- 1$,-, $( � !$& �

��� �� �����

-# ( � !$( ���� �, !)&&)0,�

���� � �� �� ����

�# ��/�(-�" )! -#$, ' -#)� $, -#�- -# 0)+% !$ &� �(� ��-���, !$ &� 0$&& + -�$(-# ,�' �--+$�.- , / ( $! -# ��-���, !$ &� �#�(" ,�

�# ( .,$(" 0)+% !$ &�, �, � !&�"� 2). ,#).&� �,,$"( -# ' -# *+ !$1 � �(� #�/ -# + '�$(� + )! -# (�' � � ,�+$*-$/ � �( -# 1�'*& � &)0� -# 0)+% !$ &�(�' $, ������ �#$, (�' $, ')+ � ,�+$*-$/ -#�( � !$ &� (�' ,.�# �, ���

0831.00 C*0832.00 C* If F6 pressed, Global Update by Percent or Amount.0833.00 C* –––––––––––––––––––––––––––––––––––––––––––––––––––0834.00 C*0835.00 CSR @@AID IFEQ #F030836.00 CSR MOVE ’1’ $GLOBL 1

Optional Files

�! � *+)"+�' ., , !$& , 0#$�# �+ � * (� (- .*)( 2).+ *�+-$�.&�+ , -.*� 2).,#).&� � ,$"(�- -#), !$& , �, ., + �)(-+)& )* ( ���� $( -# !$& ,* �$!$��-$)(,�(� -# ( 0+$- -# *+)"+�' ,.�# -#�- -# 2 �+ )* ( �� $! ( � �� $( -# �)., % *$(" ,.�+).-$( � �#$, &$'$(�- , -# ( � -) )* ( !$& , .(( � ,,�+$&2�(� �)(, +/ , + ,).+� ,�

FF085201 UF E K DISK UCFF08501LAIF E K DISK UC

Page 317: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–23

��� ����� �� � ������� ��� ���� �� ���!� ����!�

Columns . . . : 1 71 Browse JDFSRC/JDESRC SEU==>> P083203825.00 C*3826.00 C* Check for existence of pension files.3827.00 C*3828.00 CSR OPEN F085201 993829.00 CSR *IN99 IFEQ ’0’3830.00 CSR MOVE ’1’ $PENS 13831.00 CSR END3832.00 C*3833.00 CSR OPEN F08501LA 993834.00 CSR *IN99 IFEQ ’0’3835.00 CSR MOVE ’1’ $PENS2 13836.00 CSR END

� #�� �� ����� ����$���������� ���� ��� ���� �� � �� � �� �� ������ �#�����#�� !��� ��� ���� �� ��� ��� ���$�������� ���� ��� �� ��� � ��� ��� ����� ���� ����� ��� �� � �#����� ��� �" ���� ����! ������� ��� ��� ������ �#���$�������� ���� ��� �������� �� ������ ���� ���� ���� �����

� ��� �" ����� �� #���� ������ � � ��� ����� ��� ��� � ���������� ��� ������������� ���� � ������ �� ���� ����������� � ����# ���� ����������� !��� ��������" �� !���� �� #���� ������� ����� ��

*************** Beginning of data *************************************0001.00 OVRRDBF FILE(F082001B) TOFILE(F082001E)0002.00 OVRRDBF FILE(F08001) TOFILE(F08001E)0003.00 OVRRDBF FILE(F08005B) TOFILE(F08005E) *************** End of data *************************************

��� ����$���������� ����� �� ��� ����� � ���! ��� ����� � �� ��� �� ��� ������ �� ���� �� ������ !���� � ��� ����������� ���� ��� ���! ��� ����� ��� �� �������� �� ��� ������ �� ����� ������

Page 318: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–24 A8.1 (8/97)

Page 319: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–25

Program Structure

About Program Structure

����� ��� ��!���� �$��� �� � ��� ����� ��� �� ��� ��� ��"���� ���������� �� ��� ���� ���� ��� �����"����

� �������� ��� ��� ����� "����� ��� ��"���� ��������

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

� ���������!� ���%� ����� �������

� ������ ������� "���� � � ���������

� ������ ������� "��� � ���������

� ���������� ������� "���� � � � �����

Page 320: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–26 A8.1 (8/97)

Internal RPG Subroutines Within J.D. Edwards Programs

� �������� ����� ���� ������� ����������� �������

� ������ ��������" ���� ��������

�� ����� ����! ��������� �������� �� � ��� ����� !����� ���� ��!�������������

���� ���������

S00EX Processes all function key exits.� Calls P9601H if F24 was pressed� Calls X96CCX if F1 was pressed� Calls subroutine S00VL if F1 was pressed after

X96CCX was called� Calls P0000E if F7 was pressed� Calls P00HELP if the HELP key was pressed� Calls subroutine S001 if F22 was pressed� Calls all programs to process all user defined function

keys

S00VL Values returned with Cursor Sensitive Help.

Is called from the subroutine S00EX after the programX96CCX is called

S00OP Subfile Selection Exits (Options).

S001 Clears all database and form fields.� Usually only clears key fields and VC0 fields if F22

(Clear) is pressed

S002 Checks for level breaks for reports.� Turns on level break flags.� Retrieves total line description

S003 Validates the key fields.

Calls S998 subroutine if auto inquire was invoked

Sets the file pointer.� Performs a SETLL or CHAIN if a single record

maintenance program� Performs a SETLL for subfile programs

Calls a subroutine S004 to load form or report fields

Monitors for no subfile records loaded if a subfile

Loads unused subfile records with blanks

S004 Display or load form or report fields.

Page 321: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–27

���� ���������

S005 Scrubs and edits form fields.� Moves form data to database fields� Turns on error indicators if a field is in error� Updates or writes records to the database file if a

subfile� Updates the subfile

S010 For reports with level breaks it:� Prints the total� Clears the level break totals� Prints the grand total (if it has reached the end of the

file)� Prints the detail� Adds to the new level break totals

Calls subroutine S020 if it is a report with subheadings

If it is not a report, it updates, adds, or deletes records from thedatabase file

� Turns on F22 (Clear) to force S001 to be executed toclear the buffer before reading another record.

S020 Print Report Subheadings.

S998 Loads Data Dictionary values. (One time only)� Retrieves row description for level breaks and

subheadings, if applicable

S999 Housekeeping. (One time only)� Sets auto inquiry� Defines key lists� Retrieves processing options and level breaks, if

applicable� Retrieves vocabulary overrides� Loads error messages� Performs file opens� Current date retrieval� Work fields defined using *LIKE� Prints cover page and Helps in a report

Page 322: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–28 A8.1 (8/97)

Interactive Non-Subfile Program

Mainline

S999

S003

S001

S998

S00VLS00EXC0001

S003S998

S004

S005

S010

WriteForms

ReadForms

Set auto inquiryKey listsRetrieve processing optionsRetrieve vocabulary overridesLoad error messagesFile opensDate retrieval

If auto inquiry

Clears fields

One–time only – loadData Dictionaryediting information

Return F1 valuesto form fields

ProcessFunction keys

Action Code

Validate key fieldsset file pointer

Edit form data andmove to file fields.Turn on errorindicators

Update or addrecords to file if noerror

Load formfields

If auto inquiry

Page 323: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–29

Subfile Program with Selection Exits

Mainline

S999

S003

S001

S010

S005

S003S998

S004

S001

S998

S001

C0001S000P

S00EX S00VL

WriteForms

ReadForms

Set auto inquiryKey listsRetrieve processing optionsRetrievevocabulary overridesLoad error messagesFile opensDate retrieval

If auto inquiry

Clear fields

One–time only – loadData Dictionaryediting information

Process functionkeys

Return F1values toform fields

Process selectionexitsEdit the

action code

Clear fieldsIF ‘Clear Screen’function key ispressed

Validate key fields(s).Set file pointerMonitor for no subfilerecords loaded.Load remaining subfilerecords with blanks

If auto inquiry

Load subfilerecords

Start at beginning of subfileand read each record.Edit the data.Turn on error indicatorUpdate/write records to fileIf no errors. Update subfile

Simulates the‘Clear Screen’function key toclear fields

Page 324: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–30 A8.1 (8/97)

Report Program without Subheadings

Mainline

S999

S998

C0000

S002S004

S010

Key listsLoad vocabulary overridesFile opensPrint cover page and helpsRetrieve processing options andlevel breaksRetrieve Data Dictionary editinginformationRetrieve row description forsubheadings

If level break, print totalsIf level break, clear totalsIf end of file, print grand totalPrint detailAdd to totals

Check cost centersecurity

Check for level breaksSet level break flag(s)Retrieve total line description

Load reportfields

Read aRecord

Page 325: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–31

Report Program with Subheadings

Mainline

S999

S998

C0000

S002S004

S010

S020

S020

Key listsLoad vocabulary overridesFile opensPrint cover page and helpsRetrieve processing options andlevel breaks

Retrieve Data Dictionaryediting informationRetrieve row descriptionfor subheadings

If level break, print totalsIf level break, clear totalsIf end of file, print grand totalPrint detailAdd to totals

Check cost centersecurity

Check for level breaksSet level break flag(s)Retrieve total line description

Print subheadingsif overflow

Load reportfields

Printsubheadings

Read aRecord

Page 326: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–32 A8.1 (8/97)

Review an RPG Program’s Source

�� ����� �� ���� �������� � �� ������ ������� � ����� � ��� ��

��� � �� ��� �������� ���� ��� �������� ��� ��� �� � ��� ���� ������� ���

Page 327: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–33

���%! ��� �� !#!�� "� ����������! "� "��� �� ��

1.00 H/TITLE P928011 Item Master Information2.00 H* ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––3.00 H*4.00 H* Copyright (c) 19935.00 H* J. D. Edwards & Company6.00 H*7.00 H* This unpublished material is proprietary to8.00 H* J. D. Edwards & Company. All rights reserved.9.00 H* The methods and techniques described herein are

10.00 H* considered trade secrets and/or confidential.11.00 H* Reproduction or distribution, in whole or in part,12.00 H* is forbidden except by express written permission13.00 H* of J. D. Edwards & Company.14.00 H*15.00 H* ––––––– ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––16.00 F*17.00 F* PROGRAM REVISION LOG18.00 F* ––––––––––––––––––––19.00 F*20.00 F* Date Programmer Nature of Revision21.00 F* –––––––– –––––––––– –––––––––––––––––––––––––––––––––––22.00AUTHRF* 12/07/93 QUARLES SAR # 241883 (AS/400 A/G)23.00 F*24.00 F* B0010 – Standard Maintenace Program Type25.00 F* This program provides the standard single cycle26.00 F* processing for adding, changing, deleting and 27.00 F* inquiring into data records as requested.28.00 F*29.00 F*********************************************************************30.00 F*31.00 FF0001 IF E K DISK32.00 FF92801 UF E K DISK A33.00 FV928011 CF E WORKSTN KINFDS SRVFDS34.00 F*********************************************************************35.00 F*36.00 F* Copy Member for Composite Common Subroutine – C000137.00 F38.00 F/COPY JDECPY,D000139.00 F*********************************************************************40.00 E*********************************************************************41.00 E* PROGRAM TABLES AND ARRAYS42.00 E* –––––––––––––––––––––––––43.00 E*44.00 E EMK 64 4 Error Msg45.00 E @MK 64 1 Error Msg46.00 E @ER 64 4 Error Msg47.00 E @DV 40 1 Dflt Wrk48.00 E @C 256 1 Literal Work49.00 E*50.00 E*51.00 E* Copy Member for Composite Common Subroutine – C000152.00 E*53.00 E/COPY JDECPY,E000154.00 E*********************************************************************55.00 E*56.00 E* Copy Member for Composite Common Subroutine C001257.00 E*58.00 E/COPY JDECPY,E001259.00 E*********************************************************************60.00 E*61.00 E* Copy Member for Composite Common Subroutine – C99762.00 E*63.00 E/COPY JDECPY,E99764.00 E*********************************************************************65.00 I*********************************************************************66.00 I* PROGRAM INPUT SPECIFICATIONS AND DATA STRUCTURES67.00 I* ––––––––––––––––––––––––––––––––––––––––––––––––68.00 I*

���& ���" !"�"����"��� �� ������� "� �#��"�� � �� �� ��� �"�

��� � �� ����� �"� �#"! ���#�� �� � �� � �����! � �� ��""��"� "�� !� ��� �#"!�� � ���$��& #!������! �" "�� ��""���

��� ��"�������"� !" #�"# ��� "�� $����

���� ���& �� ����"�����!��������"���! �� ���&���#�� �����

� �&! "��" ������� � ��!!���!

Page 328: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–34 A8.1 (8/97)

69.00 I* Data Structure to Load Video Screen Text70.00 I*71.00 IDSTXT DS 100072.00 I 1 18 VTX00173.00 I 41 58 VTX00274.00 I 81 92 VTX00375.00 I 121 138 VTX00476.00 I 161 178 VTX00577.00 I 201 218 VTX00678.00 I 241 258 VTX00779.00 I 281 298 VTX00880.00 I 321 338 VTX00981.00 I 361 378 VTX01082.00 I 401 418 VTX01183.00 I 441 458 VTX01284.00 481 498 VTX01385.00 I 521 536 VTX01486.00 I 561 576 VTX01587.00 I 601 616 VTX01688.00 I 541 656 VTX01789.00 I 681 696 VTX01890.00 I 721 736 VTX01991.00 I 761 776 VTX02092.00 I 801 816 VTX02193.00 I 841 856 VTX02294.00 I 881 896 VTX02395.00 I 921 936 VTX02496.00 I 961 976 VTX02597.00 I*98.00 I/COPY JDECPY,I00DSINX99.00 I/COPY JDECPY,I00PS@@

100.00 I/COPY JDECPY,I00PSPROG101.00 I*102.00 I*103.00 I*104.00 I* Copy Member for Composite Common Subroutine – C00SC105.00 I*106.00 I/COPY JDECPY, I00SC107.00 I********************************************************************108.00 I*109.00 I* Copy Member for Server – X0005110.00 I*111.00 I/COPY JDECPY, I0005U112.00 I********************************************************************113.00 I*114.00 I* Copy Member for Server – X0006115.00 I*116.00 I/COPY JDECPY, I000661117.00 I********************************************************************118.00 I*119.00 I* Copy Member for Server – X9800E120.00 I*121.00 I/COPY JDECPY, I9800E122.00 I********************************************************************123.00 C********************************************************************124.00 C* MAINLINE PROGRAM125.00 C* ––––––––––––––––126.00 C*127.00 C* Process housekeeping.128.00 C*129.00 C* EXSR S999130.00 C* –––– ––––131.00 C*132.00 C* If LR on, end program.133.00 C*134.00 C *INLR CABEQ’1’ EOJ135.00 C* ––––– –––136.00 C*137.00 C* If automatic inquiry set, process inquiry.138.00 C*139.00 C* $AUTO CASEQ’1’ S003140.00 C* ––––– ––––141.00 C END142.00 C*143.00 C* Begin normal program processing.144.00 C* ––––––––––––––––––––––––––––––––145.00 C*146.00 C *INLR DOWEQ’0’147.00 C*148.00 C* Write video screen.149.00 C*

���� �� ����� � �� �����"! ��& ��! " � ��� ����"�� �� !�%! ���� ����"���& #������ �

��!� !�"�!"�� ��� �������& " �� ����%� ��!� !�"�!"��� " �� $�!� ���� ��#�� ������� !�!" ��!� !�"�!"��

��!� !�"�!"�� ��� #����"���& �#������ ��� �"��!��� ��&

��!� !�"�!"�� ��� ���� ��#�� �����

�� !��� ���&�"��!���

� �������!��� � �� �� !� !�� �������� �! $��� �"!���!�����&���"��� �� !�� ������

Page 329: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–35

150.00 C WRITEV9280111151.00 C MOVE ’1’ @@AID152.00 C EXSR S001153.00 C* –––– ––––154.00 C*155.00 C* Load data field dictionary parameters (one cycle only).156.00 C*157.00 C $998 CASEQ’ ’ $998158.00 C* –––––––– ––––159.00 C END160.00 C*161.00 C* Begin video screen read processing.162.00 C*163.00 C SETOF 999301164.00 C READ V928011 9998165.00 C Z–ADD0 ##RROW166.00 C Z–ADD0 ##RCOL167.00 C*168.00 C* If video read timed out, end program.169.00 C*170.00 C *IN99 CABEQ’1’ EOJ LR171.00 C* ––––– –––172.00 C @@AID CABEQ#FEOJ EOJ LR173.00 C* ––––– –––174.00 C*175.00 C* If valid function key pressed, process and return.176.00 C*177.00 C *IN15 IFEQ ’1’178.00 C EXSR S00EX179.00 C* –––– –––––180.00 C *INLR CABEQ’1’ EOJ181.00 C* ––––– –––182.00 C *IN15 CABEQ’1’ END183.00 C* ––––– –––184.00 C END185.00 C*186.00 C* Edit the action code.187.00 C*188.00 C EXSR C0001189.00 C* –––– –––––190.00 C*191.00 C* If end of job requested, end program.192.00 C*193.00 C @@AID CABEQ#FEOJ EOJ194.00 C* ––––– –––195.00 C*196.00 C* If clear screen requested, process and return.197.00 C*198.00 C @@AID IFEQ #FCLR199.00 C EXSR S001200.00 C* –––– ––––201.00 C GOTO END202.00 C* –––– –––203.00 C END204.00 C*205.00 C* Load subfile records.206.00 C*207.00 C EXSR S003208.00 C* –––– ––––209.00 C*210.00 C* If add or change, validate all video input.211.00 C*212.00 C *IN93 CABEQ’0’ S005213.00 C* ––––– –––214.00 C END215.00 C*216.00 C* If no errors and not inquiry, update file.217.00 C*218.00 C *IN93 IFEQ ’0’219.00 C *IN24 CASEQ’0’ S010220.00 C ––– ––––221.00 C END222.00 C END223.00 C*226.00 C* Return for next input.224.00 C*225.00 C*226.00 C END TAG227.00 C* ––– –––228.00 C*

���"# �����#

��� $��� ��(� �%��# �� ��$����$� ��"( ���$��� ��� "��$� ��%��$� �#

�#�� � " �%"# " #��#�$�&� ���!�����# '��"� $�� �%"# " �#�

�� �%��$� � ��(# �"� �##����� ������$ " �� # ���� �# �� � �%��$� � ��( ��# ���� !"�##��

���$# $�� ��$� � � �������# ��$� � � �� #��%"�$(�

��$# $�� ���� ! ��$�" ��� ����# ����$ � �� $�� &��� �"�! "$ �����#

� �� �"" " ��# � $ ��%""��� &�����$�# ������$# ��$�

�!��$�# ����#

Page 330: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–36 A8.1 (8/97)

229.00 C* Set correct message in line 24.230.00 C*231.00 C *IN93 IFEQ ’1’232.00 C MOVELSVL24E VDL24233.00 C ELSE234.00 C MOVELSVL24M VDL24235.00 C END236.00 C*237.00 C END238.00 C*239.00 C EOJ TAG240.00 C* ––– –––241.00 C*242.00 C* END MAINLINE PROGRAM243.00 C* ––––––––––––––––––––244.00 C***************************************************************245.00 C*246.00 C* Copy Common Subroutine – Edit Action Code247.00 C*248.00 C/COPY JDECPY,C0001249.00 C***************************************************************250.00 C*251.00 C* SUBROUTINE SOOEX – Process Function Keys252.00 C* ––––––––––––––––––––––––––––––––––––––––253.00 C*254.00 C* Processing: 1. Determine function key pressed.255.00 C* 2. Process function key request.256.00 C*257.00 CSR S00EX BEGSR258.00 C* ––––– –––––259.00 CSR T00EXA TAG260.00 C* –––––– –––261.00 C*262.00 C* If EOJ requested, exit subroutine.263.00 C*264.00 CSR @@AID CABEQ#FEOJ ENDEXE LR265.00 C* ––––– ––––––266.00 C*267.00 C* If Display Keys pressed, exit to help facility and return.268.00 C* –––––––––––––––––––––––––––––––––––––––––––––––––––––––––269.00 C*270.00 CSR @@AID IFEQ #FKEYS271.00 CSR CALL ’P9601H’ 98272.00 C* –––– ––––––––273.00 CSR PARM IOOSC274.00 CSR PARM SRVFDS275.00 CSR PARM IOOCSR276.00 C*277.00 CSR @@AID CABNE#FKEYS TOOEXA278.00 C* ––––– ––––––279.00 CSR GOTO ENDEXE280.00 C* –––– ––––––281.00 CSR END282.00 C*283.00 C* If Cursor Sensitive Help Pressed, exit to CS Help.284.00 C* ––––––––––––––––––––––––––––––––––––––––––––––––––285.00 c*286.00 CSR @@AID IFEQ #FQMRK287.00 CSR MOVEA*IN ##IN288.00 CSR CALL ’X96CCX’ 98289.00 C* –––– ––––––––290.00 CSR PARM IOOSC291.00 CSR PARM SRVFDS292.00 CSR PARM IOOCSR293.00 CSR PARM ’ ’ ##CCFF 2294.00 CSR PARM IOOMDE295.00 C*296.00 CSR ##FLDN IFNE *BLANKS297.00 CSR EXSR SOOVL298.00 C* –––– –––––299.00 CSR MOVEA##IN *IN,1300.00 CSR END301.00 CSR MOVEL*BLANKS ##DTAI302.00 CSR GOTO ENDEXE303.00 C* –––– ––––––304.00 CSR END305.00 C*

�"! "�� ��!!��� �� ���� ��

���#�! �!!����� �� "��#��"��� �' ������"���!� �� ��

���"���! %��" �#��"��� ��'%�! � �!!�� �' "�� #!�

�� ���"� ! ��!!�� ����"��'���%�� � "�� �# !� %�! %��� � %�!� �!!��

�&"� ��� � �� ��! !"� "%�"� �� �� ���! �! "�� �# !� !��!�"�$� ���� � �� ��

Page 331: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–37

306.00 C* If Display errors presse, exit to error messages.307.00 C* –––––––––––––––––––––––––––––––––––––––––––––––––308.00 C*309.00 CSR @@AID IFEQ #FERRD310.00 CSR Z–ADD1 #G311.00 CSR Z–ADD1 #H312.00 CSR #G DOWLE64313.00 CSR @MK,#G IFEQ ’1’314.00 CSR MOVE EMK, #G @ER, #H315.00 CSR ADD 1 #H316.00 CSR END317.00 CSR ADD 1 #G318.00 CSR END319.00 CSR CALL ’P0000E’ 98320.00 C* –––– ––––––––321.00 CSR PARM @ER322.00 CSR GOTO ENDEXE323.00 C* –––– ––––––324.00 CSR END325.00 C*326.00 C* If HELP key pressed, exit to help facility and return.327.00 C* –––––––––––––––––––––––––––––––––––––––––––––––––––328.00 C*329.00 CSR @@AID IFEQ #FHELP330.00 CSR CALL ’P00HELP’ 99331.00 C* –––– –––––––––332.00 CSR PARM HS@@339.00 CSR PARM HE@@334.00 CSR PARM I00SC335.00 CSR PARM SRVIDS337.00 CSR GOTO ENDEXE338.00 C* –––– ––––––339.00 CSR END340.00 C*341.00 C* If Clear screen pressed, clear screen and return.342.00 C* ––––––––––––––––––––––––––––––––––––––––––––––––––343.00 C*344.00 CSR @@AID IFEQ #FCLR345.00 CSR EXSR S001346.00 C* –––– ––––347.00 CSR GOTO ENDEXE348.00 C* –––– ––––––349.00 CSR END350.00 C*351.00 C* Process roll up and down keys.352.00 C* ––––––––––––––––––––––––––––––353.00 C*354.00 CSR @@AID IFEQ #FROLU355.00 CSR @@AID OREQ #FROLD356.00 CSR $SECUR DOUEQ’ ’357.00 CSR MOVE ’ ’ $SECUR 1358.00 C*359.00 C* If ROLL UP key pressed, process read next.360.00 C* –––––––––––––––––––––––––––––––––––––––––361.00 C*362.00 C* @@AID IFEQ #FROLU363.00 C*364.00 C* Reset error indicators if roll365.00 C*366.00 CSR MOVEA$RESET *IN, 41367.00 CSR MOVE ’0’ *IN, 40368.00 CSR SETOF 818299369.00 CSR READ I92801 9981370.00 CSR *IN81 IFEQ ’1’371.00 CSR $RUKEY SETLLI92801372.00 CSR SETOF 8299373.00 CAR READI92801 9982374.00 C*375.00 C* If error on read, set error.376.00 C*377.00 CSR *IN82 IFEQ ’1’378.00 CSR SETON 9341379.00 CSR MOVE ’1’ @MK,2380.00 CSR GOTO ENDEXE381.00 C* –––– ––––––382.00 CSR END383.00 CSR END

����� ��� ������� � � � ����������

Page 332: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–38 A8.1 (8/97)

384.00 CSR END385.00 C*386.00 C* If ROLL DOWN key pressed, process read prior.387.00 C* –––––––––––––––––––––––––––––––––––––––––––––388.00 C*389.00 CSR @@AID IFEQ #FROLD390.00 C*391.00 C* Reset error indicators if roll392.00 C*393.00 CSR MOVEA$RESET *IN,41394.00 CSR MOVE ’0’ *IN,40395.00 CSR SETOF 818299396.00 CSR READPI92801 9981397.00 CSR *IN81 IFEQ ’1’398.00 CSR $RDKEY SETTLLI92801399.00 CSR SETOF 8299400.00 CSR READPI92801 9982401.00 C*402.00 C* If error on read, set error.403.00 C*404.00 CSR *IN82 IFEQ ’1’405.00 CSR SETON 9341406.00 CSR MOVE ’1’ @MK,2407.00 CSR GOTO ENDEXE408.00 C* –––– ––––––409.00 CSR END410.00 CSR END411.00 CSR END412.00 C*413.00 C* Load video screen data on roll keys.414.00 C* ––––––––––––––––––––––––––––––––––––415.00 C*416.00 CSR @@A1D IFEQ #FROLU417.00 CSR @@AID OREQ #FROLD418.00 C*419.00 C* Release record lock or report record in use.420.00 C*421.00 CSR *IN99 IFEQ ’0’422.00 CSR EXTCPTUNLOCK423.00 CSR ELSE424.00 CSR CALL ’P98RLCK’ 81425.00 C* –––– –––––––––426.00 CSR PARM ##PSDS427.00 CSR SETON 9341428.00 CSR MOVE ’1’ @MK,6429.00 CSR GOTO ENDEXE430.00 C* –––– ––––––431.00 CSR END432.00 C*433.00 C*434.00 C* Cost Center security edit.435.00 C*436.00 CSR MOVEL’F92801 ’ #FILE437.00 CSR MOVELQXXCC #MCU438.00 CSR #AUT IFNE ’1’439.00 CSR #FAUT ANDNE’1’440.00 CSR EXSR COOOO441.00 C* –––– –––––442.00 CSR END443.00 CSR #AUT IFNE ’1’444.00 CSR #FAUT ANDNE’l’445.00 CSR #MAUT ANDNE’l’446.00 CSR MOVE ’1’ $SECUR447.00 CSR END448.00 CSR $SECUR CASEQ’ ’ S004449.00 C* ––––– ––––450.00 CSR END451.00 C*452.00 CSR END453.00 C*454.00 CSR END455.00 CSR GOTO ENDEXE456.00 C * –––– ––––––457.00 CSR END458.00 C*459.00 CSR @@AID IFNE ’1’460.00 CSR SETON 0193461.00 CSR GOTO ENDEXE462.00 C * –––– ––––––463.00 CSR END464.00 C*465.00 CSR ENDEXE ENDSR

������ ��� ���� ������ ����� ��� ������ ���� ��� � � ��� ����� ������������

����� ��� ��� ��� ����� ������� ��� �� �������� �� ��� ������ ��� ���������� ������ ������� ������������ ��� �������

Page 333: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–39

466.00 C*************************************************************************467.00 C*468.00 C* Copy Common Subroutine – Cost Center Security Check469.00 C*470.00 C/COPY JDECPY,C0000471.00 C*************************************************************************472.00 C*473.00 C* SUBROUTINE SGOVL – Cursor Control Return Values474.00 C* ––––––––––––––––––––––––––––––––––––––––––––––475.00 C*476.00 C* By format, find the field to update and move in the477.00 C* returned value. If the format is a subfile, the record478.00 C* to change is found in @@RRN.479.00 C*480.00 CSR SOOVL BEGSR481.00 C* ––––– –––––482.00 C*483.00 CSR ##RVAL IFEQ ’*BLANK484.00 CSR MOVE *BLANK ##RVAL485.00 CSR END486.00 C*487.00 C* Return values for fields in format V9280111488.00 C*489.00 CSR ##RFMT IFEQ ’V9280111’490.00 C*491.00 CSR ##FLDN IFEQ ’ACTION ’492.00 CSR MOVEL##RVAL ACTION493.00 CSR GOTO ENDOVL494.00 C* –––– ––––––495.00 CSR END496.00 C*497.00 CSR ##FLDN IFEQ ’VDXIT ’498.00 CSR MOVEL##RVAL VDXIT499.00 CSR GOTO ENDOVL500.00 C* –––– ––––––501.00 CSR END502.00 C*503.00 CSR ##FLDN IFEQ ’VDXDS ’504.00 CSR MOVEL##RVAL VDXDS505.00 CSR GOTO ENDOVL506.00 C* –––– ––––––507.00 CSR END508.00 C*509.00 CSR ##FLDN IFEQ ’VDXCC ’510.00 CSR MOVEL##RVAL VDXCC511.00 CSR GOTO END0VL512.00 C* –––– ––––––513.00 CSR END514.00 C*515.00 CSR ##FLDN IFEQ ’VDXTY ’516.00 CSR MOVEL##RVAL VDXTY517.00 CSR GOTO ENDOVL518.00 C* –––– ––––––519.00 CSR END520.00 C*521.00 CSR ##FLDN IFEQ ’VDXDT ’522.00 CSR MOVEL##RVAL VDXDT523.00 CSR GOTO ENDOVL524.00 C* –––– ––––––525.00 CSR END526.00 C*527.00 CSR ##FLDN IFEQ ’VDXQT ’528.00 CSR MOVEL##RVAL VDXQT529.00 CSR GOTO ENDOVL530.00 C* –––– ––––––531.00 aSR END532.00 C*533.00 CSR ##FLDN IFEQ ’VDXUM ’534.00 CSR MOVEL##RVAL VDXUM535.00 aSP GOTO ENDOVL536.00 C* –––– ––––––537.00 CSR END538.00 C*539.00 CSR ##FLDN IFEQ ’VDX001 ’540.00 CSR MOVEL##RVAL VDX001541.00 CSR GOTO ENDOVL542.00 C*

��� ������ �������������� ���������� ���������� �� ����������� ����������� ������������ ������� �� ����� �� ���� � �� ���������������

Page 334: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–40 A8.1 (8/97)

543.00 CSR END544.00 C*545.00 CSR ##FLDN IFEQ ’VDX002 ’546.00 CSR MOVEL##RVAL VDX002547.00 CSR GOTO ENDOVL548.00 C* –––– ––––––549.00 CSR END550.00 C*551.00 CSR ##FLDN IFEQ ’VDX003 ’552.00 CSR MOVEL##RVAL VDX003553.00 CSR GOTO ENDOVL554.00 C * –––– ––––––555.00 CSR END556.00 C*557.00 CSR ##FLDN IFEQ ’VDX004 ’558.00 CSR MOVEL##RVAL VDX004559.00 CSR GOTO ENDOVL561.00 CSR END562.00 C*563.00 CSR ##FLDN IFEQ ’VDX005 ’564.00 CSR MOVEL##RVAL VDX005565.00 CSR GOTO ENDOVL566.00 C* –––– ––––––567.00 CSR END568.00 CSR END569.00 C *

570.00 csR ENDOVL ENDSR571.00 C*********************************************************************************572.00 C *

573.00 C* SUBROUTINE S001 – Clear Fields574.00 C* ––––––––––––––––––––––––––––––575.00 C*576.00 C* Processing: 1. Reset all video screen and data file fields577.00 C* for next transaction.578.00 C* 2. Clear action code only if requested.579.00 C*580.00 CSR S001 BEGSR581.00 C * –––– –––––582.00 C*583.00 C* Reset fields for next transaction.584.00 C*585.00 CSR *NOKEY CLEARI92801586.00 CSR MOVE *BLANK ###CFL587.00 CSR MOVE *BLANK ###CRC588.00 CSR Z–ADD*ZERO ##RCOL589.00 CSR Z–ADD* ZERO ##RROW590.00 CSR MOVE *BLANK VDXCC591.00 CSR MOVE *BLANK VDXDS592.00 CSR MOVE *BLANK VDXDT593.00 CSR MOVE *BLANK VDXIT594.00 CSR MOVE *BLANK VDXQT595.00 CSR MOVE *BLANK VDXTY596.00 CSR MOVE *BLANK VDXUM597.00 CSR MOVE *BLANK VDX001598.00 CSR MOVE *BLANK VDX002599.00 CSR MOVE *BLANK VDX003600.00 CSR MOVE *BLANK VDX004601.00 CSR MOVE *BLANK VDX005602.00 CSR MOVELSVL24M VDL24603.00 CSR MOVE ’ ’ @IN37 1604.00 C*605.00 C* Clear action code only if clear screen action.606.00 C*607.00 CSR @@AID IFEQ #FCLR608.00 CSR MOVE *ALL’0’ $RESET609.00 CSR MOVE$RESET *IN,41610.00 CSR MOVE ’ ’ ACTION 1611.00 CSR Z–ADD*ZERO QXXIT612.00 CSR MOVE *BLANK VC0001613.00 CSR MOVE *BLANK VC0002614.00 CSR MOVE *BLANK VC0003615.00 CSR MOVE *BLANK VC0004616.00 CSR MOVE *BLANK VC0005617.00 CSR MOVE *BLANK VC0006618.00 CSR MOVE *BLANK VC0007619.00 CSR MOVE *BLANK VC0008620.00 CSR Z–ADD*ZERO $$EDT 60621.00 CSR END622.00 C*623.00 CSR END001 ENDSR

����� ��� ��� ������ �� ��������� ������ ��� �����

����� ��� !���� ������

����� ������ "��� ���$ ��������� �� ��� ��� ���������� � ������ ��$ �� �������� ������� � "��� ����!� ������� ��������������� ��$ ������ ��������������� �� ���$ �������� ������� �!��$���� ������ �#�� ����

Page 335: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–41

624.00 C*****************************************************************************625.00 C*626.00 C* SUBROUTINE S003 – Edit Key627.00 C* ––––––––––––––––––––––––––628.00 C*629.00 C* Processing: 1. Clear error indicators and arrays.630.00 C* 2. Load input keys.631.00 C* 3. Validate master file key.632.00 C* 4. Release master file record lock.633.00 C* 5. Load video screen output on inquiry.634.00 C*635.00 CSR S003 BEGSR636.00 C* –––– –––––637.00 C*638.00 C* Load data field dictionary parameters (one cycle only).639.00 C*640.00 CSR $998 CASEQ’ ’ S998641.00 C* ––––– ––––642.00 CSR END643.00 C*644.00 C* Reset error indicators and arrays.645.00 C*646.00 CSR MOVE *ALL’0’ $RESET 39647.00 CSR MOVE *BLANK $RESTl 63648.00 CsR MOVEA$RESET *IN,41649.00 CSR MOVEA$RESTl @MK,2650.00 CSR [email protected] C*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––652.00 C*653.00 C* Load video input field for – Item ID654.00 C*655.00 CSR MOVEAVDXIT @NM656.00 CSR EXSR C0012657.00 C* –––– –––––658.00 CSR z–ADD#NUMR $NBR08 80659.00 CSR MOVE $NBR08 QXXIT660.00 C*661.00 C* Automatic Next Number for – Item ID662.00 C*663.00 CSR *IN21 IFEQ ’1’664.00 CSR VDXIT ANDEQ* BLANK665.00 CSR SETON 81666.00 CSR *IN81 DOWEQ’1’667.00 CSR MOVE N@XIT PSIDX 2668.00 CSR CALL ’X0010’ 82669.00 C* –––– –––––––670.00 CSR PARM S@XIT NNSY 4671.00 CSR PARM PSIDX672.00 CSR PARM *ZERO #NXTNO 80673.00 CSR MOVE #NXTNO QXXIT674.00 CSR MOVE #NXTNO VDXIT675.00 CSR QXXIT SETLLF92801 8281676.00 CSR END677.00 CSR END678.00 C*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––679.00 CSR QXKY0l CHAINI92801 9899680.00 C*681.00 C* Cost Center security edit.682.00 C*683.00 CSR MOVEL’F92801 ’#FILE684.00 CSR MOVELQXXCC #MCU685.00 CSR #AUT IFNE ’1’686.00 CSR #FAUT AXDNE’l’687.00 CSR EXSR C0000688.00 C* –––– –––––689.00 CSR END690.00 CSR #AUT IFNE ’1’691.00 CSR #FAUT ANDNE’1’692.00 CSR #MAUT ANDNE’l’693.00 CSR MOVE ’1’ $$SECR 1694.00 CSR END695.00 C*696.00 C* If security violation,set error condition.697.00 C*698.00 CSR $$SECR IFEQ ’1’699.00 CSR MOVE ’1’ @MK,8700.00 CSR SETON 9341

����� ���� �� ��� �������

���� �� ��� �� ��� � � ���� �� ���

Page 336: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–42 A8.1 (8/97)

��� �� � ���� �� ������ � � � � ���� �����

��� � ���������� �� �� ��� ��� ���� �� ���

701.00 CSR MOVE ’ ’ $$SECR 1702.00 CSR GOTO END003703.00 C* –––– ––––––704.00 CSR END705.00 C*706.00 C* Edit result of read and action code.707.00 C*708.00 CSR *IN98 IFEQ ’1’709.00 CSR *IN21 COMP ’0’ 41 * error *

710.00 CSR ELSE711.00 CSR *IN21 COMP ’1’ 41 * error *

712.00 CSR END713.00 C*714.00 C* If indicator 41 on, invalid key for action code.715.00 C*716.00 CSR *IN41 IFEQ ’1’717.00 CSR MOVE ’1’ @MK,2718.00 CSR SETON 93719.00 CSR END720.00 C*721.00 C* If indicator 99 on, record in use.722.00 C*723.00 CSR *IN99 IFEQ ’1’724.00 CSR CALL ’P98RLCK’ 81725.00 C* –––– –––––––––726.00 CSR PARM ##PSDS727.00 CSR MOVE ’1’ @MK,6728.00 CSR SETON 9341729.00 CSR END730.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––731.00 C*732.00 C* If not inquiry, skip remainder of subroutine.733.00 C*734.00 CSR *IN24 CABEQ’0’ END003735.00 C* ––––– ––––––736.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––737.00 C*738.00 C* Release record lock on master file.739.00 C*740.00 CSR *IN98 IFEQ ’0’741.00 CSR *IN99 ANDEQ’0’742.00 CSR EXCPTUNLOCK743.00 CSR END744.00 C*745.00 C* If errors, skip remainder of subroutine.746.00 C*747.00 CSR *IN93 CABEQ’l’ END003748.00 C* ––––– ––––––749.00 C*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––750.00 C*751.00 C * Move data base information to video screen.752.00 C*753.00 CSR EXSR S004754.00 C* –––– ––––755.00 C*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––756.00 CSR ENDOO3 ENDSR757.00 C************************************************************************758.00 C *

759.00 C * Copy Common Subroutine – Right Justify Numeric Fields760.00 C*761.00 C/COPY JDECPY,C0012762.00 C************************************************************************763.00 C*764.00 C* SUBROUTINE S004 – Load Video Screen Data765.00 C* ––––––––––––––––––––––––––––––––––––––––766.00 C*767.00 C* Processing: 1. Move data base information to video screen.768.00 C* All video screen fields are alpha and769.00 C* therefore numeric information must be770.00 C* processed through subroutine C0014 to set771.00 C* proper decimals and provide editing for772.00 C* display on screen773.00 C*774.00 C* Date fields must be converted from their775.00 C* internal format of month, day and year or776.00 C* julian to the systsem format using program777.00 C* X0028

Page 337: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–43

���� ������ ��� ����������� ����

����� ��� ���� ���

778.00 C*779.00 CSR S004 BEGSR780.00 C* –––– –––––781.00 C*782.00 C*783.00 C* Move to output – Description for Cost Center784.00 C*785.00 CSR CALL ’X0006’ 81786.00 C* –––– ––––––––787.00 CSR PARM *BLANKS PSOMOD 1788.00 CSR PARN ’1’ PSIMOD 1789.00 CsR PARM QXXCC PSMCU 12790.00 CSR PARM *BLANKS PSERRM 4791.00 CSR PARM I0006792.00 C*793.00 CSR MOVE *BLANK VC0001794.00 CSR PSERRM IFEQ *BLANK795.00 CSR MOVELMCDL0l VC0001796.00 CSR END797.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––798.00 C*799.00 C * Description display for – Item Type800.00 C*801.00 CSR CLEARI0005U802.00 CSR MOVELS@XTY #USY803.00 CSR MOVE R@XTY #URT804.00 CSR MOVE QXXTY #UKY805.00 CSR CALL ’X0005’ 81806.00 C* –––– –––––––807.00 CSR PARM I0005U808.00 CSR MOVE *BLANK VC0002809.00 CSR #UERR IFEQ ’0’810.00 CSR MOVEL#UDL01 VC0002811.00 CSR END812.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––813.00 C*814.00 C* Description display for – Item Unit of Measure815.00 C*816.00 CSR CLEARI0005U817.00 CSR MOVELS@XUM #USY818.00 CSR MOVE R@XUM #URT819.00 CSR MOVE QXXUM #UKY820.00 CSR CALL ’X0005’ 8l821.00 C * –––– –––––––822.00 CSR PARM I0005U823.00 CSR MOVE * BLANK VC0003824.00 CSR #UERR IFEQ ’0’825.00 CSR MOVEL#UDL0l VC0003826.00 CSR END827.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––828.00 C*829.00 C* Description display for – Item Category Code 001830.00 C *

831.00 CSR CLEARI0005U832.00 CSR MOVELS@X00l #USY833.00 CSR MOVE R@X001 #URT834.00 CSR MOVE QXX00l #UKY835.00 CSR CALL ’X0005’ 81836.00 C * –––– –––––––837.00 CSR PARM I0005U838.00 CSR MOVE * BLANK VC0004839.00 CSR #UERR IFEQ ’0’840.00 CSR MOVEL#UDLOl VC0004841.00 CSR END842.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––843.00 C*844.00 C * Description display for – Item Category Code 002845.00 C *

846.00 CSR CLBARI0005U847.00 CSR MOVELS@X002 #USY848.00 CSR MOVE R@X002 #URT849.00 CSR MOVE QXX002 #UKY850.00 CSR CALL ’X0005’ 81851.00 C* –––– –––––––852.00 CSR PARM I0005U853.00 CSR MOVE *BLANK VC0005854.00 CSR #UERR IFEQ ’0’

��� ������� ������ ����� ���� �����

Page 338: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–44 A8.1 (8/97)

855.00 CSR MOVEL#UDL0l VC0005856.00 CSR END857.00 C*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––858.00 C*859.00 C* Description display for – Item Category Code 003860.00 C*861.00 CSR CLEARI0005U862.00 CSR MOVELS@X003 #USY863.00 CSR MOVE R@X003 #URT864.00 CSR MOVE QXXOO3 #UKY865.00 CSR CALL ’X0005’ 81866.00 C* –––– –––––––867.00 CSR PARM I0005U868.00 CSR MOVE * BLANK VC0006869.00 CSR #UERR IFEQ ’0’870.00 CSR MOVEL#UDL0l VC0006871.00 CSR END872.00 C*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––873.00 C*874.00 C* Description display for – Item Category Code 004875.00 C*876.00 CSR CLEARI0005U877.00 CSR MOVELS@X004 #USY878.00 CSR MOVE R@X004 #URT879.00 CSR MOVE QXX004 #URY880.00 CSR CALL ’X0005’ 81881.00 C* –––– –––––––882.00 CSR PARM I0005U883.00 CSR MOVE * BLANK VC0007884.00 CSR #UERR IFEQ ’0’885.00 CSR MOVEL#UDLOl VC0007886.00 CSR END887.00 C*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––888.00 C*889.00 C* Description display for – Item Category Code 005890.00 C*891.00 CSR CLEARI0005U892.00 CSR MOVELS@X005 #USY893.00 CSR MOVE R@X005 #URT894.00 CSR MOVE QXX005 #UKY895.00 CSR CALL ’X0005’ 81896.00 C* –––– –––––––897.00 CSR PARM I0005U898.00 CSR MOVE *BLANK VC0008899.00 CSR #UERR IFEQ ’0’900.00 CSR MOVEL#UDL0l VC0008901.00 CSR END902.00 C*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––903.00 C*904.00 C* Move to output – Cost Center905.00 C*906.00 CSR MOVE *BLANK #SINBR907.00 CSR MOVELQXXCC #SINBR908.00 CSR MOVE T@XCC #DTYP909.00 CSR MOVE W@XCC #EWRD910.00 CSR MOVE E@XCC #EC911.00 CSR MOVE F@XCC #DSPD912.00 CSR MOVE G@XCC #DATD913.00 CSR MOVE J@XCC #ALR914.00 CSR MOVE ’ ’ #ECOR915.00 CSR MOVE ’ ’ #DCOR916.00 CSR EXSR C00161917.00 C * –––– ––––––918.00 CSR #ALR IFEQ ’L’919.00 CSR MOVEL#SINBR VDXCC920.00 CSR ELSE921.00 CSR MOVE #SINBR VDXCC922.00 CSR END923.00 C*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––924.00 C*925.00 C* Move to output – Description926.00 C*927.00 CSR MOVELQXXDS VDXDS928.00 C*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––929.00 C*930.00 C* Move to Output – Date Last Ship931.00 C*

����� ������������������� �� ����

���� ����� �� ������� ��� ��� ��������������

Page 339: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–45

932.00 CSR MOVE QXXDT #SIDAT 6933.00 CSR MOVE *BLANK #EDAT 8934.00 CSR MOVEL’* JUL ’#FFMT 7935.00 CSR MOVEL’*SYSVAL ’#TFMT 7936.00 CSR MOVEL’* SYSVAL ’#SEP 7937.00 CSR MOVE ’ ’ $ERTST 1938.00 CSR CALL ’X0028 ’ 81939.00 C* –––– ––––––940.00 CSR PARM #SIDAT941.00 CSR PARM #EDAT942.00 CSR PARM #FFMT943.00 CSR PARM #TFMT944.00 CSR PARM #SEP945.00 CSR PARM $ERTST946.00 CSR MOVEL#EDAT VDXDT947.00 C*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––948.00 C*949.00 C* Move to output – Item ID950.00 C *

951.00 CSR MOVE *BLANK #SINBR952.00 CSR MOVELQXXIT #SINBR953.00 CSR MOVE T@XIT #DTYP954.00 CSR MOVE W@XIT #EWRD955.00 CSR MOVE E@XIT #EC956.00 CSR MOVE F@XIT #DSPD957.00 CsR MOVE G@XIT #DATD958.00 CSR MOVE J@XIT #ALR959.00 CSR MOVE ’ ’ #ECOR960.00 CSR MOVE ’ ’ #DCOR961.00 CSR EXSR C00161962.00 C* –––– ––––––963.00 CSR #ALR IFEQ ’L’964.00 CSR MOVEL#SINBR VDXIT965.00 CSR ELSE966.00 CSR MOVE #SINBR VDXIT967.00 CSR END968.00 C*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––969.00 C*970.00 C* Move to output – Quantity – On Hand971.00 C*972.00 CSR MOVE *BLANK #SINBR973.00 CSR MOVELQXXQT #SINBR974.00 CSR MOVE T@XQT #DTYP975.00 CSR MOVE W@XQT #EWRD976.00 CSR MOVE E@XQT #EC977.00 CSR MOVE F@XQT #DSPD978.00 CSR MOVE G@XQT #DATD979.00 CSR MOVE J@XQT #ALR980.00 CSR MOVE ’ ’ #ECOR981.00 CSR MOVE ’ ’ #DCOR982.00 CSR EXSR C00l6l983.00 C* –––– ––––––984.00 CSR #ALR IFEQ ’L’985.00 CSR MOVEL#SINBR VDXQT986~00 CSR ELSE987.00 CSR MOVE #SINBR VDXQT988.00 CSR END989.00 C*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––990.00 C*991.00 C* Move to output – Item type992.00 C*993.00 CSR MOVELQXXTY VDXTY994.00 C*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––995.00 C*996.00 C* Move to output – Item Unit of Measure997.00 C*998.00 CSR MOVELQXXUM VDXUM999.00 C*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––1000.00 C*1001.00 C* Move to output – Item Category Code 0011002.00 C*1003.00 C* MOVE *BLANK #SINBR1004.00 C* MOVELQXX001 #SINBR1005.00 C* MOVE T@X001 #DTYP1006.00 C* MOVE W@X001 #EWRD1007.00 C* MOVE E@X001 #EC1009.00 C* MOVE G@X001 #DATD

���� �� � �� ����� �� ���� �����

Page 340: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–46 A8.1 (8/97)

1010.00 CSR MOVE J@X00l #ALR1011.00 CSR MOVE ’ ’ #ECOR1012.00 CSR MOVE ’ ’ #DCOR1013.00 CSR EXSR C001611014.00 C* –––– ––––––1015.00 CSR #ALR IFEQ ’L’1016.00 CSR MOVEL#SINBR VDX00l1017.00 CSR ELSE1018.00 CSR MOVE #SINBR VDX00l1019.00 CSR END1020.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––1021.00 C*1022.00 C* Move to output – Item Category Code 0021023.00 C*1024.00 CSR MOVE *BLANK #SINBR1025.00 CSR MOVELQXX002 #SINBR1026.00 CSR MOVE T@X002 #DTYP1027.00 CSR MOVE W@X002 #EWRD1028.00 CSR MOVE E@X002 #EC1029.00 CSR MOVE F@X002 #DSPD1030.00 CSR MOVE G@X002 #DATD1031.00 CSR MOVE J@X002 #ALR1032.00 CSR MOVE ’ ’ #ECOR1033.00 CSR MOVE ’ ’ #DCOR1034.00 CSR EXSR C001611035.00 C* –––– ––––––1036.00 CSR #AIR IFEQ ’L’1037.00 CSR MOVEL#SINBR VDX0021038.00 CSR ELSE1039.00 CSR MOVE #SINBR VDX0021040.00 CSR END1041.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––1042.00 C*1043.00 C* Move to output – Item Category Code 0031044.00 C*1045.00 CSR MOVE *BLANK #SINBR1046.00 CSR MOVELQXX003 #SINBR1047.00 CSR MOVE T@X003 #DTYP1048.00 CSR MOVE W@X003 #EWRD1049.00 CSR MOVE E@X003 #EC1050.00 CSR MOVE F@X003 #DSPD1051.00 CSR MOVa G@X003 #DATD1052.00 CSR MOVE J@X003 #ALR1053.00 CSR MOVE ’ ’ #ECOR1054.00 CSR MOVE ’ ’ #DCOR1055.00 CSR EXSR C001611056.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––1057.00 CSR #ALR IFEQ ’L’1058.00 CSR MOVEL#SINBR VDX0031059.00 CSR ELSE1060.00 CSR MOVE #SINBR VDX0031061.00 CSR END1062.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––1063.00 C*1064.00 C* Move to output – Item Category Code 0041065.00 C*1066.00 CSR MOVE *BLANK #SINBR1067.00 CSR MOVELQXX004 #SINBR1068.00 CSR MOVE T@X004 #DTYP1069.00 CSR MOVE W@X004 #EWRD1070.00 CSR MOVE E@X004 #EC1071.00 CSR MOVE F@XOO4 #DSPD1072.00 CSR MOVE G@X004 #DATD1073.00 CSR MOVE J@X004 #ALR1074.00 CSR MOVE ’ ’ #ECOR1075.00 CSR MOVE ’ ’ #DCOR1076.00 CSR EXSR C001611077.00 C* –––– ––––––1078.00 CSR #ALR IFEQ ’L’1079.00 CSR MOVEL#SINBR vDX0041080.00 CSR ELSE1081.00 CSR MOVE #SINBR VDX0041082.00 CSR END1083.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––1084.00 C*1085.00 C* Move to output – Item Category Code 0051086.00 C*

Page 341: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–47

1087.00 CSR MOVE *BLANK #SINBR1088.00 CSR MOVELQXX005 #SINBR1089.00 CSR MOVE T@X005 #DTYP1090.00 CSR MOVE W@X005 #EWRD1091.00 CSR MOVE ESK005 #EC1092.00 CSR MOVE F@X005 #DSPD1093.00 CSR MOVE G@X005 #DATD1094.00 CSR MOVE J@X005 #ALR1095.00 CSR MOVE ’ ’ #ECOR1096.00 CSR MOVE ’ ’ #DCOR1097.00 CSR EXSR C001611098.00 C* –––– ––––––1099.00 CSR #ALR IFEQ ’L’1100.00 CSR MOVEL#SINBR VOXOO51101.00 CSR ELSE1102.00 CSR MOVE #SINBR VDXOO51103.00 CSR END1104.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––1105.00 CSR END004 ENDSR1106.00 C***************************************************************1107.00 C*1108.00 C* Copy Common Subroutine – Format Numeric Fields for Output with Override1109.00 C*1110.00 C/COPY JDECOPY,C001611111.00 C***************************************************************1112.00 C*1113.00 C* SUBROUTINE S005 – Scrub Input1114.00 C* –––––––––––––––––––––––––––––1115.00 C*1116.00 C* Processing: 1. Validate all video input.1117.00 C* All numeric fields must be processed1118.00 C* thru subroutines C0012 and C00l5 in order1119.00 C* to scrub the alpha input field and convert1121.00 C* 15 digits and 0 decimals.1122.00 C*1123.00 C* Date fields must be converted from system1124.00 C* format to their internal format of month,1125.00 C* day and year or julian using program X0028.1126.00 C* 2. Update data record fields from video.1127.00 C*1128.00 CSR S005 BEGSR1129.00 C* –––– –––––1130.00 C*1131.00 C* If not addition or change, bypass subroutine.1132.00 C*1133.00 CSR *IN21 IFEQ ’0’1134.00 CSR *IN22 ANDEQ’0’1135.00 CSR GOTO END0051136.00 C* –––– ––––––1137.00 CSR END1138.00 C*1139.00 C*1140.00 C*1141.00 C* Scrub and edit – Cost Center1142.00 C*1143.00 CSR CALL ’X0006’ 991144.00 C* –––– –––––––1145.00 CSR PARM ’1’ PSOMOD 11146.00 CSR PARM ’ ’ PSIMOD 11147.00 CSR PARM VDXCC PSMCU 121148.00 CSR PARM *BLANKS PSERRM 41149.00 CSR PARM I00061150.00 C*1151.00 CSR PSERRM IFNE *BLANK1152.00 CSR SETON 43931153.00 CSR MOVELPSERRM EMK,101154.00 CSR MOVE ’1’ @MK,101155.00 CSR END1156.00 CSR MOVE PSMCU QXXCC1157.00 C*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––1158.00 C*1159.00 C* Scrub and edit – Description1160.00 C*1161.00 CSR MOVELVDXDS QXXDS1162.00 C*1163.00 C* Set default value – Description1164.00 C*

�� ������ ��� ����� ����������� �� ��� ����

�� � ������� �������������� � ������ ���� ����� �� �����

Page 342: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–48 A8.1 (8/97)

��� ���� � ��� �� ��� ��������� ����� ���� �

��� ���� � ��� �� ��� �� ��� ����� ���� �

������ ������������ ������� ���������� � �� ������� �

������� �� �������

� ���� ��� ���� ������

1165.00 CSR QXXDS IFEQ *BLANK1166.00 CSR D@XDS IFNE *BLANK1167.00 CSR MOVEAD@XDS @DV1168.00 CSR MOVEA@DV QXXDS1169.00 CSR @DV,1 IFEQ1170.00 CSR MOVE ’ ’ @DV,11171.00 CSR Z–ADD21172.00 CSR #M DOWLE401173.00 CSR @DV,#M IFEQ ’’’’1174.00 CSR MOVE ’ ’ @DV,#M1175.00 CSR END1176.00 CSR ADD 1 #M1177.00 CSR END1178.00 CSR MOVEA@DV,2 QXXDS1179.00 CSR END1180.00 CSR END1181.00 CSR END1182.00 C*1183.00 C* Edit allowed values – Description1184.00 C*1185.00 CSR A@XDS IFEQ ’*NB’1186.00 CSR QXXDS ANDEQ*BLANK1187.00 CSR MOVE ’1’ @MK,031188.00 CSR SETON 42931189.00 CSR END1190.00 C*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––1191.00 C*1192.00 C* Scrub and edit – Date Last Ship1193.00 C*1194.00 CSR MOVEAVDXDT @NM A1195.00 CSR EXSR C00121196.00 C* –––– –––––1197.00 CSR Z–ADD#NUMR $NBR6 601198.00 CSR MOVE $NBR6 QXXDT1199.00 C*1200.00 C* Edit julian date – Date Last Ship1201.00 C*1202.00 CSR VDXDT IFNE *BLANK1203.00 CSR MOVE QXXDT #SIDAT 61204.00 CSR MOVE *BLANK #EDAT 81205.00 CSR MOVEL’*SYSVAL ’#FFMT 71206.00 CSR MOVEL’*JUL ’#TFMT 71207.00 CSR MOVEL’*NONE ’#SEP 71208.00 CSR MOVEL’ ’ $ERTST 11209.00 CSR CALL ’X0028 ’ 991210.00 C* –––– ––––––1211.00 CSR PARM #SIDAT1212.00 CSR PARM #EDAT1213.00 CSR PARM #FFMT1214.00 CSR PARM #TFMT1215.00 CSR PARM #SEP1216.00 CSR PARM $ERTST1217.00 CSR MOVEL#SIDAT QXXDT1218.00 CSR $ERTST IFEQ ’1’1219.00 CSR MOVE ’1’ @MK,041220.00 CSR SETON 45931221.00 CSR END1222.00 CSR END1223.00 C*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––1224.00 C*1225.00 C* Scrub and edit – Item ID1226.00 C*1227.00 CSR MOVEAVDXIT @NM1228.00 CSR EXSR C00121229.00 C* –––– –––––1230.00 CSR MOVE F@XIT #DSPD1231.00 CSR MOVE G@XIT #DATD1232.00 CSR EXSR C001511233.00 C* –––– ––––––1234.00 CSR MOVE #NUMBR QXXIT1235.00 C*1236.00 C* Set default value – Item ID1237.00 C*1238.00 CSR VDXIT IFEQ *BLANK1239.00 CSR D@XIT ANDNE*BLANK1240.00 CSR MOVEAD@XIT @NM1241.00 CSR EXSR C0012

Page 343: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–49

1242.00 C* –––– –––––1243.00 CSR MOVE F@XIT #DSPD1244.00 CSR MOVE G@XIT #DCTD1245.00 CSR EXSR C001511246.00 C* –––– ––––––1247.00 CSR MOVE #NUMBR QXXIT1248.00 CSR END1249.00 C*1250.00 C* Edit upper and lower range – Item ID1251.00 C*1252.00 CSR L@XIT IFNE *BLANK1253.00 CSR MOVE *BLANK X@XIT 151254.00 CSR MOVE ’1’ $ERTST1255.00 CSR MOVELQXXIT [email protected] CSR X@XIT IFGE [email protected] CSR X@XIT [email protected] CSR MOVE ’ ’ $ERTST1259.00 CSR END1260.00 CSR $ERTST IFEQ ’1’1261.00 CSR MOVE ’1’ @MK,071262.00 CSR SETON 41931263.00 CSR END1264.00 CSR END1265.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––1266.00 C*1267.00 C* Scrub and edit – Quantity – on Hand1268.00 C*1269.00 CSR MOVEAVDXQT @NM1270.00 CSR EXSR C00121271.00 C* –––– –––––1272.00 CSR MOVE F@XQT #DSPD1273.00 CSR MOVE G@XQT #DATD1274.00 CSR EXSR C001511275.00 C* –––– ––––––1276.00 CSR MOVE #NUMBR QXXQT1277.00 C*1278.00 C* Set default value – Quantity – On Hand1279.00 C*1280.00 CSR VDXQT IFEQ *BLANK1281.00 CSR D@XQT ANDNE*BLANK1282.00 CSR MOVEAD@XQT @NM1283.00 CSR EXSR C00121284.00 C* –––– –––––1285.00 CSR MOVE F@XQT #DSPD1286.00 CSR MOVE G@XQT #DATD1287.00 CSR EXSR C001511288.00 C* –––– ––––––1289.00 CSR MOVE #NUMBR QXXQT1290.00 CSR END1291.00 C*1292.00 C* Edit upper and lower range – Quantity – On Hand1293.00 C*1294.00 CSR L@XQT IFNE *BLANK1295.00 CSR MOVE *BLANK X@XQT 151296.00 CSR MOVE ’1’ $ERTST 11297.00 CSR MOVELQXXQT [email protected] CSR X@XQT IFGE [email protected] CSR X@XQT [email protected] CSR MOVE ’ ’ $ERTST1301.00 CSR END1302.00 CSR $ERTST IFEQ ’1’1303.00 CSR MOVE ’1’ @MK,071304.00 CSR SETON 46931305.00 CSR END1306.00 CSR END1307.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––1308.00 C*1309.00 C* Scrub and edit – Item Type1310.00 C*1311.00 CSR MOVELVDXTY QXXTY1312.00 C*1313.00 C* Set default value – Item Type1314.00 C*1315.00 CSR QXXTY IFEQ *BLANK1316.00 CSR D@XTY IFNE *BLANK1317.00 CSR MOVEAD@XTY @401318.00 CSR MOVEA@40 QXXTY

������� ����� ���� �������� ���

����� � � ����� �� �� �������� ���� ���

Page 344: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–50 A8.1 (8/97)

1319.00 CSR @40,1 IFEQ ’’’’1320.00 CSR MOVE ’ ’ @40,11321.00 CSR Z–ADD2 #M1322.00 CSR #M DOWLE401323.00 CSR @40,#M IFEQ ’’’’1324.00 CSR MOVE ’ ’ @40,#M1325.00 CSR END1326.00 CSR ADD 1 #M1327.00 CSR END1328.00 CSR MOVEA@40,2 QXXTY1329.00 CSR END1330.00 CSR END1331.00 CSR END1332.00 C*1333.00 C* Edit allowed values – Item Type1334.00 C*1335.00 CSR A@XTY IFNE *BLANK1336.00 CSR A@XTY IFEQ ’*NB’1337.00 CSR QxxTY ANDEQ * BLANK1338.00 CSP MOVE ’1’ @MK,031339.00 CSR SETON 44931340.00 CSR ELSE1341.00 CSR MOVEAA@XTY @401342.00 CSR MOVE *HIVAL @AV1343.00 CSR EXSR C9971344.00 C* –––– ––––1345.00 CSR MOVE ’ ’ $ERTST 11346.00 CSR MOVE *BLANK $WRK10 101347.00 CSR MOVELQXXTY $WRK101348.00 CSR @AV,1 IFNE *HIVAL1349.00 CSR $WRK10 LOKUP@AV 811350.00 CSR *IN81 IFEQ ’0’1351.00 CSR MOVE ’1’ $ERTST1352.00 CSR END1353.00 CSR $ERTST IFEQ ’1’1354.00 CSR MOVE ’1’ @MK,071355.00 CSR SETON 44931356.00 CSR END1357.00 CSR END1358.00 CSR END1359.00 CSR END1360.00 C*1361.00 C* Edit upper and lower range – Item Type1362.00 C*1363.00 CSR L@XTY IFNE *BLANK1364.00 CSR MOVE ’1’ $ERTST1365.00 CSR QXXTY IFGE [email protected] CSR QXXTY [email protected] CSR MOVE ’ ’ $ERTST1368.00 CSR END1369.00 CSR $ERTST IFEQ ’1’1370.00 CSR MOVE ’1’ @MK,071371.00 CSR SETON 44931372.00 CSR END1373.00 CSR END1374.00 C*1375.00 C* Edit from User Defined Codes – Item Type1376.00 C*1377.00 CSR R@XTY IFNE *BLANK1378.00 CSR CLEARI0005U1379.00 CSR MOVELS@XTY #USY1380.00 CSR MOVE P@XTY #URT1381.00 CSR MOVE QXXTY #UKY1382.00 CSR CALL ’X0005’ 811383.00 C* –––– –––––––1384.00 CSR PARM I0005U1385.00 CSR #UERR IFEQ ’1’1386.00 CSR MOVE ’1’ @MK,091387.00 CSR SETON 44931388.00 CSR END1389.00 CSR END1390.00 C*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––1391.00 C*1392.00 C* Scrub and edit – Item Unit of Measure1393.00 C*1394.00 CSR MOVELVDXUM QXXUM1395.00 C*

Page 345: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–51

1396.00 C* Set default value – Item Unit of Measure1397.00 C*1398.00 CSR QXXUM IFEQ *BLANK1399.00 CSR D@XUM IFNE *BLANK1400.00 CSR MOVED@XUM @401401.00 CSR MOVEA@40 QXXUM1402.00 CSR @40,1 IFEQ’’’’1403.00 CSR MOVE ’ ’ @40,11404.00 CSR Z–ADD2 #M1405.00 CSR #M D0WLE401406.00 CSR @40,#M IFEQ ’’’’1407.00 CSR MOVE ’ ’ @40,#M1408.00 CSR END1409.00 CSR ADD 1 #M1410.00 CSR END1411.00 CSR MOVEA@40,2 QXXUM1412.00 CSR END1413.00 CSR END1414.00 CSR END1415.00 C*1416.00 C* Edit allowed values – Item Unit of Measure1417.00 C*1418.00 CSR A@XUM IFNE *BLANK1419.00 CSR A@XUM IFEQ ’*NB’1420.00 CSR QXXuM ANDEQ*BLANK1421.00 CSR MOVE ’1’ @MK,031422.00 CSR SETON 47931423.00 CSR ELSE1424.00 CSR MOVEAA@XUM @401425.00 CSR MOVE *HIVAL @AV1426.00 CSR EXSR C9971427.00 C* –––– ––––1428.00 CSR MOVE ’ ’ $ERTST 11429.00 CSR MOVE *BLANK $WRK10 101430.00 CSR MOVELQXXUM $WRKl01431.00 CSR @AV,1 IFNE *HIVAL1432.00 CSR $WRK10 LOKUP@AV 811433.00 CSR *IN81 IFEQ ’0’1434.00 CSR MOVE ’1’ $ErTST1435.00 CSR END1436.00 CSR $ERTST IFEQ ’1’1437.00 CSR MOVE ’1’ @MK,071438.00 CSR SETON 47931439.00 CSR END1440.00 CSR END1441.00 CSR END1442.00 CSR END1443.00 C*1444.00 C* Edit upper and lower range – Item Unit of Measure1445.00 C*1446.00 CSR L@XUM IFNE *BLANK1447.00 CSR MOVE ’1’ $ERTST1448.00 CSR QXXUM IFGE [email protected] CSR QXXUM [email protected] CSR MOVE ’ ’ $ERTST1451.00 CSR END1452.00 CSR $ERTST IFEQ ’1’1453.00 CSR MOVE ’1’ @MK,071454.00 CSR SETON 47931455.00 CSR END1456.00 CSR END1457.00 C*1458.00 C* Edit from User Defined Codes – Item Unit of Measure1459.00 C*1460.00 CSR R@XUM IFNE *BLANK1461.00 CSR CLEARI0005U1462.00 CSR MOVELS@XUM #USY1463.00 CSR MOVE R@XUM #URT1464.00 CSR MOVE QXXUM #UKY1465.00 CSR CALL ’X0005’ 811466.00 C* –––– –––––––1467.00 CSR PARM I0005U1468.00 CSR #UERR IFEQ ’1’1469.00 CSR MOVE ’1’ @MK,O91470.00 CSR SETON 47931471.00 CSR END1472.00 CSR END

Page 346: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–52 A8.1 (8/97)

1473.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––1474.00 C*1475.00 C* Scrub and edit – Item Category Code 0011476.00 C*1477.00 CSR MOVELVDX00l QXX00l1478.00 C*1479.00 C* Set default value – Item Category Code 0011480.00 C*1481.00 CSR QXX00l IFEQ *BLANK1482.00 CSR D@X001 IFNE *BLANK1483.00 CSR MOVEAD@X001 @401484.00 CSR MOVAA@40 QXX00l1485.00 CSR @40,1 IFEQ ’’’’1486.00 CSR MOVE ’ ’ @40,11487.00 CSR Z–ADD2 #M1488.00 CSR #M DOWLE401489.00 CSR @40,#M IFEQ ’’’’1490.00 CSR MOVE ’ ’ @40,#M1491.00 CSR END1492.00 CSR ADD 1 #M1493.00 CSR END1494.00 CSR MOVEA@40,2 QXX0011495.00 CSR END1496.00 CSR END1497.00 CSR END1498.00 C*1499.00 C* Edit allowed values – Item Category Code 0011500.00 C*1501.00 CSR A@X001 IFNE *BLANK1502.00 CSR ASK00l IFEQ ’*NB’1503.00 CSR QXX001 ANDEQ*BLANK1504.00 CSR MOVE ’1’ @MK,031505.00 CSR SETON 48931506.00 CSR ELSE1507.00 CSR MOVEAA@X00l @401508.00 CSR MOVE *HIVAL @AV1509.00 CSR EXSR C9971510.00 C* –––– ––––1511.00 CSR MOVE ’ ’ $ERTST 11512.00 CSR MOVE *BLANK $WRK10 101513.00 CSR MOVELQXX00l $WRKl01514.00 CSR @AV,1 IFNE *HIVAL1515.00 CSR $WRKl0 LOKUP@AV 811516.00 CSR *IN81 IFEQ ’0’1517.00 CSR MOVE ’1’ $ERTST1518.00 CSR END1519.00 CSR $ERTST IFEQ ’1’1520.00 CSR MOVE ’1’ @MK,071521.00 CSR SETON 48931522.00 CSR END1523.00 CSR END1524.00 CSR END1525.00 CSR END1526.00 C*1527.00 C* Edit upper and lower range – Item Category Code 0011528.00 C*1529.00 CSR L@X001 IFNE *BLANK1530.00 CSR MOVE ’1’ $ERTST1531.00 CSR QXX00l IFGE [email protected] CSR QXX001 [email protected] CSR MOVE ’ ’ $ERTST1534.00 CSR END1535.00 CSR $ERTST IFEQ ’1’1536.00 CSR MOVE ’1’ @MK,071537.00 CSR SETON 48931538.00 CSR END1539.00 CSR [email protected] C*1541.00 C* Edit from User Defined Codes – Item Category Code 0011542.00 C*1543.00 CSR R@X001 IFNE *BLANK1544.00 CSR CLEARI0005U1545.00 CSR MOVELS@X001 #USY1546.00 CSR MOVE P@X001 #URT154~.00 CSR MOVE QXX001 #UKY1548.00 CSR CALL ’X0005’ 811549.00 C* –––– –––––––

Page 347: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–53

1550.00 CSR PARM I0005U1551.00 CSR #UERR IFEQ ’1’1552.00 CSR MOVE ’1’ @MK,091553.00 CSR SETON 48931554.00 CSR END1555.00 CSR END1556.00 C*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––1557.00 C*1558.00 C* Scrub and edit – Item Category Code 0021559.00 C*1560.00 CSR MOVELVDX002 QXX0021561.00 C*1562.00 C* Set default value – Item Category Code 0021563.00 C*1564.00 CSR QXX002 IFEQ *BLANK1565.00 CSR D@X002 IFNE *BLANK1566.00 CSR MOVEAD@X002 @401567.00 CSR MOVEA@40 QXX0021568.00 CSR @40,1 IFEQ ’’’’1569.00 CSR MOVE ’ ’ @40,11570.00 CSR Z–ADD2 #M1571.00 CSR #M DOWLE401572.00 CSR @40,#M IFEQ ’’’’1573.00 CSR MOVE ’ ’ @40,#M1574.00 CSR END1575.00 CSR ADD 1 #M1576.00 CSR END1577.00 CSR MOVEA@40,2 QXX0021578.00 CSR END1579.00 CSR END1580.00 CSR END1581.00 C*1582.00 C* Edit allowed values – Item Category Code 0021583.00 C*1584.00 CSR A@X002 IFNE *BLANK1585.00 CSR A@X002 IFEQ ’*NB’1586.00 CSR QXX002 ANDEQ*BLANK1587.00 CSR MOVE ’1’ @MK,031588.00 CSR SETON 49931589.00 CSR ELSE1590.00 CSR MOVEAA@X002 @401591.00 CSR MOVE *HIVAL @AV1592.00 CSR EXSR C9971593.00 C* –––– ––––1594.00 CSR MOVE ’ ’ $ERTST1595.00 CSR MOVE *BLANK $WRK10 101596.00 CSR MOVELQXX002 $WRKl01597.00 CSR @AV,1 IFNE *HIVAL1598.00 CSR $WRK10 LOKUP@AV 811599.00 CSR *IN81 IFEQ ’0’1600.00 CSR MOVE ’1’ $ERTST1601.00 CSR END1602.00 CSR $ERTST IFEQ ’1’1603.00 CSR MOVE ’1’ @MK,071604.00 CSR SETON 49931605.00 CSR END1606.00 CSR END1607.00 CSR END1608.00 CSR END1609.00 C*1610.00 C* Edit upper and lower range – Item Category Code 0021611.00 C*1612.00 CSR L@X002 IFNE *BLANK1613.00 CSR MOVE ’1’ $ERTST1614.00 CSR QXX002 IFGE [email protected] CSR QXX002 [email protected] CSR MOVE ’ ’ $ERTST1617.00 CSR END1618.00 CSR $ERTST IFEQ ’1’1619.00 CSR MOVE ’1’ @MK,071620.00 CSR SETON 49931621.00 CSR END1622.00 CSR END1623.00 C*1624.00 C* Edit from User Defined Codes – Item Category Code 0021625.00 C*1626.00 CSR R@X002 IFNE *BLANK

Page 348: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–54 A8.1 (8/97)

1627.00 CSR CLEARI0005U1628.00 CSR MOVELS@X002 #USY1629.00 CSR MOVE R@X002 #URT1630.00 CSR MOVE QXX002 #UKY1631.00 CSR CALL ’X0005’ 811632.00 C* –––– –––––––1633.00 CSR PARM I0005U1634.00 CSR #UERR IFEQ ’1’1635.00 CSR MOVE ’1’ @MK,091636.00 CSR SETON 49931637.00 CSR END1638.00 CSR END1639.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––1640.00 C*1641.00 C* Scrub and edit – Item Category Code 0031642.00 C*1643.00 CSR MOVELVDX003 QxX0031644.00 C*1645.00 C* Set default value – Item Category Code 0031646.00 C*1647.00 CSR QXX003 IFEQ * BLANK1648.00 CSR D@X003 IFNE *BLANK1649.00 CSR MOVEAD@X003 @401650.00 CSR MOVEA@40 QXX0031651.00 CSR @40,1 IFEQ1652.00 CSR MOVE ’ ’ @40,11653.00 CSR z–ADD2 #M1654.00 CSR #M DOWLE401655.00 CSR @40,#M IFEQ ’’’’1656.00 CSR MOVE ’ ’ @40,#M1657.00 CSR END1658.00 CSR ADD 1 #M1659.00 CSR END1660.00 CSR MOVEA@40,2 QXX0031661.00 CSR END1662.00 CSR END1663.00 CSR END1664.00 C*1665.00 C* Edit allowed values – Item Category Code 0031666.00 C*1667.00 CSR A@X003 IFNE *BLANK1668.00 CSR A@X003 IFEQ ’*NB’1669.00 CSR QXX003 ANDEQ * BLANK1670.00 CSR MOVE ’1’ @MK,031671.00 CSR SETON 50931672.00 CSR ELSE1673.00 CSR MOVEAA@X003 @401674.00 CSR MOVE * HIVAL @AV1675.00 CSR EXSR C9971676.00 a* –––– ––––1677.00 CSR MOVE ’ ’ $ERTST1678.00 CSR MOVE *BLANK $WPK10 101679.00 CSR MOVELQXX003 $WRK101680.00 CSR @AV,1 IFNE * HIVAL1681.00 CSR $WRK10 LOKUP@AV 811682.00 CSR *IN81 IFEQ ’0’1683.00 CSR MOVE ’1’ $ERTST1684.00 CSR END1685.00 CSR $ERTST IFEQ ’1’1686.00 CSR MOVE ’1’ @MK,071687.00 CSR SETON 50931688.00 CSR END1689.00 CSR END1690.00 CSR END1691.00 CSR END1692.00 C*1693.00 C* Edit upper and lower range – Item Category Code 0031694.00 C*1695.00 CSR L@X003 IFNE * BLANK1696.00 CSR MOVE ’1’ $ERTST1697.00 CSR QXX003 IFGE [email protected] CSR QXX003 ANDLEU@X003 $ERTST1699.00 CSR MOVE ’ ’1700.00 CSR END1701.00 CSR $ERTST IFEQ ’1’1702.00 CSR MOVE ’1’ @MK,071703.00 CSR SETON 5093

Page 349: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–55

1704.00 CSR END1705.00 CSR END1706.00 C*1707.00 C* Edit from User Defined Codes – Item Category Code 0031708.00 C*1709.00 CSR R@X003 IFNE *BLANK1710.00 CSR CLEARI0005U1711.00 CSR MOVELS@X003 #USY1712.00 CSR MOVE P@X003 #URT1713.00 CSR MOVE QXX003 #UKY1714.00 CSR CALL ’X0005’ 811715.00 C* –––– –––––––1716.00 CSR PARM I0005U1717.00 CSR #UERR IFEQ ’1’1718.00 CSR MOVE ’1’ @MK,091719.00 CSR SETON 50931720.00 CSR END1721.00 CSR END1722.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––1723.00 Ct1724.00 C* Scrub and edit – Item Category Code 0041725.00 C*1726.00 CSR MOVELVDX004 QXX0041727.00 C*1728.00 Ct Set default value – Item Category Code 0041729.00 C*1730.00 CSR QXX004 IFEQ *BLANK1731.00 CSR D@X004 IFNE *BLANK1732.00 CSR MOVEAD@X004 @401733.00 CSR MOVEA@40 QXX0041734.00 CSR @40,1 IFEQ ’’’’1735.00 CSR MOVE ’ ’ @40,11736.00 CSR Z–ADD2 #M1737.00 CSR #M D0WLE401738.00 CSR @40,#M IFEQ ’’’’1739.00 CSR MOVE ’ ’ @40,#M1740.00 CSR END1741.00 CSR ADD 1 #M1742.00 CSR END1743.00 CSR MOVEA@40,2 QXX0041744.00 CSR END1745.00 CSR END1746.00 CSR END1747.00 C*1748.00 C* Edit allowed values – Item Category Code 0041749.00 C*1750.00 CSR A@X004 IFNE *BLANK1751.00 CSR A@X0O4 IFEQ ’*NB’1752.00 CSR QXX004 ANDEQ*BLANK1753.00 CSR MOVE ’1’ @MK,031754.00 CSR SETON 51931755.00 CSR ELSE1756.00 CSR MOVEAA@X004 @401757.00 CSR MOVE *HIVAL @AV1758.00 CSR EXSR C9971759.00 C* –––– ––––1760.00 CSR MOVE ’ ’ $ERTST 11761.00 CSR MOVE *BLANK $WRK10 101762.00 CSR MOVELQXX004 $WRK101763.00 CSR @AV,l IFNE *HIVAL1764.00 CSR $WRK10 LOKUP@AV 811765.00 CSR *IN81 IFEQ ’0’1766.00 CSR MOVE ’1’ $ERTST1767.00 CSR END1768.00 CSR $ERTST IFEQ ’1’1769.00 CSR MOVE ’1’ @MK,071770.00 CSR SETON 51931771.00 CSR END1772.00 CSR END1773.00 CSR END1774.00 CSR END1775.00 C*1776.00 C* Edit upper and lowr range – Item Category Code 0041777.00 C*1778.00 CSR L@004 IFNE *BLANK1779.00 CSR MOVE ’1’ $ERTST1780.00 CSR QXX004 IFGE L@X004

Page 350: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–56 A8.1 (8/97)

1781.00 CSR QXX004 [email protected] CSR MOVE ’ ’ $ERTST1783.00 CSR END1784.00 CSR $ERTST IFEQ ’1’1785.00 CSR MOVE ’1’ @MK,071786.00 CSR SETON 51931787.00 CSR END1788.00 CSR END1789.00 C*1790.00 C* Edit from User Defined Codes – Item Category Code 0041791.00 C*1792.00 CSR R@X004 IFNE *BLANK1793.00 CSR CLEARI0005U1794.00 CSR MOVELS@X004 #USY1795.00 CSR MOVE R@X004 #URT1796.00 CSR MOVE QXX004 #UKY1797.00 CSR CALL ’X0005’ 811798.00 C* –––– –––––––1799.00 CSR PARM I0005U1800.00 CSR #VERR IFEQ ’1’1801.00 CSR MOVE ’1’ @MK,091802.00 CSR SETON 51931803.00 CSR END1804.00 CSR END1805.00 C*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––1806.00 C*1807.00 C* Scrub and edit – Item Category Code 0051808.00 C*1809.00 CSR MOVELVDX005 QXX0051810.00 C*1811.00 C* Set default value – Item Category Code 0051812.00 C*1813.00 CSR QXX005 IFEQ *BLANK1814.00 CSR D@X005 IFNE *BLANK1815.00 CSR MOVEAD@X005 @401816.00 CSR MOVEA@40 QXX0051817.00 CSR @40,1 IFEQ’’’’1818.00 CSR MOVE ’ ’ @40,11819.00 CSR Z–ADD2 #M1820.00 CSR #M D0WLE401821.00 CSR @40,#M IFEQ1822.00 CSR MOVE ’ ’ @40,#M1823.00 CSR END1824.00 CSR ADD 1 #M1825.00 CSR END1826.00 CSR MOVEA@40,2 QXX0051827.00 CSR END1828.00 CSR END1829.00 CSR END1830.00 C*1831.00 C* Edit allowed values – Item Category Code 0051832.00 C*1833.00 CSR A@X005 IFNE *BLANK1834.00 CSR A@X005 IFEQ ’*NB’1835.00 CSR QXX005 ANDEQ*BLANK1836.00 CSR MOVE ’1’ @MK,031837.00 CSR SETON 52931838.00 CSR ELSE1839.00 CSR MOVEAA@X005 @401840.00 CSR MOVE *HIVAL @AV1841.00 CSR EXSR C9971842.00 C* –––– ––––1843.00 CSR MOVE ’ ’ $ERTST1844.00 CSR MOVE *BLANK $WRK10 101845.00 CSR MOVELQXX005 $WRK101846.00 CSR @AV,1 IFNE *HIVAL1847.00 CSR $WRK10 LOKUP@AV 811848.00 CSR *IN81 IFEQ ’0’1849.00 CSR MOVE ’1’ $ERTST1850.00 CSR END1851.00 CSR $ERTST IFEQ ’1’1852.00 CSR MOVE ’1’ @MK,071853.00 CSR SETON 52931854.00 CSR END1855.00 CSR END1856.00 CSR END1857.00 CSR END

Page 351: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–57

1858.00 C*1959.00 C* Edit upper and lower range – Item Category Code 0051860.00 C*1861.00 CSR L@X005 IFNE *BLANK1862.00 CSR MOVE ’1’ $ERTST1863.00 CSR QXX005 IFGE [email protected] CSR QXX005 [email protected] CSR MOVE ’ ’ $ERTST1866.00 CSR END1867.00 CSR $ERTST IFEQ ’1’1868.00 CSR MOVE ’1’ @MK,071869.00 CSR SETON 52931870.00 CSR END1871.00 CSR END1872.00 C*1873.00 C* Edit from User Defined Codes – Item Category Code 0051874.00 C*1875.00 CSR R@X005 IFNE *BLANK1876.00 CSR CLEARI0005U1877.00 CSR MOVELS@X005 #USY1878.00 CSR MOVE R@X005 #URT1879.00 CSR MOVE QXX005 #UKY1880.00 CSR CALL ’X0005’ 811881.00 C*1882.00 CSR PARM I0005U1883.00 CSR #UERR IFEQ ’1’1884.00 CSR MOVE ’1’ @MK,091885.00 CSR SETON 52931886.00 CSR END1887.00 CSR END1888.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––1889.00 CSR END005 ENDSR1890.00 C***************************************************************1891.00 C*1892.00 C* Copy Common Subroutine – Currency – Translate Video Fields to Data Base1893.00 C*1894.00 C/COPY JDECPY,C001511895.00 C***************************************************************1896.00 C*1897.00 C* Copy Common Subroutine – Build Allowed Values Work Array1898.00 C***************************************************************1899.00 C/COPY JDECPY,C9971900.00 C***************************************************************1901.00 C*1902.00 C* SUBROUTINE S010 – Update Data Base1903.00 C* ––––––––––––––––––––––––––––––––––1904.00 C*1905.00 C* Processing: 1. Update data base file based upon valid1906.00 C* action codes.1907.00 C*1908.00 CSR S010 BEGSR1909.00 C* –––– –––––1910.00 C*1911.00 C* If add action, add record.1912.00 C*1913.00 CSR *IN21 IFEQ ’1’1914.00 CSR WRITEI92801 991915.00 CSR END1916.00 C*1917.00 C* If change action, update record.1918.00 C*1919.00 CSR *IN22 IFEQ ’1’1920.00 CSR UDATI92801 991921.00 CSR END1922.00 C*1923.00 C* If delete action, delete record.1924.00 C*1925.00 CSR *IN23 IFEQ ’1’1926.00 CSR DELETI92801 991927.00 CSR END1928.00 C*

�� ����� ���� ��� ��� �� �� ���� �� � ���� ���� ������

Page 352: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–58 A8.1 (8/97)

1929.00 C* Clear data field for next transaction1930.00 C*1931.00 CSR MOVE #FCLR @@AID1932.00 CSR EXSR S0011933.00 C* –––– ––––1934.00 CSR END010 ENDSR1935.00 C***************************************************************1936.00 C*1937.00 C* SUBROUTINE S998 – Load dictionary parameters.1938.00 C* –––––––––––––––––––––––––––––––––––––––––––––1939.00 C*1940.00 CSR S998 BEGSR1941.00 C* –––– –––––1942.00 C*1943.00 C*1944.00 C* Dictionary parameters for – Cost Center1945.00 C*1946.00 CSR MOVE *BLANK FRDTAI1947.00 CSR MOVEL’XCC’ FRDTAI1948.00 CSR CALL ’X9800E’ 811949.00 C* –––– ––––––––1950.00 CSR PARM 19800E1951.00 CSR FRERR IFEQ ’0’1953.00 CSR MOVE FRDTAT T@XCC 11954.00 CSR MOVE FREC E@XCC 11955.00 CSR MOVE FRDTAS C@XCC 501956.00 CSR MOVE FRDTAD G@XCC 201957.00 CSR MOVE FRCDEC F@XCC 11958.00 CSR MOVELFRSY S@xCC 41959.00 CSR MOVE FRRT R@XCC 21960.00 CSR MOVE FRDVAL D@XCC 401961.00 CSR MOVE FRVAL A@XCC 401962.00 CSR MOVE FRLVAL L@XCC 401963.00 CSR MOVE FRUVAL U@XCC 401964.00 CSR MOVE FREDWR W@XCC 301965.00 CSR MOVE FRLR J@XCC 11966.00 CSR MOVE FRNNIX N@XCC 201967.00 CSR Z–ADD1 #@XCC 1101968.00 CSR MOVE F@XCC #A1969.00 CSR DO #A1970.00 CSR MULT 10 #@XCC1971.00 CSR END1972.00 CSR END1973.00 C*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––1974.00 C*1975.00 C* Dictionary parameters for – Description1976.00 C*1977.00 CSR MOVE *BLANK FRDTAI1978.00 CSR MOVEL’XDS’ FRDTAI1979.00 CSR CALL ’X9800E’ 811980.00 C* –––– ––––––––1981.00 CSR PARM I9800E1982.00 CSR FRERR IFEQ ’0’1984.00 CSR MOVE FRDTAT T@XDS 11985.00 CSR MOVE FREC E@XDS 11986.00 CSR MOVE FRDTAS C@xDS 501987.00 CSR MOVE FRDTAD G@XDS 201988.00 CSR MOVE FRCDEC F@XDS 11989.00 CSR MOVELFPSY S@xDS 41990.00 CSR MOVE FRRT R@XDS 21991.00 CSR MOVE FRDVAL D@XDS 401992.00 CSR MOVE FRVAL A@EDS 401993.00 CSR MOVE FRLVAL L@XDS 401994.00 CSR MOVE FRUVAL U@XDS 401995.00 CSR MOVE FREDWR W@XDS 301996.00 CSR MOVE FRLR J@XDS 11997.00 CSR MOVE FRNNIX N@XDS 201998.00 CSR Z–ADD1 #@XDS 1101999.00 CSR MOVE F@XDS #A2000.00 CSR DO #A2001.00 CSR MULT 10 #@XDS2002.00 CSR END2003.00 CSR END2004.00 C*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––2005.00 C*

����� ���� �� ��������� �������������� ���� �������������� ���� ������� ��� ����������� ������� ����

���� ������������� ������

��������� ��� �� ��� ������������� ����� ���������� ��� ����������� ����� ��� �� ������ ��� �� ����� �������������� ���� ������������

Page 353: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–59

2006.00 C* Dictionary parameters for – Date Last Ship2007.00 C*2008.00 CSR MOVE *BLANK FRDTAI2009.00 CSR MOVEL’ XDT’ FRDTAI2010.00 CSR CALL ’X9800E’ 812011.00 C* –––– ––––––––2012.00 CSR PARM I9800E2013.00 CSR FRERR IFEQ ’0’2015.00 CSR MOVE FRDTAT T@XDT 12016.00 CSR MOVE FREC E@XDT 12017.00 CSR MOVE FRDTAS C@EDT 50201S.00 CSR MOVE FRDTAD G@XDT 202019.00 CSR MOVE FRCDEC F@XDT 12020.00 CSR MOVELFRSY S@XDT 42021.00 CSR MOVE FRRT R@XDT 22022.00 CSR MOVE FRDVAL D@XDT 402023. Co CSR MOVE FRVAL A@xDT 402024.00 CSR MOVE FRLVAL L@XDT 402025.00 CSR MOVE FRUVAL U@XDT 402026.00 CSR MOVE FREDWR W@XDT 302027.00 CSR MOVE FRLR J@xDT 12029.00 CSR MOVE FRNNIX N@XDT 202029.00 CSR Z–ADD1 #@XDT 1102030.00 CSR MOVE F@XDT #A2031.00 CSR DO #A2032.00 CSR MULT 10 #@XDT2033.00 CSR END2034.00 CSR END2035.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––2036.00 C*2037.00 C* Dictionary parameters for – Item ID2039.00 C*2039.00 CSR MOVE *BLANK FRDTAI2040.00 CSR MOVEL’XIT’ FRDTAI2041.00 CSR CALL ’X9800E’ 812042.00 C* –––– ––––––––2043.00 CSR PARM I9800E2044.00 CSR FRERR IFEQ ’0’2046.00 CSR MOVE FRDTAT T@XIT 12047.00 CSR MOVE FREC E@XIT 12048.00 CSR MOVE FRDTAS C@XIT 502049.00 CSR MOVE FRDTAD G@XIT 202050.00 CSR MOVE FRCDEC F@XIT 12051.00 CSR MOVELFRSY S@XIT 42052.00 CSR MOVE FRRT R@XIT 22053.00 CSR MOVE FRDVAL D@XIT 402054.00 CSR MOVE FRVAL A@XIT 402055.00 CSR MOVE FRLVAL L@XIT 402056.00 CSR MOVE FRUVAL U@XIT 402057.00 CSR MOVE FREDWR W@XIT 302058.00 CSR MOVE FRLR J@XIT 12059.00 CSR MOVE FRNNIX N@XIT 202060.00 CSR Z–ADD1 #@XIT 1102061.00 CSR MOVE F@XIT #A2062.00 CSR DO #A2063.00 CSR MULT 10 #@XIT2064.00 CSR END2065.00 CSR END2066.00 C* –––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– 2067.00 C*2068.00 C* Dictionary parameters for – Quantity – On Hand2069.00 C*2070.00 CSR MOVE *BLANK FRDTAI2071.00 CSR MOVEL’XQT’ FRDTAI2072.00 CSR CALL ’X9800E’ 812073.00 C* –––– ––––––––2074.00 CSR PARM I9800E2075.00 CSR FRERR IFEQ ’0’2077.00 CSR MOVE FRDTAT T@XQT 12078.00 CSR MOVE FREC E@XQT 12079.00 CSR MOVE FRDTAS C@XOT 502080.00 CSR MOVE FRDTAD G@XQT 202081.00 CSR MOVE FRCDEC F@QXT 12082.00 CSR MOVELFRSY S@XQT 4

Page 354: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–60 A8.1 (8/97)

2083.00 CSR MOVE FRRT R@XQT 22084.00 CSR MOVE FRDVAL D@XQT 402085.00 CSR MOVE FRVAL A@XQT 402086.00 CSR MOVE FRLVAL L@XQT 402087.00 CSR MOVE FRUVAL U@XQT 402088.00 CSR MOVE FREDWR W@XQT 302089.00 CSR MOVE FRLR J@XQT 12090.00 CSR MOVE FRNNIX N@XQT 202091.00 CSR Z–ADD1 #@XQT 1102092.00 CSR MOVE F@XQT #A2093.00 CSR DO #A2094.00 CSR MULT 10 #@XQT2095.00 CSR END2096.00 CSR END2097.00 C*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––2098.00 C*2099.00 C* Dictionary parameters for – Item Type2100.00 C*2101.00 CSR MOVE *BLANK FRDTAI2102.00 CSR MOVEL’XTY’ FRDTAI2103.00 CSR CALL ’X9800E’ 812104.00 C* –––– ––––––––2105.00 CSR PARM I9800E2106.00 CSR FRERR IFEQ ’0’2108.00 CSR MOVE FRDTAT T@XTY 12109.00 CSR MOVE FREC E@XTY 12110.00 CSR MOVE FRDTAS C@XTY 502111.00 CSR MOVE FRDTAD G@XTY 202112.00 CSR MOVE FRCDEC F@XTY 12113.00 CSR MOVELFRSY S@XTY 42114.00 CSR MOVE FRRT P@XTY 22115.00 CSR MOVE FRDVAL D@XTY 402116.00 CSR MOVE FRVAL A@XTY 402117.00 CSR MOVE FRLVAL L@XTY 402118.00 CSR MOVE FRUVAL U@XTY 402119.00 CSR MOVE FREDWR W@XTY 302120.00 CSR MOVE FRLR J@XTY 12121.00 CSR MOVE FRNNIX N@XTY 202122.00 CSR Z–ADD1 #@XTY 1102123.00 CSR MOVE F@XTY #A2124.00 CSR DO #A2125.00 CSR MULT 10 #@XTY2126.00 CSR END2127.00 CSR END2128.00 C*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––2129.00 C*2130.00 C* Dictionary parameters for – Item Unit of Measure2131.00 C*2132.00 CSR MOVE *BLANK FRDTAI2133.00 CSR MOVEL’XUM’ FRDTAI2134.00 CSR CALL ’X9800E’ 812135.00 C* –––– ––––––––2136.00 CSR PARM I9800E2l37.00 CSR FRERR IFEQ ’0’2139.00 CSR MOVE FRDTAT T@XUM 12140.00 CSR MOVE FREC E@XUM 12141.00 CSR MOVE FRDTAS C@XUM 502142.00 CSR MOVE FRDTAD G@XUM 202143.00 CSR MOVE FRCDEC F@XUM 12144.00 CSR MOVELFRSY S@XUM 42145.00 CSR MOVE FRRT R@XUM 22146.00 CSR MOVE FRDVAL D@XUM 402147.00 CSR MOVE FRVAL A@XUM 402148.00 CSR MOVE FRLVAL L@XUM 402149.00 CSR MOVE FRUVAL U@XUM 402150.00 CSR MOVE FREDWR W@XUM 302151.00 CSR MOVE FRLR J@XUM 12152.00 CSR MOVE FRNNIX N@XUM 202153.00 CSR Z–ADD1 #@XUM 1102154.00 CSR MOVE F@XUM #A2155.00 CSR DO #A2156.00 CSR MULT 10 #@XUM2157.00 CSR END2158.00 CSR END2159.00 C*

Page 355: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–61

2160.00 C*2161.00 C* Dictionary parameters for – Item Category Code 0012162.00 C*2163~C0 CSR MOVE *BLANK FRDTAI2164.00 CSR MOVEL’X001’ FRDTAI2165.00 CSR CALL ’X9800E’ 812166.00 C* –––– ––––––––2167.00 CSR PARM I9800E2168.00 CSR FRERR IFRQ ’0’2170.00 CSR MOVE FRDTAT T@X001 12171.00 CSR MOVE FREC E@X001 12172.00 CSR MOVE FRDTAS C@X00l 502173.00 CSR MOVE FRDTAD G@X00l 202174.00 CSR MOVE FRCDEC F5X001 12175.00 CSR MOVELFRSY S@X001 42176.00 CSR MOVE FRRT R5X001 22177.00 CSR MOVE FRDVAL D@X00l 402178.00 CSR MOVE FRVAL A@X001 402179.00 CSR MOVE FRLVAL L@X001 402180.00 CSR MOVE FRUVAL U@X001 402181.00 CSR MOVE FREDWR W@X00l 302182.00 CSR MOVE FRLR J@XO0l 12183.00 CSR MOVE FRNNIX N@X00l 202184.00 CSR Z–ADD1 #@X00l 1102185.00 CSR MOVE F@X001 #A2186.00 CSR DO #A2187.00 CSR MULT 10 #@X0012188.00 CSR END2189.00 CSR END2190.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––2191.00 C*2192.00 C* Dictionary parameters for – Item Category Code 0022193.00 C*2194.00 CSR MOVE *BLANK FRDTAI2195.00 CSR MOVEL’X002’ FRDTAI2196.00 CSR CALL ’X9800E’ 812197.00 C* –––– ––––––––2198.00 CSR PARM I9800E2199.00 CSR FRERR IFEQ ’0’2201.00 CSR MOVE FRDTAT T@X002 12202.00 CSR MOVE FREC E@X002 12203.00 CSR MOVE FRDTAS C@X002 502204.00 CSR MOVE FRDTAD G@XO02 202205.00 CSR MOVE FRCDEC F@X002 12206.00 CSR MOVELFRSY S@X002 42207.00 CSR MOVE FRRT R@X002 22208.00 CSR MOVE FRDVAL D@X002 402209.00 CSR MOVE FRVAL A@X002 402210.00 CSR MOVE FRLVAL L@X002 402211.00 CSR MOVE FRUVAL U@X002 402212.00 CSR MOVE FREDWR W@X002 302213.00 CSR MOVE FRLR J@X002 12214.00 CSR MOVE FRNNIX N@X002 202215.00 CSR Z–ADD1 #@X002 1102216.00 CSR MOVE F@X002 #A2217.00 a~ DO #A2218.00 CSR MULT 10 #@X0022219.00 CSR END2220.00 CSR END2221.00 Ct2222.00 C*2223.00 C* Dictionary parameters for – Item Category Code 0032224.00 C*2225.00 CSR MOVE *BLANK FRDTAI2226.00 CSR MOVEL’X003’ FRDTAI2227.00 CSR CALL ’X9800E’ 812228.00 C* –––– ––––––––2229.00 CSR PARM I9800E2230.00 CSR FRERR IFRQ ’0’2232.00 CSR MOVE FRDTAT T@X003 12233.00 CSR MOVE FREC E@X003 12234.00 CSR MOVE FRDTAS C@X003 502235.00 CSR MOVE FRDTAD G@X003 202236.00 CSR MOVE FRCDEC F@X003 1

Page 356: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–62 A8.1 (8/97)

2237.00 CSR MOVELFRSY S@X003 42238.00 CSR MOVE FRRT R@X003 22239.00 CSR MOVE FRDVAL D@X003 402240.00 CSR MOVE FRVAL A@X003 402241.00 CSR MOVE FRLVAL L@X0O3 402242.00 CSR MOVE FRUVAL U@X003 402243.00 CSR MOVE FREDWR W@X003 302244.00 CSR MOVE FRLR J@X003 12245.P0 CSR MOVE FRNNIX N@X003 202246.00 CSR Z–ADD1 #@X003 1102247.00 CSR MOVE F@X003 #A2248.00 CsR DO #A2249.00 CSR MULT 10 #@X0032250.00 CSR END2251.00 CSR END2252.00 C*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––2253.00 C*2254.00 C* Dictionary parameters for – Item Category Code 0042255.00 C*2256.00 CSR MOVE *BLANK FRDTAI2257.00 CSR MOVEL’X004’ FRDTAI2258.00 CSR CALL ’X9800E’ 812259.00 C* –––– –––––––2260.00 CSR PARM I9800E2261.00 CSR FRERR IFEQ ’0’2263.00 CSR MOVE FRDTAT T@X004 12264.00 CSR MOVE FREC E@X004 12265.00 CSR MOVE FRDTAS C@X004 502266.00 CSR MOVE FRDTAD G@X004 202267.00 CSR MOVE FRCDEC F@X004 12268.00 CSR MOVELFRSY S@X004 42269.00 CSR MOVE FRRT R@X004 22270.00 CSR MOVE FRDVAL D@X004 402271.00 CSR MOVE FRVAL A@X004 402272.00 CSR MOVE FRLVAL L@X004 402273.00 CSR MOVE FRUVAL U@X004 402274.00 CSR MOVE FREDWR W@X004 302275.00 CSR MOVE FRLR J@X004 12276.00 CSR MOVE FRNNIX N@X004 202277.00 CSR Z–ADD1 #@X004 1102278.00 CSR MOVE F@X004 #A2279.00 CSR DO #A2280.00 CSR MULT 10 #@X0042281.00 CSR END2282.00 CSR END2283.00 C*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––2284.00 C*2285.00 C* Dictionary parameters for – Item Category Code 0052286.00 C*2287.00 CSR MOVE *BLANK FRDTAI2288.00 CSR MOVEL’X005’ FRDTAI2289.00 CSR CALL ’X9800E’ 812290.00 C* –––– ––––––––2291.00 CSR PARM I9800E2292.00 CSR FRERR IFEQ ’0’2294.00 CSR MOVE FRDTAT T@X005 12295.00 CSR MOVE FREC E@X005 12296.00 CSR MOVE FRDTAS C@X005 502297.00 CSR MOVE FRDTAD G@X005 202298.00 CSR MOVE FRCDEC F@X005 12299.00 CSR MOVELFRSY S@X005 42300.00 CSR MOVE FRRT R@X005 22301.00 CSR MOVE FRDVAL D@X005 402302.00 CSR MOVE FRVAL A@X005 402303.00 CSR MOVE FRLVAL L@X005 402304.00 CSR MOVE FRUVAL U@X005 402305.00 CSR MOVE FREDWR W@X005 302306.00 CSR MOVE FRLR J@X005 12307.00 CSR MOVE FRNNIX N@X005 202308.00 CSR Z–ADD1 #@X005 1102309.00 CSR MOVE F@X005 #A2310.00 CSR DO #A2311.00 CSR MULT 10 #@X0052312.00 CSR END2313.00 CSR END

Page 357: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–63

2314.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––2315.00 C*2316.00 C* Set subroutine execution flag.2317.00 C*2318.00 CSR MOVE ’1’ $998 12319.00 C*2320.00 CSR END998 ENDSR2321.00 C******************************************************************2322.00 C*2323.00 C* SUBROUTINE S999 – Housekeeping2324.00 C* ––––––––––––––––––––––––––––––2325.00 C*2326.00 C* Processing: 1. Load video screen text.2327.00 C* 2. Retrieve screen title data area, test2328.00 C* for unauthorized access, center video2329.00 C* title and move to video screen.2330.00 C* 3. Initialize key list.2331.00 C* 4. Load roll keys.2332.00 C* 5. Passed parameters.2333.00 C* 6. Load error message array.2334.00 C*2335.00 CSR S999 BEGSR2336.00 C* –––– –––––2337.00 C*2338.00 C* Required program parameters.2339.00 C*2340.00 CSR *ENTRY PLIST2341.00 C*2342.00 C* Passed Parameter – Item ID2343.00 C*2344.00 CSR PARM ##XIT 82345.00 C*2346.00 C* Move to internal reference – Item ID2347.00 C*2348.00 CSR MOVE ##XIT VDXIT2349.00 C*2350.00 C* Test for auto inquiry function.2351.00 C*2352.00 CSR VDXIT IFNE *BLANK2353.00 CSR MOVE ’1’ $AUTO 12354.00 CSR END2355.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––2356.00 C*2357.00 C* Load video screen text.2358.00 C*2359.00 CSR MOVEL@@FILE PSKEY 102360.00 CSR Z–ADD025 PSVTX# 302361.00 C/COPY JDECPY,C00SC2362.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––2363.00 C*2364.00 C* Key list for – Cost Center Security2365.00 C*2366.00 CSR MSKY01 KLIST2367.00 CSR KFLD MSUSER2368.00 CSR KFLD MSFILE2369.00 CSR KFLD MSMCUT2370.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––2371.00 C*2372.00 C* Key list for – SUM Item Master File2373.00 C*2374.00 CSR QXKY01 KLIST2375.00 CSR KFLD QXXIT2376.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––2377.00 C*2378.00 C* Load roll key upper and lower key values.2379.00 C*2380.00 CSR *LIKE DEFN QXXIT $RUKEY2381.00 CSR *LIKE DEFN $RUKEY $RDKEY2382.00 CSR MOVE *LOVAL $RUKEY2383.00 CSR MOVE *ALL’9’ $RDKEY2384.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––2385.00 C*

((*'�( ���� ,�!! $#!. ���-��*)�� $#��

��'�"�)�'( %�((�� )$%'$�'�"

��) �*)$/�#&*�'. ���#�$'"�)�$# �(%�((��

��)'��+�( +$���*!�'.$+�''���(

�#!. !$��( )��(� ��� ���!�(��(%!�.�� $# )�� +���$�#()��� $� �!! ����

$"%$(�)� �.( �'� ����#����'�

�(�#� ��� � "$'� �#� "$'���(%����!!. �$' ,$' ���!�(�

Page 358: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–64 A8.1 (8/97)

����� �������������� �������� �� �������

�� ���� � ���� ��� ��� ���� �������� ��� ������� ���������

�� ��� ���������� �� ����� ������ ���� �������

������ �� ��������������� ���� �� ��� �� ��

2386.00 C* Load error messages array.2387.00 C*2388.00 CSR MOVE ’0001’ EMK,O1 Inv Action2389.00 CSR MOVE ’0002’ EMK,02 Inv Key2390.00 CSR MOVE ’0003’ EMK,03 Inv Blanks2391.00 CSR MOVE ’0004’ ENK,04 Inv Date2392.00 CSR NIVE ’0005’ EMK,05 Inv Next Nbr2393.00 CSR MOVE ’0007’ EMK,06 In Use2394.00 CSR MOVE ’0025’ EMK,07 Inv Values2395.00 CSR MOVE ’0026’ EMK,08 Inv MCU2396.00 CSR MOVE ’0027’ EMK,09 Inv Desc Ttl2397.00 CSR MOVE ’0052’ EMK,102398.00 C*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––2399.00 C*2400.00 C* Load invalid action code array.2401.00 C*2402.00 CSR MOVEA’ ’ @NAC2403.00 C*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––2404.00 C*2405.00 C* Load system date.2406.00 C*2407.00 CSR TIME $WRK12 1202408.00 CSR MOVE $WRK12 $$EDT 602409.00 CSR MOVE $$EDT #SIDAT 62410.00 CSR MOVEL’*SYSVAL ’ #FFMT 72411.00 CSR MOVEL*BLANKS #EDAT 82412.00 CSR MOVEL’*JUL ’ #TFMT 72413.00 CSR MOVEL’*NONE ’ #SEP 72414.00 CSR MOVE ’ ’ $ERTST 12415.00 CSR CALL ’X0028 ’2416.00 C* –––– ––––––2417.00 CSR PARM #SIDAT2418.00 CSR PARM #EDAT2419.00 CSR PARM #FFMT2420.00 CSR PARM #TFMT2421.00 CSR PARM #SEP2422.00 CSR PARM $ERTST2423.00 CSR MOVE #SIDAT $$UPMJ 602424.00 C*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––2425.00 CSR END999 ENDSR2426.00 C***************************************************************2427.00 C***************************************************************2428.00 OI92801 E UNLOCK

Page 359: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–65

ÁÁ Exercises��� ��� ����� � �� �� ��������

Page 360: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–66 A8.1 (8/97)

Page 361: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–67

User Spaces

About User Spaces

�$�# $"���$ �#� !����%$ �� ���� �* �""����%�! �#!�#�� %�#����$ ���$� %!$%!#� ��%�� �$�# !����% ��$ �#��%�� �� �"&��%�� � � ����%� &$�# $"���$ � �� ��)�$� � �� "#!'���$ *!& (�%��

� � ��$%�# ��%�!� !� #�%#��'� � � �!#��%�!

� � ��� $ !� �* �������* �!���*� � $�+�$

� � ��� $ !� �� �"&��%� � &$�# !����%$

�!& $�!&�� "���� *!&# &$�# $"���$ � ���#�#* ��� $! %��% �% �$ ����%���&%!��%�����* (�� *!& $�� !��� %��$ ���"%�# *!& (��� ���# %�� �!��!(� ���!&% &$�# $"���$�

�! (!#� (�%� &$�# $"���$� "�#�!#� %�� �!��!(� � %�$�$�

� �#��%� � &$�# $"���

� �#�%� %! � &$�# $"���

� ���� �#!� � &$�# $"���

Page 362: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–68 A8.1 (8/97)

What Is a User Space?

0.!- .,��! %. �* +�&!�/ )� ! 0, +" � �+((!�/%+* +" �4/!. /$�/ �-! 0.! "+-./+-%*# �*4 0.!- !"%*! %*"+-)�/%+*�

�$!* 4+0 0.! � 0.!- .,��!� /$!-! %. *+ '!4 /+ -!/-%!1! /$! %*"+-)�/%+* ,(��! %*/$! .,��!� �$!-!"+-!� /$! %*"+-)�/%+* %* /$! 0.!- .,��! %. %* /$! +- !- /$�/ %/ 2�.!*/!-! � 0.!- .,��! ��* ./+-! 0, /+ � )!#��4/!. +" %*"+-)�/%+*�

�+ .!! /$! �+*/!*/. +" � �.!- �,��!� !*/!- /$! �+))�* ������ ��0),��&!�/� "-+) �*4 �+))�* (%*! �"/!- /$! .,��! $�. �!!* (+� ! �

What Are the Advantages of Using a User Space?

�$! )�%* � 1�*/�#! +" 0.%*# � 0.!- .,��! %. %/. .,!! � �!��0.! � 0.!- .,��!�+*.%./. +" �4/!. %*./!� +" !(!)!*/. (%'! �* �--�4� 4+0 ��* 2-%/! �* -!/-%!1!-!�+- . "�./!- 0.%*# � 0.!- .,��! /$�* �* �--�4�

�* � %/%+* /+ .,!! � � 0.!- .,��! ,-+1% !. 4+0 2%/$ )+-! "(!3%�%(%/4� 0.!-.,��! +!. *+/ $�1! � "%3! -!�+- (!*#/$� �$!* 4+0 2-%/! � -!�+- /+ � 0.!-.,��!� 4+0 !"%*! /$! (!*#/$ +" /$�/ -!�+- � �$!-!"+-!� !��$ -!�+- 4+0 2-%/! /+4+0- 0.!- .,��! ��* �! � %""!-!*/ .%5!� �* � %/%+*� %/ %. ,+..%�(! /+ 4*�)%��((4%*�-!�.! /$! .%5! +" 4+0- 0.!- .,��! �4 ��((%*# /$! �*/!- �.!- �,��! ,-+#-�)�������� �"/!- �-!�/%*# /$! 0.!- .,��!�

�+- !3�),(!� ��� ��

�$! �--�4 ��� $�. � "%3! -!�+- (!*#/$ +" ��� /$!-!"+-! *+ -!�+- .)�((!-+- (�-#!- /$�* �� �4/!. ��* �! 2-%//!* /+ /$%. �--�4�

�.!- .,��!. �-! �(.+ 0.! 2$!* �+))0*%��/%*# �!/2!!* /2+ ,-+#-�).� �$!.,��! ��* ��--4 %*"+-)�/%+* (+� ! %* +*! ,-+#-�) /+ �*+/$!- ,-+#-�) "+--!/-%!1�(�

�+- !3�),(!� �-+#-�) �-!�/!. /$! 0.!- .,��! �* (+� . %*"+-)�/%+* %*/+� 0.!- .,��!� �$!* �-+#-�) ��((. �-+#-�) � �* ,�..!. /$! *�)! +" /$!0.!- .,��! /+ %/� �-+#-�) � ��* -!/-%!1! %*"+-)�/%+* "-+) /$! 0.!- .,��!/$�/ 2�. (+� ! �4 �-+#-�) �

Page 363: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–69

How Does a User Space Function?

�!(!(�!, .$�. � /-!, -+��! %- )*.$%)# (*,! .$�) � �*''!�.%*) *" �3.!- /-! .*-.*,! %)"*,(�.%*)

�*/ 1,%.! %)"*,(�.%*) .* � /-!, -+��!� �- 1!'' �- ,!.,%!0! %)"*,(�.%*) ",*( %.��%)�! .$!,! %- )* &!3 �--*�%�.! 1%.$ � /-!, -+��!� .$! %)"*,(�.%*) �*).�%)! %)� /-!, -+��! %- %) � /-!,4 !"%)! *, !,� �$! *, !, %- ��-! *) +,*#,�(�*).,*''! *""-!. �) '!)#.$ 0�'/!-�

Creating a User Space

�� ��� �� ���� � ��

�� !.!,(%)! %" � /-!, -+��! �',!� 3 !2%-.- �3 /-%)# .$! �� � � 1�, -+,*#,�( ���������

�*, !2�(+'! ��� ���������� ��

� � � � � � � � � �

��� �����

��� �����

��� ������

��� ����

��� ����

��� �����

��� �������� �����������

PSOBJ (10) The name of your user space.

PSLIB (10) The name of the library in which you wish to check for theexistence of the user space. Generally, this is *LIBL to checkall of the libraries in the library list.

Page 364: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–70 A8.1 (8/97)

�� �� ����� � ���������

PSTYPE (8) The type of object you are checking for. Generally, this is*USRSPC for a user space.

PSMID (10) The member ID if you are checking for a database file.Generally, this is *NONE.

PSAUT (10) The authority or authorization list to be checked for the user.Generally, this is *NONE.

PSERR (1) The error parameter that will indicate an error while checkingyour object. Generally, this is *BLANK.

0 – No authority

1 – Not found

3 – No library

4 – Member not found

5 – No authority to library

6 – Cannot assign library

�� �� � ��� ����� ���� �#��� $� ��� �� ����� �� ��� "���� $� � ��"����������� �!�� ��� ����

�� �� ��� ��� ����� ���� ��� �#��� ��� �� ������ ��� ����� $� ��� ������$� � ��� ������ �� ������ � ��� ������ �� ��� ��� ��� ������ ���������� ��������

�� �#������ CALL ‘QUSCRTUS’ 81

– – – – – – – – – – –

PARM #SPNAM

PARM #SPATT

PARM #SPSIZ

PARM #SPVAL

PARM #SPAUT

PARM #SPTXT

�� �� ����� �����������

#SPNAM (20) The first 10 characters contain your user space name, and thesecond 10 characters contain the name of the library whereyour user space is located. Remember, place your user space inlibrary QTEMP to automatically delete your space when yousign off.

#SPATT (10) The extended attribute of your user space. You may use thisfield to classify your user space. For example, JDE uses thisfield to label all of the user spaces with JDE.

Page 365: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–71

��� ������ � ���������

#SPSIZ (4 binary)

The initial size of your user space. Any value from 1 byte to16 megabytes.

#SPVAL (1) The initial value of all bytes in the user space. Generally, thisis *BLANK.

#SPAUT (10) The authority you give users to your user space. Generally,this is *ALL.

#SPTXT (50) The text description of your user space.

�� �� �$��������$ �������� �� ��%� �� $�!� !��� ����� "��� ��#��!������� ��� �� �������� ���� �� ������ ���� ���� ������� ���� ���

��� �#������ CALL ‘X00SPC’ 81

– – – – – – – – –

PARM #XSPCN

PARM #XRQSZ

PARM #XERR

��� ������ � ���������

#XSPCN (20) The first 10 characters contain your user space name, and thesecond 10 characters contain the name of the library whereyour user space is located. Remember to place your user spacein library QTEMP to automatically delete your space when yousign off.

#XRQSZ (15,0) The requested size to increase your space.

#XERR (1) An error flag:

1 – Space not found

2 – Not authorized

3 – Error

Page 366: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–72 A8.1 (8/97)

Writing to a User Space

�� ����� �� ���� � ��

�'� � (��& (�� �������� $& (�� �������� ����#�� �'�& �%���� �$""�#��

�$& �+�"%!� CALL ‘QUSCHGUS’ 81

– – – – – – – – – – –

PARM #SPNAM

PARM #SPPOS

PARM #SPLGH

PARM #SPVAL

PARM #SPAUX

��� �������� ���� � ����

#SPNAM (20) The first 10 characters contain your user space name, and thesecond 10 characters contain the name of the library whereyour user space is located. Remember to place your user spacein library QTEMP to automatically delete your space when yousign off.

#SPPOS(4 binary)

The starting position in your user space where the informationwill begin. It must be the first byte and must have a valuegreater than 0.

#SPLGH(4 binary)

The length of the information that is being written to your userspace. This field is user–defined, but it must be greater than 0.

#SPVAL(* user defined)

The actual information to be written to your user space. Thefield must be at least as long as the length parameter.

#SPAUX (1) Used to force changes made to your user space to auxiliarystorage, such as a disk. The valid values are:

0 – do not force changes

1 – write changes

2 – write changes immediately

��� �������� %&$�&�"� �� �' )�&' $# $� (�� �� �$""�#���������� * !! %�&�$&" � (&�#'��& �$#(&$! ($ ���������

Page 367: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–73

Tracking Information if Writing Variable Length Records

Method 1

!���� �� ������� �� #�� ��� ������� ��� � %�!� !��� ������ %�! ���!�� ���� ���� �� � ���� ��� ���� #��� ���!�� �� %�! #��� �� �"��#�� � ������� ��� ���� ���"� �������� ������� ����

��� #�% � �� ��� �� � ��� ����&� %�!� ���� �� � � ��� �� �� %�! #�� �������� ��� � %�!� !��� ������ ��� �� ���� � �� �� ������� ��� � %�!����� ��� ��� ���� �� �� ��# �� � �� ��$ � �� ��� ���� ��� ����% ��� %�! ��� �� ��# ������� ����

� �� ������� ��� %�! ��� #�� ��� � %�!� !��� ����� ��� ���� "����!� ���� ���%�! ���!�� ���� ��� �� ���� � �� ���� ����� �� ������� ��� �� ��"� ������� ��!��� !�� �� ��"� ������ #��� %�! #��� � �� ���"� �� ������� ��� ���� %�!� !���������

Initialize pointer to 1Add 30 bytes to

pointer and to savefield

Add 41 bytes topointer and to

another save field

� �� �� �% �� �� � �– 41 bytes –� �

Method 2

��! ��� ���� �����"� �� ���� � �� � �% �� �� �"��% ������ ��� �� ��&� �� �� ������� ���� %�! #�!�� ���% ��"� � ���� �� ��� �� �� ������ #� � � � ���� �� ��� %�! ���� �� ������ ���� �� !��� ������ �� ���� � �� � �% �� #��� ��� %�!��# ���� �� ������ ���

Page 368: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–74 A8.1 (8/97)

Reading from a User Space

��� $�! ��"� ������ ������� ��� �� � $�!� !��� ������ $�! ��� ����$ ��� ���"� � � �� �� ����� �� $�!� ���� �� �!� �� �� � �� ������ � �� ������� ��� � ���!�� �� ������ ������� ��� �� �� ���"���

�� �� � ���� ���� � ��

��� �� ��� ��� ��� ���"� ���� ������ ��������

��� �#������ CALL ‘QUSRTVUS’ 81

– – – – – – – – – – –

PARM #SPNAM

PARM #SPPOS

PARM #SPLGH

PARM #SPREC

��� ��������� �����������

#SPNAM (20) The first 10 characters contain your user space name, and thesecond 10 characters contain the name of the library whereyour user space is located. Remember to place your user spacein library QTEMP to automatically delete your space when yousign off.

#SPPOS(4 binary)

The starting position in your user space where the informationwill begin. It must be the first byte and must have a valuegreater than 0.

#SPLGH(4 binary)

The length of the information that is being retrieved to youruser space. This field is user–defined, it must not be larger thanthe variable that will receive the information, and it must begreater than 0.

#SPREC(* user defined)

The variable that will receive the information from your userspace.

Page 369: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–75

User Indices

About User Indices

/-�, #(��2 #- �( )�$��. ."�. 1#&&

� �.),� ��.�

� &&)1 -��,�" /(�.#)(-

� /.)'�.#��&&3 -),. ��.� ��-�� )( #.- 0�&/�

�"�( 3)/ /-� � /-�, #(��2 3)/ '/-. "�0� � %�3 .) ,�.,#�0� ."� #( ),'�.#)(*&���� #( ."� #(��2� �"� %�3 '/-. �� /(#+/� �(� 3)/ ��( )(&3 ,�.,#�0� ��.�/-#(! ."� %�3 #( �-��(�#(! ), ��-��(�#(! ),��,�

�"�( 3)/ �(.�, ��.� #(.) � /-�, #(��2� #. #- *&���� #( ),��, ���),�#(! .) #.-0�&/��

/-�, #(��2 ��( -.),� /* .) � !#!��3.�- ) #( ),'�.#)(� ���" %�3 �(� ,��),�1#."#( � /-�, #(��2 ��( �� � .) ��� �3.�- &)(!�

�) -�� ."� �)(.�(.- ) � /-�, #(��2� �(.�, ."� �)''�(� ����� � /'*��$��.� ,)' �(3 �)''�(� &#(� � .�, ."� #(��2 "�- ���( &)�����

�)/ -")/&� *&��� 3)/, /-�, #(�#��- #( &#�,�,3 ����� -) ."�. #. 1#&& �� ��&�.���/.)'�.#��&&3 1"�( 3)/ -#!( ) �

�) 1),% 1#." /-�, #(�#��-� *�, ),' ."� )&&)1#(! .�-%-

� �,��.� � �-�, �(��2

� �,#.� .) � �-�, �(��2

� ��.,#�0� ,)' � �-�, �(��2

Page 370: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–76 A8.1 (8/97)

What Are the Advantages of Using a User Index?

���# -$) !$�� ��(� �#($ -$)& )'�& �#��,� �( �' �)($"�(���!!- '$&(�� �$& -$)� �'�� $# -$)& �- �$& (�� �#��,� (�� �#�$&"�(�$# �' �&&�#��� ���$&��#� ($ �('*�!)�� ���' +�!! ��!% '(&��"!�#� (��!� '��&���'� �&$'' &���&�#��#�� �#� (��$&��&�#� $� ��(��

��� '�.� �!�,���!�(- $� � )'�& �#��, �' ")�� ��((�& (��# �# �&&�- ����)'� �&&�-'��*� � ��,�� '�.�� � )'�& �#��, �' $#!- �' ��� �' (�� �#�$&"�(�$# �( �$#(��#' �($#� (�"�� �'�& �#����' �,%�#� �' -$) ��� ��(� ($ (��"�

�$& �,�"%!� @EX 999 30

��� �&&�- ��� ��' � ��,�� '�.� $� �%%&$,�"�(�!- � �!$�-(�'� ���� &��$&�")'( �� �� �-(�' !$#� �#� )% ($ &��$&�' ��# �� !$����� �� -$) ��*���� &��$&�' !$���� �#($ ���� -$) +�!! +�'(� �%%&$,�"�(�!- � �!$�-(�'��# (�� $(��& ��#�� �� -$) ��*� ���� &��$&�' ($ !$��� (�� %&$�&�" +�!!�&&$& +��# &��$&� #)"��& ���� �' !$����� � )'�& �#��, +$)!� �� ��!� ($���$""$��(� �$(� '�()�(�$#'�

� � )'�& �#��, �' ��!� ($ &�(&��*� &��$&�' ��'(�& (��# �# �&&�-�

� �!(�$)�� � )'�& �#��, "�- �,%�#� ($ �$!� "$&� &��$&�'� �( +�!! #$(

�$#(&��( +��# &��$&�' �&� &�"$*��� �� -$) !$�� ��� &��$&�' �#($ � )'�&�#��, �#� (��# &�"$*� �� $� (��"� (�� )'�& �#��, +�!! &�"��# �( (�� ���&��$&� !�*�! '�.��

�$) "�- &�(&��*� ��(� �&$" � )'�& �#��, �# �'��#��#� $&��& $& ��'��#��#� $&��&����# ��(� �' !$���� �#($ � )'�& �#��,� �( �' !$���� �# �'��#��#� $&��&� ���' �$�'#$( &�'(&��( -$) ($ &�(&��*�#� �( �# (��' $&��&�

Page 371: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–77

How Does a User Index Function?

� #!� ����& !"� �! ��"� ��� ����%! '�# "� �" ��$� �" �' � ��'� %���� �#!" ��#���#�� �� ��"� �" !"� �! �! ���� #� �� � ��"� !" #�"# � "��" ���!�!"! �� !�$� �������! "��" '�# %�!� "� !"� �� � #!� ����& �! ������� �� �&������� %��� '�#��� ��"� "� �"�

���� ��%� �! ���$�! "�� �� !" �'"� �� "�� #!� ����& ����� �� ���� ��� �# ��!�!�

� � � � � � � � � � �' � � � � � � � � � � � � � � � ��"� � � � � � �

���� #!��� � #!� ����& '�# ��� � ��"� �"� ��� ��"� "� �"� ���$� ��"� � �� �"���� ����"� �"�

�!� ������!� ���� #!� !����!� !��#�� �� � ��"�� �� '�# � �� ��� � ' !� '�#�� ��" ��$� "� %� ' ���#" ����"��� "����

Page 372: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–78 A8.1 (8/97)

Creating a User Index

������ "� ��� ���" ������ � ��� ����!� ����� �� ��� �� ��� ������" �!���� ������� � ������� ���� ����

��� �!������ CALL ‘J98CKOBJ’ 81

– – – – – – – – – –

PARM PSOBJ

PARM PSLIB

PARM PSTYPE

PARM PSMID

PARM PSAUT

PARM PSERR

��� ������ �� ���������

PSOBJ (10) The name of your user index.

PSLIB (10) The name of the library in which you wish to check for theexistence of the user index. Generally, this is *LIBL to checkall of the libraries in the library list.

PSTYPE (8) The type of object you are checking for. Generally, this is*USRIDX for a user index.

PSMID (10) The member if you are checking for a database file. Generally,this is *NONE.

PSAUT (10) The authority or authorization list to be checked for the user.Generally, this is *NONE.

PSERR (1) The error parameter that will indicate an error while checkingyour object. Generally, this is *BLANK.

0 – No authority

1 – Not found

3 – No library

4 – Member not found

5 – No authority to library

6 – Cannot assign library

Page 373: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–79

� � ���� ����! �!����� ����� �� ��� ���� "��� �� ����������� ���� ��� ����

��� �!������ CALL ‘X00IDX’ 81

– – – – – – – – –

PARM #0XNAM

PARM ‘D’ #0XACT

PARM ‘EQ’ #0XRUL

PARM ‘1’ #0XKLN

PARM *BLANK #0XKEY

PARM #0XRLN

PARM #0XREC

PARM #0XSTA

� ��� ���� ����! ��� ��� �!���� "�� ��� �� ������ "��� ���� ����!�

�� ��� �� ���� �����

��� ��� ���� � ������� ���� ���!� ��������

��� �!������ CALL ‘QUSCRTUI’ 81

– – – – – – – – – – –

PARM #IDNAM

PARM #IDATT

PARM #IDENT

PARM #IDLEN

PARM #IDINS

PARM #IDKEY

PARM #IDUPD

PARM #IDOPT

PARM #IDAUT

PARM #IDTXT

�� ��������� ���� � ����

#IDNAM (20) The first 10 characters contain your user index name, and thesecond 10 characters contain the name of the library whereyour user index is located. Remember to place your user indexin library QTEMP to automatically delete your index when yousign off.

Page 374: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–80 A8.1 (8/97)

��� ������ �� ���������

#IDATT (10) The extended attribute of your user index. You may use thisfield to classify your user index. For example, JDE uses thisfield to label all of the user indexes with JDE.

#IDENT (1) Whether the records you are loading into your user index areFixed–length (F) or Variable–length (V). Generally, this is setto ‘F’.

#IDLEN(4 binary)

The length of the records to be entered into your user index.For fixed–length records valid values are 1 to 999. Forvariable–length records, enter 0 for a key length of 1 to 120, or1 for a key length of 1 to 999.

#IDINS (1) Whether you are loading your user index by a key or not.Generally, this is set to 1 to load your index by a key. A valueof 0 means you are not loading your index by a key.

#IDKEY(4 binary)

The length of your key. The first byte in your record must bethe beginning of your key. The values are 1 to 999 or 0 for nokey.

#IDUPD (1) Whether or not the data in your user index will be immediatelyupdated. Each data change to your index is written to auxiliarystorage. The values are 0 for no immediate update or 1 forimmediate update. Generally, this is 0.

#IDOPT (1) The type of access in which to optimize your index. The valuesare 0 to optimize for random references or 1 to optimize forsequential references. Generally, this is 1.

#SPAUT (10) The authority you give users to your user index. Generally,this is *ALL.

#SPTXT (50) The text description of your user index.

��� ��� ���� �� � � ���� ��������� ����� � �� ��� � �� ������ �� ��� �� �� �� �������� �� ��� � ��� �� �� ��������� �� ��� ��� ���� ����� ������ �� ������ ��� ��� ��� ��� �� ���� �������

Page 375: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–81

Writing to a User Index

�� ����� �� ���� �����

���� �� ���� �������� �� �!������ ������� ������ ��� ���! ������������� �� ���������� ���� ��� ���� ����! ��������

�� �!������ CALL ‘X00IDX’ 81

– – – – – – – – –

PARM #0XNAM

PARM #0XACT

PARM #0XRUL

PARM #0XKLN

PARM #0XKEY

PARM #0XRLN

PARM #0XREC

PARM #0XSTA

�� ��������� ���� � ����

#0XNAM (20) The first 10 characters contain your user index name, and thesecond 10 characters contain the name of the library whereyour user index is located. Remember to place your user indexin library QTEMP to automatically delete you index when yousign off.

#0XACT (1) The action you want to perform on your user index. The validvalues are:

I – Inquire

A – Add

C – Change

D – Delete

#0XRUL (2) The rule used to search your user index using the record. Thevalid values are:

EQ – Equal to

GT – Greater than

LT – Less than

GE – Greater than or Equal to

LE – Less than or Equal to

Page 376: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–82 A8.1 (8/97)

��� ������ �� ���������

#0XKLN (3,0) The length of your key. The first byte in your record must bethe beginning of your key. The values are 1 to 999 or 0 for nokey.

#0XKEY (120) The fields that make up the key to your user index. *FIRST(first record) and *LAST (last record) are allowed.

#0XRLN (3,0) The length of your record. The values are 1 to 999.

#0XREC (120) The record you are entering or deleting from your user index.This parameter will also receive the record when you inquireon your user index.

#0XSTA (1) The error status of the manipulation. The possible values are:

0 – Record found

1 – Record not found, not authorized

8 – Rule invalid

9 – Error on action

Page 377: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–83

Appearance of Records

�$! -!�*- . � ! /* 4*0- 0.!- %) !3 2%'' �++!�- %) �.�!) %)# *- !-�

�*- !3�(+'!� �*0 �-!�/! � 0.!- %) !3 /* &!!+ /-��& *" 4*0- %�! �-!�(.�'!.� ���$ -!�*- 2%/$%) 4*0- 0.!- %) !3 �*)/�%). /$! /*/�'.�'!. �(*0)/� %/!(� %/!( !.�-%+/%*)� �) �*./ �!)/!-� �$!&!4 "*- 4*0- 0.!- %) !3 �*).%./. *" /*/�' .�'!. �(*0)/ �) %/!( �-!(!(�!- /$! &!4 (0./ �! 0)%,0!��

�$! "*''*2%)# -!�*- . �-! /* �! '*� ! %)/* 4*0- 0.!- %) !3�

Total Sales Item Description Cost Center

$ 500.00 CHO Chocolate Denver

$ 250.00 STR Strawberry Denver

$ 750.00 C&C Cookies & Cream Denver

$1200.00 VAN Vanilla Denver

$ 400.00 ROC Rocky Road Denver

�!��0.! /$! &!4 /* 4*0- 0.!- %) !3 %. /*/�' .�'!. �(*0)/ �) %/!(� /$! -!�*- .2%'' �! !)/!-! %)/* 4*0- %) !3 %) �.�!) %)# *- !- �4 /*/�' .�'!. �(*0)/ "%-./�/$!) %/!(� �* 4*0- 0.!- %) !3 2%'' '**& '%&! /$%.�

Ice Cream Sales Index

Total Sales Item Description Cost Center

� ����� ��� �/-�2�!--4 �!)1!-

� ������ ��� �*�&4 �*� �!)1!-

� ������ ��� �$*�*'�/! �!)1!-

� ����� ��� �**&%!. � �-!�( �!)1!-

������ ��� ��)%''� �!)1!-

Page 378: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–84 A8.1 (8/97)

Retrieving Data from a User Index

�*0 ��) -!/-%!1! �/� %) �.�!) %)# *- !.�!) %)# *- !-�

�� �� ��� ���� � ������� � ��

� �.! /$! �.!- �) !3 �!-1!- �������

�� �!/ /$! ��/%*) +�-( /* %),0%-! ���

�� �!/ �0'! /* �,0�' /* ����

� �!/ /$! �!4 /* /$! "%-./ -!�*- ��������

�*- !3�(+'!� CALL ‘X00IDX’

– – – – – – – – –

PARM #0XNAM 20

PARM ‘I’ #0XACT 1

PARM ‘EQ’ #0XRUL 2

PARM #0XKLN 30

PARM ‘*FIRST’ #0XKEY120

PARM #0XRLN 30

PARM #0XREC120

PARM #0XSTA 1

�� �* -!/-%!1! /$! )!3/ -!�*- � '*� /$! &!4 2%/$ /$! �0--!)/ -!�*- �. 1�'0!.�) �$�)#! 4*0- -0'! /* 5����

�*- !3�(+'!� CALL ‘X00IDX’

– – – – – – – – –

PARM #0XNAM 20

PARM ‘I’ #0XACT 1

PARM ‘GT’ #0XRUL 2

PARM #0XKLN 30

PARM #0XKEY120

PARM #0XRLN 30

PARM #0XREC120

PARM #0XSTA 1

Page 379: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–85

� �� ����� �� � � �������� ����

� �- .# �- , �(� 2 � ,0 , ������

�� � . .# ��.$)( *�,' .) $(+/$, ���

�� � . �/& .) �+/�& .) ����

� � . .# � 3 .) .# !$,-. , �),� �������

�), 2�'*& � CALL ‘X00IDX’

– – – – – – – – –

PARM #0XNAM 20

PARM ‘I’ #0XACT 1

PARM ‘EQ’ #0XRUL 2

PARM #0XKLN 30

PARM ’*LAST’ #0XKEY120

PARM #0XRLN 30

PARM #0XREC120

PARM #0XSTA 1

�� �) , .,$ 0 .# ( 2. , �),�� &)�� .# % 3 1$.# .# �/,, (. , �),��- 0�&/ -�(� �#�(" 3)/, ,/& .) 4����

�), 2�'*& � CALL ‘X00IDX’

– – – – – – – – –

PARM #0XNAM 20

PARM ‘I’ #0XACT 1

PARM ‘LT’ #0XRUL 2

PARM #0XKLN 30

PARM #0XKEY120

PARM #0XRLN 30

PARM #0XREC120

PARM #0XSTA 1

Page 380: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–86 A8.1 (8/97)

1.00 H/TITLE PINDEX — User Index Demonstration2.00 H* ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––3.00 H*4.00 H* Copyright (c) 19935.00 H* J. D. Edwards & Company6.00 H* This unpublished material is proprietary to7.00 H* J. D. Edwards & Company. All rights reserved.8.00 H* The methods and techniques described herein are9.00 H* considered trade secrets and/or confidential.

10.00 H* Reproduction or distribution, in whole or in part,11.00 H* is forbidden except by express written permission12.00 H* of J. D. Edwards & Company.13.00 H*14.00 H*15.00 H* –––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––16.00 F*17.00 F* PROGRAM REVISION LOG18.00 F* ––––––––––––––––––––19.00 F*20.00 F* Date Programmer Nature of Revision21.00 F* –––––––– –––––––––– –––––––––––––––––––––––––––––––––––––––––22.00AUTHRF* 12/02/93 FRAZZINI SAR # 289 (AS/400 A/G)23.00 F*24.00 F*********************************************************************25.00 F*27.00 FVINEX CF E WORKSTN KINFDS SRVFDS28.00 F I1 KSFILE VINDEXS29.00 F*********************************************************************30.00 F*31.00 F* Copy Member for Composite Common Subroutine – C000132.00 F*33.00 F/COPY JDECPY,D000134.00 F*********************************************************************35.00 E*********************************************************************36.00 E* PROGRAM TABLES AND ARRAYS37.00 E* –––––––––––––––––––––––––38.00 E*39.00 E EMK 64 4 Error Msg40.00 E @MK 64 1 Error Msg41.00 E @ER 64 4 Error Msg42.00 E @DV 40 1 Dflt Wrk43.00 E @I# 99 1 Save Indicator44.00 E @C 256 1 Literal Work45.00 E*46.00 E*47.00 E* Copy Composite Member for Common Subroutine C000148.00 E*49.00 E/COPY JDECPY,E000150.00 E*********************************************************************51.00 E*52.00 E* Copy Member for Composite Common Subroutine C001253.00 E*54.00 E/COPY JDECPY,E001255.00 E*********************************************************************56.00 E*57.00 E* Copy Member for Composite Common Subroutine C004258.00 E*59.00 E/COPY JDECPY,E004260.00 E*********************************************************************61.00 E*62.00 E* Copy Member for Composite Common Subroutine C99763.00 E*64.00 E/COPY JDECPY,E99765.00 E*********************************************************************66.00 I*********************************************************************67.00 I* PROGRAM INPUT SPECIFICATIONS AND DATA STRUCTURES68.00 I* ––––––––––––––––––––––––––––––––––––––––––––––––69.00 I*70.00 I* Data Structure to Load Video Screen Text71.00 I*72.00 IDSTXT DS 24073.00 I 1 16 VTX00174.00 I 41 56 VTX00275.00 I 81 92 VTX00376.00 I 121 150 VTX00477.00 I 161 163 VTX00578.00 I 201 203 VTX00679.00 I*80.00 I/COPY JDECPY,I00DSINX81.00 I/COPY JDECPY,I00PS@@82.00 I/COPY JDECPY,I00DSPROG

���� ����� ������ �� ���

Page 381: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–87

���#%� �#%!�' '#�� (&�� )�'� �&�%�"��* ����"�� �&� ��'� �'%(�'(%�

��'� �'%(�'(%��#"'��"�"� '��%��#%� �"�'�� �&�%�"��* "�!�� �"��&�% �"��*��&�%�$'�#" '�*'�

��'� &'%(�'(%� ����"�"� '�%�� $#&&�� � ��+ �"�'�&� ��� �� �& '�� �( ��+ �"�'�� ����% '#������ '# &�� )���� ��� �& �%� ��+ ��� �& )��"��� �� �� �+���� ��� � ��� �+'�&�� #%���� �� ����� �+'�&� �%� ���"� (&���

83.00 I* 84.00 I*

85.00 I* Copy Member for Composite Common Subroutine – C00SC86.00 I*87.00 I/COPY JDECPY, I00SC88.00 I*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––89.00 I*90.00 I* Data Structures for user index.91.00 I* ===============================92.00 I*93.00 I* * Entry Record94.00 I*95.00 IDSIDX1 DS96.00 I 1 1 $IBLK97.00 I 2 6 $1CO98.00 I 7 18 $1MCU99.00 I 19 48 $1DL01

100.00 I 49 51 $1RP01101.00 I 52 54 $1RP02102.00 I*103.00 I* * Entry Length, Name/Library, Text104.00 I*105.00 I DS106.00 I I 54 B 1 40$1RECL107.00 I I ’PINDEX QTEMP 5 24 $1IDX108.00 I I ’Demonstration Index 25 44 $1TEXT109.00 I*110.00 I* * Partial keys 1 & 2, full unique key KEYL.111.00 I*112.00 I DS113.00 I I 1 B 1 40$1KEY1114.00 I I 6 B 5 80$1KEY2115.00 I I 18 B 9 120$1KEYL115.01 I*115.02 I* Data Structure for File Servers115.03 I*115.04 IDS0010 E DSF0010115.05 I*116.00 I/COPY JDECPY,I9800E117.00 I/COPY JDECPY,I0005U117.01 I/COPY JDECPY,I00XFSRV118.00 I*119.00 I*********************************************************************120.00 C*********************************************************************121.00 C* MAINLINE PROGRAM122.00 C* ––––––––––––––––123.00 C*124.00 C* Process housekeeping.125.00 C*126.00 C EXSR S999127.00 C* –––– ––––128.00 C*129.00 C* If LR on, end program.130.00 C*131.00 C *INLR CABEQ’1’ EOJ132.00 C* –––––––– –––133.00 C*134.00 C* If automatic inquiry set, process inquiry.135.00 C*136.00 C $AUTO CASEQ’1’ S003 24137.00 C* –––––––– ––––138.00 C END139.00 C*140.00 C* Begin normal program processing.141.00 C* ––––––––––––––––––––––––––––––––142.00 C*143.00 C *INLR DOWEQ’0’144.00 C*145.00 C* If subfile page display not set, set subfile page display.146.00 C*147.00 C #SFRNO IFEQ 0148.00 C Z–ADD1 #SFRNO149.00 C END150.00 C*151.00 C* If subfile page empty, don’t display SFL page.152.00 C*153.00 C I1 IFLE 0154.00 C SETOF 38155.00 C ELSE156.00 C SETON 38157.00 C END158.00 C*159.00 C* Write video screen.

Page 382: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–88 A8.1 (8/97)

160.00 C*161.00 C WRITEVINDEX1162.00 C WRITEVINDEXC163.00 C MOVE ’1’ @@AID164.00 C EXSR S001165.00 C* –––– ––––166.00 C*167.00 C* Load data field dictionary parameters (one cycle only).168.00 C*169.00 C $998 CASEQ’ ’ S998170.00 C* –––––––– ––––171.00 C END172.00 C*173.00 C* Begin video screen read processing174.00 C*175.00 C SETOF 999301176.00 C READ VINDEX 9998177.00 C Z–ADD0 ##RROW178.00 C Z–ADD0 ##RCOL179.00 C*180.00 C* If video read timed out, end program.181.00 C*182.00 C *IN99 CABEQ’1’ EOJ LR183.00 C* ––––– –––184.00 C @@AID CABEQ#FEOJ EOJ LR185.00 C* ––––– –––186.00 C*187.00 C* If valid function key pressed, process and return.188.00 C*189.00 C *IN15 IFEQ ’1’190.00 C EXSR S00EX191.00 C* –––– –––––192.00 C *INLR CABEQ’1’ EOJ193.00 C* ––––– –––194.00 C *IN15 CABEQ’1’ END195.00 C* ––––– –––196.00 C END197.00 C*198.00 C* Edit the action code.199.00 C*200.00 C EXSR C0001201.00 C* –––– –––––202.00 C*203.00 C* If end of job requested, end program.204.00 C*205.00 C @@AID CABEQ#FEOJ EOJ206.00 C* ––––– –––207.00 C*208.00 C* If clear screen requested, process and return.209.00 C*210.00 C @@AID IFEQ #FCLR211.00 C EXSR S001212.00 C* –––– ––––213.00 C GOTO END214.00 C* –––– –––215.00 C END216.00 C*217.00 C* Load subfile records.218.00 C*219.00 C EXSR S003220.00 C*221.00 C* If add or change, validate all video input.222.00 C*223.00 C*224.00 C*225.00 C *IN93 CASEQ’0’ S005226.00 C* ––––– –––227.00 C END228.00 C*229.00 C*230.00 C* If no errors and not inquiry, update file.231.00 C*232.00 C *IN93 IFEQ ’0’233.00 C* *IN24 CASEQ’0’ S010234.00 C ––– ––––235.00 C END236.00 C END237.00 C* Return for next input.238.00 C*239.00 C END TAG240.00 C* ––– –––241.00 C*242.00 C* Set correct message in line 24.243.00 C* *IN93 IFEQ ’1’

Page 383: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–89

244.00245.00 C MOVELSVL24E VDL24246.00 C ELSE247.00 C MOVELSVL24M VDL24248.00 C END249.00 C*250.00 C END251.00 C*252.00 C EOJ TAG253.00 C* ––– –––254.00 C*255.00 C* END MAINLINE PROGRAM256.00 C* ––––––––––––––––––––257.00 C***************************************************************258.00 C*259.00 C* Copy Common Subroutine – Edit Action Code260.00 C*261.00 C/COPY JDECPY,C0001262.00 C***************************************************************263.00 C*264.00 C* SUBROUTINE S00EX – Process Function Keys265.00 C* ––––––––––––––––––––––––––––––––––––––––266.00 C*267.00 C* Processing: 1. Process standard function keys.268.00 C* 2. Process special function key exits.269.00 C*270.00 CSR S00EX BEGSR271.00 C* ––––– –––––272.00 C*273.00 C* Retain current page of subfile.274.00 C*275.00 C Z–ADD@@SRCN #SFRNO276.00 C*277.00 CSR T00EXA TAG278.00 C* –––––– –––279.00 C*280.00 C* If EOJ requested, exit subroutine.281.00 C*282.00 CSR @@AID CABEQ#FEOJ ENDEXE LR283.00 C* ––––– ––––––284.00 C*285.00 C* If Display Keys pressed, exit to help facility and return.286.00 C* –––––––––––––––––––––––––––––––––––––––––––––––––––––––––287.00 C*288.00 CSR @@AID IFEQ #FKEYS289.00 CSR CALL ’P9601H’ 98290.00 C* –––– ––––––––291.00 CSR PARM I00SC292.00 CSR PARM SRVFDS293.00 CSR PARM I00CSR294.00 C*295.00 CSR @@AID CABNE#FKEYS T00EXA296.00 C* ––––– ––––––297.00 CSR GOTO ENDEXE298.00 C* –––– ––––––299.00 CSR END300.00 C*301.00 C* If Cursor Sensitive Help Pressed, exit to CS Help.302.00 C* ––––––––––––––––––––––––––––––––––––––––––––––––––303.00 c*304.00 CSR @@AID IFEQ #FQMRK305.00 CSR MOVEA*IN ##IN306.00 CALL ’X96CCF’ 98307.00 C* –––– ––––––––308.00 CSR PARM I00SC309.00 CSR PARM SRVFDS310.00 CSR PARM I00CSR311.00 CSR PARM ’ ’ ##CCFF 2312.00 C*313.00 CSR ##FLDN IFNE *BLANKS314.00 CSR EXSR S00VL315.00 C* –––– –––––316.00 CSR MOVEA##IN *IN,1317.00 CSR END318.00 CSR MOVEL*BLANKS ##DTAI319.00 CSR GOTO ENDEXE320.00 C* –––– ––––––321.00 CSR END322.00 C*323.00 C* If Display errors pressed, exit to error messages.324.00 C* –––––––––––––––––––––––––––––––––––––––––––––––––325.00 c*326.00 CSR @@AID IFEQ #FERRD327.00 CSR Z–ADD1 #G

Page 384: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–90 A8.1 (8/97)

327.01 CSR Z–ADD1 #H328.00 CSR #G DOWLE64329.00 CSR @MK,#G IIEQ ’1’330.00 CSR MOVE EMK, #G @ER, #H331.00 CSR ADD 1 #H332.00 CSR END333.00 CSR ADD 1 #G334.00 CSR END335.00 CSR CALL ’P0000E’ 98336.00 C* –––– ––––––––337.00 CSR PARM @ER338.00 CSR GOTO ENDEXE339.00 C* –––– ––––––340.00 CSR END341.00 C*342.00 C* If HELP key pressed, exit to help facility and return.343.00 C* –––––––––––––––––––––––––––––––––––––––––––––––––––344.00 C*345.00 CSR @@AID IFEQ #FHELP346.00 CSR CALL ’P00IELP’ 99347.00 C* –––– –––––––––348.00 CSR PARM HS@@349.00 CSR PARM HE@@350.00 CSR PARM I00SC351.00 CSR PARM SRVFDS352.00 CSR PARM I00CSR353.00 CSR GOTO ENDEXE354.00 C* –––– ––––––355.00 CSR END356.00 C*357.00 C* If ROLL UP key pressed, load next page of subfile.358.00 C* ––––––––––––––––––––––––––––––––––––––––––––––––––359.00 C*360.00 CSR @@AID IFEQ #IROLU361.00 CSR $SEND IFNE ’1’362.00 CSR MOVE ’ ’ VDSELC 1363.00 CSR EXSR S004364.00 C* –––– ––––365.00 CSR ELSE366.00 CSR Z–ADD$SVI1 I1367.00 CSR MOVE *BLANK SFDLO1368.00 CSR MOVE *BLANK SFMCU369.00 CSR MOVE *BLANK SFRPO1370.00 CSR MOVE *BLANK SFRP02371.00 CSR MOVE *BLANK SHMCU372.00 CSR I1 ADD 1 #SFRNO373.00 CSR DO $PGSZ374.00 CSR ADD 1 I1375.00 CSR MOVEA*IN SHIN376.00 CSR WRITEVINDEXS377.00 CSR END378.00 CSR Z–ADDI1 $SVI1379.00 CSR END380.00 CSR GOTO ENDEXE381.00 C* –––– ––––––382.00 CSR END383.00 C*384.00 C* If ROLL DOWN key pressed, reset subfile page display.385.00 C* –––––––––––––––––––––––––––––––––––––––––––––––––––––

386.00 C*387.00 CSR @@AID IFEQ #FROLD388.00 CSR MOVE $SVI1 #SFRNO389.00 CSR GOTO ENDEXE390.00 C* –––– ––––––391.00 CSR END392.00 C*393.00 C* If Clear screen pressed, clear screen and return.394.00 C* –––––––––––––––––––––––––––––––––––––––––––––––395.00 C*396.00 CSR @@AID IFEQ #FCLR397.00 CSR EXSR S001398.00 C* –––– ––––399.00 CSR GOTO ENDEXE400.00 C* –––– ––––––401.00 CSR END403.00 CSR @AID IFNE ’1’404.00 CSR SETON 0193405.00 CSR GOTO ENDEXE406.00 C * –––– ––––––

407.00 CSR END409.00 CSR ENDEXE ENDSR410.00 C********************************************************************************411.00 C *

Page 385: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–91

412.00 C* SUBROUTINE S00VL – Cursor Control Return Values413.00 C* ––––––––––––––––––––––––––––––––––––––––––––––414.00 C*415.00 C* By format, find the field to update and move in the416.00 C* returned value. If the format is a subfile, the record417.00 C* to change is found in @@RRN.418.00 C*419.00 CSR S00VL BEGSR420.00 C* ––––– –––––421.00 C*422.00 CSR ##RVAL IFEQ ’*BLANK’423.00 CSR MOVE *BLANK ##RVAL424.00 CSR END425.00 C*426.00 C* Return values for fields in format VINDEXC427.00 C*428.00 CSR ##RFMT IFEQ ’VINDEXC ’429.00 C*430.00 CSR ##FLDN IFEQ ’ACTION ’431.00 CSR MOVEL##RVAL ACTION432.00 CSR GOTO ENDOVL433.00 C* –––– ––––––434.00 C* END435.00 C*436.00 CSR ##FLDN IFEQ ’VDCO ’437.00 CSR MOVEL##RVAL VDCO438.00 CSR MOVEL##RDSC VC0001439.00 CSR GOTO ENDOVL440.00 C* –––– ––––––441.00 CSR END442.00 CSR END443.00 C*444.00 C* Return values for fields in format VINDEXS445.00 C*446.00 CSR ##RFMT IFEQ ’VINDEXS ’447.00 CSR @@RRN ANDGTO448.00 C*449.00 CSR MOVEL##IN SHIN450.00 CSR @@RRN CHAINVINDEXS 81451.00 CSR *IN81 IFEQ ’0’452.00 CSR MOVEASHIN *IN,1453.00 C*454.00 C*455.00 CSR ##FLDN IFEQ ’SFMCU ’456.00 CSR MOVEL##RVAL SFMCU457.00 CSR GOTO T00VLA458.00 C* –––– ––––––459.00 CSR END460.00 C*461.00 CSR ##FLDN IFEQ ’SFDL01 ’462.00 CSR MOVEL##RVAL SFDL01463.00 CSR GOTO T00VLA464.00 C* –––– ––––––465.00 CSR END466.00 C*467.00 CSR ##FLDN IFEQ ’SFRP01 ’468.00 CSR MOVEL##RVAL SFRP01469.00 CSR GOTO T00VLA 470.00 C* –––– ––––––471.00 CSR END472.00 C*473.00 CSR ##FLDN IFEQ ’SFRP02 ’474.00 CSR MOVEL##RVAL SFRP02475.00 CSR GOTO T00VLA 476.00 C* –––– ––––––477.00 CSR END478.00 CSR T00VLA TAG479.00 C* –––––– –––480.00 CSR SETON 32481.00 CSR MOVEA*IN SHIN482.00 CSR UPDATVINDEXS 81483.00 CSR END484.00 CSR END485.00 C*486.00 C* Return values for fields in format VINDEX1487.00 C*488.00 CSR ##RFMT IFEQ ’VINDEX1 ’489.00 CSR END490.00 C*491.00 CSR ENDOVL ENDS492.00 C*************************************************************************493.00 C*494.00 C* SUBROUTINE S001 – Clear Fields

Page 386: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–92 A8.1 (8/97)

���� ����������������� � �� ���������� ��� ������

495.00 C* ––––––––––––––––––––––––––––––––––––––––––––––496.00 C*497.00 C* Processing: 1. Reset all video screen and data file fields498.00 C* for next transaction.499.00 C* 2. Clear action code only if requested.500.00 C*501.00 CSR S001 BEGSR502.00 C* ––––– –––––503.00 CSR MOVE *BLANK $1DL01504.00 CSR MOVE *BLANK $1RP01505.00 CSR MOVE *BLANK $1RP02506.00 CSR Z–ADD*ZERO ##RCOL507.00 CSR Z–ADD*ZERO ##RROW508.00 CSR Z–ADD*ZERO #SFRNO509.00 CSR MOVE *BLANK SFDL01510.00 CSR MOVE *BLANK SFMCU511.00 CSR MOVE *BLANK SFRP01512.00 CSR MOVE *BLANK SFRP02513.00 CSR MOVE *BLANK SHMCU514.00 CSR MOVE *BLANK VDCO515.00 CSR MOVELSVL24M VDL24516.00 CSR MOVE ’0’ SHIN37517.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––518.00 C*519.00 C* Clear action code only if clear screen action.520.00 C*521.00 CSR @@AID IFEQ #FCLR522.00 CSR MOVE *ALL’0’ $RESET523.00 CSR MOVEA$RESET *IN,41524.00 CSR MOVE ’ ’ ACTION 1525.00 CSR Z–ADD00000 #SFRNO526.00 CSR SETON 31527.00 CSR WRITEVINDEXC 99528.00 CSR SETOF 203193529.00 CSR Z–ADDO I1530.00 CSR DO $PGSZ531.00 CSSR ADD 1 I1532.00 CSR MOVEA*IN SHIN533.00 CRS WRITEVINDEXS 81534.00 CSR END535.00 CSR Z–ADDI1 $SVI1536.00 CSR MOVE *BLANK $1CO537.00 CSR MOVE *BLANK $1MCU538.00 CSR MOVE *BLANK VC0001539.00 CSR END540.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––541.00 CSR END001 ENDSR542.00 C***************************************************************************543.00 C*544.00 C* SUBROUTINE S003 – Edit Key545.00 C* ––––––––––––––––––––––––––546.00 C*547.00 C* Processing: 1. Initialize error arrays and subfile.548.00 C* 2. Load inquiry selection.549.00 C* 3. Load subfile information.550.00 C* 3. Monitor for empty subfile.551.00 C*552.00 CSR S003 BEGSR553.00 C* –––– –––––554.00 C*555.00 C* Reset error indicators and arrays.556.00 C*557.00 CSR MOVE *ALL’0’ $RESET 39558.00 CSR MOVE *BLANK $REST1 63559.00 CSR MOVEA$RESET *IN,41560.00 CSR MOVEA$RESET @MK,2561.00 CSR [email protected] C*563.00 C* Clear the user index to begin with; set flag.564.00 C* =============================================565.00 CSR CLEARDSIDX1566.00 CSR MOVE ’Y’ $START 1567.00 C*569.00 C* Load video input field for – Company570.00 C*571.00 CSR MOVEAVDCO @NM572.00 CSR EXSR C0012573.00 C* –––– –––––574.00 CSR Z–ADD#NUMR $WK5 50575.00 CSR MOVE $WK5 $1CO576.00 CSR MOVE $WK5 VDCO577.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––

Page 387: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–93

� �� ���� ������������� �� � ��� ���� ��� ����

���� �� ������ �� �������� �� �����������

��� �� ���� � �������� � �� �� ��� �����

578.00 C*579.00 C* Determine if any entries exist for that company.580.00 C*581.00 CSR Z–ADD$1KEY2 PSKEYL582.00 CSR Z–ADD$1RECL PSRECL583.00 CSR MOVELDSIDX1 PSKY584.00 C*585.00 CSR CALL ‘X00IDX’586.00 C*587.00 CSR PARM $1IDX Idx Name Lib588.00 CSR PARM ‘I’ PSACTN Action Code589.00 CSR PARM ‘EQ’ PSRULE Action Rule590.00 CSR PARM PSKEYL Key Length591.00 CSR PARM PSKY Key Fields592.00 CSR PARM PSRECL Entry Length593.00 CSR PARM PSREC Entry594.00 CSR PARM PSSTS Error Status595.00 C*596.00 C* Error of trying to delete but not found.597.00 C*598.00 CSR PSSTS IFNE ‘0’ Not Found599.00 CSR *IN23 COMP ‘1’ 41 *ERROR*600.00 CSR END601.00 C*602.00 C* If indicator 41 on, invalid key for action code.603.00 C*604.00 CSR *IN41 IFEQ ‘1’605.00 CSR MOVE‘1’ @MK,2606.00 CSR SETON 93607.00 CSR END608.00 C*609.00 C* If indicator 99 on, record in use.610.00 C*611.00 CSR *IN99 IFEQ ‘1’612.00 CSR MOVE ‘1’ @MK,6613.00 CSR SETON 4193614.00 CSR END615.00 C*616.00 C* If not inquiry, skip remainder of subroutine.617.00 C*618.00 CSR *IN24 CABEQ’0’ END003619.00 C* ––––– ––––––620.00 C*621.00 C* If errors, skip remainder of subroutine.622.00 C*623.00 CSR *IN93 CABEQ’1’ END003624.00 C* ––––– ––––––625.00 C*626.00 C* Initialize subfile indexes.627.00 C*628.00 CSR Z–ADD0 I1 50629.00 CSR Z–ADD0 $SVI1 50630.00 CSR Z–ADD0 #SFRNO631.00 CSR MOVE ’0’ $SEND 1632.00 C*633.00 C* Reinitialize subfile display634.00 C*635.00 CSR SETON 31636.00 CSR WRITEVINDEXC 99637.00 CSR SETOF 31638.00 C*639.00 C* Load subfile records.640.00 C*641.00 CSR EXSR S004642.00 C* –––– ––––643.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––644.00 CSR I1 IFLT $PGSZ645.00 CSR $PGSZ SUB I1 #G646.00 C*647.00 CSR MOVE *BLANK SFDL01648.00 CSR MOVE *BLANK SFMCU649.00 CSR MOVE *BLANK SFRP01650.00 CSR MOVE *BLANK SFRP02651.00 CSR MOVE *BLANK SHMCU652.00 CSR DO #G653.00 CSR ADD 1 I1654.00 CSR MOVEA*IN SHIN655.00 CSR WRITEVINDEXS656.00 CSR END657.00 CSR Z–ADDI1 $SVI1658.00 CSR END659.00 CSR END003 ENDSR

Page 388: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–94 A8.1 (8/97)

660.00 C***************************************************************************661.00 C*662.00 C* Copy Common Subroutine – Right Justify Numeric Fields663.00 C*664.00 C/COPY JDECPY, C0012665.00 C***************************************************************************666.00 C*667.00 C* SUBROUTINE S004 – Load Video Screen Data668.00 C* –––––––––––––––––––––––––––––––––––––––669.00 C*670.00 C* Processing: 1. Move data base information to video screen.671.00 C* All video screen fields are alpha and672.00 C* therefore numeric information must be673.00 C* processed through subroutine C0014 to set674.00 C* proper decimals and provide editing for675.00 C* display on screen.676.00 C*677.00 C* Date fields must be converted from their678.00 C* internal format of month, day and year or679.00 C* julian to the system format using program680.00 C* X0028.681.00 C*682.00 CSR S004 BEGSR683.00 C* –––– –––––684.00 C*685.00 C* Load data field dictionary parameters (one cycle only).686.00 C*687.00 CSR $998 CASEQ’ ’ S998688.00 C* ––––– ––––689.00 CSR END690.00 C*691.00 C* If subfile load completed, skip subroutine.692.00 C*693.00 CSR $SEND IFEQ ’1’694.00 CSR Z–ADD0 #SFRNO695.00 CSR GOTO END004696.00 CSR END697.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––698.00 C*699.00 C* Save company number for comparison later.700.00 C* ========================================701.00 C*702.00 CSR MOVE $1CO $$CO 5703.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––704.00 C*705.00 C* Move to output – company description.706.00 C*711.02 CSR MOVE *BLANKS PS@@711.03 CSR MOVEL$1CO KY@@711.04 CSR CALL ‘XS0010’ 81711.05 C* –––– ––––––––711.06 CSR PARM PS@@711.07 CSR PARM DS0010711.08 C*711.09 CSR MOVELCCNAME VC0001712.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––713.00 C*714.00 C* Initialize subfile page control and index.715.00 C*716.00 CSR Z–ADD0 $PG 30717.00 CSR Z–ADD0 #SFRNO718.00 CSR Z–ADD$SVI1 I1719.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––720.00 C*721.00 C* Read user index until end or subfile page filled.722.00 C*723.00 CSR SETOF 96724.00 CSR *IN96 DOWEQ’0’725.00 C*726.00 C* First time through, have already read first record, so skip727.00 C* the index logic. (First time through if $START = ‘Y’728.00 C* ==========================================================729.00 C*730.00 CSR $START IFEQ ’Y’731.00 CSR MOVE ’ ’ $START732.00 CSR ELSE

Page 389: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–95

���� ����� ��������������� �� ��� �� ����� ��� �����

��� ��� ��� ��� ������� ��� �� ��� ���� ������

���� �� �������� ���������� �������� ���� �� ������ ���������� ��������

733.00 C*734.00 C* Successive times through, read next “greater” entry.735.00 C* ===================================================736.00 C*737.00 CSR Z–ADD$1KEYL PSKEYL738.00 CSR Z–ADD$1RECL PSRECL739.00 CSR MOVELDSIDX1 PSKY740.00 C*741.00 CSR CALL ‘X00IDX’742.00 C* –––– ––––––––743.00 CSR PARM $1IDX Index Name744.00 CSR PARM ‘I’ PSACTN 1 Action Code745.00 CSR PARM ‘GT’ PSRULE Action Rule746.00 CSR PARM PSKEYL Key Length747.00 CSR PARM PSKY Key Fields748.00 CSR PARM PSRECL Entry Length749.00 CSR PARM PSREC Entry750.00 CSR PARM PSSTS Error Status751.00 C*752.00 CSR END $START753.00 C*754.00 C* If status is ‘0’ then assume not found.755.00 C* =======================================756.00 C*757.00 CSR SETOF 96758.00 CSR PSSTS COMP ‘0’ 96 IF GT ‘0’759.00 C*760.00 C* Retrieve entry to load data structure.761.00 C* ======================================762.00 C*763.00 CSR MOVELPSREC DSIDX1764.00 C*765.00 C* Compare new company to inquiry : if changed, end.766.00 C* ================================================767.00 C*768.00 CSR $1CO IFNE $$CO769.00 CSR SETON 96770.00 CSR END771.00 C*772.00 C* At end of index, set subfile completion flag and set high773.00 C* intensity attribute on last subfile record.774.00 C*775.00 CSR *IN96 IFEQ ’1’776.00 CSR MOVE ’1’ $SEND777.00 CSR MOVE ’ ’ @IN37 1778.00 CSR GOTO END004779.00 C* –––– ––––––780.00 CSR END781.00 C***************************************************************************782.00 C*783.00 C* Reset record selection flag ($SEL).784.00 C*785.00 CSR MOVE ’1’ $SEL 1786.00 C***************************************************************************787.00 C*788.00 C* Update subfile for selected records.789.00 C*790.00 CSR $SEL IFEQ ’1’791.00 C***************************************************************************792.00 C*793.00 C* Move to output – Description 01794.00 C*795.00 CSR MOVEL$1DL01 SFDL01796.00 C***************************************************************************797.00 C*798.00 C* Move to output – Cost Center799.00 C*800.00 CSR MOVE *BLANK #SINBR801.00 CSR MOVEL$1MCU #SINBR802.00 CSR MOVE T@MCU #DTYP803.00 CSR MOVE W@MCU #EWRD804.00 CSR MOVE E@MCU #EC805.00 CSR MOVE F@MCU #DSPD806.00 CSR MOVE G@MCU #DATD807.00 CSR MOVE J@MCU #ALR808.00 CSR MOVE ’ ’ #ECOR809.00 CSR MOVE ’ ’ #DCOR810.00 CSR EXSR C00161811.00 C* –––– ––––––812.00 CSR #ALR IFEQ ’L’813.00 CSR MOVEL#SINBR SFMCU814.00 CSR ELSE815.00 CSR MOVE #SINBR SFMCU

Page 390: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–96 A8.1 (8/97)

816.00 CSR END817.00 C************************************************************************818.00 C*819.00 C* Move to output – Category Code – Cost Center 01820.00 C*821.00 CSR MOVE *BLANK #SINBR822.00 CSR MOVEL$1RP01 #SINBR823.00 CSR MOVE T@RP01 #DTYP824.00 CSR MOVE W@RP01 #EWRD825.00 CSR MOVE E@RP01 #EC826.00 CSR MOVE F@RP01 #DSPD827.00 CSR MOVE G@RP01 #DATD828.00 CSR MOVE J@RP01 #ALR829.00 CSR MOVE ’ ’ #ECOR830.00 CSR MOVE ’ ’ #DCOR831.00 CSR EXSR C00161832.00 C* –––– ––––––833.00 CSR #ALR IFEQ ’L’834.00 CSR MOVEL#SINBR SFRP01835.00 CSR ELSE836.00 CSR MOVE #SINBR SFRP01837.00 CSR END838.00 C************************************************************************839.00 C*840.00 C* Move to output – Category Code – Cost Center 02841.00 C*842.00 CSR MOVE *BLANK #SINBR843.00 CSR MOVEL$1RP02 #SINBR844.00 CSR MOVE T@RP02 #DTYP845.00 CSR MOVE W@RP02 #EWRD846.00 CSR MOVE E@RP02 #EC847.00 CSR MOVE F@RP02 #DSPD848.00 CSR MOVE G@RP02 #DATD849.00 CSR MOVE J@RP01 #ALR850.00 CSR MOVE ’ ’ #ECOR851.00 CSR MOVE ’ ’ #DCOR852.00 CSR EXSR C00161853.00 C* –––– ––––––854.00 CSR #ALR IFEQ ’L’855.00 CSR MOVEL#SINBR SFRP02856.00 CSR ELSE857.00 CSR MOVE #SINBR SFRP02858.00 CSR END859.00 C************************************************************************860.00 C*861.00 C* Move to output – Cost Center862.00 C*863.00 CSR MOVE *BLANK #SINBR864.00 CSR MOVEL$1MCU #SINBR865.00 CSR MOVE T@MCU #DTYP866.00 CSR MOVE W@MCU #EWRD867.00 CSR MOVE E@MCU #EC868.00 CSR MOVE F@MCU #DSPD869.00 CSR MOVE G@MCU #DATD870.00 CSR MOVE J@MCU #ALR871.00 CSR MOVE ’ ’ #ECOR872.00 CSR MOVE ’ ’ #DCOR873.00 CSR EXSR C00161874.00 C* –––– ––––––875.00 CSR #ALR IFEQ ’L’876.00 CSR MOVEL#SINBR SHMCU877.00 CSR ELSE878.00 CSR MOVE #SINBR SHMCU879.00 CSR END880.00 C************************************************************************881.00 C************************************************************************882.00 C*883.00 C* Increment subfile page control and index.884.00 C*885.00 CSR ADD 1 $PG886.00 CSR ADD 1 I1887.00 C*888.00 C* If subfile page display not set, set subfile page display.889.00 C*890.00 CSR #SFRNO IFEQ 0891.00 CSR Z–ADDI1 #SFRNO892.00 CSR END893.00 C*894.00 C* Write subfile record and save current subfile index.895.00 C*896.00 CSR MOVEA*IN SHIN897.00 CSR WRITEVINDEXS 99

Page 391: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–97

������ ����� �������� ���� ������ ����� ����� � � ������������

898.00 CSR Z–ADDI1 $SVI1899.00 C*900.00 C* If subfile page loaded, drop out of subroutine.901.00 C*902.00 CSR $PG CABEQ$PGSZ END004903.00 C* ––––– ––––––904.00 CSR END905.00 CSR END906.00 C*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––907.00 CSR END004 ENDSR908.00 C************************************************************************909.00 C*910.00 C* Copy Common Subroutine – Format Numeric Fields for Output with Override911.00 C*912.00 C/COPY JDECPY,C00161913.00 C************************************************************************914.00 C*915.00 C* SUBROUTINE S005 – Validate and update input data.916.00 C* ––––––––––––––––––––––––––––––––––––––––––––––––917.00 C*918.00 C* Processing: 1. Validate all video input. Numeric data919.00 C* must be processed thru subroutines C0012 &920.00 C* C0015 to be converted to internal numeric921.00 C* representation (15 digits 0 decimals).922.00 C* Date fields must be converted from system923.00 C* format to their internal format of month,924.00 C* day and year or julian using program X0028.925.00 C* 2. Update data fields from input and process926.00 C* subfile transaction.927.00 C*928.00 CSR S005 BEGSR929.00 C* –––– –––––930.00 C*931.00 C* If not addition or change, bypass subroutine932.00 C*933.00 CSR *IN21 IFEQ ’0’934.00 CSR *IN22 ANDEQ’0’935.00 CSR GOTO END005936.00 C* –––– ––––––937.00 CSR END938.00 C*939.00 C* Process all subfile transactions.940.00 C*941.00 CSR MOVE ’ ’ $WRT 1942.00 CSR Z–ADD1 $$IX 70943.00 CSR SETOF 9699944.00 CSR *IN96 DOWEQ’0’945.00 CSR *IN99 ANDEQ’0’946.00 CSR $$IX ANDLE$SVI1947.00 CSR MOVEA$RESET *IN,41948.00 CSR $$IX CHAINVINDEXS 9699949.00 CSR *IN96 IFEQ ’0’950.00 CSR *IN99 ANDEQ’0’951.00 C*952.00 C* Load video input field for – Cost Center953.00 C*954.00 CSR MOVEASHMCU @FI955.00 CSR EXSR C0042956.00 C* –––– –––––957.00 CSR MOVE #RADJ $1MCU958.00 C*959.00 C* Determine if prior record existed in user index.960.00 C* ===============================================961.00 C*962.00 CSR Z–ADD$1KEYL PSKEYL963.00 CSR Z–ADD$1RECL PSRECL964.00 CSR MOVELDSIDX1 PSKY965.00 C*966.00 CSR CALL ‘X00IDX’967.00 C*968.00 CSR PARM $1IDX Idx Name/Lib969.00 CSR PARM ‘1’ PSACTN Action Code970.00 CSR PARM ‘EQ’ PSRULE Action Rule971.00 CSR PARM PSKEYL Key Length972.00 CSR PARM PSKY Key Fields973.00 CSR PARM PSRECL Entry Length974.00 CSR PARM PSREC Entry975.00 CSR PARM PSSTS Error Status976.00 C*977.00 C* If no data and prior record existed, delete old record.978.00 C* ======================================================979.00 C*

Page 392: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–98 A8.1 (8/97)

��� ���� ������ ��������� � � ����� ��� ����

������ ������ ������ ����

980.00 CSR PSSTS IFEQ ’0’981.00 CSR SFMCU ANDEQ*BLANK982.00 C*983.00 CSR CALL ‘X00IDX’984.00 C* –––– ––––––––985.00 CSR PARM $1IDX Idx Name/Lib986.00 CSR PARM ’D’ PSACTN Action987.00 CSR PARM ’EQ’ PSRULE Action Rule988.00 CSR PARM PSKEYL Key Length989.00 CSR PARM PSKY Key Fields990.00 CSR PARM PSRECL Entry Length991.00 CSR PARM PSREC Entry992.00 CSR PARM PSSTS Error Status993.00 C*994.00 CSR END995.00 C*996.00 C* Process only non-blank records.997.00 C*998.00 CSR SFMCU IFNE *BLANK999.00 C*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––

1000.00 C*1001.00 C*1002.00 C* Scrub and edit – Description 011003.00 C*1004.00 CSR MOVELSFDL01 $1DL011005.00 C*1006.00 C* Edit allowed values – Description 011007.00 C*1008.00 CSR A@DL01 IFEQ ’*NB’1009.00 CSR $1DL01 ANDEQ *BLANK1010.00 CSR MOVE ’1’ @MK,031011.00 CSR SETON 42931012.00 CSR END1013.00 C*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––1014.00 C*1015.00 C* Scrub and edit – Cost Center1016.00 C*1017.00 CSR MOVEASFMCU @FI A1018.00 CSR EXSR C00421019.00 C* –––– –––––1020.00 CSR MOVE #RADJ $1MCU1021.00 C*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––1022.00 C*1023.00 C* Scrub and edit – Category Code – Cost Center 011024.00 C*1025.00 CSR MOVELSFRP01 $1RP011026.00 C*1027.00 C* Set default value – Category Code – Cost Center 011028.00 C*1029.00 CSR $1RP01 IFEQ *BLANK1030.00 CSR D@RP01 IFNE *BLANK1031.00 CSR MOVEAD@RP01 @401032.00 CSR MOVEA@40 $1RP011033.00 CSR @40,1 IFEQ ’’’’1034.00 CSR MOVE ’ ’ @40,11035.00 CSR Z–ADD2 #M1036.00 CSR #M DOWLE401037.00 CSR @40,#M IFEQ ’’’’1038.00 CSR MOVE ’ ’ @40,#M1039.00 CSR END1040.00 CSR ADD 1 #M1041.00 CSR END1042.00 CSR MOVEA@40,2 $1RP011043.00 CSR END1045.00 CSR END1046.00 C*1047.00 C* Edit allowed values – Category Code – Cost Center 011048.00 C*1049.00 CSR A@RP01 IFNE *BLANK1050.00 CSR MOVEAA@RP01 @401051.00 CSR MOVE *HIVAL @AV1052.00 CSR EXSR C9971053.00 C* –––– ––––[email protected] CSR MOVE ’ ’ $ERTST1055.00 CSR MOVE *BLANK $WRK10 101056.00 CSR MOVEL$1RP01 $WRK101057.00 CSR @AV,1 IFNE *HIVAL1058.00 CSR $WRKl0 LOKUP@AV 811059.00 CSR *IN8l IFEQ ’0’1060.00 CSR MOVE ’1’ $ERTST1061.00 CSR END1062.00 CSR $ERTST IFEQ ’1’1063.00 CSR MOVE ’1’ @MK,07

Page 393: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–99

1064.00 CSR SETON 43931065.00 CSR END1066.00 CSR END1067.00 CSR END1068.00 C*1069.00 C* Edit upper and lower range – Category Code – Cost Center 011070.00 C*1071.00 CSR L@RP01 IFNE *BLANK1072.00 CSR MOVE ’1’ $ERTST1073.00 CSR $1RP01 IFGE [email protected] CSR $1RP01 [email protected] CSR MOVE ’ ’ $ERTST1076.00 CSR END1077.00 CSR $ERTST IFEQ ’1’1078.00 CSR MOVE ’1’ @MK,071079.00 CSR SETON 43931080.00 CSR END1081.00 CSR END1082.00 C*1083.00 C* Edit from descriptive titles – Category Code – Cost Center 011084.00 C*1085.00 CSR R@RP01 IFNE *BLANK1086.00 CSR CLEARI0005U1087.00 CSR MOVE ’ ’ $ERTST1088.00 CSR MOVELS@RP01 #USY1089.00 CSR MOVE R@RP01 #URT1090.00 CSR MOVE $1RP01 #UKY1091.00 CSR CALL ’X0005 ’ 811092.00 C*1093.00 CSR PARM I0005U1094.00 CSR #UERR IFEQ ’1’1095.00 CSR MOVE ’1’ @MK,091096.00 CSR SETON 43931097.00 CSR END1098.00 CSR END1099.00 C*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––1100.00 C*1101.00 C* Scrub and edit – Category Code – Cost Center 021102.00 C*1103.00 CSR MOVELSFRP02 $1RP021104.00 C*1105.00 C* Set default value – Category Code – Cost Center 021106.00 C*1107.00 CSR $1RP02 IFEQ *BLANK1108.00 CSR D@RP02 IFNE *BLANK1109.00 CSR MOVEAD@RP02 @401110.00 CSR MOVEA@40 $1RP021111.00 CSR @40,1 IFEQ ’ ’ ’ ’1112.00 CSR MOVE ’ ’ @40,11113.00 CSR Z–ADD2 #M1114.00 CSR #M [email protected] CSR @40,#M IFEQ ’ ’ ’ ’1116.00 CSR MOVE ’ ’ @40,#M1117.00 CSR END1118.00 CSR ADD 1 #M1119.00 CSR END1120.00 CSR MOVEA@40,2 $1RP021121.00 CSR END1122.00 CSR END1123.00 CSR END1124.00 C*1125.00 C* Edit allowed values – Category Code – Cost Center 021126.00 C*1127.00 CSR A@RP02 IFNE *BLANK1128.00 CSR MOVEAA@RP02 @401129.00 CSR MOVE *HIVAL @AV1130.00 CSR EXSR C9971131.00 C* –––– ––––1132.00 CSR MOVE ’ ’ $ERTST1133.00 CSR MOVE *BLANK $WRKl0 101134.00 CSR MOVEL$1RP02 $WRKl01135.00 CSR @AV,1 IFNE *HIVAL1136.00 CSR $WRKl0 [email protected] CSR *IN81 IFEQ ’0’1138.00 CSR MOVE ’1’ $ERTST1139.00 CSR END1140.00 CSR $ERTST IFEQ ’1’1141.00 CSR MOVE ’1’ @MK,071142.00 CSR SETON 44931143.00 CSR END1144.00 CSR END1145.00 CSR END

Page 394: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–100 A8.1 (8/97)

����� ��� ��� ��� ������� ��� ��� �� ���� ���� ��� � �� ������

���� �� �������� ����� � �����

���� ������ ������

���� ������ ������

������� ��� ����

� � ������ ��� ��������

1146.00 C*1147.00 C* Edit upper and lower range – Category Code – Cost Center 021148.00 C*1149.00 CSR L@RP02 IFNE *BLANK1150.00 CSR MOVE ’1’ $ERTST1151.00 CSR $1RP02 IFGE [email protected] CSR $1RP02 [email protected] CSR MOVE $ERTST1154.00 CSR END1155.00 CSR $ERTST IFEQ ’1’1156.00 CSR MOVE ’1’1157.00 cSR SETON 44931158.00 CSR END1159.00 cSR END1160.00 C*1161.00 C* Edit from descriptive titles – Category Code – Cost Center 021162.00 C*1163.00 CSR R@RP02 IFNE * BLANK1164.00 CSR CLEARI0005U1165.00 CSR MOVE ’ ’ $ERTST1166.00 CSR MOVELS@RP02 #USY1167.00 CSR MOVE R@RPO2 #URT1168.00 CSR MOVE $1RP02 #UKY1169.00 CSR CALL ’X0005 811170.00 C* –––– ––––––1171.00 CSR PARM I0005U1172.00 CSR #UERR IFEQ ’1’1173.00 CSR MOVE ’1’ @MK,091174.00 CSR SETON 44931175.00 CSR END1176.00 CSR END1177.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––1178.00 C*1179.00 C* If no errors, update user index.1180.00 C* ===============================1181.00 C*1182.00 CSR *IN93 IFEQ ’0’1183.00 C*1184.00 cSR Z–ADD$1KEYL PSKEYL1185.00 CSR Z–ADD$1RECL PSRECL1186.00 CSR MOVELDSIDX1 PSKY1187.00 CSR MOVELDSIDX1 PSREC1188.00 C*1189.00 CSR P$$TS IFEQ ’0’ It Existed1190.00 CSR $1MCU ANDEQSHMCU and same CC1191.00 C*1192.00 CSR CALL ’X00IDX’1193.00 C* –––– ––––––––1194.00 CSR PARM $1IDX Index Name1195.00 CSR PARM ’C’ PSACTN Action Code1196.00 CSR PARM PSRULE Function Rule1197.00 CSR PARM PSKEYL Key Length1198.00 CSR PARM PSKY Key1199.00 CSR PARM PSRECL Recd Length1200.00 CSR PARM PSREC Record1201.00 CSR PARM PSSTS Status1202.00 C*1203.00 CSR ELSE1204.00 C*1205.00 CSR CALL ’X00IDX’1206.00 C* –––– ––––––––1207.00 CSR PARM $1IDX Idx Name/Lib1208.00 CSR PARM ’I’ PSACTN Action Code1209.00 CSR PARM ’EQ’ PSRULE Action Rule1210.00 CSR PARM PSKEYL Key Length1211.00 CSR PARM PSKY Key Fields1212.00 CSR PARM PSRECL Entry Length1213.00 CSR PARM PSREC Entry1214.00 CSR PARM PSSTS Error Status1215.00 C*1216.00 CSR P$$TS IFEQ ’0’1217.00 CSR MOVE ’1’ @MK,21218.00 CSR SETON 41931219.00 CSR ELSE1220.00 C*1221.00 CSR CALL ’X00IDX’1222.00 C* –––– ––––––––1223.00 CSR PARM $1IDX Idx Name/Lib1224.00 CSR PARM ’A’ PSACTN Action Code1225.00 CSR PARM PSRULE Action Rule1226.00 CSR PARM PSKEYL Key Length1227.00 CSR PARM PSKY Key Fields1228.00 CSR PARM PSRECL Entry Length1229.00 CSR PARM PSREC Entry1230.00 CSR PARM PSSTS Error Status

Page 395: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–101

���� �� ����� �������� ����� �� ��� ��

��� �� ������ ������ ����

1231.00 C* 1232.00 CSR MOVE ’1’ $WRT1233.00 CSR END1234.00 CSR END1235.00 CSR END1236.00 C*1237.00 CSR *IN93 IFEQ ’1’1238.00 CSR #SFRNO ANDEQ*ZERO1239.00 CSR Z–ADDI1 #SFRNO1240.00 CSR END1241.00 C*1242.00 CSR END1243.00 C*1244.00 C* If errors, set subfile next change flag.1245.00 C*1246.00 CSR *IN93 IFEQ ’1’1247.00 CSR SETON 321248.00 CSR END1249.00 C*1250.00 C* Update all subfile records read.1251.00 C*1252.00 CSR MOVEA*IN SHIN1253.00 CSR UPDATVINDEXS 811254.00 CSR SETOF 321255.00 C*1256.00 C* Read next subfile record.1257.00 C*1258.00 CSR ADD 1 $$IX1259.00 CSR END1260.00 CSR END1261.00 C*1262.00 C* If error detected on a add, Change Action Code to ’C’1263.00 C*1264.00 CSR *IN93 IFEQ ’1’1265.00 CSR $WRT ANDEQ’1’1266.00 CSR MOVE ’C’ ACTION1267.00 CSR END1268.00 C*1269.00 CSR END005 ENDSR1270.00 C***************************************************************1271.00 C*1272.00 C* Copy Common Subroutine – Right Adjust Alphanumeric Field1273.00 C*1274.00 C/COPY/JDECPY,C00421275.00 C***************************************************************1276.00 C1277.00 C* Copy Common Subroutine – Build Allowed Values Work Array1278.00 C*1279.00 C/COPY JDECPY,C9971280.00 C***************************************************************1281.00 C*1282.00 C* SUBROUTINE S010 – Update Data Base1283.00 C* ––––––––––––––––––––––––––––––––––1284.00 C*1285.00 C* Processing: 1. Update data base file for delete action.1286.00 C*1287.00 CSR S010 BEGSR1288.00 C* –––– –––––1289.00 C*1290.00 C* If delete action, delete all records by primary partial key.1291.00 C*1292.00 CSR *IN23 IFEQ ’1’1293.00 CSR Z–ADD$1KEY2 PSKEYL1294.00 CSR Z–ADD$1RECL PSRECL1295.00 C*1296.00 CSR CALL ’X00IDX’1297.00 C* –––– ––––––––1298.00 CSR PARM $1IDX Idx Name/Lib1299.00 CSR PARM ’D’ PSACTN Action1300.00 CSR PARM ’EQ’ PSRULE Action Rule1301.00 CSR PARM PSKEYL Key Length1302.00 CSR PARM PSKY Key Fields1303.00 CSR PARM PSRECL Entry Length1304.00 CSR PARM PSREC Entry1305.00 CSR PARM PSSTS Error Status1306.00 CSR END1307.00 C*1308.00 C* Clear data field for next transaction1309.00 C*1310.00 CSR MOVE #FCLR @@AID1311.00 CSR EXSR S0011312.00 C* –––– ––––1313.00 CSR END010 ENDSR

Page 396: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–102 A8.1 (8/97)

1314.00 C ****************************************************************

1315.00 C *

1316.00 C* SUBROUTINE S998 – Load dictionary parameters.1317.00 C* ––––––––––––––––––––––––––––––––––––––––––––1318.00 C*1319.00 CSR S998 BEGSR1320.00 C* –––– –––––1321.00 C *

1322.00 C *

1323.00 C * Dictionary parameters for – Description Ol1324.00 C *

1325.00 CSR MOVE *BLANK FRDTAI1326.00 CSR MOVEL’DL01’ FRDTAI1327.00 CSR CALL ’X9800E’ 811328.00 C* –––– ––––––––1329.00 CSR PARM 19800E1330.00 CSR FRERR IFEQ ’0’1331.00 CSR MOVE FRDSCR B@DL01 401332.00 CSR MOVE FRDTAT T@DL01 11333.00 CSR MOVE FREC E@DL0l 11334.00 CSR MOVE ERDTAS C@DL01 401335.00 CSR MOVE FRDTAD G@DL01 101336.00 CSR MOVE FRCDEC F@DL01 11337.00 CSR MOVELFRSY S@DL01 41338.00 CSR MOVE FRRT R@DL01 21339.00 CSR MOVE FRDVAL D@DL01 401340.00 CSR MOVE FRVAL A@DL01 401341.00 CSR MOVE FRLVAL L@DL01 401342.00 CSR MOVE FRUVAL U@DL01 401343.00 CSR MOVE FREDWR W@DL01 301344.00 CSR MOVE FRLR J@DL01 11345.00 CSR MOVE FRNNIX N@DL01 201346.00 CSR Z–ADD1 #@DL01 1101347.00 CSR MOVE F@DL01 #11348.00 CSR DO #A1349.00 CSR MULT 10 #@DL011350.00 CSR END1351.00 CSR END1352.00 C*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––1353.00 C*1354.00 C* Dictionary parameters for – Cost Center1355.00 C *

1356.00 CSR MOVE * BLANK FRDTAI1357.00 CSR MOVEL’MCU’ FRDTAI1358.00 cSR CALL ’X9800E’ 811359.00 C* –––– –––––––1360.00 CSR PARM I9800E1361.00 CSR FRERR IFEQ ’0’1362.00 CSR MOVE FRDSCR B@MCU 401363.00 CSR MOVE FRDTAT T@MCU 11364.00 CSR MOVE FREC E@MCU 11365.00 CSR MOVE FRDTAS C@MCU 401366.00 CSR MOVE FRDTAD G@MCU 101367.00 CSR MOVE FRCDEC F@MCU 11368.00 CSR MOVELFRSY S@MCU 41369.00 CSR MOVE FRRT R@MCU 21370.00 CSR MOVE FRDVAL D@MCU 401371.00 CSR MOVE FRVAL A@MCU 401372.00 cSR MOVE FRLVAL L@MCU 401373.00 CSR MOVE FRUVAL U@MCU 401374.00 CSR MOVE FREDWR W@MCU 301375.00 CSR MOVE FRLR J@MCU 11376.00 CSR MOVE FRNNIX N@MCU 201377.00 CSR Z–ADD1 #@MCU 1101378.00 CSR MOVE F@MCU #A1379.00 CSR DO #A1380.00 CSR MULT 10 #@MCU1381.00 CSR END1382.00 CSR END1383.00 C**–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––1384.00 C*1385.00 C* Dictionary parameters for – Category Code – Cost Center 011386.00 C *

1387.00 CSR MOVE * BLANK FRDTAI1388.00 CSR MOVEL’RP0l’ FRDTAI1389.00 CSR CALL ’X9800E’ 811390.00 C* –––– ––––––––1391.00 CSR PARM I9800E1392.00 CSR FRERR IFEQ ’0’1393.00 CSR MOVE FRDSCR B@RP01 401394.00 CSR MOVE FRDTAT T@RP01 11395.00 CSR MOVE FREC E@RP01 1

Page 397: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–103

1396.00 CSR MOVE FRDTAS C@RP01 401397.00 CSR MOVE FRDTAD G@RP01 101398.00 CSR MOVE FRCDEC F@RP01 11399.00 CSR MOVELFRSY S@RP01 41400.00 CSR MOVE FRRT R@RP0l 21401.00 CSR MOVE FRDVAL D@RP01 401402.00 CSR MOVE FRVAL A@RP01 401403.00 CSR MOVE FRLVAL L@RP0l 401404.00 CSR MOVE FRUVAL U@EP0l 401405.00 CSR MOVE FREDWR W@RP01 301406.00 CSR MOVE FRLR J@RP01 11407.00 CSR MOVE FRNNIX N@RP01 201408.00 CSR Z–ADD1 #@RP01 1101409.00 CSR MOVE F@RP01 #A1410.00 CSR DO #A1411.00 CSR MULT 10 #@RP011412.00 CSP END1413.00 CSR END1414.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––1415.00 C*1416.00 C* Dictionary parameters for – Category Code – Cost Center 021417.00 C*1418.00 CSR MOVE *BLANK FRDTAI1419.00 CSR MOVEL’RP02’ FRDTAI1420.00 CSR CALL ’X9800E ’ 811421.00 C* –––– ––––––––1422.00 CSR PARM I9800E1423.00 CSR FRERR IFEQ ’0’1424.00 CSR MOVE FRDSCR B@RP02 401425.00 CSR MOVE FRDTAT T@RP02 11426.00 CSR MOVE FREC E@RP02 11427.00 CSR MOVE FRDTAS C@RP02 401428.00 CSR MOVE FRDTAD G@RP02 101429.00 CSR MOVE FRCDEC F@RPO2 11430.00 CSR MOVELFRSY S@RP02 41431.00 CSR MOVE FRRT R@RPO2 21432.00 CSR MOVE FRDVAL D@RP02 401433.00 CSR MOVE FRVAL A@RP02 401434.00 CSR MOVE FRLVAL L@RP02 401435.00 CSR MOVE FRUVAL U@RP02 401436.00 CSR MOVE FREDWR W@RP02 301437.00 CSR MOVE FRLR J@RP02 11438.00 CSR MOVE FRNNIX N@EP02 201439.00 CSR Z–ADD1 #@RP02 1101440.00 CSR MOVE F@RP02 #A1441.00 CSR DO #A1442.00 CSR MULT 10 #@RP021443.00 CSR END1444.00 CSR END1445.00 *––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––1446.00 C*1447.00 C* Dictionary parameters for – Company1448.00 C*1449.00 CSR MOVE *BLANK FRDTAI1450.00 CSR MOVEL’CO’ FRDTAI1451.00 CSR CALL ’X9800E’ 811452.00 C*1453.00 CSR PARM I9800E1454.00 CSR FRERR IFEQ ’0’1455.00 CSR MOVE FRDSCR B@C0 401456.00 CSR MOVE FROTAT T@C0 11457.00 CSR MOVE FREC E@C0 11458.00 CSR MOVE FRDTAS C@C0 401459.00 CSR MOVE FRDTAD G@C0 101460.00 CSR MOVE FRCDEC F@C0 11461.00 CSR MOVELFRSY S@C0 41462.00 CsR MOVE FRRT R@C0 21463.00 CSR MOVE FRDVAL D@C0 401464.00 CSR MOVE ERVAL A@C0 401465.00 CSR MOVE FRLVAL L@C0 401466.00 CSR MOVE FRUVAL U@c0 401467.00 CSR MOVE FREDWR W@C0 301468.00 CSR MOVE FRLR J@C0 11469.00 CSR MOVE FRNNIX N@C0 201470.00 CSR Z–ADD1 #@C0 1101471.00 CSR MOVE [email protected] CSR DO #A1473.00 CSR MULT 10 #@CO1474.00 CSR END

Page 398: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–104 A8.1 (8/97)

���� �� ��� ������ ���������� ������

������ �������� �� �������� � ��������� �����

���� ����� ������ ��������� ����� �� ���� ���� ������

��� ��� ��� ��� ������� ��� �� ��� �� �������� ���� �� �� ������������

������ �������� �������� ����

1475.00 CSR END1476.00 C*1477.00 C*1478.00 C* Create or clear the Demonstration User Index1479.00 C* ============================================1480.00 C*1481.00 CSR MOVE *BLANKS PSERR1482.00 CSR CALL ’J98CKOBJ’ 991483.00 C* –––– ––––––––––1484.00 CSR PARM ’PINDEX ’PSOBJT 101485.00 CSR PARM ’QTEMP ’PSLIB 101486.00 CSR PARM ’*USRIDX’ PSTYPE 71487.00 CSR PARM ’*NONE ’PSMBR 101488.00 CSR PARM ’*NONE ’PSAUT 101489.00 CSR PARM PSERR 11490.00 C*1491.00 C* If it doesn’t exist, create it.1492.00 C*1493.00 CSR PSERR IFEQ ’1’1494.00 C*1495.00 CSR CALL ’QUSCRTUI’ 991496.00 CSR –––– ––––––––––1497.00 CSR PARM $1IDX Idx Name/Lib1498.00 cSR PARM *BLANKS PSATR 10 Extnd Attb1499.00 CSR PARM ’F’ PSFXLN 1 Length Atrb1500.00 CSR PARM $1RECL Entry Length1501.00 CSR PARM ’1’ PSKIND 1 Key Insrtn1502.00 CSR PARM $1KEYL Key Length1503.00 CSR PARM ’0’ PSIMUP 1 Delay Update1504.00 CSR PARM ’0’ PSOPTM 1 Optz = randm1505.00 CSR PARM ’*ALL’ PSIDAU 10 Public Auth1506.00 CSR PARM $1TEXT PSTEXT 50 Index Descr1507.00 C*1508.00 C* If it does exis, clear it.1509.00 C*1510.00 CSR ELSE1511.00 C*1512.00 CSR Z–ADD$1KEY1 PSKEYL1513.00 CSR Z–ADD$1RECL PSRECL1514.00 CSR MOVE *BLANK PSKY1515.00 C*1516.00 CSR CALL ’XOOIDX1517.00 C* –––– –––––––1518.00 CSR PARM $1IDX Idx Name/Lib1519.00 CSR PARM ’D’ PSACTN 1 Action1520.00 CSR PARM ’EQ’ PSRULE 2 Action Rule1521.00 CSR PARM PSKEYL 30 Key Length1522.00 CSR PARM PSKY 120 Key Fields1523.00 CSR PARM PSRECL 30 Entry Length1524.00 CSR PARM PSREC 120 Entry1525.00 CSR PARM PSSTS 1 Error Status1526.00 C*1527.00 CSR END1528.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––1529.00 C *

1530.00 C* Set subroutine execution flag.1531.00 C*1532.00 CSR MOVE ’1’ $998 11533.00 C*1534.00 CSR END998 ENDSR1535.00 C**********************************************************************************1536.00 C*1537.00 C* SUBROUTINE S999 – Housekeeping1538.00 C* ––––––––––––––––––––––––––––––1539.00 C*1540.00 C * Processing: 1. Load video screen text.1541.00 C* 2. Retrieve screen title data area, test1542.00 C* for unauthorized access, center video1543.00 C* title and move to video screen.1544.00 C* 3. Initialize key list.1545.00 C* 4. Load roll keys.1546.00 C* 5. Passed parameters.1547.00 C* 6. Load error message array.1548.00 C* 7. Initialize subfile display.1549.00 C*1550.00 CSR S999 BEGSR1551.00 C* –––– –––––1552.00 C*1553.00 C* Required program parameters.1554.00 C*1555.00 C* . . . No Parameters passed1556.00 C*

Page 399: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–105

1557.00 C* Test for auto inquiry function.1558.00 C*1559.00 CSR $AUTO IFNE *BLANK1560.00 CSR MOVE ’1’ $AUTO 11561.00 CSR END1562.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––1563.00 C*1564.00 C* Load video screen text.1565.00 C*1566.00 CSR MOVEL@@FILE PSKEY 101567.00 CSR Z–ADD006 PSVTX# 301568.00 C/COPY JDECPY,C00SC1569.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––1570.00 C*1571.00 C* Load error messages array.1572.00 C*1573.00 CSR MOVE ’0001’ EMK,01 Inv Action1574.00 CSR MOVE ’0002’ EMK,02 Inv Key1575.00 CSR MOVE ’0003’ EMK,03 Inv Blanks1576.00 CSR MOVE ’0004’ EMK,04 INV Date1577.00 CSR MOVE ’0005’ EMK,05 Inv Next Nbr1578.00 CSR MOVE ’0007’ EMK ,0 6 In Use1579.00 CSR MOVE ’0025’ EMK,07 Inv Values1580.00 CSR MOVE ’0026’ EMK,08 Inv MCU1581.00 CSR MOVE ’0027’ EMK,09 Inv Desc Ttl1582.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––1583.00 C*1584.00 C* Load invalid action code array.1585.00 C*1586.00 CSR MOVEA’ ’ @NAC1587.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––1588.00 C*1589.00 C* Initialize subfile display.1590.00 C*1591.00 CSR Z–ADD0 I11592.00 CSR Z–ADDl5 $PGSZ 301593.00 CSR DO $PGSZ1594.00 CSR ADD 1 I11595.00 CSR MOVEA* IN SHIN1596.00 CSR WRITEINDEXS 991597.00 CSR END1598.00 CSR Z–ADDI1 $SVI11599.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––1600.00 C*1601.00 C* Load system date.1602.00 C*1603.00 CSR TIME $WRK12 1201604.00 CSR MOVE $WRKl2 $$EDT 601605.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––1606.00 CSR END999 ENDSR

Page 400: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–106 A8.1 (8/97)

ÁÁ Exercises��� ��� ����� � �� �� ��������

Page 401: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–107

File Servers

About File Servers

���� ��� ��� ���������� � ���� �� ��� ���� ���! "�� �� ��� ��� ��� �������������� �� "��� ����� �� � �������� ���" � �� ��� � ����� ��� �� "��� ����� ���" � ���� "��� �"���� ���� ����� �� ����� ������ �� �� �� ��� �� �"� �� ������ �� ��� ��� � ���� ��"� � ��" ����� � ������ ������� � � � �� �������������� ������ ���� ��� �� �� �������� � ��� ��� ��� �� � �� ����� � ����� �� ������� ������� ��� ��� �" ����� � ���#�� ����� �������� �� ��� ��� ��� ������ " �� � �" ����� � ��� �� ����

Page 402: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–108 A8.1 (8/97)

What is a File Server?

� � "� )�(,�(� %( ��� )�(,�(� ) � )�(,�( *��* &�(�%(#) �"" ��� ��*���)� %&�(�* %$�%��)�

�� ) */&� %� )�(,�( ��) $% �����* %$ &(%�(�# "%� �� �+* * )%"�*�) *�� ��*+�"��*���)� �(%# *�� �&&" ��* %$ &(%�(�#� �$�� /%+ #&"�#�$* � � "� )�(,�( $*% �&(%�(�#� *�� � "� )&�� � ��* %$ ) $% "%$��( (�'+ (���

Types of File Servers

���(� �(� *�(�� */&�) %� � "� )�(,�() /%+ ��$ +)��

� ������ �$&+*��$"/���� $� ��(,�()

���/ )�%+"� �� +)�� -��$ /%+ -%+"� %*��(- )� +)� � ) #&"� ��� %&�(�* %$ �%( $&+* %$"/� �%+ #�/ (�'+�)* ��)�( &* %$)%$"/� %( *�� �$* (� (��%(�� ���/ &(%, �� ���� $� "%� � *%���(��)� &�/) ��" ��� �%( �+&" ��*� (�'+�)*)�

� ��������$&+*��+*&+* � "� ��(,�()

���/ - "" �""%- /%+ *% (�&"��� �"" ��� ��*���)� %&�(�* %$�%��) �%( � � ,�$ � "� - *� &(%�(�# ��"")� ���/ ��$ (���� ��� $�)�*""� �$� )% �%(*�� *% � � "��

� ��������&�� �" ��(+� � � * ��(,�()

���/ ��$ ����&* *�� �%)* ��$*�( %( ���%+$* $+#��() $ �$/,�" � ��*� �$*(/ %( � "� �%(#�*� �%$,�(* *��# *% �$/ �%(#�*�,�" ��*� *�� �. )*�$�� %� *�� #�)*�( (��%(�� �$� %&* %$�""/ &�))*�� #�)*�( (��%(� ���! *% *�� ��"" $� &(%�(�#�

Page 403: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–109

What are the Advantages of Using a File Server?

�� ���������� �� ����� � ���� ������ ����

� ������"�� ��������� � �� !��� ��������

� �� ������! �� ����� � ��!�� �� ���� ������� ������ �� ���� ������ ��

����� ����� �������� ���� ��� ��� ����� �� ���� ������ �� �� ������ ����

� ���� �������� �� ������ �������� �� ����� �������� ���� � ��������

������� �� ��� ������� � ������ ��������

� �� ���������� ���� �� ��� �������� �� � ��� �������� ���� �� ���������

������� �� ����!��� ��� ��� ��������� !�� ���� ���! ���� �� ����! � ������ �� ���� ��������

� ������! �� ��������� ��� ���� ������ �� � ���� ������� ���� ���� ��� ���� ��

!��� �!����

What are the Disadvantages of Using a File Server?

�� ������������� �� ����� � ���� ������ ����

� � ���� ������ �� �������! ������ �� ���� !�� ��� ���������� �� � ������

��� �� ��� ������ ���� !��� ��������

� ���� ������ �������� ���� �� �� ������

���� ������� ��� �������� �� ������� ��� �������� ��� ����� ���� �� ����������� ���� ��!�

Page 404: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–110 A8.1 (8/97)

How Does a File Server Function?

� !$& , +/ + * +!)+', �&& -# $(- +!�� , � -0 ( � *+)"+�' �(� !$& � �$+,- 2).0$&& &)�� -# �)(-+)& *�+�' - +,� 0#$�# �)(-�$( $(!)+'�-$)( ��).- -# + �)+�2). �+ + -+$ /$("� �# !$& , +/ + �)(/ +-, -# �)(-+)& *�+�' - +, �(� + -+$ / , �+ �)+� ���% -) -# *+)"+�'�

�! 2). *&�( )( .,$(" �(2 )! -# !$& , +/ + *+)"+�', �(� 2). �+ �,%$(" -# ' -)+ -.+( -# ��-���, + �)+�� 2). '.,- ., -# + �)+� $'�" ����� ' '� + -#�--# �)++ ,*)(�$(" ��� , +/ + ., ,� �# ����� ' '� + #�, -# !)&&)0$("(�'$(" �)(/ (-$)(

��!$& (�' � �+ & �, & / &��

�)+ 1�'*& �# �)*2 ' '� + !)+ -# ����� + �)+� $'�" ,#).&� �** �+ �,

������ ������� ������

�)' - �#($��& !$& , +/ +, �������� ����� #�/ � ����� ' '� +0$-# -# (�'$(" �)(/ (-$)(

��!$& (�' ��,* �$�& �#�+��- +�

������ ������� �����

� !$& , +/ + $, ��&& � 0$-# -0) *�+�' - +,

�)+ 1�'*& CALL ‘XF0101’ 81

– – – – – – – – –

PARM PS@@1

PARM I0101

���� � ������

PS@@1 Contains all of the control parameters. It is contained in copymodule I00XFSRV, and it is common to all file servers.

I(file name) Contains the record image for updates and writes specific foreach I/O server. It is an exact duplicate of the record image. Itis contained in the copy module I(file name) (release level).

Page 405: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–111

What Are Control Parameters?

�� ��������� ����� �������� ��� ��� ������� ���������� ��� ��� ���� ������� ���������� ����������� ������ ��� ������ ����� ��� ������ ����� ���� ��� ������������� ������� �� ��� ������� �������� �� ���� ��� ��� ��������� ������ ��������� ��� ������ �� ����� ������ ��� ��� �������� ���� ��� ������ �������

��� ������ � ���������

@@ACCS (1) The type of access to the file. The valid values are K for Keyedaccess (default), R for relative record number access and S forsequential access (DREAM Writer).

@@OPER (10) The operation to be performed to the file. The valid values arepresented below:

Operation Description

CHAIN Chain by key list or RRN

CLOSE Close the access path

DELET Delete current record or by key or RRN

EXIST Test existence of record by key

OPEN Open access path (optional)

READ Read next record

READE Read next equal key

READP Read previous record

REDPE Read previous equal key

SETGT Set greater than key

SETHV Set greater than with *HIVAL

SETLL Set lower limit by key

SETLV Set lower limit with *LOVAL

UPDAT Update locked record

UPDATC Update current record

WRITE Write new record

UNLCK Unlock current record

@@LOCK (1) Whether you do or do not want to lock the record. The validvalues are Y to lock the record (default) or N to not lock therecord.

Note: This parameter is only valid for chain and readoperations, and is ignored for all other operations.You should set it to N when reading records not tobe updated.

Page 406: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–112 A8.1 (8/97)

��� ������ � ���������

@@CHGR (1) Servers allow records to be read without lock and then beupdated (UPDATC). In this situation, the record will be re–readbefore it is updated and if it has changed since it was last read,action will have to be taken. This parameter determines whatthat action will be. The valid values are:

N– Do not update the record. A return code (RC) isreturned and it comes up to the program todetermine what action to take. (default)

O– Overlay the changed record with the values you arecurrently updating. This will cause the changes madeby the other user to be lost.

W– Call the Changed Record Window (P0000U) thatwill prompt you for what action to take. Use thisoption with interactive programs only.

@@KLST (10) The key list that will be used for access. The calling programdoes not specify a logical file so that the application program isisolated from any database changes. A value must be specifiedunless you are accessing the file by relative record number orsequentially (@@ACCS = R or S).

Note: The server maintains status information for eachaccess path, so multiple paths can be accessedthrough the server in one program. The @@KLSTparameter determines which access path is affectedby the current call to the server.

@@KNUM (5,0) Specifies how many key fields in the list will be used for thecurrent operation. This allows you to perform a read equal by apartial key. The valid values are 1 through the number of fieldsin the key, and blank for operations not requiring a key.

@@FMT (10) Specifies the release level the program is expecting. This fielddoes not get cleared upon returning from the server, so it can beset once in S999.

@@#RRN (9,0) The relative record number for RRN access.

I (file name) Record image for updates and writes. This parameter isoptional for OPEN, CLOSE, DELET, SETHV, SETLV, andUNLCK operations.

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

���������� ��������� �� �� ��� ��������# �� ���� ��� ���!�� "��� ����� ����������

� � ���!�� �������# ������� ����!� �� ���� �� ��� ������� ������� ��

����!�� �� #� ���" #� "��� ���� � ���!�� ��� ���# � ������� �������� ���� ��� �� ��� "��� �� ������ � ����� �� ��� ���� #� ��� ������� ���!�� ��� ����� ��������� ������ ���� �� ��� ��� ���!�� ����� �� ��� ����

Page 407: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–113

What Are Returned Parameters?

���� ��� � � ������ ������� ��� ������ �� ��� ������� ����� ��� ������ ���������� ���������� ���� ���

��� ������ � ���������

@@IOR(3) The I/O return code.

The possible values are:blank –No errorsNF – Record not foundNE – Not equal for a READE operationEOF – End of fileEQ – Equal for a SETLL operationBOF – Beginning of fileRL – Record Locked, could not readRC – Record changedYES –Record foundNO – Record not foundERR – Error, check error fields for explanation

@@ERR (10) Short description of the cause of the problem (invalid, reclock,error, required, deleted, chgrec).

@@ERRS (10) The subject causing the error. The value could be a parameter(KLST), an operation (OPEN), or a file name (Fxxxx). Used incombination with @ERR gives a good idea of what happened.The application program will generally only use @@IOR.@@ERR and @@ERRS are most useful for debuggingpurposes.

@@#RRN (9,0) Returns the relative record number of the record just read (bothinput and output).

I (filename) Returns an exact duplicate of the record image (both input andoutput).

Page 408: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–114 A8.1 (8/97)

Implementing a File Server

� �������� � ���� �����

#0- .6336>15/ )9- /-5-9)33@ ;0- :;-7: 5--,-, ;6 :-; <7 ) .13- :-9=-9 15 ) 796/9)4�"64- 796/9)4: 4)@ ,1..-9�

�� !-46=- �B:7-+ 315- .69 .13- *-15/ )++-::-, ;096</0 ;0- :-9=-9� )5, 9-73)+-1; >1;0 ) +644-5; 4-5;16515/ )++-:: ;096</0 ;0- :-9=-9�

� �,, +3-)9 :;);-4-5; 15 "��� �����! �"����� (6< +)5 67;165)33@ :-;����# ;6 A���� :6 1; ,6-: 56; 0)=- ;6 *- :-; 65 -=-9@ +)33�

� �67@ 15 �B:7-+ +67@ 46,<3- ���'�"!%�

�� �67@ 15 �B:7-+ +67@ 46,<3- .69 ;0- 9-8<19-, :-9=-9� .6336>15/ ;0- 5)415/+65=-5;165� ��.13- 5)4-� �9-3-):- 3-=-3�� �69 -?)473-� ������� �

�� �6,- +)33 ;6 :-9=-9 .69 -)+0 ,);)*):- )++-::� �)415/ +65=-5;165 .69 :-9=-91: '�.13- 5)4-�� �69 -?)473-� '����� .69 ����� )5, )5@ 6. 1;: 36/1+)3:�

� �6), +65;963 7)9)4-;-9:

� �6), 9-+69, 14)/- 1. ) >91;- 69 <7,);-

� �)33 ;0- :-9=-9

� �0-+2 ;0- 9-;<95 +6,-

� !-46=- )5@ 67-5 :;);-4-5;: )5, 2-@ 31:;: .69 ;01: .13- .964 "����

�� !-46=- )5@ 6<;7<; :7-+1.1+);165: ,-)315/ >1;0 �'��# <536+2 :;);-4-5;:); ;0- *6;;64 6. ;0- 796/9)4� #0- :-9=-9 >133 0)5,3- )33 6. ;0- <536+2 )5,36+2 67-9);165:�

&0-5 9-),15/ :-8<-5;1)33@ ������" � "� ;096</0 ;0- 70@:1+)3 .13-69 ;096</0 ) �!��� &91;-9 *):-,B65 .13- ;0); 1: 6=-991,,-5 ;6 ;0-70@:1+)3� :64- 67-9);165: )9- 56; )=)13)*3-� �6 56; <:-� �������'�"#� !����� !����� $���#�� "�#��� "�#�#� "�#�%� "�#�%�"15+- $���#� 1: 56; )=)13)*3- )5, @6< )9- /615/ ;6 <7,);- )9-+69,� @6< 5--, ;6 9-), >1;0 36+2�

�. ;0- .13- @6< )9- )++-::15/ ;06</0 ;0- :-9=-9 1: ;0- �!��� &91;-9*):-, 65 .13-� ;0- �7-5 <-9@ �7;165: 65 ;0- �!��� &91;-9�,,1;165)3 �)9)4-;-9: :+9--5 5--, ;6 *- +0)5/-,� �0)5/- )33 6. ;0-A�7-5 .69 ?????� 7)9)4-;-9: ;6 A(��

Searching for Key Lists

&0-5 +65=-9;15/ 796/9)4: ;6 <:- ;0- .13- :-9=-9:� 4)2- 56;- 6. >0); 36/1+)3 .13-:)9- *-15/ )++-::-,� )5, >0); 46,- �<7,);- 69 157<;� )5, >0); -)+0 6. ;0-,-.15-, 2-@ 31:;: .69 ;06:- )++-:: 7);0: 9-79-:-5;�

Page 409: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–115

�� ���� ��� ��� � �

�� ���� � ��� ������������� ���!�� ��# ���� ���� ���� ��� ����� ��������

�� ������ ��� ��� ������ ���� ��� ����� ���� ��� �������� �� ��� ��������

�� ������ ���� �������� �� ���� ������ ���� "��� � ���� �� ��� ���!�� "��� ���������� �����������

G92 J.D. Edwards & Company Computer Assisted Design (CAD) ... SYSTEM DESIGN TOOLS ... PROGRAM DESIGN TOOLS 2. Software Versions Repository 14. Processing Options 3. Menus 15. Help Instructions 4. Data Dictionar 93KL File Server Key Lists 5. Model Relation Server Name. . . . . . XF0101 6. CASE Profiles Skip To Key Name . . . 7. Function Key D 8. Vocabulary Ove Key Access S Key List Path L Item Description ABKY01 F0101LA AN8 Address Number . . . . . ABKY02 F0101LB DC Description – Compressed ABKY03 F0101LC PH1 Phone Number . . . . . . Selection or command ===> KL ABKY04 F0101LD PA8 Parent Number. . . . . . AN8 Address Number . . . . . Thur, Jan 6, 1994 ABKY05 F0101LE * AN8 Address Number . . . . .

Page 410: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–116 A8.1 (8/97)

Tips when Using File Servers

�!� �(%%(/"' ,")+ ��' !�%) /!�' -+"' �"%� +�*.�*+�

� �!�' �('.�*,"' � )*( *�& ,( -+� ,!� �"%� +�*.�*+� �%/�1+ +�, ,!�

����� )�*�&�,�* ,( 2�� /!�' *���"' *��(*�+ ,!*(- ! �' ����++ )�,!,!�, ,!� )*( *�& -+�+ ,( ()�' �(* "')-, ('%1�

�!� *��+(' �(* ,!"+ "+ ,!�, �%% ����++ )�,!+ �*� ()�' �(* -)��,� "' ,!�+�*.�*� �!"+ ��' ��-+� *��(*� %(�$ )*(�%�&+ /!�' � )*( *�& ()�'+&-%,")%� )�,!+ "',( ,!� +�&� �"%�� (**��, -+� (� ,!� ����� )�*�&�,�*+(%.�+ ,!�+� )*(�%�&+�

� �(&� )*( *�&+ &�1 �� �("' � � � (* ���� ,( -'%(�$ � *��(*��

'+,��� (� *�)%��"' ", /",! � � � ,!*(- ! ,!� +�*.�*� ,�$� ��.�',� � (�,!� ���� ()�*�,"('� ��*�(*&"' �' ���� (' � �"%� ,!�, �(�+ '(, !�.� �*��(*� %(�$�� �(�+ '(, )*(�-�� �' �**(*�

� �(&� )*( *�&+ )�*�(*& � ����� ,( .�%"��,� ,!�, � *��(*� �0"+,+� �!� '�/

()�*�,"(' �� �� "+ )*(."��� ,( !�'�%� ,!"+ �-'�,"('� , *�,-*'+ � ��� (*�� "' *�,-*' �(�� ��� ����

� �!�*� "+ ('%1 ('� "'+,�'�� "' /!"�! � )�*,"�-%�* �"%� +�*.�* "+ ��,".� "' 1(-*

#(� �, ('� ,"&�� +( "� ('� )*( *�& ��%%+ �'(,!�* )*( *�& ,!�, ����++�+ ,!��"%� ,!*(- ! ,!� +�&� ����++ )�,!� ,!�1 �*� ��,-�%%1 +!�*"' ,!� +�&� ()�'��,� )�,!� � ", "+ )(++"�%� ,!�, � ��%% ,( �'(,!�* )*( *�& �(-%� *�%(��,� ��"%� )("',�* ,!�, �(-%� &�++ -) ,!� )*( *�&� ", /(-%� �� � ((� "��� ,(+�.� ,!� $�1+ �'� *�+�, ,!� )("',�* �� � (* ������ -)(' *�,-*'"' �

Page 411: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–117

Seq No.U C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– Mod DC*e1.00 C* 09.11.922.00 C* 10.11.923.00 C * Index of Examples: 10.11.924.00 C* ––––––––––––––––––– 10.11.925.00 C* 10.11.926.00 C* Scan For: To Find: 10.11.927.00 C* ––––––––– ––––––––––––––––––––––––––––––––––––– 10.11.928.00 C* 1.1 File Server Calls 10.11.929.00 C* 1.1.1 Chain 10.11.92

10.00 C* 1.1.2 Close 10.11.9211.00 C* 1.1.3 Delete 10.11.9212.00 C* 1.1.4 Existence Test 10.11.9213.00 C * 1.1.5 Open 10.11.9214.00 C* 1.1.6 Read 10.11.9215.00 C * 1.1.7 Read Equal 10.11.9216.00 C * 1.1.8 Read Previous 10.11.921~.00 C* 1.1.9 Read Previous Equal 10.11.9213.00 C* 1.1.10 Set Greater Than 10.11.9219.00 C* 1.1.11 Set Lover Level 10.11.9220.00 C* 1.1.12 Update 10.11.9221.00 C* 1.1.13 Write 10.11.9222.00 C* 1.1.14 Unlock 10.11.9223.00 C* 2.1.1 X09031 19.01.9324.00 C *–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– 10.11.9225.00 C * 10.11.9226.00 C*1.1 File Server Calls: 10.11.9227.00 C* 09.11.9223.00 C*Determine from P93KL what the key list name is for the 09.11.9229.00 C*access path being used; this name is moved to the @@KLST. 09.11.9230.00 C*If the operation uses a key list, determine how many keys 09.11.9231.00 C*the key list represents; this number is Z–ADDed to @@KNUM. 09.11.9232.00 C * The format is the release level (A61) and can be moved to 10.11.9233.00 C*@@FMT in S999 once for the rest of the calls. 10.11.9234.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– 09.11.9235.00 C* 09.11.9236.00 C* 1.1.1 Chain: 10.11.923~.00 C* 10.11.9233.00 C* Old Code: 10.11.9239.00 CSR ABKY02 CHAINI010lC 8199 10.11.9240.00 C* 10.11.9241.00 C* New Code: 10.11.9242.00 CSR MOVEL’A6l’ @@FMT 10.11.9243.00 CSR MOVEL’ABKYO4’ @@KLST 10.11.9244.00 CSR MOVEL’CHAIN’ @@0PER 10.11.9245.00 CSR MOVE ’N’ @@LOCK 05.12.9246.00 CSR Z–ADD2 @@KNUM 10.11.9247.00 CSR CALL ’XF0101’ 10.11.9248.00 C* –––– ––––––– 10.11.9249.00 CSR PARM PS@@1 10.11.9250.00 CSR PARM I0101 10.11.9251.00 CSR @@IOR COMP ’RL’ 99 10.11.9252.00 CSR @@IOR COMP ’NF’ 81 10.11.9253.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– 10.11.9254.00 C* 10.11.9255.00 C* 1.1.2 Close: 10.11.9256.00 C* 10.11.9257.00 C* Old Code: 10.11.9258.00 CSR CLOSEF0902LD 99 10.11.9259.00 C* 10.11.9260.00 C* New Code: 10.11.9261.00 CSR MOVEL’A61’ @@FMT 10.11.9262.00 CSR MoVEL’GLKY04’ @@KLST 10.11.9263.00 CSR MOVEL’CLOSE’ @OPER 10.11.9264.00 CSR CALL ’XF0902’ 10.11.9265.00 C * –––– –––––– 10.11.9266.00 CSR PARM PS@@1 10.11.9267.00 CSR PARM I0902 10.11.9268.00 CSR @@OR COMP ’ERR’ 99 10.11.9269.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– 10.11.9270.00 C* 10.11.9271.00 C* 1.1.3 Delete: 10.11.9272.00 C* 10.11.9273.00 C* Old Code: 10.11.9274.00 CSR DELETI0101B 99 10.11.9275.00 C * 10.11.9276.00 C* New Code: 10.11.9277.00 CSR MOVEL’A61’ @@FMT 10.11.9273.00 CSR MOVEL’ABKY02’ @@KLST 10.11.9279.00 CSR MOVEL’DELET’ @@OPER 10.11.92

File Server Examples

Page 412: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–118 A8.1 (8/97)

80.00 CSR CALL ’XF0101’ 1~0o:l~l~:~2~81.00 C*82.00 CSR PARM PS@@1 10.11.9283.00 CSR PARM I0101 10.11.9284.00 CSR @@IOR COMP ’RL’ 99 10.11.9285.00 C* 10.11.9286.00 C* Old Code: 10.11.9287.00 CSR ABKYOB DELETI0101B 8399 10.11.9288.00 C* 10.11.9289.00 C* New Code: 10.11.9290.00 CSR MOVEL’A6l’ @@FMT 10.11.9291.00 CSR MOVEL’ABY02’ @@KLST 10.11.9292.00 CSR MOVEL’DELET’ @@OPER 10.11.9293.00 CSR Z–ADD3 @@KNUM 10.11.9294.00 CSR CALL ’XF0101’ 10.11.9295.00 C* 10.11.9296.00 CSR PARM PS@@1 10.11.9297.00 CSR PARM I0101 10.11.9298.00 CSR @@IOR COMP ’RL’ 99 10.11.9299.00 CSR @@IOR COMP ’NF’ 83 10.11.92

100.00 C*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– 10.11.92101.00 C* 10.11.92102.00 C* 1.1.4 Existence Test: 10.11.92103.00 C * 09.11.92104.00 C * Old Code: 09.11.92105.00 CSR ABKY02 SETLLI0l01D 9982 10.11.92106.00 C* 09.11.92107.00 C* New Code: 09.11.92108.00 CSR MOVEL’A61’ @@FMT 10.11.92109.00 CSR MOVEL’RPKY01’ @@KLST 10.11.92110.00 CSR MOVEL’EXIST’ @@OPER 10.11.92111.00 CSR Z–ADD3 @@KNUM 09.11.92112.00 CSR CALL ’XF010l’ 10.11.92113.00 C * 09.11.92114.00 CSR PARM PS@@1 09.11.92115.00 CSR I0101 10.11.92116.00 CSR @@IOR COMP ’YES’ 82 10.11.92117.00 CSR @@IOR COMP ’ERR’ 99 11.12.92118.00 C * ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– 09.11.92119.00 C* 10.11.92120.00 C* 1.1.5 Open: 10.11.92121.00 C* 10.11.92122.00 C* Old Code: 10.11.92123.00 CSR OPEN F0006 10.11.92124.00 C* 10.11.92125.00 C* New Code: 10.11.92126.00 CSR MOVEL’A6l’ @@FMT 10.11.92127.00 CSR MOVEL’MCKY0l’ @@KLST 10.11.92128.00 CsR MOVEL,’OPEN ’ @@OPER 10.11.92129.00 CSR CALL ’YF0006’ 10.11.92130.00 C* 10.11.92131.00 CSR PARM PS@@1 10.11.92132.00 CSR PARM I0006 10.11.92133.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– 10.11.92134.00 C * 10.11.92135.00 C* 1.1.6 Read: 10.11.92136.00 C * 10.11.92137.00 C* Old Code: 10.11.92138.00 CSR READ I0901A 9982 10.11.92139.00 C* 10.11.92140.00 C* New Code: 10.11.92141.00 CSR MOVEL’A61’ @@FMT 10.11.92142.00 CSR MOVEL’GMKY0l’ @@KLST 10.11.92143.00 CSR MOVEL’READ ’ @@OPER 10.11.92144.00 CSR MOVE ’N’ @@LOCK 05.12.92145.00 CSR CALL ’XF0901’ 10.11.92146.00 C* –––– ––––––– 10.11.92147.00 CSR PARM PS@@1 10.11.92148.00 CSR PARM I0901 10.11.92149.00 CSR @@IOR COMP ’EOF’ 82 10.11.92150.00 CSR @@IOR COMP ’RL’ 99 10.11.92151.00 C*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– 10.11.92152.00 C* 10.11.92153.00 C* 1.1.7 Read Equal: 17.11.92154.00 C* 10.11.92155.00 C* Old Code: 10.11.92156.00 CSR ABKY03 READEI0101C 9987 10.11.92157.00 C* 10.11.92153.00 C * New Code: 10.11.92159.00 CSR MOVEL’A6l’ @@FMT 10.11.92160.00 CSR MOVEL’ABKY03’ @@KLST 10.11.92161.00 CSR MOVEL’READE’ @@OPER 10.11.92162.00 CSR MDVE ’N’ @@LOCK 05.12.92

Page 413: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–119

163.00 CSR CALL ’XF0101’ 10.11.92164.00 C* –––– –––––––– 10.11.92165.00 CSR PARM PS@@1 10.11.92166.00 CSR PARM I0101 10.11.92167.00 CSR @@IOR COMP ’NE’ 87 10.11.92168.00 CSR @@IOR COMP ’RL’ 99 10.11.92169.00 C*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– 10.11.92170.00 C* 17.11.92171.00 C* 1.1.8 Read Previous: 17.11.92172.00 C* 17.11.92173.00 C* Old Code: 17.11.92174.00 CSR READPI0901B 9982 17.11.92175.00 C* 17.11.92176.00 C* New Code: 17.11.92177.00 CSR MOVEL’A61’ @@FMT 17.11.92173.00 CSR MOVEL’GMKY02’ @@KLST 17.11.92179.00 CSR MOVEL’READP’ @@OPER 17.11.92180.00 CSR MOVE ’N’ @@LOCK 05.12.92181.00 CSR CALL ’XF0901’ 17.11.92182.00 C* –––– –––––––– 17.11.92183.00 CSR PARM PS@@1 17.11.92184.00 CSR PARM I0901 17.11.92185.00 CSR @@IOR COMP ’BOF’ 82 17.11.92186.00 CSR @@IOR COMP ’RL’ 99 17.11.92187.00 C*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– 17.11.92188.00 C* 10.11.92189.00 C* 1.1.9 Read Previous Equal: 10.11.92190.00 C* 10.11.92191.00 C* Old Code: 10.11.92192.00 CSR ABKY04 REDPEI0l0lC 9987 10.11.92193.00 C* 10.11.92194.00 C * New Code: 10.11.92195.00 CSR MOVEL’A61’ @@FMT 10.11.92196.00 CSR MOVEL’ABKY03’ @@KLST 10.11.92197.00 CSR MOVEL’REDPE’ @@0PER 10.11.92193.00 CSR MOVE ’N’ @@LOCK 05.12.92199.00 CSR CALL ’XF0101’ 10.11.92200.00 C* –––– ––––––– 10.11.92201.00 CSR PARM PS@@1 10.11.92202.00 CSR PARM I0101 10.11.92203.00 CSR @@IOR COMP ’NE’ 87 10.11.92204.00 CSR @@IOR COMP ’RI’ 99 10.11.92205.00 C*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– 10.11.92206.00 C* 10.11.92207.00 C* 1.1.10 Set Greater Than: 10.11.92203.00 C* 10.11.92209.00 C* Old Code: 10.11.92210.00 CSR GBKEY SETGTI0902A 8498 10.11.92211.00 C* 10.11.92212.00 C* New Code: 10.11.92213.00 CSR MOVEL’A61’ @@FMT 10.11.92214.00 CSR MOVEL’GBKY01’ @@KLST 10.11.92215.00 CSR MOVEL’SETGT’ @@OPER 10.11.92216.00 CSR 2–ADD3 @@KNUM 10.11.92217.00 CSR CALL ’XF0902’ 10.11.92213.00 C* –––– ––––––– 10.11.92219.00 CSR PARM PS@@1 10.11.92220.00 CSR PARM I0902 10.11.92221.00 CSR @@IOR COMP ’NF’ 84 10.11.92222.00 CSR @@IOR COMP ’ERR’ 98 10.11.92223.00 C* 10.11.92224.00 C* Old Code: 10.11.92225.00 CSR *HIVAL SETGTI0902A 99 10.11.92226.00 C* 10.11.92227.00 C* New Code: 10.11.92223.00 CSR MOVEL’A61’ @@FMT 10.11.92229.00 CSR MOVEL’GBKY01’ @@KLST 10.11.92230.00 CSR MOVEL’SETEE” @@OPER 10.11.92231.00 CSR CALL ’XF0902’ 10.11.92232.00 C* –––– –––––––– 10.11.92233.00 CSR PARM PS@@1 10.11.92234.00 CSR PARM I0902 10.11.92235.00 CSR @@IOR COMP ’ERR’ 99 10.11.92236.00 C*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– 10.11.92237.00 C* 10.11.92288.00 C* 1.1.11 Set Lower Limit: 10.11.92239.00 C* 10.11.92240.00 C* Old Code: 10.11.92241.00 CSR ABK01 SETLLI0l0lC 849985 10.11.92242.00 C* 10.11.92243.00 C* New Code: 10.11.92244.00 CSR MOVEL’A61’ @@FMT 10.11.92245.00 CSR MOVEL’ABKY03’ @@KLST 10.11.92

Page 414: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–120 A8.1 (8/97)

246.00 CSR MDVEL’SETILL’ @@OPER 10.11.92247.00 CSR Z–ADDl @@KNUM 10.11.92248.00 CSR CALL ’XF0101’ 10.11.92249.00 C* –––– ––––––– 10.11.92250.00 CSR PARM PS@@1 10.11.92251.00 CSR PARM I0101 10.11.92252.00 CSR @@IOR COMP ’EOF’ 84 10.11.92253.00 CSR @@IOR COMP ’EQ’ 85 10.11.92254.00 CSR @@IOR COMP ’ERR’ 99 10.11.92255.00 C* 10.11.92256.00 C* Old Code: 10.11.92257.00 CSR *LOVAL SETLLI0101C 99 10.11.92253.00 a * 10.11.92259.00 C* New Code: 10.11.92260.00 CSR MOVIL’A61’ @@FMT 10.11.92261.00 CSR MOVfl’ABKY03’ @@KLST 10.11.92262.00 CSR MOVEL’SETLV’ @@OPER 10.11.92263.00 CSR CALL’XF0101’ 10.11.92264.00 C* –––– –––––– 10.11.92265.00 CSR PARM PS@@1 10.11.92266.00 CSR PARM I0101 10.11.92267.00 CSR @@I0R COMP ’ERR’ 99 10.11.92263.00 C*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– 10.11.92269.00 C* 10.11.92270.00 C * 1.1.12 Update: 10.11.92271.00 C* 10.11.92272.00 C * Old Code: 10.11.92273.00 CSR UPDATI0902A 99 10.11.92274.00 C* 10.11.92275.00 C* New Code: 10.11.92276.00 CSR MOVEL’A6l’ @@FMT 10.11.92277.00 CSR MDVEL’BBKY01’ @@KLST 10.11.92273.00 CSR MDVEL’UPDAT’ @@OPER 10.11.92279.00 CSR CALL ’XF0902’ 10.11.92230.00 C* –––– ––––––– 10.11.92231.00 CSR PARM PS@@1 10.11.92232.00 CSR PARM I0902 10.11.92233.00 CSR @@1OR COMP ’ERR’ 99 10.11.92234.00 C* 10.11.92235.00 C* Old Code: 10.11.92236.00 C* Read... 10.11.92237.00 C* Unlock... 10.11.92233.00 C* Chain... 82 10.11.92239.00 C* 10.11.92290.00 CSR UPDATI0902A 99 10.11.92291.00 C* 10.11.92292.00 C* New Code: 10.11.92293.00 C* Read with no lock... 10.11.92294.00 C* 10.11.92295.00 CSR MOVEL’A61’ @@FMT 10.11.92296.00 CSR MOVEL’GBKY0l’ @@KLST 10.11.92297.00 CSR MOVEL’UPDTC’ @@OPER 10.11.92298.00 CSR Z–ADD4 @@KNUM 10.11.92299.00 CSR CALL ’XF0902’ 10.11.92300.00 C* –––– ––––––– 10.11.92301.00 CSR PARM PS@@1 10.11.92302.00 CSR PARM I0902 10.11.92303.00 CSR @@IOR COMP ’NF’ 82 10.11.92304.00 CSR @@IOR COMP ’ERR’ 99 10.11.92305.00 C*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– 10.11.92306.00 C* 09.11.92307.00 C* 1.1.13 Write: 10.11.92308.00 C* 09.11.92309.00 C* Old Code: 09.11.92310.00 CSR WRITEI0101K 99 10.11.92311.00 C* 09.11.92312.00 C* New Code: 09.11.92313.00 CSR MDVEL’A6l’ @@FMT 10.11.92314.00 CSR MDVIL’ABKY11’ @@KLST 10.11.92315.00 CSR MDVEL’WRITE’ @@OPER 10.11.92316.00 CSR CALL ’XF0101’ 10.11.92317.00 C* –––– –––––––– 09.11.92313.00 CSR PARM PS@@1 09.11.92319.00 CSR PARM I0101 10.11.92320.00 CSR @@IOR COMP ’ERR’ 99 10.11.92321.00 C*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– 09.11.92322.00 C* 09.11.92323.00 C* 1.1.14 Unlock: 10.11.92324.00 C* 09.11.92325.00 C* Old Code: 09.11.92326.00 CSR EXCPTUNLOCK 10.11.92327.00 C* : 10.11.92328.00 OI0101A E UNLOCK 10.11.92

Page 415: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–121

329.00 C * 09.11.92330.00 C* New Code: 09.11.92331.00 CSR MOVEL’A6l’ @@FMT 10.11.92332.00 CSR MOVEL’ABKY0l’ @@KLST 10.11.92333.00 CSR MOVEL’UNLCK’ @@OPER 10.11.92334.00 CSR CALL ’XF0101’ 09.11.92335.00 C* –––– ––––––– 09.11.92336.00 CSR PARM PS@@1 09.11.92337.00 CSR PARN I0101 10.11.92338.00 CSR @@IOR COMP ’ERR’ 99 10.11.92339.00 C *––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– 09.11.92340.00 C * 10.11.93341.00 C* 2.1.1 X0903l: 19.01.93342.00 C* 19.01.93343.00 CSR CALL ’X0903l’ 19.01.93344.00 C* 19.01.93345.00 CSR PARM ’2’ #CALC 1 19.01.93346.00 CSR PARM #CO 5 19.01.93347.00 CSR PARM #DG 60 19.01.93348.00 CSR PARM #PN 20 19.01.93349.00 CSR PARM #FY 20 19.01.93350.00 CSR PARM #CTY 20 19.01.93351.00 CSR PRAM #EDT 1 19.01.93352.00 CSR PARM ’1’ #DGSY 1 19.01.93353.00 C* 19.01.93354.00 C* ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– 19.01.93355.00 C* 19.01.93356.00 C* 2.2.1 X0901: 19.01.93357.00 C* 19.01.93358.00 CSR CALL ’X0901’ 19.01.93359.00 C* –––– ––––––– 19.01.93360.00 CSR PARM ’1’ PSSYM 1 19.01.93361.00 CSR PARM RPAM PSOMOD 1 19.01.93362.00 CSR PARM ’1’ PSIMOD 1 19.01.93363.00 CSR PARM RPGLBA PSANI 29 19.01.93364.00 CSR PARM *BLAMK PSMCU 12 19.01.93365.00 CSR PARM *BLANK PSOBJ 6 19.01.93366.00 CSR PARM *BLANK PSSUB 8 19.01.93367.00 CSR PARM PSERRM 4 19.01.93368.00 C* 19.01.93369.00 C* ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– 19.01.93370.00 C* 19.01.93371.00 C * 2.3.1 X0006: 19.01.93372.00 C* 19.01.93373.00 CSR CALL ’X0006’ 19.01.93374.00 C* –––– ––––––– 19.01.93375.00 CSR PARM ’I’ PSOMOD 1 output mode 19.01.93376.00 CSR PARM PSIMOD 1 input mode 19.01.93377.00 CSR PARM SFMCU PSMCU 12 cost center 19.01.93373.00 CSR PARM PSERRM 4 error flag 19.01.93379.00 CSR PARM I0006 F0006 record 19.01.93380.00 C* 19.01.93381.00 C* ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– 19.01.93

Page 416: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–122 A8.1 (8/97)

Commonly Used File Servers

�� �������� �� � ���� �� �� ���� ���� ���� ��������

��� �� �� ���� ����� �����

X0005 User Defined Codes Server Retrieve Only

X0006 Retrieve Cost Center Master Retrieve & Scrub

XF0006 Cost Center I/O Add/Change/Delete

X0010 Automatic Next Numbering Retrieve & Increment

X9203 DD Alpha Description Retrieve Only

X9800E Data Dictionary Info Editing Info

XF0101 Address Book I/O Add/Change/Delete

XS0101LA Address Book Retrieve Only

X0901 Account Master Retrieve & Formats

XF0901 Account Master I/O Add/Change/Delete

X41LOCN Location Format

X41LOT Lot Number Assignment

X41DUP Lot Master Duplicate Edits

X4101 Item Master Retrieve & Edit

X4108 Lot Master Update Creates & Updates

X4111 Write to Item Ledger Writes Only

XF4111 CARDEX I/O Retrieve Only

XF42119 Sales History I/O Add/Change/Delete

XF42199 Sales Detail Ledger I/O Add/Change/Delete

XF43199 Purchasing History I/O Add/Change/Delete

Page 417: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–123

Functional Servers

About Functional Servers

� � ������ � ���!�� ���"� #� �� ��� ��� ��� ���������� �� � ����� ��� ��#� � ����� ���� ����� ��� � ������ � ���!��� ���!��� ����� � ��� ���� ����� �� �� � ������ � ��� �� � �������� ��� ������ � �� � !� ������ ��!������ �� �� �� � �������� ����� � ������ � ��� ��� ����� ��� �����"����

� � � ������� �# ��� �� ! � ��

� ����� ����� �� ! ��� ! � ��

� ����� ����������

� �� ��������� ���"��� ������ �� ����� �����

�� "��� "��� � ������ � ���!��� #� ��� �� ������ ���

� �� � � ������ � ���!��� ��

� �� � ��� �! �� ��� �� ���� ���� ��

� �" �� ��� � ��� � ������ � ���

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

Page 418: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–124 A8.1 (8/97)

What Are Functional Servers?

�"��!����� ��#�� � � ��#�� !��! ������� ��� !��� ��!��� #�����!��� �����!��� � "���!� �

��� !&�� �� ��#�� � �� ����� !� �����#� �������!��� ������� ���� !�� �"������ ���������� ���! ��� "���!� �����!��� � ��� �"��!������!& � ����#�� ���� !���������!��� ������� ��� ������ ��!� � ��#���

�"��!����� ��#�� � � ������ �������� ��� �������!��� ������� ������� !�� ��#�� �" ! !��� !�� ��#�� $��! ��!��� � !� �� ��������� ��� �#��& !��� ��!������ !"��� !�� �"��!����� ��#�� $��� ��!"�� ����� �� ��� � ������ ����� ���� � ��������� "���!� ���� !� !�� �������!��� ������� !� " � $��� ��!�������� !���� "�! �� � ���� !� � ��#���

�"��!����� ��#�� ��#� !�� �����$��� ������ ���#��!���

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

��� �%����� ��� �"��!��� ��#�� ��� !�� ����� ���� ��"�� ������ �

��������

Page 419: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–125

�� ��������� ������� ���� �� ��� ���� �� � � �� �� ������� ����� � ��� �������������

Application Program

Functional Server

File Server

File

What Are the Advantages of Using a Functional Server?

�� ��������� �� � ���� �� ���������� �� ����� � ��� ������ �������

� ������!�� ��������� � ��� ���������� �� ��� ���������

� ���� ������� �������� ��� � ���� ���� ������� �� �� ���������

� ������ ������� ���������� � �������� �������� �� ��� ��� ���� ��� ������

�������

� �� ���������� ���� �� ��� �������� �� � ��� �������� ���� �� ���������

������� �� ���� ��� ��� ��� ��������� �� ���� ��� ���� �� ���� � ������ �� ��� ������ ��������

� ������ �� ��������� ��� ��� ������ ������ �� � ���� ������� ���� ���� ���

���� �� ��� � �����

Page 420: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–126 A8.1 (8/97)

What Are the Disadvantages of Using a Functional Server?

�$! "*''*2%)# %. � '%./ *" %.� 1�)/�#!. %) 0.%)# � "0)�/%*)�' .!-1!-�

� � "0)�/%*)�' .!-1!- %. (%)0/!'4 .'*2!- �!��0.! 4*0 �-! +!-"*-(%)# �)

!3/!-)�' ��'' /* /$! .!-1!- "-*( 4*0- +-*#-�(�

� �0)�/%*)�' .!-1!- +-*#-�(. /!) /* �! '�-#!�

Setting Up Business Rules for an Entry Program

�� ��� � �������� ���� ��� �� ����� �����

�� -!�/! � ����� �-%/!- 1!-.%*) "*- � .+!�%"%� "0)�/%*)�' .!-1!- +-*#-�(�"*- !3�(+'!� ������� "*- 1*0�$!- !)/-4��

�� �!/ /$! +-*�!..%)# *+/%*). 2%/$%) /$! 1!-.%*) ���*- %)# /* 4*0- �*(+�)4-!,0%-!(!)/.�

� �+!�%"4 /$! 1!-.%*) 4*0 2�)/ /$! !)/-4 +-*#-�( /* 0.! %) /$! +-*�!..%)#*+/%*). "*- /$�/ !)/-4 +-*#-�(�

�*0 ��) $�1! �'' 4*0- !)/-4 +-*#-�(. 0.! /$! .�(! ����� �-%/!- 1!-.%*) ��) /$0.� 0.! /$! .�(! -0'!.� *- 4*0 ��) .!/ 0+ %""!-!)/ ����� �-%/!- 1!-.%*).� ����� 2�- . +-*1% !. ����� �-%/!- 1!-.%*) �������� �. /$! !"�0'/ "0)�/%*)�'.!-1!- 1!-.%*) "*- 4*0- !)/-4 +-*#-�(.�

�)'4 /$! +!-.*) -!.+*).%�'! "*- .4./!(52% ! .!/0+ .$*0' (�&! �$�)#!. /* /$!"0)�/%*)�' .!-1!- 1!-.%*)� �*- (*-! %)"*-(�/%*) ��*0/ $*2 /* .!/ 0+ ������-%/!- 1!-.%*).� .!! /$! �� ���� ��� ����� �����

How Does a Functional Server Function?

�$!) � "0)�/%*)�' .!-1!- %. ��''! � �) !)/%-! /-�).��/%*) %. +-*�!..! �

� �!)!-�''4� *)�! � "0)�/%*)�' .!-1!- %. ��''! � %/ 2%'' -!�!%1! /$! �/�

!)/!-! �4 4*0 �) '*� %/ %)/* � 0.!- .+��!�

� �/ 2%'' /$!) +!-"*-( %/. "0)�/%*)�'%/4 *) /$! �/��

� �%)�''4� %/ 2%'' -!/0-) /$! -!,0!./! �/� ���& /* /$! ��''%)# +-*#-�( 1%�

/$! 0.!- .+��!� �" �)4 !--*-. *��0-� /$!4 2%'' �! '*� ! %)/* � 0.!- %) !3�

�$-!! %)/!-"��!. �-! 0.! /* �*((0)%��/! 2%/$ /$! "0)�/%*)�' .!-1!-� �$!4 �-!�

� �$! ��'' +�-�(!/!-.

� �$! �*)/-*' "%!' . 2%/$%) !��$ 0.!- .+��! '%)!

Page 421: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–127

� ��� �!!�! ����'

Functional Server Highlights

��� �����&��� �" � ��"# �� ��������#" �� � �$��#����� "�!%�!�

� �!�%���" ��� ���#��� ��! � #!��"��#���

� �!�%���" ����� ����$�# %��$�"

� �!�%���" ��� ��#���"� $���#�"

� ��!��!�" �� $�!( ��! �� ��#�!� #!��"��#���

� $�" ��#�!��#�%��( �! �� ��#��

� �$���!#" � �$�#�#$�� �� $"�! ��#�!����"

Basic Accounting Transactions

A/RInvoice

Entry

A/PVoucher

Entry

JournalEntries

A/RCash

Receipts

A/PChecks

DataBase

� #�� �������� �("#�� #��!� �!� ��%� ��"�� #!��"��#���"�

� ��$!��� ��#!��"

� ��� ��$���! ��#!(

� ��� �����"

� �� �%���� ��#!(

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

���� ��&�!�" $"�" ��� �!��!�� ��! ���� ��!# �! #!��"��#��� �� #�� "("#���

Page 422: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–128 A8.1 (8/97)

Example: Voucher Processing Functional Server

�� ��������� ������ ����� ��� �������� ���� ��� ��� ��� ��� ��� ��������� ������ ������� ��� ������� �������� ��� ���� �������� �� ��� ��� ������������� ������� ��� ��������

Multi–SpeedVoucher

EntryP041015

StandardVoucher

EntryP04105

VoidPayment

EntryP04103

CreditTied toDebitB.U.

P041016

Multi-VoucherP041017

CalculateWith-

holdingP04580

XT0411Z1Versions List

ZJDE0001ZJDE0002

Page 423: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–129

Program Example – Traditional Architecture

User 1

Data Base

User Interface Logic

Data Integrity Logic

��� ������ ������� ��� �� �� � ��� ��� ����� �� �� �� ��� ����������� ��� ����� �� �� ���� �� ������ �� ��� ��� ���� �� ��� �

Page 424: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–130 A8.1 (8/97)

User Interface Logic

��� ��������� ��� ������� �� ��� ���� ��������� ������

� ����� ������

� ��� �� ��� �������

� ���� ������

� ����� ����������

� ���� ���������

� ����� ������� ������!

� ����� ��� ����

Data Integrity Logic

��� ��������� ��� ������� �� ��� ���� ��������! ������

� ����� �������

� ���������� �������

� ����������� �������

� ������� �����

� ����� ������� ���������

� �� ����������

� �������! ����������

� ���� ��� ������

Page 425: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–131

Example – Traditional Architecture . . .. . . Alternative Method of Entry

User 2

Data Base

User interfacechanges

Data integrity logic isduplicated

User Interface Logic

Data Integrity Logic

� ���� ����� ��� ����� �� ���� �� ������ ��� ���� ����� � ���� �������� �� ����� ��� �� ��������� ���� ������� ��� ��� � �� �����������

Page 426: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–132 A8.1 (8/97)

Example – Traditional Architecture . . .. . . Various Entry Methods

User 1

RedundantLogic

Database

User 2 User 3 User 4

RedundantLogic

RedundantLogic

������ ����� �� ����� ����� ��� ���� ���� ���� �� �� ��� �� ���� ������ � ������� ��� ��� �� �� �������� ��� ��� ������

Page 427: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–133

Example – JDE Open Application Architecture . . .. . . Various Entry Methods

User 1

FunctionalServer

Data Base

User 2 User 3 User 4

Different Data Entry Methods (User Interface)

Common DataIntegrity Logic

�� �������� �� � ���������� ����� ������ �� �� �������� ��� ���� �������� ����� �� ��� ������ �������� �� ���������� ����� ������ ��������� �������� ���� �������� ����� �������� ��� �� ��� ���� �������� ����� �������������� ��� ���������� ����� �� ��������� ���� ��� ���� ���� ��� ������� �������� �� ���� ����������� �������������

Page 428: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–134 A8.1 (8/97)

Open Application Architecture

�� $�� �!�� �!!����$� � �"���$��$%"�� $�� ��$���#� �# #�!�"�$�� �" � ���� �#�"��$��"�$' � ��� !" �"�� �' $�� %��$� ��� ��"&�"� ��� ��&��$���# � $�� �!���!!����$� � �"���$��$%"� �"��

� �%$ ��$�� � �#�#$���'

� ���%��� ���$������ �%"���

� �$�����$' � �%#$ � � ��

� ��!�"�$� � � ��&�� !���$ �� "$#

� ��"� "����� ���������$#

Standard Entry ProgramsExternal Open Application Architecture

PC Input ApplicationCustomer Input Application

PC–AS/400 InterfaceBatch Input Processor

Internal Open Application Architecture(Functional Servers)

Database

Page 429: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–135

Functional Server Interface

� ��������� ������ ���� ������ ��� ��� ����������

� ����

� ����� ����� ��

Data Error Messages

FunctionalServer

Page 430: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–136 A8.1 (8/97)

Functional Server Transaction Data

�& (�"�( ��

�� �)!! (&�#'��( $# %�''�� ($ '�&*�& �( $#� ( "�

� � ' #�!� (&�#'��( $# ��# ��*� "$&� (��# ����� ! #�'

� ���� ! #� �&$" ��� ($ ����� ���&��(�&' !$#�

� !$( $� '%���

�($&- �&$�!�"�

�$+ ��# %&$�&�" � %�'' %&$�&�" � � $#� (�$)'�#� ! #�(&�#'��( $# + (�$)( )' #� � ��"�� %�&�"�(�&�

Functional Server Error Messages

�& (�"�( ��

�� ���� � �!� ��# ��*� �# �&&$&

� ���� ! #� ��# ��*� ��� $& "$&� � �!�'

� ���� (&�#'��( $# ��# ��*� �)#�&��' $� ! #�'

� !$( $� '%���

�($&- �&$�!�"�

�$+ ��# %&$�&�" � %�'' %&$�&�" � � $#� (�$)'�#� ! #�(&�#'��( $# + (�$)( )' #� � ��"�� %�&�"�(�&�

Answers

��� �'�& �%���

� �'�& �#��,

Functional Server Interface

� �)#�( $#�! ��&*�& ��# #(�&��( + (� � �'�& �%��� �#� � �'�& �#��, �- %�'' #��#� &��� * #� %�&�"�(�&'�

Page 431: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–137

Functional Server Parameters

�"% #� ��+� *+),�+,)� ���"%�� "% ����� $&�,#�

�.& *��+"&%* �"/�� �%� �''#"��+"&% *'��"�"�

� �"/�� '�)�$�+�)*

�� �+"&% �&�� ���"+� ,'��+�� "%(,")��

�� �,$��) &� #"%�* "% +)�%*��+"&%*

�� ��� �)"+�) -�)*"&% &� �,%�+"&%�# ��)-�)

� ''#"��+"&% *'��"�"� '�)�$�+�)*

�� �&%+�"%* !����) "%�&)$�+"&% �&) � +)�%*��+"&%

�� &�,$�%+ %,$��) &� +)�%*��+"&%

�� �&+�# �$&,%+ &� +)�%*��+"&%

�� ��+�! %,$��) &� +)�%*��+"&%

Functional Server User Space

�"% #� ��+� *+),�+,)� ���"%�� "% ����� $&�,#�

� �%� �" ��+� �)��

� ��/"$,$ &� �� $�

� �� "%%"% ��� �0+�* &� ,*�) *'��� )�*�)-��

� �+� '&)+"&% &� ,*�) *'��� �&%+�"%* �&)$�++�� #"%�*

�� �*�) *'��� #"%�* ���"%�� �0 ����� $&�,#�

�� ���! #"%� �&%+�"%* +!)�� *��+"&%*

�&%+)&# *��+"&%

''#"��+"&% *'��"�"� *��+"&%

���&)� �&)$�+ *��+"&%

Page 432: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–138 A8.1 (8/97)

Functional Server User Index

��!��� ��&� %&$'�&'$� ����!�� �! ����� "�'��

� �!� ��� ��+�� ��&� �$��

� �%�� &" #�%% �$$"$ �%%���% ���� &" �##����&�"!

� �%�$ �!��* �!&$+ ����!�� '%�!� � ����� "�'��

� ��� '%�$ �!��* �!&$+ �"!&��!% &)" %��&�"!%

�� �+

�##����&�"! �

��!� !' ��$ ��%%��!�� �+ �##����&�"! #$"�$� �

�&� �&� �! �$$"$

$$"$ �"��

�� �&� , (��'� "� �$$"!�"'% ��&�

Functional Server /COPY Modules

��#"%�&"$+ �"$ ��� '%�$ %#��� �!� '%�$ �!��* �"$ �&%

� ��� �%�$ �#��� �!� �%�$ �!��* �"$ �&% �"!&��!�� �! ����� "�'��%

� ��� ��&���%� $��"$� �"$ �&% �"!&��!�� �! ����� "�'��%

� ����� "�'�� ������� �"!&��!% ��!�$�� ��&� %&$'�&'$�% �!�

�"!%&�!&%

� ��� �'!�&�"!�� ��$(�$ ��% �&% ")! �����** ����� "�'�� &"

����!� �##����&�"! %#������ ��&� %&$'�&'$�%

Page 433: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–139

Creating User Space and User Index

�%") 3*/ ,"�." /-", -+� " �)! /-", &)!"2 #*,(�.-� /-" .%" #*''*1&)$ .**'-

� ������ ���-

� ����

�� ��''"! *) " #*, "� % �/) .&*)�' �",0", �) �++'& �.&*) +,*$,�(

&).")!- .* /-"

�� �,"�."- /-", -+� " �)! /-", &)!"2 #*, "� % �/) .&*)�' �",0",

�� �"./,)- )�(" �)! '&�,�,3 1%"," /-", -+� " "2&-.-

�� �"./,)- .%" '")$.% "� % /-", -+� " '&)" -%*/'! �"

Accessing the User Space

� �,&.&)$ .* .%" /-", -+� " �������

�� ��� � �!1�,!- 0",-&*) *# �������� ���

�� �+!�."- � /-", -+� " �"$&))&)$ �. *##-". 2 #*, '")$.%

�� �&(&'�, .* ��� ����� *((�)!

� �"�!&)$ #,*( .%" /-", -+� " ��������

�� ���

�� �".,&"0"- !�.� #,*( � /-", -+� " �"$&))&)$ �. *##-". 2 #*, '")$.%

�� �&(&'�, .* ��� ����� *((�)!

� �++'& �.&*) ,"-+*)-&�&'&.&"-

�� �"("(�", )/(�", *# '&)"- 1,&..") .* /-", -+� "

�� �) ,"("). /-", -+� " *##-".

Page 434: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–140 A8.1 (8/97)

Accessing the User Index

� �."- �)!"3 2-&//") /* �4 �0) /&*)�' �"-1"-

� �"�!&)$ #-*( /%" �."- �)!"3

�� ����������� (*!0'" -"�!. /%" �."- �)!"3

�� ������ -"/0-). #*-(�//"! "--*- ("..�$" !"#&)"! �4 �����

(*!0'"

�� �&-./ "3" 0/&*) *# ������ -"�!. #&-./ ")/-4 &) �."- �)!"3

�� �0�.",0")/ "3" 0/&*). *# ������ !* -"�! )"3/.

�� �.". ������ 0)!"- /%" *1"-.

� �++'& �/&*) -".+*).&�&'&/&".

�� �"("(�"- /%" 1�'0" *# 4*0- �++'& �/&*) �� �/4+& �''4 +-*$-�(

)�("�

�� �"/ #'�$ #*- &)&/&�' -"�! *# �."- �)!"3 �4 ������

�� �." /%" !�/� &/"( )�(" �)! '&)" )0(�"- &) "--*- /* ."/ *)

. -"") &)!& �/*-.

Interactive Program Cycle Using a Functional Server

� ��&)'&)" 6 )* %�)$"

� ��� 6 )* %�)$"

� ���

�� �* %�)$" #*- �!!� %�)$"� *- !"'"/"

�� ��'' �0) /&*)�' �"-1"- /* +"-#*-( �) &),0&-4

� ���� � �"/-&"1" -" *-!. #-*( �."- �+� " #*- !&.+'�4 *) . -"")

� ����

�� �++'& �/&*) +-*$-�( +"-#*-(. 5. -0�.� *)'4

�� �-&/" !�/� -" *-!. /* �."- �+� "

�� ��'' �0) /&*)�' �"-1"- /* +"-#*-( "!&/.

�� �"�! "� % '&)" #-*( �."- �+� " /* -"!&.+'�4 !"#�0'/"!

&)#*-(�/&*)

�� �3" 0/" ������ /* !"/"-(&)" "� % !�/� &/"( &) "--*- .* /%�/

. -"") "--*- &)!& �/*-. (�4 �" ."/ ��

� ��� � �'' �0) /&*)�' �"-1"- /* +"-#*-( �) 0+!�/"

Page 435: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–141

The Call Parameters for the Functional Server

�� ���� ���������� ������ ����� �� �� �� �� ��� �� ������ �� ����� ����� ��� ����� � �� �� ��� ���� ������

��� ������ � ���������

#PFUNC (1) Specifies a function code. The valid values are:

0 Edit and Update

1 Edit only

2 Update only

I Inquire

#PVERS (3) (10 as of A6)

The DREAM Writer version number you are executing. Thisparameter uses the version number to retrieve processingoptions for the server. The default version number will be 001.This allows global processing options to be set at the serverlevel, instead of for each program.

#PSPCN (20) The name of the user space which the program has used. Theuser space contains the modified database records. Characters1–10 contain the space name, and characters 11–20 contain thelibrary name.

#PSPCB (9,0) The byte position within the user space where the applicationdata begins. Characters in the space prior to this positioncontain header information used by the functional server.

#PNBRL (5,0) The number of lines in the input user space which theapplication program has loaded. When inquiring, this containsthe number of lines output to the user space.

#PWARN (1) This parameter contains a code explaining how you wantwarnings to be handled. The valid values are:

0 Normal warning processing

1 Treat warnings as errors

2 Ignore warnings

#PCYCL (1) This parameter is only used if the #PWARN parameterspecifies normal warning processing. The valid values are:

0 No cycle, all cycle processing ignored1 First cycle, all warning messages are sent to the

program2 Second cycle, only warning messages not previously

sent are sent to the program

#PDFTC (1) Specifies how you want field values to be defaulted. 0 willdefault field values for add lines only and 1 will default fieldvalues for change or add lines.

#PXATP (3) The application specific transaction type.

Page 436: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–142 A8.1 (8/97)

��� ������ � ���������

#PLVL (1) The transaction level. 0 implies that each detail record to beupdated or added has been sent in the input user space. 1applies only to changes or deletions because only one record issent in the input user space and the server will change or deleteall other records for that transaction.

#PPROG (10) The name of the calling program. This is used by the server toupdate the program name field in the updated database records.

#PAPPL (10) The application ID value used for writing entries to the errorindex. Generally, this may be the same value as the callingprogram.

#PFLDS (4,0) The number of fields which have been loaded to the FieldNames Array parameter.

#PFMT (10) The record format identifier the application program has used.This is used for versioning, allowing the database to changewithout the need for recompiling the application program.

#PEDIT (1) Indicates the overall result of edits performed against alltransaction lines. 0 implies that the edits went OK, 1 meansthere were some warnings, 2 is errors occurred.

#PUPDT (5,0) The number of database updates which occurred. This willallow the program to know whether any updates actuallyoccurred.

#PERR (4) Specifies any errors that occurred within the server. Anon–blank value indicates a fatal error occurred.

#PFERR (4) Contains the first error message found during editing.

#PFDTA (4) Contains the data item of the first field which had an errorduring editing.

#P#MDE (1) For currency translations, this contains the mode of entry. Ifthis value is passed as blank, the server will output the defaultmode of entry.

#PCRCD (3) For currency translations, this contains the currency code ofentry. If this value is passed as blank, the server will output thedefault currency code.

#PCRR (15,7) For currency translations, this contains the currency exchangerate of entry. If this value is passed as zero, the server willoutput the default currency rate.

#PIDXN (20) The name of the user index which the functional server will useto return error messages to the program. Characters 1–10contain the index name, and characters 11–20 contain thelibrary name.

#PSPCL (5,0) The total length of each user space record. This includes boththe user space control fields and the database record format.

Page 437: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–143

��� ������ � ���������

#0SPSPEC (100) This is a data structure which is redefined by each server.Generally, this will contain the key fields which a specificserver uses.

VariableVary An array of field names which the program has used. Onlyfields in this array will be updated in the database. If the firstelement contains *ALL, then all fields will be used. Thenumber of field names parameter should contain the number ofentries loaded into this array.

Page 438: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–144 A8.1 (8/97)

Control Fields within the User Space

�� ��� ���� ����� �� �� �� ������� � �� ��� ��� �� ���� �����

��� ������ � ���������

#SPCAC (1) The line action code. The valid values are:A Add the recordD Delete the recordC Change the recordU Change the record if it already exists, otherwise add

the recordV Void the record

#SPCID (15,0) Used by the program to uniquely identify each line in the userspace. (optional)

#SPCER (1) The line error code.

X = the line is OK

1 = some warnings

2 = errors.

#SPCUP (1) The line update code.

0 = the line was not updated

1 = updated.

#SPCRR (9,0) Contains the database relative record number whichcorresponds to this user space record. For adds, this is onlyloaded following an update operation. For changes and deletes,this is updated following an edit operation.

#SPCMN (2,0) Contains the database physical file member number whichcorresponds to this user space record. For adds, this is onlyloaded following an update operation. For changes anddeletes, this is updated following an edit operation.

#SPCPG (12) Allows the program to store up to 12 bytes of information witheach user space record.

#SPCAP (100) Any application specific information which must be passed tothe server for each transaction line, but is not contained withinthe transaction record format.

VariableVary Externally described record format for the transaction record.

Page 439: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–145

Error Message Index Line (C00RIX)

��� �$# $# �!!�! ��""��� ����' ���#���" &�!���� ��� �!!�! ��""���" �""$�� ��!���� ���� �� #�� $"�! " ���� ��� "#!$�#$!� �� #�� ��""��� ����' ���� �" �" �����&"�

�� � ������ ��� �������

#IDXAP (10) The application identifier from the input parameter. Allows aprogram to access only its error messages.

#IDXID (15,0) The line identifier from the input user space.

#IDXFN (10) The data item portion of the field name.

#IDXER (4) Contains the data dictionary error message code.

#IDXMD (88) Contains the error message substitution data. Generally, this isthe value of the field which caused the error.

��#�!��#�%� !��!��" $"��� � �$��#����� "�!%�! �$"# ����$�� � ���� #������� ��� ����#��� #� ������ �� ���� &��� #�� �� ��" ��(!!�!"� ��( �" !�""��� ������ &��� !�#!��%� ��� ��" ��( #�� �!!�!��""���" ���#����� �� #�� !!�! �""��� ����' ���������

Page 440: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–146 A8.1 (8/97)

Example – Functional Server Program Sections

���� ������ ��������� ������ ���� ���� ����� ������ ������ �������

E************************************************E* Copy Composite Member for Functional ServerE*E/COPY JDECPY,E00FS@@E************************************************

�������� ������ ������������� ��� ���� �������

I/COPY JDECPY,I00XFSRV

�������� �� ��� ����� �� ����������� ���� ��� ���� ��������

I/COPY JDECPY,I010161

���� �� ���� ������ ����� �� �������� ������ ����� � ����

CLEARPS@@ MOVEL$SVCO KY@@ CALL ‘XS0010’ 81 –––– –––––––– PARM PS@@ PARM DS0010

���� �� ���� ������ ����� �� ��������������� �� ������

*IN81 IFEQ ‘0’RT@@ ANDEQ‘ ’ MOVE *BLANKS PS@@ MOVELCCCRCD KY@@ CALL ‘XS0013’ 81 –––– –––––––– PARM PS@@DS0013 PARM DS0013 PS0013RT@@ IFNE ‘N’CVCDEC ANDNE*BLANK MOVE CVCDEC $CDO ENDIF ENDIF

���� �� ���� ������ ����� ���������� �� ���

MOVEL‘A61’ @@FMT MOVEL‘ABKY01’ @@KLST MOVEL‘CHAIN’ @@OPER MOVE ‘Y’ @@LOCK Z–ADD1 @@KNUM CALL ‘XF0101’ –––– –––––––– PARM PS@@1 PARM I0101 @@IOR COMP ‘NF’ 81

Page 441: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–147

��� �� ��� � �� � ������ ������ � ����

*IN81 IFEQ ‘0’ ADD $#FC ABAFCY MOVEL‘A61’ @@FMT MOVEL‘ABKY01’ @@KLST MOVEL‘UPDAT’ @@OPER CALL ‘XF0101’ –––– –––––––– PARM PS@@1 PARM I0101 @@IOR COMP ‘ERR’ 98

��� ���������� �� � �������

Load AR Specific Parameters

MOVE #GLDCT #ARDCT MOVE $SVKCO #ARKCO Z–ADD#GLDOC #ARDOC Z–ADD#GLICU #ARICU MOVE #GLICT #ARICT MOVE *BLANK #ARSPL

Load functional server parms for edit/update.

MOVEL#XIDXN #PIDXN index name MOVEL#SPAR #PSPEC applicatio MOVE ##EDUP #PFUNC function MOVEL$#311 #PVERS DW version Z–ADD1 #PNBRL number of lines Z–ADD$#ARBG #PSPCB space offset MOVE ##IGNW #PWARN warning handler MOVE ##OFF #PLVL detail level MOVE ##OFF #PDFTC default on chg MOVE ##PROG #PPROG program name MOVE ‘INV’ #PXATP type MOVE #ARSN #PSPCN space name Z–ADD#ARSL #PSPCL space length Z–ADD$@AR #PFLDS number of field MOVE *BLANKS #PFMT MOVE ##AR1 #PFMT format name

CALL ‘XT0311Z1’ 81 –––– –––––––– PARM #PPARM PARM @ARN

Page 442: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–148 A8.1 (8/97)

���� ������� �� ���� � ������ �������� �������

User space description

MOVEL#SUGL #SSPCD

Current user space offset

Z–ADD$#GLBG #SPCOF

Set update flag

MOVE ##OFF #SPCUP

General Ledger record

MOVEAGL01 @#SSPC

Application specific line data

MOVEL#SSGL #SPCAP

Write record to user space

CALL ‘X98CHGUS’#PCHUS 81 –––– –––––––––– ENDIF ##edit

Page 443: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–149

���� ���������� ������������

Load G/L Functional Server Specific Parameters

MOVE *ZERO #GLDOC One–to–One Rel MOVE ‘RF’ #GLDCT Document Type MOVE $SVKCO #GLKCO Document Co. Z–ADD$GLDG #GLDG G/L Date Z–ADD$GLDG# #GLDG# G/L Date $FICU IFEQ ‘ ’ Z–ADD*ZERO #GLICU Batch Number ELSE Z–ADD$ICU #GLICU Batch Number ENDIF MOVE ‘I’ #GLICT Batch Type MOVE $SVCO #GLCO Company MOVE *BLANKS #GLMOD Add a Model MOVE *BLANKS #GLIMD Change a Model MOVE *BLANKS #GLRDI Redistribute JE MOVE #ARSN #GLCSN A/R Spc Name MOVE ##AR1 #GLCFM A/R Spc Fmt MOVE #ARSL #GLCLN A/R Spc Length MOVE ##OFF #GLCDG MOVE *ZERO #GLCD MOVE ##ON #GLONE One–to–One Rel

–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––

Call functional server – XT0911Z1 – Edit and Update–––––––––––––––––––––––––––––––––

Load functional server parms for edit and update

MOVE $GACTN #PFUNC Action Code MOVEL$#911 #PVERS DW version MOVE #GLSN #PSPCN space name Z–ADD$#GLBG #PSPCB space offset Z–ADD1 #PNBRL number of lines MOVE ##IGNW #PWARN warning handler Z–ADD*ZERO #PCRR Exchange Rate MOVE ##OFF #PCYCL cycle nes MOVE ##OFF #PDFTC default on chg MOVE ‘INV’ #PXATP type MOVE ##OFF #PLVL detail level MOVE ##PROG #PPROG program name Z–ADD$@GL #PFLDS number of field MOVE *BLANKS #PFMT MOVEL##GL1 #PFMT format name MOVE *BLANKS #P#MDE mode of entry MOVE *BLANKS #PCRCD currency code MOVE *BLANKS #PCRR exchange rate MOVEL#XIDXN #PIDXN index name Z–ADD#GLSL #PSPCL space length MOVEL#SPGL #PSPEC application par

CALL ‘XT0911Z1’ 81 –––– –––––––– PARM #PPARM PARM @GLN

�������� ����� ���� ����������

User space description

MOVEL#SUAR #SSPCD

Current user space offset

Z–ADD$#ARBG #SPCOF

Read record from user space

CALL ‘QUSRTVUS’#PRTUS 81 –––– ––––––––––

Page 444: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–150 A8.1 (8/97)

������ ���� ����� �� ���� �� �� ��� �������

Create Functional Server Objects for XT0311Z1

CLEAR#PCRT MOVE ##AD #PCRTF MOVE *BLANK #PCRTN MOVEL‘XT0311Z1’#PCRTN

CALL ‘X00991 ’ 81 –––– –––––––––– – PARM #PCRT

������ ���� ����� �� ��� �� �� ����������

Create Functional Server Objects for XT0911Z1

CLEAR#PCRT MOVE ##AD #PCRTF MOVE *BLANK #PCRTN MOVEL‘XT0911Z1’#PCRTN

CALL ‘X00991 ’ 81 –––– –––––––––– – PARM #PCRT

Page 445: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–151

Available Functional Servers

����� �� �� ���� ��� �����

�������� �$'( ��#(�& ��'(�&

�������� ��&�'' �$$

�������� ��$)#(' �����*��!�

�������� ��$)#(' �����*��!� �'�& +�(

�������� ��$)#(' ��,��!�

�������� ��$)#(' ��,��!� �'�& +�(

�������� ��$)#(' ��,��!� ����

��������� ��,&$!! ��"� #(&,

������� ��$)#( ��'(�&

������� �$)&#�! #(&,

������� �$)&#�! #(&, �'�& +�(

�������� �(�" ��!�#��

ÁÁ Exercises��� (�� �+�&��'�' �$& (��' ���%(�&�

Page 446: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–152 A8.1 (8/97)

Page 447: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–153

Source Debugger

About Source Debugger

�# , �, .1* .3+ - *! +,*",�(- .#�. ��) � 2 �/. � /)� , .# �� � ��1�,�-�*/,� �/"" , 4 $). ,��.$0 �)� ��.�#� �# *)'3 �$!! , )� 1# ) ,/))$)" .# �*/,� �/"" , *) �) $). ,��.$0 +,*",�( �*(+�, � .* � ��.�# +,*",�( $- .# $)$.$�' 2 �/.$*) -.�. ( ).-� �)� .# �*/,� �/"" , #�- � "/)� �'' *! .# ! �./, - �, .# -�( !*, �*.# $). ,��.$0 �)� ��.�# +,*",�(-�

�# �� � ��1�,�- �*/,� �/"" , $- � .**' � -$") � .* # '+ 3*/ � . ,($) 1# , � �/" 2$-.- $) 3*/, +,*",�(� �*/ ��) �++'3 .# �*/,� �/"" , .* �)3+,*",�(� 1# .# , $. $- $) +,*�/�.$*) *, � 0 '*+( ).� �$)� .# �*/,� �/"" , �$-+'�3- -*/,� �*� � 3*/ (/-. #�0 .# -*/,� �*� $)-.�'' � *)3*/, (��#$) �

�# -*/,� �*� 3*/ - 1#$' ,/))$)" .# �*/,� �/"" , $- �$-+'�3 � $)��� �,*1- (*� � -* 3*/ ��) )*. �#�)" � '$) 1$.#$) .# +,*",�(� �*1 0 ,�3*/ (�3 �$-+'�3 *, �#�)" .# 0�'/ *! �)3 !$ '�� 0�,$��' � *, $)�$��.*, 1$.#$).# +,*",�(� �) ���$.$*)� 3*/ ��) ��� *, , (*0 � �, �&+*$). �)31# , $) .# +,*",�(�

Before You Begin

� �! 3*/ �, )*. ��� --$)" .# �� � ��1�,�- .,�$)$)" (��#$) � 3*/ (/-., �*(+$' +,*",�(- $).* 3*/, -./� ). *�% �. '$�,�,3 *, 3*/, �'$ ). *�% �.'$�,�,3� ������ *, ����� � !*, 2 �/.$)" � � ���

� �#$- )-/, - .#�. .# +,*",�( $- *�- ,0��' �)� .# , !*, �

��� --$�' .* .# �*/,� �/"" ,�

� �! 3*/ �, ��� --$)" .# �� � ��1�,�- .,�$)$)" (��#$) � 3*/ (�3 2 �/. .# � � �� �*((�)� *) �)3 *! .# !*''*1$)" +,*",�(- ������������� �)� ������� �*/ ��) �'-* , �*(+$' �)3 � -$, � +,*",�( $)� ���� .* ,/) $) .# �*/,� �/"" ,�

Page 448: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–154 A8.1 (8/97)

Using Debugger with an Interactive Program

��� %&$�&�" ��# �,�'( �# -$)& %&$�)�(�$# �#*�&$#"�#(� -$)& ��*�!$%"�#(�#*�&$#"�#(� $& �$(�� �$ )'� ���)���& �$"%!�(� (�� �$!!$+�#� (�' '

� ��(�&"�#� (�� %&$�&�" �#*�&$#"�#(

� �#�(��(� (�� ���� �+�&�' �$)&�� ���)���&

� ,��)(� (�� %&$�&�" ���#� ���)����

�� ���� �� ��� � �� � ��� ���

�� �&$" (�� �$"%)(�& ''�'(�� ��'��# "�#) ������ '�!��( �$�(+�&� ��&'�$#'��%$'�($&-�

9801 Software Versions Repository Action Code. . . I Member ID. . . . P01051 Description. . . Address Book Information Function Code. . RPG RPG Programs Function Use . . 111 File Maintenance System Code. . . 01 Address Book Reporting System 01 Address Book Base Member Name P01051 File Prefix. . . Maint/RSTDSP . . Omit Option. . . Generation Sev . Copy Data (Y/N). N Optional File. . N Common File. . . N DREAM Writer Form Exists O Source Object Source SAR Version S D User Date P Library Library File Number ID C P ID Modified JDFSRC71 JDFOBJ71 JDESRC 678866 A71 1 DM904413 07/20/95

Opt: 1=Browse 2=Edit 3=Copy 5=SAR 8=Print 9=Dlt 10=Design 14=Crt F24=More

�� �$��(� (�� %&$�&�" $# +���� -$) +�#( ($ &)# (�� �$)&�� ���)���&� ($��(�&"�#� �# +��( �#*�&$#"�#(' (�� %&$�&�" �,�'('�

�� (�� %&$�&�" �,�'(' �# '�*�&�! �#*�&$#"�#(' �%&$�)�(�$# �#���*�!$%"�#(�� -$) ")'( ��(�&"�#� ����#'( +���� %&$�&�"�#*�&$#"�#( ($ &)# (�� �$)&�� ���)���&�

Page 449: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–155

�� ������ �� ���� ������ ����� � ��� �

�� �'�� "�� ��� ��%� �! ���#� ������� ��� � ��� � �!! ���

Type choices, press Enter.

Program Name: . . . . . . . . . P01051 NameSource File: . . . . . . . . . . JDESRC Name, *OBJECT, *SPLF Library: . . . . . . . . . . . JDFSRC Name

BottomF3=Exit F4=Prompt F5=Refresh F10=Additional parameters F12=CancelF13=How to use this display F24=More keys

�� �� � ���������

Program Name Type your program name

Source File Type the file name that contains the source code of yourprogram. Generally, this is JDESRC.

Library Type the name of the library that contains the source file.Generally, this is JDFSRC for your production environment orDEVSRC for your development environment.

�� ��"� "�� �� ��" $��#�! �� "�� � ��� �����! ��� � �!! ��"� "� !"� " "����# �� ��#��� �

� ��%� ��' "��� "�� � �� �� ����� ���#���� �! �&��#"��� "�� !�# ��

���� %��� ��!���' �� ���#� ����� #�"�� '�# ��� "�� ��# ����#��� �

Page 450: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–156 A8.1 (8/97)

� ������� �� �� ���� ���� ��������

������ �� �� �� ��������� � �������� #�� ��� ������ ���� ��� ������� ���� �������� ���� �� ������ ��� ���� ������ ���� !��� �"����� ��� ��������

� ��� ������� ���� �$������������

� ��������������

����� #�� �� � �"������ ��� �������� ��� ����� ����� #�� !��� ��� �� ���������� ������ �����

3701 JDE Visual Debug JDESRC JDFSRCScan: ____________________________________________________________ P01051 Current Breakpoint: /000101.00 H/TITLE P01051 – Address Book – Who’s Who02.00 H* –––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––03.00 H*04.00 H* Copyright (c) 1985,198605.00 H* J. D. Edwards & Company06.00 H*07.00 H* This unpublished material is proprietary to08.00 H* J. D. Edwards & Company. All rights reserved.09.00 H* The methods and techniques described herein are10.00 H* considered trade secrets and/or confidential.11.00 H* Reproduction or distribution, in whole or in part,12.00 H* is forbidden except by express written permission13.00 H* of J. D. Edwards & Company.14.00 H*15.00 H* –––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––16.00 H*17.00 F*18.00 F* PROGRAM REVISION LOG

F2=JDE Command Line F5=ADDBKP F6=ADDBKP w/prompt F7=DSPPGMVAR F8=CHGPGMVAR F13=Display Indicators F16/15=Scan Fwd/Bkwd F24=More

�� ������ ���� �� ������#�� �� ���!�� ����� �� #�� ������ ������ ������ ��# �����

Page 451: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–157

Using Debugger with a Batch Program

��� &(%�(�# #�/ �. )* $ /%+( &(%�+�* %$ �$, (%$#�$*� /%+( ��,�"%&#�$*�$, (%$#�$*� %( �%*��

�% +)� ���+���( - *� � ��*�� &(%�(�# /%+ )�%+"� �%#&"�*� *�� �%""%- $�*�)!)�

� ��*�(# $� *�� &(%�(�# �$, (%$#�$*

� �$ * �*� *�� ���� ��-�(�) �%+(�� ���+���(

� �.��+*� *�� &(%�(�#

� ��* *�� �(��! &% $*

� %$* $+� �.��+* %$

�� ��������� ��� ��� ��� �����������

�� ) )*�& ) *�� )�#� �) *�� � ()* %$� �%( �$ $*�(��* ,� &(%�(�#�

�� �% *% *�� �%�*-�(� ��() %$) ��&%) *%(/ �$� $'+ (� %$ /%+( &(%�(�#� *%��*�(# $� ��� $)* -� �� �$, (%$#�$* *�� �%+(�� ���+���( - "" �� (+$�

�� �������� ��� ���� ������� ����� ��� ��

�� ) )*�& ) ) # "�( *% ���+�� $� �$ $*�(��* ,� &(%�(�#� ��� � ���(�$�� ) *��*/%+ #+)* �$*�( *�� ���+� �%##�$� *- ���

��� � ()* * #� /%+ $ * �*� ���� ��-�(�) �%+(�� ���+���( ������ 0 ��� *���(%�(�# ��#� - "" �� *�� � �(%�(�#�

�� �$*�( *�� �%((��* ,�"+�) $ *�� &(%&�( � �"�) %$ *�� ���+� �(%�(�# �%(#�$� &(�)) �$*�(�

Page 452: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–158 A8.1 (8/97)

Debug Program (JDEDBG)

Type choices, press Enter.

Program Name: . . . . . . . . . J928400 Name Source File: . . . . . . . . . . JDESRC Name, *OBJECT, *SPLF Library: . . . . . . . . . . . JDFSRC Name

Bottom F3=Exit F4=Prompt F5=Refresh F10=Additional parameters F12=Cancel F13=How to use this display F24=More keys

�� �!&�$ &�� ��� ��)�$�% �"'$�� ��'���$ �" �!� ��� - ��� ����!��'& &��% &� � ���!�� &�� �$"�$� �� � &" &�� �� �$"�$� �� ��

� ��� $��%"! �"$ &��% �%� +"' ��!!"& $'! &�� �"'$�� ��'���$ "! �

#$"�$� &��& �% %'� �&&�� �!� �*��'&�� �! � %'�%+%&� � �"' '%&,&$���� &�� �"'$�� ��'���$ �!&" &��!��!� &��& +"'$ ��&�� #$"�$� �%��&'���+ �! �!&�$��&�(� #$"�$� �

Debug Program (JDEDBG)

Type choices, press Enter.

Program Name: . . . . . . . . . P928400 Name Source File: . . . . . . . . . . JDESRC Name, *OBJECT, *SPLF Library: . . . . . . . . . . . JDFSRC Name

Bottom F3=Exit F4=Prompt F5=Refresh F10=Additional parameters F12=Cancel F13=How to use this display F24=More keys

Page 453: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–159

� ���� �� ��� �����

���� !�� ��� � ������� � ���� ������� ������������!� !�� ���� ���� ����� ������ ���� � ������� �����

���� �� ������� �"������� ����� "���������

��� �� ������ ������ ���� ��������

93701 JDE Visual Debug JDESRC JDFSRC Scan: ____________________________________________________________ J928401 Current Breakpoint: /00010001.00 /********************************************************************0002.00 /*0003.00 /* Program. . . . . . . J9284010004.00 /*0005.00 /* Description. . . . . Inventory by Cost Center0006.00 /*0007.00 /* Program Revision Log0008.00 /* ––––––––––––––––––––0009.00 /*0010.00 /* Date Programmer Description0011.00 /* –––––––– –––––––––– ––––––––––––––––––––––––––––––––0012.00 /* 11/10/93 PB908300 SAR # 003655950013.00 /*0014.00 /********************************************************************0015.00 J928401: PGM (&PSPID &PSVERS)0016.00 /*0017.00 /* ––––––––– Define program file(s) and variable(s). –––––––––––––––0018.00 /*

F2=JDE Command Line F5=ADDBKP F6=ADDBKP w/prompt F7=DSPPGMVAR F8=CHGPGMVAR F13=Display Indicators F16/15=Scan Fwd/Bkwd F24=More

��� ������ ���� �� ������!�� �� ����� ����� �� !�� ������ ������ ������ ��! �����

Page 454: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–160 A8.1 (8/97)

�� ��� ��� � �� ����

��) � �'��! &%�$) %$ )�� "�$� )�()�$� )�� %� ).&� �$ %'��' )% ���$�� �+�'���"� �$ )�� ��� ��� +�'���"� ������� $%'#�"". ���)( ����$() � ��)��&'%�'�# ���$� �-��*)�� �. ��""�$� �) �'%# � �%##�$� "�$��

�� ��$� )�� "�$� %� �%�� )��) �%$)��$( )�� +�'���"� ������� �

93701 JDE Visual Debug JDESRC JDFSRC Scan: ____________________________________________________________ J928401 Current Breakpoint: /00010044.00 /* *0045.00 /* ––––––––– Override Printer files to one spool file. ––––––––––––– *0046.00 /* *0047.00 OVRPRTF FILE(R98COVER ) TOFILE(R928401) SHARE(*YES)0048.00 OVRPRTF FILE(R98RPTH ) TOFILE(R928401) SHARE(*YES)0049.00 OVRPRTF FILE(R928401) SHARE(*YES)0050.00 /* *0051.00 /* ––––––––– Retrieve job name and submitting message queue. ––––––– *0052.00 /* *0053.00 RTVJOBA JOB(&JOBID) SBMMSGQ(&PSMSGQ) TYPE(&JOBTYPE)0054.00 IF COND(&JOBTYPE=‘1’) THEN(DO)0055.00 SNDPGMMSG MSGID(JDE9991) MSGF(QJDEMSG) +0056.00 MSGDTA(‘J928401’) TOPGMQ(*EXT)

F2=JDE Command Line F5=ADDBKP F6=ADDBKP w/prompt F7=DSPPGMVAR F8=CHGPGMVAR F13=Display Indicators F16/15=Scan Fwd/Bkwd F24=More

�� �'�(( �� �$.,��'� %$ )�� "�$� �%$)��$�$� ������� )% (�) )���'��!&%�$)�

� ��� "�$� �( ����"���)��� �$����)�$� )��) � �'��!&%�$) ��( ���$ (�) %$

)��) "�$��

�� ������ ��������

�� ""%, .%*' &'%�'�# )% �%$)�$*� �-��*)�$�� �'�(( �� )% �%$)�$*� )% ��'��!&%�$)�

� ��� "�$� %$ ,���� .%* (�) )�� �'��!&%�$) ,�"" ��(&"�. �$ '�+�'(�

�#���� ���( �$����)�( )��) )�� &'%�'�# ��( '������ )��( &%�$) �$ )���� &'%�'�# �$� �( '���. )% �-��*)� )��( "�$��

� �%* #*() ���$�� )�� +�"*� %� ������� )% (%#�)��$� %)��' )��$

�� �$� %)��' )��$ )�� +�"*� (&������� �$ )�� �� &'%�'�#�

�� �% ���$�� )�� +�"*� %� ������� � &'�(( � )% ����(( )�� ���$���'%�'�# ��'���"� �%'#�

Page 455: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–161

Change Program Variable (CHGPGMVAR)

Type choices, press Enter.

Program variables: Program variable . . . . . . . ‘&JOBTYPE’ Basing pointer variable . . . + for more values New value . . . . . . . . . . . ‘2’Program . . . . . . . . . . . . > J928401 Name, *DFTPGM

�� ��� ��#� #�� ������ �!��!�� ��!����� ��!� ��� !�"" ��#�!�

� ��� %��$� �� �� ����� �" ��& ������� #� (�$! " ������� %��$��

�� �!�"" � #� ����& #�� �� !��!�� #� ���#��$� !���""����

� ��� �� !��!�� "�$!�� �" ��" ��(�� ��'#�

Page 456: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

F2

F3

F5

Advanced Programming Concepts and Skills

4–162 A8.1 (8/97)

Features of the J.D. Edwards Source Debugger

F2 – J.D. Edwards Command Line Window

�� �� ���& � ���� ��$��� ������� ���� $����$� ��� ��

F3 – Continue processing

���� !�� ������� ��! � ���������! �� $��� &�" ��� ! ��!�� !�� �"���� � $�������$ !�� ������� !� ���!��"� ����� ����

F5 – Add breakpoint

� �!��� !�� �"� �� �� �� �%��"!���� ���� ��� ��� � !� ��� � ���������!� ��"�����! ��� ���������! !� � ������! ����� ���& !� �%��"!���� ���� � ���� !�����������! � �!� !�� ���� $��� �� ��������!��� � !�� ������� �%��"!� � ���� $�!�� ���������! �! �� �!� !�� ���� $��� ������ �� ��#�� � ����� ��� !�� ������� $�����" � ������ �%��"!��� !�� �����

93701 JDE Visual Debug JDESRC JDFSRC Scan: ____________________________________________________________ P01051 Current Breakpoint: /00010319.00 C*0320.00 C $AUTO CASEQ’1’ S003 240321.00 C* ––––– ––––0322.00 C END0323.00 C*0324.00 C* Begin normal program processing.0325.00 C* ––––––––––––––––––––––––––––––––0326.00 C*0327.00 C *INLR DOWEQ’0’0328.00 C*0329.00 C* If subfile page display not set, set subfile page display.0330.00 C*0331.00 C #SFRNO IFLE 00332.00 C Z–ADD1 #SFRNO0333.00 C END0334.00 C*0335.00 C* Write video screen.0336.00 C* @$MEMO determines which format is written

F2=JDE Command Line F5=ADDBKP F6=ADDBKP w/prompt F7=DSPPGMVAR F8=CHGPGMVAR F13=Display Indicators F16/15=Scan Fwd/Bkwd F24=More

Page 457: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

F6

A8.1 (8/97) 4–163

F6 – Add breakpoint with prompt

������� ��� ������ �� � �"���� ��� ���� �� ����� �� �� �� ��� ������ !��� ������� ��� � ���� �� ��� ������� �� ������� ����� ���# �� �"���� ��������� ��� ��� ��� ������ �� ���� ��� ���� !��� ���������� �� ��� ����� � �"������ ���� !��� ��� ������ ��� �� ��� ��� ���� !��� �� ���� �� �� �� ��� ����� �!��� � ��� ������ �"������� ��� �����

Add Breakpoint (ADDBKP)

Type choices, press Enter.

Statement identifier . . . . . . > 62100 Character value + for more values Program variables: Program variable . . . . . . . *NONE Basing pointer variable . . . + for more values + for more values Output format . . . . . . . . . *CHAR *CHAR, *HEX Program . . . . . . . . . . . . > P01051 Name, *DFTPGM

More... F3=Exit F4=Prompt F5=Refresh F10=Additional parameters F12=Cancel F13=How to use this display F24=More keys

��� ��� ������� ���� �������� ���� �� ����� ���� ��� �� ��� �����������������

Page 458: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

F7

Advanced Programming Concepts and Skills

4–164 A8.1 (8/97)

F7 – Display Program Variable

�������� � � ����� �� �� ��������� ���� �� ����� �� �� ������ � � ������ ����� �� � � ��������� �� � �� ����� ����������� ��� �� ��� ������ ���� ���� �� � ������ ����� ������� �������

Display Program Variables

Program . . . . . . . . . . . . . . . . : P01051 Recursion level . . . . . . . . . . . . : 1 Start position . . . . . . . . . . . . : 1 Format . . . . . . . . . . . . . . . . : *CHAR Length . . . . . . . . . . . . . . . . : *DCL

Variable . . . . . . . . . . . . . . . : *IN99 Type . . . . . . . . . . . . . . . . : CHARACTER Length . . . . . . . . . . . . . . . : 1 *...+....1....+....2....+....3....+....4....+....5 ’0’

Variable . . . . . . . . . . . . . . . : *IN93 Type . . . . . . . . . . . . . . . . : CHARACTER Length . . . . . . . . . . . . . . . : 1 *...+....1....+....2....+....3....+....4....+....5 ’0’

Press Enter to continue.

F3=Exit F12=Cancel

Page 459: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

F8

F10

F12

A8.1 (8/97) 4–165

F8 – Change Program Variable

�� ���� �� ��� �� ���� � �� �� �� �� ��� �� ���� �� ��� � �� �� ������ ��� ��

Change Program Variable (CHGPGMVAR)

Type choices, press Enter.

Program variables: Program variable . . . . . . . Basing pointer variable . . . + for more values New value . . . . . . . . . . . Program . . . . . . . . . . . . > P01051 Name, *DFTPGM

BottomF3=Exit F4=Prompt F5=Refresh F10=Additional parameters F12=CancelF13=How to use this display F24=More keys

F10 – Move Line to Top of Page

F12 – Remove Current Breakpoint

���� ���� � �� �� ��� �� �� �� ��� �� � ��� �� ���� �� � ������� �� ��� �� �� ���� � ��������� �� ��������� �� ��� �� �� ���� � � � � � ��������� ������ ���� ��� ��� �� ������� ���� ������

Page 460: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

F13

F15

F16

Advanced Programming Concepts and Skills

4–166 A8.1 (8/97)

F13 – Display Indicator Values

�� ����� " ��� ������� ���� �� �� ����� ����� ����� ����

Display Program Variables

Program . . . . . . . . . . . . . . . . : P01051 Recursion level . . . . . . . . . . . . : 1 Start position . . . . . . . . . . . . : 1 Format . . . . . . . . . . . . . . . . : *CHAR Length . . . . . . . . . . . . . . . . : *DCL

Variable . . . . . . . . . . . . . . . : *IN Lower/upper bounds . . . . . . . . . : (1:99) Type . . . . . . . . . . . . . . . . : CHARACTER Length . . . . . . . . . . . . . . . : 1 Element ––––––––––––––––––––––Values–––––––––––––––––––––– 1 ’0’ ’0’ ’0’ ’0’ ’0’ ’0’ ’0’ ’0’ ’0’ ’0’ 11 ’0’ ’0’ ’0’ ’0’ ’0’ ’0’ ’0’ ’0’ ’0’ ’0’ 21 ’0’ ’0’ ’0’ ’0’ ’0’ ’0’ ’0’ ’0’ ’0’ ’0’ 31 ’0’ ’0’ ’0’ ’0’ ’0’ ’0’ ’0’ ’0’ ’0’ ’0’ 41 ’0’ ’0’ ’0’ ’0’ ’0’ ’0’ ’0’ ’0’ ’0’ ’0’ 51 ’0’ ’0’ ’0’ ’0’ ’0’ ’0’ ’0’ ’0’ ’0’ ’0’

Press Enter to continue.

F3=Exit F12=Cancel

F15 – Scan Backward

�"�� �� ��� �� ��� �� � ��� � ��� ��� �� ��� ������ �� ����� ��� �� �� �� ��! �� ���� ��� ����� "�� �� � �� ��� ��� �� ��� ������ ����� � � ��� �������� ��� ���� ���� ����� ��� � ������ ��� !��� �� ����� "��� �� ���������� ����� � ��! ��� ����� ��� � ���

F16 – Scan Forward

�"�� �� ��� �� ��� �� � ��� � ��� ��� �� ��� ������ �� ����� ��� �� �� ����! �� ���� ��� ����� "�� �� � �� ��� ��������� �� ��� ������ ����� � � ��� �� ������ ��� ���� ���� ����� ��� � ������ ��� !��� �� ����� "��� ���������� �� ����� ���! ��� ����� ��� � ���

Page 461: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

F21

A8.1 (8/97) 4–167

F21 – Command Line Window

�" ��%#��+ � �" �!� ��!�� #$�%% ����

ENDDBG End Debug

�" %&"# &�� �� �)�$�% �"'$�� ��'���$� �!&�$ ��� �$" ��" �!� ��!�� �"' ��! !"& �!&�$ ��� )���� ��%#��+�!� &�� %"'$���"�� "� � #$"�$� �! ���'�� ���% �" �!� )��� �!� ���'� "�� �"$ ���#$"�$� % �! &�� ��'���$ �& &��& #"�!&�

�"' ��! $� "(� � %�!��� #$"�$� �$" ���'� "�� �+ '%�!� &�������� �$� "(� #$"�$� � �" �!��

ÁÁ Exercises��� &�� �*�$��%�% �"$ &��% ���#&�$�

Page 462: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–168 A8.1 (8/97)

Page 463: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–169

Software Scan and Replace

About Software Scan and Replace

��� �#�(+�&� ���" �"� ��$ ��� ���()&� �(' ,#) '��" '#)&�� !�!��&' (#���#!$ �'� (�� �# #+�"��

� ���" �#& � $�&(��) �& �(�! �"� &�$ ��� �( +�(� � "�+ �(�!

� �&#�)�� � �'( #� � !�!��&' (��( !��( (�� '��&�� �&�(�&��

� ���" �#& � $�&(��) �& �(�! �"� �"'�&( � '#)&�� �� � ��(�& ���� #��)&&�"��

���)'� ,#) ��" $#(�"(�� , &�$ ��� '#)&�� �#�� ��&#'' � ','(�!'� (��' �#� �'')�!�((�� (# ��(�� �"� �� � �" (�� �#� %)�)� )"(� ,#) &� ��'� �(�

To Work with Software Scan and Replace

�� &#! (�� �#!$)(�& ''�'(�� �&#�&�!!�"� !�")� '� ��( ��*� #$�&�'�#&���"��� &#! (�� ��*� #$�&�' �#&���"�� !�")� '� ��( �#�(+�&� ���"�"� ��$ ����

98810 Software Scan & Replace System code. . . . . 55 (Blank = all) Function code. . . . RPG (Blank = all) Specific object. . . (Generic = *) (Blank = all) File ID. . . . . . . JDESRC Source library . . . DEVSRC (Defaults to source libr in member master) Scan argument: I00SC (If search argument contains imbedded blanks enclose argument with >.) Replacement argument: I00RSC (If argument contains imbedded blanks enclose argument with >.) Column replacement: Beginning column - Ending column - Replacement Overflow Code . . . . Insert Source From: File. . Libr. . Member.

��� $&�*�#)' '�&��" � )'(&�(�' �#+ ,#) &�$ ��� (�� �#$, !#�) � ����� +�(� (���#$, !#�) � ������ �#& � ��� !�!��&' �#��� (# �"'(� ','(�! �#�� ���

Page 464: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–170 A8.1 (8/97)

�� �!��%� %�� � #� ��� !#�$$ �%�#�

� ��� � � $&���%$ % ��%�� ��� � ��$$��� ��$!��)$� ��� � � �$ ���� �

%�� � � "&�&��

�� ���� ) & �#� #���) % !# ��$$ %�� � �� � % %�� � #� (�%� �&���%%��� �$ � #� ������� $����%� � ��� ��� #����$� %�� � ��

Report

���� %�� � � � �!��%�$� �% !# �&��$ � #�! #% %��% ������%�$ %� $� ����%$ (��#�%�� $��� ��� #�!���� ��&##���

98810 J. D. Edwards & Company 1 Scan Software Source 4/01/91 System 55 Function: RPG Object: File: JDESRC Source Lib: DEVSRC Argument: “I00SC” Replace By: “I00RSC” Column End: 000 Column End: 000 Allow Ovrf: Insert Frm- File: Libr: Memb: Action : Replacement Scan/Replace Characters= 05/06 5501G - Item Maintenance - Gregg 1st Occurrence at 010200 P5501X - Item Maintenance 1st Occurrence at 010200 P55011X - Item Information Update 1st Occurrence at 009200

Guidelines

�� ) & ���'� %�� �!�������% �#�&���% ����� ������ %�� &%���%) !# �&��$ � ��$%��� � ��� $ &#�� �����#$ %��% ���% %�� $��#�� �#�%�#���

����&$� %��$ � � � &�� �� &$�� % &!��%� ��� � �� ��# $$ $)$%��$ ��� � &��$�'�#��) ��!��% !# ��$$���� �% �$ �&% ��%�����) �����

�$� %��$ � � % #�!���� � � !) � �&�� ��# $$ $)$%��$ # ��%�#���� � ��$%��� ������#$ %��% ���% ��#%��� �#�%�#��� �$� (�%� ��&%� ��

Page 465: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 4–171

Performance Issues

About Performance Issues

�# #*�"� �%� &#!� $�%�#%!�"�� �&&(�& ,#( &�#( � �#"&���% *��" �+��('�"���� ��*�%�& &#�'*�%�� ���"��"� �(%%�"' ��� ��*�%�& $%#�%�!& #% *%�'�"� "�*$%#�%�!&�

� �(%�� ,#(% �� �& #" � %��( �% ��&�& '# �)#�� �+��&&� (""���&&�%,

%��#%�& �+�&'�"� �" �� �&�

� ��"�!�-� '�� "(!��% #� #$�" �� �& �" � $%#�%�!� � � �� � !�, "#'

�� (&��� ����"� �' �& � �&�% #"'%# �� �$�" �� ��

� �&� �&�% �$���& �"� �&�% "��+�& *��%�)�% $#&&�� ��

� �&� �� � ��%)�%& �"� �("�'�#"� ��%)�%& *��%�)�% $#&&�� ��

� ��"�!�-� '�� "(!��% #� &(�%#('�"� �� & *�'��" ,#(% $%#�%�!�

� ����� '�� ��)�"'���& #� �"'�%.$%#�%�! �� &� � '�#(�� '��& !�'�#�

�& )�%, !#�( �% �" ��&��"� ,#( &�#( � �#"&���% '�� �����' #"$�%�#%!�"���

� �(�&'�'('� '�� �#!$�%�&#" #� � �'�%� *�'� '�� �#!$�%�&#" #� �

)�%��� ��

�#% �+�!$ �� �&� ��� �"� ���� '# &�' �" �"����'#% #" �"� #��%�'��% '��' � � �"� ��

� #"&���% � �+��� �', )�%&(& $�%�#%!�"�� *��" (&�"� �&�% ���"��

#��&� �#���( �%, �)�%%���&� �"� #���"� �'� ��'�#"�%, )� (�&�+'�"&�)� ,

Page 466: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

4–172 A8.1 (8/97)

Page 467: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 5–1

Group Jobs

Objectives

� �-/) 4'1& 1&# �� � �"4�/"0 �/-2. �- �-/+

� �-/) 4'1& �� � �"4�/"0 %/-2. (- 0

� �-/) 4'1& ,-,��� � �"4�/"0 %/-2. (- 0

� �-/) 4'1& 1&# �� � �"4�/"0 11#,1'-, ���� �-/+

� �0# ��� ��00��&/-2%& 4'1& %/-2. (- 0

About Group Jobs

�&# �/-2. �- 0 $-/+ �**-40 6-2 1- .#/$-/+ � ,2+ #/ -$ 1�0)0 $/-+ � 0',%*#$-/+� 0�3',% 6-2 -1& 1'+# �," #$$-/1� �-2 !�, .#/$-/+ 1&# $-**-4',% $2,!1'-,0$/-+ 1&'0 $-/+

� �2, 2. 1- �� (- 0 2,"#/ � 0',%*# 0'%,-,

� �5#!21# �-/ /2,� �� �," $�01 .�1& !-++�,"0 $/-+ � 0',%*# !-++�," *',#

� �5#!21# �-/ /2,� �� � �"4�/"0 �'""#, �#*#!1'-,0

�, �""'1'-, 1- 1&# �""#" !-,3#,'#,!#� 1&# �/-2. �- 0 $2,!1'-, )##.0 1&# $'*#0$-/ #�!& -$ 1&# (- 0 0#*#!1#" -.#,#"� 4&#1&#/ 1&#6 �/# !2//#,1*6 �!1'3# -/ ,-1�

�#/$-/+ 1&# $-**-4',% 1�0)0

� !!#00 1&# ��� � �"4�/"0 �/-2. �- �-/+

� �/#�1# �#4 �/-2. �- 0

� !1'3�1# �20.#,"#" �/-2. �- 0

� �#/+',�1# �- �/-2.0

� �&�,%# 1- �-,7�/-2. �-"#

� �'%, �$$ 4'1& �20.#,"#" �/-2. �- 0

Page 468: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

5–2 A8.1 (8/97)

Page 469: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 5–3

Access the J.D. Edwards Group Job Form

About the J.D. Edwards Group Job Form

��# ��� �� �� � !�$� �� ��� �"���! #!��� "�� ���� ��%� �! �#� ���! � ������#�����

� � ��"� ��% � �#� ���!

� ��"�$�"� !#!������ � �#� ���!

� � ����"� � �#� ���!

� ������ "� ���&� �#� ����

� ���� ��� %�"� !#!������ � �#� ���!

� �� � %�"� ���&���� ��%� �! � �#� ���!

Page 470: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

5–4 A8.1 (8/97)

Before You Begin

&( � +)�( *& ����)) * � ���� ��,�(�) �(&+' �&� &($ �* �%- *!$�� * � ��� "�-'(&�(�$ ) &+#� �� )�* *& ��## * � �� �� ��,�(�) �(&+' �&� &($ '(&�(�$��������

�� ��� ��� ���� �� � �� �

�� (&$ * � ���+(!*- ���!��( ��%+� )�#��* �)�( �%�&($�*!&%�

0092 User Information Action Code. . . . . I User ID. . . . . . . . . . . . . . . TEACH Library List . . . . . . . . . . . . QTEMP JDFOBJ COMMON PRODDATA JDFSRC QGPL User Security: A J K DP F User Key . . . . . . . . . . . . Allow Command Entry (Y/N). Y Initial Menu to Execute. . . . . A Allow Menu Traveling (Y/N) Y Initial Program to Execute . . . Allow Fast Path (Y/N). . . Y Menu Level. . . . . . . . . . . . . . User Type. . . . . . . . . . . . . . TEACHER User Class/Group . . . . . . . . . . Batch Job Queue. . . . . . . . . . . QBATCH Job Scheduling Priority. . . . . . . 5 5 Logging(level/severity/messages) . . 4 00 *NOLIST Output Queue . . . . . . . . . . . . P4B Optional Printer File Library. . . . Current Library. . . . . . . . . . . Employee Address Number (PPAT) . . . Set Attention Program. . . . . . . . P98GRP F6=Display/Lang Pref F9=Library Inquiry F21=Print Lib List F24=More Keys

�� �%*�( * � ���� ��,�(�) �(&+' �&� &($ '(&�(�$ �� ������� !% * � ��

� � �� ������ �!�#��

Page 471: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 5–5

Accessing the J.D. Edwards Group Job Form

��#�! #�� ���� ��' !��!�� ��" ���� "�# $ �� #�� ���� ��&�!�" "��#&�!�� '�$��� ����"" #�� !�$ ��� �!��

�� �� �� �� ���� ������ ����� �� ����

�� ���� ��� ��� "��� ���� �� #� !�"�# #�� ���� ��' !��!�� &�#��� #�� ������&�!�" ��$ �!�%�!�

�� �!�"" #�� ���� ��' ��� #�� �����&��� �" ��" ��'���

G0 J.D. Edwards & Company General Business Systems ... GENERAL BUSINESS SYSTEMS 2. Address Book 3. General Accounting 4. Accounts Payable 5. Accounts Receivable 6. Financial Reporting 98GRP––––––––––––––Group Jobs–––––––––––––––––E 7. Modeling & Allocatio | O Description Group Job Status | 8. Fixed Asset | GROUP01 Active | 9. Payroll | | 10. Human Resources | | 11. Electronic Mail | | | | | | | |Selection or command | |===>> | | | | | Cmd/HS: | Opt: 4=Sel 9=End F3=Exit F4=Prompt F5=New Job

Page 472: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

5–6 A8.1 (8/97)

Creating New Group Jobs

� ������ �� ���� ��

�� �+�,, �� )( -"� �+).* �)�, )+' )+ ��0 �)��

�� �"�( -"� ���� �0�+�, ��(. �+#/�+ #, �#,*&�1��� *+�,, -"� ���� %�1 �(�-"� )&&)0#(! #, �#,*&�1���

G0 J.D. Edwards & Company General Business Systems ... GENERAL BUSINESS SYSTEMS 2. Address Book 3. General Accounting 4. Accounts Payable 5. Accounts Receivable 6. Financial Reporting 98GRP––––––––––––––Group Jobs–––––––––––––––––E– 7. Modeling & Allocatio | O Description Group Job Status | 8. Fixed Asset | GROUP02 Active | 9. Payroll | GROUP01 Suspended | 10. Human Resources | | 11. Electronic Mail | | | | | | | | Selection or command | | ===>> | | | | | Cmd/HS: | Opt: 4=Sel 9=End F3=Exit F4=Prompt F5=New Job

�"� (�0 !+).* $)� ������� #, ()0 #( *+)��,,� �"� !+).* $)� ������� 0�,,.,*�(��� 0"�( -"� .(�-#)( %�1 �� 0�, *+�,,���

� 1). �+� ,�- .* -) ����,, ���� �0�+�, ,) -0�+� �1 ������� 1).+&#�+�+1 &#,- ,�&��-#)( &#,- 0#&& �**��+� ��&��- �( �(/#+)('�(- �(� -"�(1). 0#&& �� ��&� -) �#,*&�1 -"� ���� �0�+�, �+).* �)� �)+'�

Page 473: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 5–7

Activating Suspended Group Jobs

�� ������� ��� ����� ���� ���

����� �� � � ��% � ������% �� ��� ��#���� ��!� �� ���� ��� �� ���� ��� � ��$ �� �� ��� %�! #�� � �� �"� ��

� ��� �!������� ���!� ���� �� ������%�� �� �� �����

� ��% �!������� ���!� ��� ��� �� �� �"� ��� �� ���!� �� �� ����#�

G0 J.D. Edwards & Company General Business Systems ... GENERAL BUSINESS SYSTEMS 2. Address Book 3. General Accounting 4. Accounts Payable 5. Accounts Receivable 6. Financial Reporting |98GRP––––––––––––––Group Jobs–––––––––––––––––E– 7. Modeling & Allocatio| O Description Group Job Status | 8. Fixed Asset | GROUP02 Active | 9. Payroll | 4 GROUP01 Suspended | 10. Human Resources | | 11. Electronic Mail | | | | | | | | Selection or command | | ===>> | | | | | Cmd/HS: | Opt: 4=Sel 9=End F3=Exit F4=Prompt F5=New Job

Page 474: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

5–8 A8.1 (8/97)

Terminating Group Jobs

�� ����� ���� � ���� �� ���������� �� �� ���������� ���� ��� ��� ����������� �� �����

�� �� ���� � ��� ����

����� ������ � ���� �� ��� ����� ��� �� ���� �� ����������

G0 J.D. Edwards & Company General Business Systems ... GENERAL BUSINESS SYSTEMS 2. Address Book 3. General Accounting 4. Accounts Payable 5. Accounts Receivable 6. Financial Reporting 98GRP––––––––––––––Group Jobs–––––––––––––––––E– 7. Modeling & Allocatio | O Description Group Job Status | 8. Fixed Asset | GROUP01 Active | 9. Payroll | 9 GROUP02 Suspended | 10. Human Resources | | 11. Electronic Mail | | | | | | | |Selection or command | |===>> | | | | | Cmd/HS: | Opt: 4=Sel 9=End F3=Exit F4=Prompt F5=New Job

Page 475: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 5–9

Changing to Non-Group Mode

�� ����� �� ��� ��� ���

���� ������ � ���� � ����� ��� ������� ���� �����

G0 J.D. Edwards & Company General Business Systems ... GENERAL BUSINESS SYSTEMS 2. Address Book 3. General Accounting 4. Accounts Payable 5. Accounts Receivable 6. Financial Reporting 98GRP––––––––––––––Group Jobs–––––––––––––––––E– 7. Modeling & Allocatio | O Description Group Job Status | 8. Fixed Asset | 9 GROUP01 Active | 9. Payroll | | 10. Human Resources | | 11. Electronic Mail | | | | | | | |Selection or command | |===>> | | | | | Cmd/HS: | Opt: 4=Sel 9=End F3=Exit F4=Prompt F5=New Job

Page 476: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

5–10 A8.1 (8/97)

Signing Off with Suspended Group Jobs

�$) ��# )'� (*$ �����&�#( "�(�$�' ($ '��# $�� *�(� ')'%�#��� �&$)% $�'�

�� ��� ��� ��� ��� ����� ���� ���

��!��( $#� $� (�� �$!!$*�#� "�(�$�'

� �&�'' �� *�(��# (�� ���� ��*�&�' �&$)% �$� $&"�

� �#(�& ����� � ��� $& -��� $# �#, ���� ��*�&�' ��#)�

���)'� �&$)% $�' �&� �&��(�� )#��& $#� '��#$#� �!! �&$)% $�' �&�(�&"�#�(�� *��# (�� '��#$�� �$""�#� �' �+��)(���

Page 477: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 5–11

Work with Non-J.D. Edwards Group Jobs

�� ���� ���� �������� ����� ���� ���

�. "0$ 2$ &0.3/ ).!1 2' 2 " ++ /0.&0 , .321(#$ 2'$ �� � �#5 0#1 1.%25 0$� 2'$�� � �#5 0#1 �0.3/ �.! �.0, ++.51 - $62$0- + /0.&0 , 2. !$ $6$"32$#� �- ##(2(.-� 2'$ ���� �$7 " - !$ /0$11$# 5(2'(- 2'$ $62$0- + /0.&0 , -# 12(++ ++.5 ""$11 2. 2'$ �� � �#5 0#1 &0.3/ ).!1�

�� �. " ++ - $62$0- + /0.&0 ,� /0$11 ��� 5(2'(- 2'$ �� � �#5 0#1 �0.3/ �.!�.0,�

�'$ %.++.5(-& (++3120 2$1 5' 2 5(++ !$ #(1/+ 7$# 5'$- ��� (1 /0$11$#�

Change Library List (CHGLIBL) Type choices, press Enter. Libraries for current job . . . > QTEMP Name, *SAME, *NONE > TCA302OBJ > JDFOBJ > TCA302DTA > A3SHARE > TRNSHARE > TCA302SRC > JDFSRC > VAPAY2JLIB > VBPAY2JLIB > VCPAY2JLIB > VPAYLIB > QPRT5225 + for more values > QGPL Current library . . . . . . . . *SAME Name, *SAME, *CRTDFT

Bottom F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display F24=More keys

�� �.,/+$2$ 2'$ �' -&$ �(!0 07 �(12 %.0,�

�.3 " - $-2$0 +(!0 0($1 0$+ 2$# 2. 2'$ $62$0- + /0.&0 ,� �(!0 0($1 "300$-2+7 (- 2'$+(!0 07 +(12 " - !$ 0$,.4$# (% #$1(0$#� �.5$4$0� 2'$ %.++.5(-& +(!0 0($1 ���� !$+$%2 (- 2'$ +(!0 07 +(12 2. 0$2 (- 2'$ +(-* 2. 2'$ �� � �#5 0#1 &0.3/ ).!1

� �����

� �(!0 07 ".-2 (-(-& ���� ��� � �#5 0#1 �0.3/ �.! �.0, �." !3+ 07

�4$00(#$1�

� �(!0 07 ".-2 (-(-& ���� ��� � �#5 0#1 �(##$- �$+$"2(.-1�

� �(!0 07 ".-2 (-(-& ���� ��� � �#5 0#1 �1$0 �-%.0, 2(.-�

Page 478: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

5–12 A8.1 (8/97)

� �"�*�*1 �(',�"'"' ��� ��/�*�+ ��#��,+ ��(* �0�&)%�� �� � ��

����

��,�* ,!� � ���� �(&&�'� !�+ ���' �0��-,��� ,!� ��� �(&&�'� )*(&), "+�"+)%�1���

�� �',�* ,!� �0,�*'�% )*( *�&�

�!� �(%%(/"' "%%-+,*�,�+ ,!� ��� �(&&�'� )*(&),�

Call Program (CALL) Type choices, press Enter. Program . . . . . . . . . . . . Name Library . . . . . . . . . . . *LIBL Name, *LIBL, *CURLIB Parameters . . . . . . . . . . . + for more values Bottom F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display F24=More keys

�!�' ,!� ��� �(&&�'� "+ �0��-,��� ,!� �0,�*'�% )*( *�& /"%% �� �0��-,���

� �( /(*$ /",! � ��� ��/�*�+ *(-) #(�� ,!� ���� ��1 ��' �� )*�++�� ,(

�"+)%�1 ,!� ��� ��/�*�+ *(-) �(� �(*&�

� �'1 +-+)�'��� *(-) #(� ��' �� ��,".�,�� �*(& ,!� ��� ��/�*�+ *(-)

�(� �(*&�

Page 479: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 5–13

Advanced Functions of the J.D. Edwards Group Job Form

J.D. Edwards Hidden Selections

�+&&'. �','%3+/.2 #1' %/--#.&2 #.& ('#341'2 /( 3*' ���� �&6#1&2 01/&4%32 3*#3#1' ./3 #5#+,#$,' 3*1/4)* # -'.4 2','%3+/.�

� �/23 ���� �&6#1&2 �+&&'. �','%3+/.2 ���� %#. $' '7'%43'& (1/- 3*'

%/--#.& ,+.' #3 3*' $/33/- /( 3*' ���� �&6#1&2 �1/40 �/$ �/1-�

� �*' ���� �&6#1&2 �+&&'. �','%3+/. �/1- ���� %#. $' 42'& 3/ &+20,#8 #.&

'7'%43' *+&&'. 2','%3+/.2�

� ���� �&6#1&2 �+&&'. �','%3+/. �'%41+38 +2 42'& 6*'. 42'12 '7'%43'

*+&&'. 2','%3+/.2�

� �/ ���� �&6#1&2 �'.42 /1 ���� �&6#1&2 �+&&'. �','%3+/. 1',#3'& 3/

-'.42 #1' #,,/6'&�

Entering Commands

"/4 %#. '.3'1 #.8 %/--#.& /. 3*' %/--#.& ,+.' #3 3*' $/33/- /( 3*' �����&6#1&2 �1/40 �/$ �/1-�

� "/4 %#. 01'22 �� 3/ 01/-03 (/1 # %/--#.&

� "/4 %#. 0,#%' # 9�� +. (1/.3 /( # %/--#.& 3/ 01/-03

� "/4 %#. 01'22 �� 3/ 1'31+'5' 01'5+/42 %/--#.&2

� �.8 0#1#-'3'12 8/4 '.3'1 6*+,' +. 01/-03 -/&' #1' ./3 1'31+'5'&

� �*' ,#23 01'5+/42 %/--#.&2 #1' 2#5'&�

� �.,8 24%%'22(4,,8 '7'%43'& %/--#.&2 #1' 2#5'&�

� !*'. 8/4 '7+3 $8 01'22+.) ��� 01'5+/42 %/--#.&2 #1' ,/23

� ���� �&6#1&2 �#23 �#3* �/--#.&2 (1/- 2'1 �'(+.'& �/&' ��� %#. $'

'7'%43'&� �� 3/ &+20,#8 #,, �#23 �#3* �/--#.&2�

� �/ 1'3#+. #,, %/--#.&2 '.3'1'& #.& 1'31+'5' 0#1#-'3'12 '.3'1'& +.

01/-03 -/&'� #%%'22 3*' ��� �/--#.& �.318 �/1- (1/- 3*' �����&6#1&2 �1/40 �/$ �/1- ��/1 '7#-0,'� ���� �&6#1&2 �+&&'.�','%3+/. � � #.& '.3'1 %/--#.&2�

� �/--#.&2 %#. /.,8 $' '7'%43'& +( 3*'1' +2 # 5#,4' /( 9"� /1 9 � +.

3*' �,,/6 �/--#.& �.318 �"��� (+',& &'(+.'& +. 3*' ���� �&6#1&2 2'1 �.(/1-#3+/. /03+/. (/4.& /. ����

Page 480: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

5–14 A8.1 (8/97)

J.D. Edwards Group Job Form Summary

!*' 130)3#. #--084 :06 50�

� �3'#5' 61 50 ,0$4 1'3 4+)/0/

� �9'%65' %0..#/&4� ���� �&8#3&4 *+&&'/ 4'-'%5+0/4� ���� �&8#3&4 �#45

�#5* �0..#/&� #/& ���� �&8#3&4 �#45 �#5* �'/6 �9'%65+0/

�7#+-#$-' �6/%5+0/ �':4

� � � �9+5 5*' ���� �&8#3&4 �3061 �0$ �03.

� �� � �30.15 # %0..#/&

� �� � �3'#5' # /'8 ���� �&8#3&4 )3061 ,0$

� � � 6$.+5 ,0$ 50 $#5%*

� �� � ���� �&8#3&4 �'/6 "03& '#3%*

� �� � �'53+'7' 13'7+064 %0..#/&

� � � �3'#5' # /'8 �0/����� �&8#3&4 )3061 ,0$

� � � �+41-#: #-- (#45 1#5* %0..#/&4

� �� � ������ #-- )3061 ,0$4

�7#+-#$-' '-'%5+0/ �9+54

� � � �%5+7#5' # 4641'/&'& )3061 ,0$

� � � �/& # )3061 ,0$

���� �&8#3&4 �3061 �0$ �03. +4 /05 #%%'44+$-' 8*'/ 64+/)

� :4�'2 � 063%' �#%*+/' �/-:�

� � 130)3#. 5*#5 *#4 3'4'5 5*' �!!� �': 130)3#. ��03 '9#.1-'�

�����������

Page 481: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 5–15

Work with the Attention MENU Form

About the Attention MENU Form

��� ���� ��)�$�% &&�!&�"! ��!' "$ #$"�$� �% � ��!�$�� #$"�$� &��&���")% +"' &" ����%% '# &" �� #$�����!�� #$"�$� % (�� &�� ��� ��+� ��� ��#$�����!�� #$"�$� % �$� �%%"���&�� )�&� "#&�"!% "! � ���� ��)�$�% ��!'�

� ���� '%�$ ��! �� �%%��!�� � �����$�!& ���� ��)�$�% ��!'

� ��� #$"�$� )�% �(������� �! �����%� ��� �� �� – – – – – –�

Before You Begin

�" ����%% &�� ���� ��)�$�% &&�!&�"! ��!' "$ �& �!+ &� �� &�� ��� ��+#$"�$� %�"'�� �� %�& &" ���� %" � "&��$ ���� ��)�$�% ��!'� "$ �*� #�� ���

Page 482: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

5–16 A8.1 (8/97)

��� �����%��� ���$"#!�#�" ��% #�� ��� ��& !��!�� �" "�# �� #�� ��� ��%�!�""��#%�!�� ��� �"�! ���!��#��� "�!��� ��� �� ����""�� �!�� #�� ���$!�#&������!" ���$ ��

0092 User Information Action Code. . . . . I User ID. . . . . . . . . . . . . . . TEACH

Library List . . . . . . . . . . . . QTEMP JDFOBJ COMMON PRODDATA JDFSRC QGPL User Security: A J K DP F User Key . . . . . . . . . . . . Allow Command Entry (Y/N). Y Initial Menu to Execute. . . . . A Allow Menu Traveling (Y/N) Y Initial Program to Execute . . . Allow Fast Path (Y/N). . . YMenu Level. . . . . . . . . . . . . . User Type. . . . . . . . . . . . . . TEACHER User Class/Group . . . . . . . . . . Batch Job Queue. . . . . . . . . . . QBATCH Job Scheduling Priority. . . . . . . 5 5 Logging(level/severity/messages) . . 4 00 *NOLIST Output Queue . . . . . . . . . . . . P4B Optional Printer File Library. . . . Current Library. . . . . . . . . . . Employee Address Number (PPAT) . . . Set Attention Program. . . . . . . . *G92

F6=Display/Lang Pref F9=Library Inquiry F21=Print Lib List F24=More Keys

�� ���"#�!�"�� �$"# !����� #�� ���$ �����

Page 483: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 5–17

Accessing the J.D. Edwards Attention Menu Form

�)�' )�� ��� ��- &'%�'�# ��( ���$ (�)*& �%' -%* )�� ���� ��,�'�( (%�),�'�-%* ��$ ����(( )�� ���� ��,�'�( �))�$)�%$ #�$* �%'#�

�� ����� �� ���� ����� ����� �� ��� ����

�� ���$ %�� �$� (��$ ���! %$ )% '�(�) )�� ��� !�- &'%�'�# ,�)��$ )�� ������,�'�( ��$* �'�+�'�

� ������ � � ��������� ���������

�� �'�(( )�� ��� !�- �$� )�� #�$* %&)�%$( �%' )�� #�$* ,�"" �� ��(&"�-���( �%""%,(�

G0 J.D. Edwards & Company General Business Systems ... GENERAL BUSINESS SYSTEMS 2. Address Book 3. General Accounting 4. Accounts Payable 5. Accounts Receivable 6. Financial Reporting 00AMNU––––––––––––––Group Jobs ––––––––––––JDED 7. Modeling & Allocatio O Description Status 8. Fixed Asset Original Job Active 9. Payroll Software Versions Repository 10. Human Resources Data Dictionary 11. Electronic Mail CASE Profiles Function Key Definitions Vocabulary Overrides Processing OptionsSelection or command Help Instructions===>> Cmd/HS: Opt: 4=Sel 9=End F3=Exit F24=More Keys

������� �� '���'( )% )�� �*''�$) %� )��) ��( ���$ �%$+�')�� )% � �'%*& %����� '�#��$�$� %�( '���' )% )�� ��'() � �$)�'��)�+� &'%�'�#( %$ )�� #�$* ,����)�� *(�' �( �*)�%'�.�� )%�

Page 484: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

5–18 A8.1 (8/97)

Summary of J.D. Edwards Attention Menu Form Functions

!*' 130)3#. #--084 :06 50�

� �%%'44 �� 13'&'(+/'& 130)3#.4 7+# 5*' �!!� �':

� �9'%65' %0..#/&4� ���� �&8#3&4 �+&&'/ '-'%5+0/4� ���� �&8#3&4 �#45

�#5* �0..#/&4� #/& ���� �&8#3&4 �#45 �#5* �'/6 �9'%65+0/4

�7#+-#$-' �6/%5+0/ �':4

� � � �9+5 5*' ���� �&8#3&4 �55'/5+0/ �'/6 �03.

� � � �30.15 # %0..#/&

� �� � 6$.+5 # ,0$ 50 $#5%*

� � � ���� �&8#3&4 �'/6 "03& '#3%*

� �� � �'53+'7' 13'7+064 %0..#/&

� �� � �+41-#: #-- (#45 1#5* %0..#/&4

� �� � ������ #-- )3061 ,0$4

�7#+-#$-' '-'%5+0/ �9+54

� � �%5+7#5' # )3061 ,0$

� � � �/& # )3061 ,0$

���� �&8#3&4 �55'/5+0/ �'/6 �03. +4 /05 #%%'44+$-' 8*+-' 64+/)

� :4�'2 � 063%' �#%*+/' �/-:�

� # 130)3#. 5*#5 *#4 3'4'5 5*' �!!� �': 130)3#. �+�'� ����������

Page 485: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 5–19

Work with IBM Pass-Through

About Working with IBM Pass-Through

�� ���� � ���!� ���� �� ���� � ���� ���� ��� � ��� �� ��� � ���� � �� ���!� �������� �� �� �� ��!��� �������� !�� �� ���#����!��� ������ �� �����"��� �����

� �� !� ������ � ���� � ���� ����

� �� �� ���#����!�� "� � ���!� ����

Page 486: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

5–20 A8.1 (8/97)

Setting Up Access to Remote Locations

� ���� ���� � ����� �����

�� �� �!"� ���� !� ����!� ����!��� � �� !� !�� ��� ���!�� #�� ��� �� !��� ���� ��������

98300 Versions List Form P98GRP5

Skip to Version:

O Version Description User Chg Date XJDE0001 Denver A DEMO 08/23/93 XJDE0002 Denver C DEMO 08/23/93 XJDE0003 Denver D DEMO 08/23/93 XJDE0004 Denver E DEMO 08/23/93 XJDE0005 Denver I DEMO 08/23/93 XJDE0006 Atlanta DEMO 11/13/91 XJDE0007 Chicago DEMO 11/13/91 XJDE0008 New York DEMO 11/13/91 XJDE0009 Dallas DEMO 11/13/91 XJDE0010 Houston DEMO 11/13/91 XJDE0011 San Francisco DEMO 11/13/91 XJDE0012 Washington DC DEMO 11/13/91

Opt: 1=Run 2=Chg 3=Add 4=Rpt Dist 5=Cover 6=Prt Ovr 8=Repair 9=Dlt F13=Form

Page 487: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 5–21

�� ��������� ������� ��� ��� ������� �������� ����� �� ������� �� �� �������� �� ��� ��������� �� �������� ����������� �� ��������� ��������

98312 Processing Options Revisions Form ID. . . . P98GRP5 Version. . . . 0002 Denver C

This job has various options described below. Enter the desired values and press ENTER to continue.

Destination Virtual Control Unit V5251

Enter ONE of the following:

1) Destination Location: JDEC (If APPN routing can be used.)

2) APPC Device(s): Communication Device 1: Communication Device 2:

(If S/38’s are involved, an APPN cannot be used.)

Bottom +

F5=Printer Overrides

������ ���������

Destination Virtual ControlUnit

This is the control unit that the user will connect to at theremote location.

The first available device on the control unit will be selected.

Destination Location(Used in AS/400Environment)

This is the APPN network name for the remote location.

APPC Device(s)(Used in S/38 Environment)

These are the APPC devices that identify the route to theremote location.� Only one intermediate node is supported.

Page 488: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

5–22 A8.1 (8/97)

Using IBM Pass-Through with Group Jobs

�� ��� ��� ����� ���� ��� ����� ���

�� �,� -"� �� � ��0�+�, '�(. �� -) ,-�+- �( ��� ��,,3�"+).!" ,�,,#)( -)� +�')-� '��"#(��

�� �,� -"� �� � ��0�+�, ��(. �,#!( �#� ���� -) �--��" 2).+ .,�+ �� #(�� ���� �+#-�+ �)+' � ����� /�+,#)(, -) '�(. ���

�"�( �( )*-#)( #, ,�&��-�� )( -"� '�(.� -"� ��� �-�+- ��,,3�"+).!" �)''�(�0#&& �� �1��.-�� -) -"� +�')-� '��"#(�� �(� ,-#&& +�-�#( � &#(% -) -"� ,).+��'��"#(� !+).* $)�,�

B98P J.D. Edwards & Company E JDE Passthru Network ... DENVER ... BRANCH OFFICES 2. A . . . . . . . . S/38 14. Atlanta. . . . . . AS/400 3. C . . . . . . . . AS/400 15. Chicago. . . . . . S/38 4. D . . . . . . . . AS/400 16. Dallas . . . . . . AS/400 5. E . . . . . . . . AS/400 17. Houston. . . . . . AS/400 6. I . . . . . . . . AS/400 18. New York . . . . . AS/400 19. San Francisco. . . AS/400 20. Washington DC. . . AS/400 Selection or command ===>>

�"� '��"�(#,' .,�� -) �--��" +�')-� &)��-#)(, -) -"� �� � ��0�+�, �+).* �)��)+' )( -"� ,).+�� '��"#(� #, � *�+�'�-�+ )( -"� ��������� ��-�+-��,,3�"+).!"� �)''�(�� �"� )&&)0#(! #&&.,-+�-�, -"� &#(% -) -"� ,).+��'��"#(��

Page 489: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 5–23

Start Pass–Through (STRPASTHR)

Type choices, press Enter.

Remote location . . . . . . . . Name, *CNNDEV APPC device . . . . . . . . . . *LOC Name, *LOC + for more values Virtual controller . . . . . . . *NONE Name, *NONE Virtual display device . . . . . *NONE Name, *NONE + for more values Mode . . . . . . . . . . . . . . *NETATR Name, *NETATR Local location . . . . . . . . . *LOC Name, *LOC, *NETATR Remote network identifier . . . *LOC Name, *LOC, *NETATR, *NONE System request program . . . . . *SRQMNU Name, *SRQMNU Library . . . . . . . . . . . Name, *LIBL, *CURLIB

Bottom F3=Exit F4=Prompt F5=Refresh F10=Additional parameters F12=Cancel F13=How to use this display F24=More keys

�!� �������� ��/+��) ��� (�*�%�,�* �$$'.+ � (*' *�% ,' �� ��$$�� '& ,!�+'-*�� %��!"&� �*'% ,!� *�%',� $'��,"'&� �/ �&,�*"& ,!� ���� �.�*�+ �*'-(�'� �'*% (*' *�% ������� "& ,!"+ (�*�%�,�*� ,!� ���� �.�*�+ �*'-( �'��'*% ��& �� �"+($�/�� '& ,!� *�%',� $'��,"'& �/ (*�++"& �/+��) ��� ��� ,!���� ��/� �!"+ �$$'.+ ����++ ,' �$$ +-+(�&��� *'-( #'�+ '& ,!� +'-*��%��!"&� �&� ',!�* *�%',� $'��,"'&+�

Page 490: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

5–24 A8.1 (8/97)

Page 491: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 6–1

Universal File Converter

Objectives

� �������# ��� ��� �"������ ������ ����� �� ��� ��!���� ���� �����

� ������ ��������� ���������� �� ������� ���!��� ��� ��!���� ��� ���$���

��!���� ����������� �#�����

About Universal File Converter

����� �� �������� ������ �� ���� ����������� ��� �"������ !��� #�� �������#��� ��� ��!���� ����!���� #�� ��� �������� �� ���� ������ �� ��� ����!���� ��� ���� ����� ��# �� ������# �������� !��� #�� �������� ��� ��!������� ����� ���� ��� ����� !��� ������ #�� �� ��� ������ #��� ���� ������

��� ����� ���� ��� ����� ����!� #�� �� ����� ��� ������ ����������� ��� ��������� �������� � ������������# ������� ���� ������ �� �� ��� ����� ���������

G Master Directory Choose 27

G9 Advanced & TechnicalOperations

Choose Computer Assisted Design

G92 Computer Assisted Design Choose Universal File Converter

��� ��!���� ��� ����� ���� ��� ����� �������� �������� ����������� ����� ������������ ���� �� �������

� ���� ��� ���� �� ������� ����

� ���� ��� ���� �� �������� �����

� ���� �������� ����� �� � ������ ����

Page 492: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

6–2 A8.1 (8/97)

�� ����������� ��� ������ �� ����������� ������� ��� ���� ��� �������� �������� ���� ������

One file

One file

Multiple files

File A File B

File A File B File C

File A File B File C

to another file

to multiple files

to a single file

Page 493: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

�)&$� #�

�% -�)*�#�&%-�)+�)')&�)�$

�)&$� #�

),#�*$� %+�%�%��

�)&**3�-�)�,#�*� #�

�)&**3�-�)�,#�*��%�)�+&)

�&� #�

�&� #�

A8.1 (8/97) 6–3

���� �

�&, *'�� �0 ���� � #�* �%� �� � #�* +�)&,�� �� �

�) +�) ')&��** %� &'+ &%*� �&, ��% *'�� �0 ,' +&

�&,) �& � #�*� �� 0&, )�(, )� $,#+ '#� �)&$ � #�*�

*'�� �0 � !& % #&� ��# �* +�� �)&$ � #� % +�� �� �

�) +�) 2��*�� &%� � #�� ��� *0*+�$ )�+,)%* � #� � �#�

%�&)$�+ &% �%� ')�3#&��* +�� �)&**3�-�) �,#�* � #�

. +� � �#� %�$�� #�%�+�� * 1�� +0'� �%� )���)�%��

���+� � �+ &%�)0 %�$��� ��� *0*+�$ ')�3#&��*

%�&)$�+ &% % +�� �)&**3�-�) �,#�* � #� �&) �## � �#�*

+��+ ��-� +�� *�$� )���)�%�� ���+� � �+ &%�)0 � �#�

%�$�� �* +�� �)&$ � #��

���� �

�&, $,*+ $�%,�##0 �**&� �+� +�� � �#�* +��+ .�)�

%&+ �,+&$�+ ��##0 #&���� % +�� �)&**3�-�) �,#�*

� #�� �� 0&, %��� *'�� �# ��#�,#�+ &%* �&) � � �#�� 0&,

��% *'�� �0 *'�� �# ')&��** %� "�0 .&)�* % +��

�&%-�)* &% �,#� � �#�� �&, ��% �#*& ��� +��

��#�,#�+ &%* %+& �% �/+�)%�# ')&�)�$ +��+ ��% ��

��##�� �)&$ +�� �&%-�)+�) ')&�)�$� ��� �/+�)%�#

')&�)�$ %���* *�-�)�# '�)�$�+�)* +��+ �)� *�%+ �%�

'�**�� ���" +& +�� �&%-�)+�) ')&�)�$� ���*�

'�)�$�+�)* �)� ��+�� �))&)� �)&$ � �#� %�$�� �&

� �#� %�$�� �%� %,$��) &� �& � #� )��&)�*� �&,

$,*+ *'�� �0 +�� �/+�)%�# ')&�)�$ % +��

�&%-�)* &% �,#� � �#� % +�� �)&**3�-�) �,#�* � #��

���� �

�% +� * *+�' 0&, *'�� �0 +�� �&)$ �� �%� +�� -�)* &%

0&, *�#��+�� % +�� � )*+ *+�'� ��� �)&$ �%� �& � #�*

*�&,#� �� +�� *�$� �&) �/��+ �(, -�#�%+� �* +��

� #�* *'�� � �� % �+�' �� ��� �&%-�)+�) ')&�)�$

����**�* +�� �)&**3&-�) %*+),�+ &%* �&) +��

2�)&$��&� �&$� %�+ &% �%� #&��* +�� %�&)$�+ &%

+& �))�0*� ��� *0*+�$ +��% ')&��**�* +�� �))�0* �&)

���� � �#� +��+ ��* �% �**&� �+ &%� � %�##0� +��

*0*+�$ +)�%*��)* +�� -�#,� % +�� �)&$ � #� +& +�� �&

� #��

Page 494: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

6–4 A8.1 (8/97)

Special Processing

�"����� "$!��%%� � "$!���'$�% �$� �(������� &! ���" +!' � &�� �! (�$%�! !� ! ������ &! � !&��$�

�! �*��'&� � + !� &�� %"����� "$!��%%� � "$!���'$�% ��%&�� ���!)� +!' �'%& &+"�&�� �""$!"$��&� ��+ )!$� � &! &�� �$!� !$ �! ! (�$%�! �'�� ������ ���% �%�*"��� �� � �� �� ���� ���� ����� ��&�$ � &��% �'���� ���$� �$� %"�������+)!$�% �!$ &�� �!��!)� ��

���� ��� �! (�$&�$ '%�% � ��+)!$� &! ������ )��& ��&�

&$� %��&�! �% ���%%�$+�

������� ���� � ��� �! (�$&�$ &$� %��&�% ! -"����� '��$�� ��&� &!

"����� ��&� !$ (��� (�$%�� ��"� �� � ! +!'$ ����

�& ��%! ��� &�� % ������� ���� �� &� "�$�!$�� �

$!' �� � !$ ,�$! "���� � �� $�#'�$��� ��"�� '��$��

$�"$�%� &�&�! % !� '��$�� �����% �� �� &$� %��&�� &!

'��$�� �����%� '��$�� �����% �� �� &$� %��&�� � &!

��"�� '��$�� �����%�

�������� ��� ��� �! (�$&�$ "$!��%%�% &�� ����� &�$!'�� &��

�'%� �%% � �& %�$'� $!'&� �� ���% $!'&� � $���&

���'%&% � � ����% &�� ����� )�&� ��� �%�

�� ��������� ������ ��� �! (�$&�$ '%�% &�� $���$� �� ����� � &�� �! ����

&! ����%% &�� ��&� ���&�! �$+ � � $�&$��(� &�� ����'�&

(��'� �!$ &�� ������

������������ �����% � &�� �! ���� �$� � �&����,�� &! ��� �% �!$

��"�� '��$��% � � ,�$!% �!$ '��$��% �� ! �����% �$�

���� �� &! ��" &! &����

���� ������ �!' �� %"����+ &! ��(� � �*& '���$ (��'�

�%%�� �� &! � ������

����� �� ��������� �!' �� %"����+ &! ��(� &�� (��'� !� &�� �����

(�����&�� ���� %& &�� ��&� ���&�! �$+ (��'�%� $� ��%�

� � '%�$ ���� �� �!��%�

��� ������ �� �

�������%� &�� �����% � &�� �$!� ���� &! �!!� '" � '%�$

���� �� �!�� ��� � � $�&'$ &�� �%%!���&�� (��'�

� &�� �%�$�"&�! � ����� �% &�� �! ����� (��'��

Page 495: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 6–5

������� ������ ����( ���"#��# %��$�� $ #� "�' ���!��#�!"� ��! #��

�� ����� %��$��

Database Considerations

��� "("#�� �!��#�" ��& !���!�" �� #�� �!�"")%�! �$��" ���� ��! ���� %�!"��� ���!�"")�%�! !$��" (�$ " ����(� ���" ���� ���#���" ����!��#��� �' ������� #�� �����"�� #�� �!�� ���� ��� #�� �� ���� ��� ��& #�� #&� ����" �!� �""����#���

� #�� ����� ����#�" �! ���!��#�!�"#��" �� #�� ����" #��# #�� �!�"")�%�! !$��" ��%����� �$��# $ �� ������� (�$ �$"# !������� #�� �!�"")�%�! !$��"� #��!&�"�� #��!$��" �!� ��"�� �� #�� �!!����$" ��"�!� #���"�

��� "("#�� ������" �'#!� ����$��#���" #�!�$�� ������ !��!��" " ������� �� #���!�"")%�! �$��" ���� ��! ���� ������

User Responsibilities

��$ �!� !�" ��"���� ��! ��%��� ��� ��� ����#������ #�� �!�"")�%�! ��"#!$�#���!$��"� � #�� �!�� ���� �! �� ���� ������#��� �� #�� �!�"")�%�! ��"#!$�#���" ������"�(�$ �$"# !�%�"� #�� �!�"")%�! �$��"�

��!��!� #�� �����&��� #�"�"�

� �# � ���%�!"�� ���� ���%�!#�!

� ��!� &�#� �!�""�%�! �$��"

� ��!� &�#� ���� ���%�!"���

� �!��# � �� �!#

� �!��#� ���%�!"��� ��!�"

� ��!� &�#� #�� ��#� ���#����!( ���""�!( �( ����

Page 496: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

6–6 A8.1 (8/97)

Page 497: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 6–7

Set Up Universal File Converter

About Universal File Converter

�� ,"( ��)� "%� '��! "!� ���� '" �"!)�%'� ,"( ��! &�' (# � &�#�%�'� )�%&�"! �"%���� ',#� "� �"!)�%&�"! %�$(�%��� ��� �!�)�%&�� ���� �"!)�%&�"! ��'(# #%"�%� �"��& �!�"% �'�"! '" '�� �%"&&")�% �(��& ���� ������ ��"(' '�� �����& �! '�� ����&,"( �%� �"!)�%'�!��

��� &,&'� (&�& '�� �!�"% �'�"! �! '�� �%"&&")�% �(��& ���� '" '%�!&��% '�� ��'��%" � ����� �! "!� ���� '" � ����� �! �!"'��% ����� "% '" � ����� �! (�'�#�� ����&�

���& #%"�%� ��&" ��& #%"��&&�!� "#'�"!& '��' ��' ,"( �"!)�%' ��'� �%" �"'����� �*�%�& �!� !"!.���� �*�%�& ����&�

Before You Begin

� ��"%� ,"( %(! '�� &�'(# #%"���(%� ��� &(%� '�� �" ����& �+�&'�

�" !"' �''� #' '" (&� '�� �!�)�%&�� ���� �"!)�%'�% "! � ���� '��' �"!'��!&-�"(��� �,'�� ��'�� ��� �"!)�%'�% #%"�%� �, �"%%(#' '�� �!'��%�', "� '���%����'�!� -&���' �!� �!� -&���' "('� ���%��'�%& '��' �%� �('" �'�����, �!&�%'�� �,�"(��� �,'� '�% �!��&�

Page 498: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

6–8 A8.1 (8/97)

Understanding the Universal File Converter Setup

��� '�()$ $&#�&�! �' (�� ��&'( $�&( #� � (�&��.$�&( �#"*�&'�#" $&#��''� �$����- ��&#! �� � �"� � �# �� � (�&#)�� (�� ��� �&�(�& $&#��''�"� #$(�#"'� �#) ��"'$����- )$ (# �#)& �# �� �'� �� -#) &�%)�&� !) (�$ � �&#! �� �'� '$����- � �#�" #���� �' (�� �&#! �� �� ���' �#�" #���� �' #*�& � (�� �� �' -#) '� ��( �#& (���&#! �� �� �'� (�� "�!� #� (�� �#�" #���� �" (�� ��&'( $&#��''�"� #$(�#"�

��� $&#�&�! &�(&��*�' ��� � �"�#&!�(�#" �#& � ��� �' �" (�� �&#! �� � �"� #��'(��' �"�#&!�(�#" (# (�� �&#''#*�& �) �' �� ��

��� $&#�&�! (��" &�(&��*�' ��� � �"�#&!�(�#" �#& (�� �# �� �'� �� (�� ����&�"�����(� ���(�#"�&-� ��� � �" (�� �# �� � !�(���' (�� �&#! �� � ����&�"�� ��� �� (��$&#�&�! !���' �" �''#���(�#" ��(+��" (�� (+# ��� �'� ��� '-'(�! +&�(�'�"�#&!�(�#" �#& (�� �# �� � (# (�� &��#&� �" (�� �&#''#*�& �) �' �� � �''#���(��+�(� (�� �&#! �� � ��� ��

���� � �#"*�&'�#"' �&� �)(#!�(��� - ��"�&�(�� �#& �&#! �� � ��� �' +�(� "#�#&&�'$#"��"� �# �� � ��� �' �"� �#& �# �� � ��� �' +�(� "# �#&&�'$#"��"� �&#!�� � ��� �'� �#) ��" #*�&&��� � ���� � �"(&- +�(� (�� �$$&#$&��(� ��� � "�!��$#'�(�#"� �"� ���&��(�&�'(��' �� (�� ��� � �,�'(' �" (�� �� � �)( ��' � �����&�"( ��� �"�!��

�� (��&� �&� �"- #(��& �''#���(�#"' -#) "���� �# (��! !�")� - )'�"� (���&#''#*�& �) �' '� ��(�#" #" (�� !�")�

Setting Up Universal File Converter

G9841 J.D. Edwards & Company JDEG Programmers Universal File Converter ... DATA FILE CONVERSION 2. Version Setup 3. Crossover Rules 4. File Conversion 5. Report Selection or command ===>

Page 499: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 6–9

� ���� ��� � �����

�� �*'% ,!� �&".�*+�$ �"$� �'&.�*,�* %�&- ������� �!''+� ��*+"'&+ ��,-(�

98300 Versions Setup Form P00120 Skip to Version:

O Version Description User Chg Date XJDE0001 Generate Crossover Instruction – Sample DEMO 07/23/93 XJDE0002 F0101 – Data Requirements – A7.1 DEMO 07/20/93 Opt: 1=Run 2=Chg 3=Add 4=Rpt Dist 5=Cover 6=Prt Ovr 8=Repair 9=Dlt

�!� ��*+"'&+ ��,-( �'*% �((��*+� �!� �0�%($�+ +!'/& �*� �'* "$$-+,*�,".�(-*('+�+ '&$1�

� �!"+ (*' *�% $'��+ "&�'*%�,"'& "&,' ,!� �*'++'.�* �-$�+ �"$�

������ ��'-, ,!� �"�$�+ "& ,!� �"$�+ 1'- �*� �'&.�*,"& � �!� +1+,�%-+�+ ,!� "&�'*%�,"'& "& ,!� �*'++'.�* �-$�+ �"$� ,' ,*�&+��* ,!� ��,��*'% � �"�$� "& '&� �"$� ,' � �"�$� "& �&',!�* �"$� '* ,' � �"�$� "&%-$,"($� �"$�+�

�� �� 1'-* '/& .�*+"'& �*'% � ��%' .�*+"'& �&� ' ,' ,!� (*'��++"& '(,"'&+ '� 1'-* &�/ .�*+"'&�

� �&�� 1'- !�.� �"+($�1�� ,!� (*'��++"& '(,"'&+� 1'- %-+, +(��"�1 � ���

�"$� �&� � � �"$�� �'- ��& +(��"�1 -( ,' �'-* � �"$�+� �� 1'- *�)-"*�%-$,"($� ��� �"$�+� +(��"�1 � #'"& $' "��$ �+ ,!� ����� �"$� �'* 1'-*.�*+"'&� �!� #'"& $' "��$ /"$$ �&�'%(�++ �$$ ,!� �"$�+ 1'- /"+! ,' -+� �'*,!� ��� �"$��

Page 500: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

6–10 A8.1 (8/97)

98312 Processing Options Revisions Form ID. . . . P00120 Version. . . . APCSGenerate Cross Over InstructionsThis job has various options described below. Enter the desired values andpress ENTER to continue.FILE SPECIFICATION: 1. Enter the name of the file to F92801 convert the data from. JDE File? Y 2. Enter the name of the file OR files to convert the data to. File 1 F92801U JDE File? File 2 JDE File? File 3 JDE File? File 4 JDE File? + F5=Printer Overrides

������ ���������

Enter the name of the file The name of the From file to convert the data from.

JDE File? Y if the From file is a JDE file, or N if it is not

Enter the name of the fileOR files to convert the datato.

The name(s) of the To file(s) in the spaces provided

JDE File? Y if the To file is a JDE file, or N if it is not

Page 501: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 6–11

98312 Processing Options Revisions Form ID. . . . P00120 Version. . . . APCS Generate Cross Over Instructions This job has various options described below. Enter the desired values and press ENTER to continue. 3. Enter the library containing the DEMO “from” file. If left blank the library list will be searched for the “from” files. 4. Enter the library containing the DEMO6 “To” file. If left blank the library list will be searched for the “To” file. F5=Printer Overrides

������ ���������

Enter the library containingthe from file.

The name of the From file library, or leave blank to search yourlibrary list

Enter the library containingthe to file.

The name of the To file library, or leave blank to search yourlibrary list

Page 502: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

6–12 A8.1 (8/97)

Page 503: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 6–13

Work with Crossover Rules

��� � ��� ��� ��������� ����� ����

��� !�""�%�! �$��" ��!� ��#" '�$ ���� ������� ��� ����#� �!�""�%�! !$��" $"���� #�� ���%�!"�� ���� ��%�!#�! !���""� �"� #��" ��!� #� "�# $ �! ����#����""����#���" ��#&��� �����" �� #�� �!�� ���� ��� #�� �� �����

�"��� �����! �����"� '�$ ��� %��& �!�� ���� �����" &�#� �� ��!!�" ������ �� ���������"� ��$ ��� ��"� %��& �� ���� �����" &�#� �� ��!!�" ������ �!�� ���� �����"�

�� �� ���� ��� � ������ ���� �� �

�� �!�� #�� ���%�!"�� ���� ���%�!#�! ���$� ����"� !�""�%�! �$��"�

0031 Crossover Rules Action Code. . . . . I Form Id. . . . . . . P00120 From File . . . . F4001Z Version. . . . . . . 0001 To File Name . . . . F4011Z Skip to . . From To. . From File . . . . . To File . . . . . Field T Begin ... Field ... Field T Begin ... Field ... O Name Pos Bytes Dig Dec Name Pos Bytes Dig Dec **FILLER A 1 1 00 00 SZACOM A 988 1 00 00 **FILLER A 1 1 00 00 SZAEXP P 593 8 15 02 **FILLER A 1 1 00 00 SZAID A 1039 8 00 00 **FILLER A 1 1 00 00 SZAISL A 1131 8 00 00 **FILLER A 1 1 00 00 SZAITM A 316 25 00 00 **FILLER A 1 1 00 00 SZANI A 1010 29 00 00 **FILLER A 1 1 00 00 SZAOPN P 601 8 15 02 **FILLER A 1 1 00 00 SZAPTS A 755 1 00 00 **FILLER A 1 1 00 00 SZATXT A 750 1 00 00 **FILLER A 1 1 00 00 SZBIN A 1139 8 00 00 **FILLER A 1 1 00 00 SZCADC P 685 4 07 03 **FILLER A 1 1 00 00 SZCDCD A 756 15 00 00 Opt: 9=Del F4=Detl F6=Add F8=From Fill F9=To Fill F13=File F14=Text

��� ��!� ���%� ��" ��'" ���$"#!�#�%� ��#� ���'� ��� �!�� ����" � ��! �� #�� ���#���� �� ����" ��" ��' �� #�� !���#�

�� �� ��#� #�� !�""�%�! �$��" ��!��

� �� ��� �� �!� #�����"� �!�"" #��� #� "$ !�"" �! ��#�%�#� #�� ��" ��'

�� #�� ���� � �����" �� #�� �!�� ��� �� ����"�

Page 504: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

6–14 A8.1 (8/97)

� �� (1 "301.091$-1(2(4$� �% 7.3 0$ .- �0., %(+$ %($+#� /0$11 �� 2.

$-2$0 2$62 %.0 2' 2 %($+#� �'$- 2'$ "301.0 (1 .- �. %(+$ %($+# - ,$�/0$11 �� -# 2'$ �$-$0(" �$62 �.0, ./$-1 %.0 2' 2 �. %(+$ %($+#- ,$� �.3 " - +1. $-2$0 2$62 %.0 2'$ �0., %(+$ -# �. %(+$ !7/+ "(-& 2'$ "301.0 .- 2'$ //0./0( 2$ %($+#� �'$ %($+# - ,$ (1'(&'+(&'2$# .- ���� (% &$-$0(" 2$62 $6(121� �.0 ##(2(.- +(-%.0, 2(.- 0$%$0 2. 2'$ ������� ������ �� ���� �����

� �0$11 � 2. #(1/+ 7 #$2 (+ (-%.0, 2(.- (- 2'$ %.+# 0$ �

����� ���������

�.0, �# �.0 �.0+#� 2'$ ��� /0.&0 , - ,$ #$%(-$# (- 2'$ �.%25 0$

�$01(.-1 �$/.1(2.07 � 12$0 2 !+$� �$$ +1. �� � �#5 0#1

�2 -# 0#1�

� �� ���

� �/$"(%(" ,$,!$0 � -3,!$0

�� �712$, -3,!$0 �%.0 $6 ,/+$� �� %.0 �##0$11

�..*�

��� �$,!$0 27/$ �%.0 $6 ,/+$� � %.0 �0.&0 ,� � %.0

�$/.02� -# 1. .-�

�.0 �-$�.0+#� 2'$ - ,$ .% 2'$ �-$�.0+# ! 2"' .0

(-2$0 "2(4$ //+(" 2(.- ����� .0 ��� .!)$"2��

�. �(+$ � ,$ �'$ %(+$ 2' 2 # 2 (1 !$(-& 20 -1%$0$# 82.� (- 2'$ %(+$

".-4$01(.- /0."$11�

�($+# � ,$ �'$ %($+# 2' 2 # 2 (1 !$(-& 20 -1%$00$# 8%0.,� (- 2'$ %(+$

".-4$01(.- /0."$11�

�($+# � ,$ �'$ %($+# 2' 2 # 2 (1 !$(-& 20 -1%$00$# 82.� (- 2'$ %(+$

".-4$01(.- /0."$11�

����� ���������

�0.&0 , � �.0 �.0+#� 2'$ ��� /0.&0 , - ,$ #$%(-$# (- 2'$ �.%25 0$

�$01(.-1 �$/.1(2.07 � 12$0 2 !+$�

�$$ +1. � �#5 0#1 �2 -# 0#1�

� �� ���

� �/$"(%(" ,$,!$0 � -3,!$0

�� �712$, -3,!$0� %.0 $6 ,/+$� �� %.0 �##0$11

�..*

��� �$,!$0 27/$� %.0 $6 ,/+$� � %.0 �0.&0 ,� � %.0

�$/.02� -# 1. .-

�.0 �-$�.0+#� 2'$ - ,$ .% 2'$ �-$�.0+# ! 2"' .0

(-2$0 "2(4$ //+(" 2(.-� ����� .0 ��� .!)$"2�

�.0$(&- �(+$ � ,$ �'$ %(+$ 2' 2 # 2 (1 !$(-& 20 -1%$0$# 82.� (- 2'$ %(+$

".-4$01(.- /0."$11�

Page 505: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 6–15

����� ���������

��$%�� ����� ��� ��� ����� %��% ��%� �$ ����� %#��$��##�� *�# �� �� %�� ����

� �'�#$� � !# ��$$�

� #���� ����� ��� ��� ����� %��% ��%� �$ ����� %#��$��##�� *% � �� %�� ����

� �'�#$� � !# ��$$�

0031 Crossover Rules Action Code. . . . . I Form Id. . . . . . . P00120 From File . . . . F92801 Version. . . . . . . APCS To File Name . . . . F92801U Skip to . . From To. .

From File . . . . . To File . . . . .

Field T Begin ... Field ... Field T Begin ... Field ... O Name Pos Bytes Dig Dec Name Pos Bytes Dig Dec QXXCC A 47 12 00 00 QXXCC A 47 12 00 00 Desc Bus Unit Conv Rule Desc Bus Unit Conv Rule Key Pos Ref XCC Array N Key Pos 00 Ref XCC Array N QXXDS A 9 30 00 00 QXXDS A 9 30 00 00 Desc Descriptio Conv Rule Desc Descriptio Conv Rule Key Pos Ref XDS Array N Key Pos 00 Ref XDS Array N QXXDT S 41 6 06 00 QXXDT S 41 6 06 00 Desc Date Last Conv Rule Desc Date Last Conv Rule Key Pos Ref XDT Array N Key Pos 00 Ref XDT Array N QXXIT S 1 8 08 00 QXXIT S 1 8 08 00 Desc Item ID. . Conv Rule Desc Item ID. . Conv Rule Key Pos Ref XIT Array N Key Pos 00 Ref XIT Array N OPT: 9=Del F4=Detail F6=Add F8=From Fill F9=To Fill F13=File F14=Text

����� ���������

�# � ���� ��� ($ ) & % $��! % � ����� �� ��%��# %�� �# � ���� % %��

� ����� �#�$$��� �� �� �� � %��$� %( �����$ (��� ��$!��)

%�� ���� ����� �$�#�!%� �$ ���� (�

��#$� � � # � #��� ����%����$ � �# &! � �%��$ %��% %�� $)$%�� ���

!# ��$$ % ��%��#� $&�� �$ #�! #%$� �&$���$$ &��%$� #

$&������#$�

� # ���� #��� %�� ���� � %�� '�#$� �� �% �$ �#��%�� (���

%�� '�#$� � �$ ������

�� ��������� ��� ����� � � � � � � � � � � � � � � � � � � � � � � � � � �

��"&�#� � ��%��# � '�#$� � �&���# # %�� �# ��% %����$�

�)!� ��� ��%� ���%� ��#) ��%� %)!��

���� � $ ��� �&���# � %�� ��������� ! $�%� � � %�� ������

)%�$ ��� �&���# � �)%�$ �� %�� ������

�� ��%&�� �&���# � ����%$ �� %�� ������ �� � � ��!�����

������ %��$ �&���# �$ %�� $��� �$ %�� �&���# � �)%�$�

Page 506: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

6–16 A8.1 (8/97)

����� ���������

��� �!� &-%��* '� ���"%�$ ('+","'&+ "& ,!� �"�$�� ��-,-*�

�+���

�0(� �!� ,0(� '� ��,� '� ,!� �"�$� "& ,!� 2,'� �"$�� �!� ��,� ",�%

,0(�+ �*� ���"&�� "& �+�* ���"&�� '��+� +0+,�% �'�� ���

*��'*� ,0(� �����

�� "& �'+ �!� �� "&&"& ('+","'& '� ,!� �"�$� "& ,!� 2,'� �"$��

�0,�+ �!� &-%��* '� �"$� �0,�+ �'* ,!� �"�$� "& ,!� 2,'� �"$��

�" �!� ��,-�$ &-%��* '� �" ",+ "& ,!� 2,'� �"$� �"�$�� �& �

&'&3(��#�� �"�$� ,!"+ "+ ,!� +�%� �+ ,!� &-%��* '� �0,�+�

��� �!� &-%��* '� ���"%�$ ('+","'&+ "& ,!� 2,'� �"$� �"�$��

� �(,"'& � ��$�,� ,!� $"&��

��+�*"(,"'& �!� ��+�*"(,"'& '� ,!� �"$� �"�$��

�'%�+,"� �"$� ��%� �!� �"$� ,!�, ��,� "+ ��"& ,*�&+��*�� 2�*'%� "& ,!� �"$�

�'&.�*+"'& (*'��++�

��*+"'& �'* �'*$�� "��&,"�"�+ � *'-( '� ",�%+ ,!�, ,!� +0+,�% ��&

(*'��++ ,' �,!�*� +-�! �+ *�('*,+� �-+"&�++ -&",+� '*

+-�$�� �*+�

�'* �&��'*$�� ,!� &�%� '� ,!� .�*+"'&� �, "+ �*��,�� /!�&

,!� .�*+"'& "+ ������

�� ��������� ��� ����� � � � � � � � � � � � � � � � � � � � � � � � � � �

�&)-"*� '& �",!�* � .�*+"'& &-%��* '* ,!� �*'%�,' ,��$�+�

�'%�+,"� �"�$� ��,� �0(� �!� ,0(� '� ��,� '� ,!� �"�$� "& ,!� 2�*'%� �"$�� �!� ��,�

",�% ,0(�+ �*� ���"&�� "& �+�* ���"&�� '��+� +0+,�%

�'�� ��� *��'*� ,0(� �����

�'%�+,"� �"�$� �� "& �'+ �!� �� "&&"& ('+","'& '� ,!� �"�$� "& ,!� 2�*'%� �"$��

�'%�+,"� �"�$� �"1� �&

�0,�+

�!� &-%��* '� �"$� �0,�+ �'* ,!� �"�$� "& ,!� 2�*'%� �"$��

�'%�+,"� �-%��* '� �" ",+ �!� ��,-�$ &-%��* '� �" ",+ "& ,!� 2�*'%� �"$� �"�$�� �& �

&'&3(��#�� �"�$� ,!"+ "+ ,!� +�%� �+ ,!� &-%��* '� �0,�+�

�'%�+,"� �"�$� ���"%�$

�'+","'&+

�!� &-%��* '� ���"%�$ ('+","'&+ "& ,!� 2�*'%� �"$� �"�$��

�'*�" & �"�$� ��,� �0(� �!� ,0(� '� ��,� '� ,!� �"�$� "& ,!� 2,'� �"$�� �!� ��,� ",�%

,0(�+ �*� ���"&�� "& �+�* ���"&�� '��+� +0+,�% �'�� ���

*��'*� ,0(� �����

�'*�" & �"�$� �� "& �'+ �!� �� "&&"& ('+","'& '� ,!� �"�$� "& ,!� 2,'� �"$��

�'*�" & �"�$� �"1� �& �0,�+ �!� &-%��* '� �"$� �0,�+ �'* ,!� �"�$� "& ,!� 2,'� �"$��

Page 507: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 6–17

�/1%)'. �4-"%1 /& )')32 �(% !#34!, .4-"%1 /& $)')32 ). 3(% :3/� &),% &)%,$� �. !

./.;0!#+%$ &)%,$ 3()2 )2 3(% 2!-% !2 3(% .4-"%1 /& "83%2�

�/1%)'. �)%,$ %#)-!,

�/2)3)/.2

�(% .4-"%1 /& $%#)-!, 0/2)3)/.2 ). 3(% :3/� &),% &)%,$�

�%,%#3)/. �7)32 �%,%#3)/. %7)3 #/$%2 !1% /03)/.2 !.$ &4.#3)/. +%82 3(!3 !1%

42%$ 3/ 0%1&/1- ! 20%#)&)# &4.#3)/. &/1 ! 2%,%#3%$ ,).% /1

&/1- /& $!3!� �(% -/23 #/--/.,8 42%$ 2%,%#3)/. %7)32 &/1

%!#( 01/'1!- !1% $)20,!8%$ ). ()'(,)'(3%$ 3%73 !3 3(%

"/33/- /& 3(% &/1-� �/ $)20,!8 !,, !5!),!",% 2%,%#3)/. %7)32�

01%22 ���� �1%22 �� ). 3(% �03)/. &)%,$ 3/ $)20,!8 !,,

!5!),!",% �03)/.2 &/1 3(% 01/'1!-�

/-%23)# �)%,$ %2#1)03)/. �(% $%2#1)03)/. /& 3(% :&1/-� &),% &)%,$�

/-%23)# �/.5%12)/. �4,% �0%#)&)%2 ! +%86/1$ /1 %73%1.!, 01/'1!- 3(!3 )2 42%$ &/1

20%#)!, #!,#4,!3)/.2 3/ 3(% :&1/-� &),% &)%,$ "%&/1% 31!.2&%1

/& $!3! 3/ 3(% :3/� &),%�

�!,)$ +%86/1$2 !1% ,)23%$ "%,/6

!3% �/.5%12)/.

�� �� � ��� ��� � ����� ������

�.)3)!,)9!3)/.

������� � �����

�42).%22 �.)3

���� 1)'(3 !$*423 ",!.+ &),,

%&!4,3 &1/- )#3)/.!18

� �� �2%1 %&).%$ �/$% �//+40�� �222211� 6(%1% 2222 )2 �823%-� 11 )2 �/$%�80%

%&!4,3 �/.23!.3

� ��######� 6(%1% ###### )2 3(% #/.23!.3�

�%73 �4-"%1

���222277� 6(%1% 2222 )2 �823%-� 77 )2 �4-"%1

�(%#+ !3! )#3)/.!18

����� %$)32 &)%,$ &/1 5!,4%2 !.$ 1!.'%2�

,0(! 31!.2,!3)/.

����77� 6(%1% 77 )2 ,!.'4!'% 3/ 31!.2,!3% 3/

�. !$$)3)/. 3/ 3(% !"/5% +%86/1$2� 42%1 $%5%,/0%$

%73%1.!, 01/'1!-2 #!. "% 20%#)&)%$� �(%2% %73%1.!,

01/'1!-2 -423 "%'). 6)3( 3(% ,%33%1 �� �%&%1 3/ 3(%

�.)5%12!, �),% �/.5%13/1 �%&%1%.#% �!.4!, &/1 -/1%

).&/1-!3)/.�

�/1%)'. �)%,$ %2#1)03)/. �(% $%2#1)03)/. /& 3(% :3/� &),% &)%,$�

Page 508: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

6–18 A8.1 (8/97)

-/#'%, -,3#/0'-, �2*# �.#!'$'#0 � )#64-/" -/ #51#/,�* ./-%/�+ 1&�1 '0 20#" $-/

0.#!'�* !�*!2*�1'-,0 1- 1&# 8$/-+� $'*# $'#*" #$-/# 1/�,0$#/

-$ "�1� 1- 1&# 81-� $'*#�

��*'" )#64-/"0 �/# *'01#" #*-4�

��1# -,3#/0'-, � ����� ����� ����� �������������,'1'�*'7�1'-, � ������� �������20',#00 �,'1 � ���� /'%&1 �"(201 *�,) $'**�#$�2*1 $/-+ �'!1'-,�/6 � ��� �0#/ �#$',#" -"# �--)2. � ���0000//� 4&#/#0000 '0 �601#+� // '0 -"# �6.#�#$�2*1 -,01�,1 � �� �!!!!!!� 4&#/# !!!!!! '01&# !-,01�,1��#51 �2+ #/ � ���000055� 4&#/# 0000 '0 �601#+�55 '0 �2+ #/&#!) ��1� �'!1'-,�/6 � ���� #"'10 $'#*" $-/�� 3�*2#0 �," /�,%#0��*.&� 1/�,0*�1'-, � �����55 4&#/# 55 '0*�,%2�%# 1- 1/�,0*�1# 1-

�, �""'1'-, 1- 1&# � -3# )#64-/"0� 20#/ "#3#*-.#"

#51#/,�* ./-%/�+0 !�, # 0.#!'$'#"� �&#0# #51#/,�*

./-%/�+0 +201 #%', 4'1& 1&# *#11#/ �� �#$#/ 1- 1&#

�,'3#/0�* '*# -,3#/1-/ �#$#/#,!# ��,2�* $-/ +-/#

',$-/+�1'-,�

�-+#01'! �#6 �-0'1'-, �.#!'$'#0 1&# .-0'1'-, ', 1&# )#6 *'01 $-/ 1&# $'#*" ', 1&#

8$/-+� $'*#� �� -/ $212/# 20#���

�-+#01'! �#$#/#,!# '#*" �&# $'#*" ,�+# ', 1&# 8$/-+� $'*# 4'1& 1&# ./#$'5 /#+-3#"�

�&'0 '0 20#" $-/ �21-+�1'!�**6 ./#9*-�"',% 1&# �00-!'�1'-,0

#14##, 1&# 8$/-+� �," 81-� $'*# $'#*"0�

�-+#01'! '#*" �6.# �//�6 �#0'%,�1#0 1&# $'#*" �0 .�/1 -$ �, �//�6� ���&'0 $'#*" '0 $-/

$212/# 20#��

-/#'%, �#6 �-0'1'-, �.#!'$'#0 1&# .-0'1'-, ', 1&# )#6 *'01 $-/ 1&# $'#*" ', 1&# 81-�

$'*#� �� -/ $212/# 20#���

-/#'%, �#$#/#,!# '#*" �&# $'#*" ,�+# ', 1&# 81-� $'*# 4'1& 1&# ./#$'5 /#+-3#"�

�&'0 '0 20#" $-/ �21-+�1'!�**6 ./#9*-�"',% 1&# �00-!'�1'-,0

#14##, 1&# 8$/-+� �," 81-� $'*# $'#*"0�

-/#'%, '#*" �6.# �//�6 �#0'%,�1#0 1&# $'#*" �0 .�/1 -$ �, �//�6� ���&'0 $'#*" '0 $-/

$212/# 20#��

Field T Begin ... Field ... Field T Begin ... Field ... O Name Pos Bytes Dig Dec Name Pos Bytes Dig Dec **FILLER A 1 1 00 00 SZACOM A 988 1 00 00 Desc FILLER Conv Rule Desc Apply Comm Conv Rule Key Pos Ref FILLER Array N Key Pos 00 Ref ACOM Array N

Page 509: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 6–19

��� "��* ) �� %� *�� �%(# �%$*� $) $�%(#�* %$ ��%+* *�� (%# � "��

��� ( ��* ) �� %� *�� �%(# �%$*� $) $�%(#�* %$ ��%+* *�� �% � "� � �"�)� �� *��)�*+& &(%�(�# #��� �))%� �* %$) - *� *�� �% � "� � �"�)� *��. � )&"�. $ *�� ( ��*�%"+#$) -��$ .%+ $'+ (� %$ � %(# ��� �*��(- )�� *��)� �%"+#$) �%$*� $�� ����� $�%(#�* %$�

What You Should Know About

�%+ )�%+"� �� �-�(� %� *�� �%""%- $� (+"�) -��$ .%+ -%(! - *� �(%))%,�((+"�)�

� �% (�, �- � )&�� � � )�* %� �(%))%,�( (+"�)� �$*�( *�� ���� �( *�( ,�() %$

.%+ +)�� *% �(��*� *�� (+"�)�

� �% +&��*� $�%(#�* %$ %$ (%))%,�( �+"�) �%(#� �$*�( *�� �% � "� � �"��

*.&�� ��� $$ $� &%) * %$� $+#��( %� �.*�)� �$� $+#��( %� � � *) �$���� #�")� � �&&" ���"�� ��'+ (�� $�%(#�* %$ ) $�#�� *.&�� ��� $$ $�&%) * %$ �$� $+#��( %� �.*�)�

� �-% /)! & *%� ��&�� " * �) �(� �,� "��"� %$ *� ) �%(#� �%+ ��$ )! & *% �

� �"� $ � *��( *�� (%# � "� %( *�� �% � "��

Displaying Field Descriptions

�� ������ ���� ���� ������

�� �(�)) �� $ *�� �"� ��#� �%"+#$ �%( *�� (%# %( �% � "��

� ��� "� �"� ��)�( &* %$) �%(# �&&��()� �) )�%-$ ��"%-�

98FFD File Field Descriptions S/FMT File and Libr: F4011Z PGFDTA71 PF I4011Z – Batch Receiver File – Order De SZEDTY Record Type. . . . . A 1 1 SZEDSQ Record Sequence. . . P 2 0 2 SZEKCO Document Key Company A 5 4 SZEDOC Document Number. . . S 9 0 9 SZEDCT Document Type. . . . A 2 18 SZEDLN Line Number. . . . . P 7 0 20 SZEDST Transaction Set. . . A 6 24 SZEDFT Translation Format . A 10 30 SZEDDT EDI – Transmission D S 6 0 40 Opt: 2=Dictionary 4=Sel F15=Resequence F3=Return

� ���$ .%+ +)� %&* %$ � *% )�"��* � � �"� �(%# *�� �%(#� *�� &(%�(�#

(�*+($) *�� $�#�� *.&�� $+#��( %� �.*�)� $+#��( %� ��� #�")� $+#��( %�

Page 510: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

6–20 A8.1 (8/97)

������� ������������ ���������� �� ��" �������� �� ��� ������� �� ������ ����� ����� �� ���������� �� ��� ��� ���� ������������ ���� � ����� ����� ������� ������� ���� � �������� �����

� �� ��� ��� �� ��� � � ������� �" ���������" ����� ��� ���� �" ����� ��

��� ����� ��������� ������� �� ��� ��� ���� ����������� ����� ����� �� �������� �������� �������� �����

�� ����� � �� ��� ������ ������ ��� ����� � ������� ��� ����� ����������� �� ��� ����� ��� ����� � ��� � �� ���� �! �����

�� ����� � �� ��� ������ ������ ��� ����� � ������� ��� ����� ����������� �� ��� ����� ��� ������

0031 Crossover Rules Action Code. . . . . I Form Id. . . . . . . P00120 From File . . . . F4001Z Version. . . . . . . 0001 To File Name . . . . F4011Z Skip to . . From To. . From File . . . . . To File . . . . . Field T Begin ... Field ... Field T Begin ... Field ... O Name Pos Bytes Dig Dec Name Pos Bytes Dig Dec **FILLER A 1 1 00 00 SZACOM A 00004 00001 00 00 **FILLER A 1 1 00 00 SZAEXP P 593 8 15 02 **FILLER A 1 1 00 00 SZAID A 1039 8 00 00 **FILLER A 1 1 00 00 SZAISL A 1131 8 00 00 **FILLER A 1 1 00 00 SZAITM A 316 25 00 00 **FILLER A 1 1 00 00 SZANI A 1010 29 00 00 **FILLER A 1 1 00 00 SZAOPN P 601 8 15 02 **FILLER A 1 1 00 00 SZAPTS A 755 1 00 00 **FILLER A 1 1 00 00 SZATXT A 750 1 00 00 **FILLER A 1 1 00 00 SZBIN A 1139 8 00 00 **FILLER A 1 1 00 00 SZCADC P 685 4 07 03 **FILLER A 1 1 00 00 SZCDCD A 756 15 00 00 Opt: 9=Del F4=Detl F6=Add F8=From Fill F9=To Fill F13=File F14=Text

Page 511: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 6–21

Adding Fields

� ��� � �����

�� �#�$$ � % !�� %�� �� # $$ '�# ��$%#&�%� �$ � #��

00312 Add Crossover Instructions From File. . . F4001Z Field Name . . . . Field Data Type. . Field Begin Pos. . Number of Bytes. . Number of Digits . Field Dec Pos. . . Field Description Conversion Rule . To File. . . . F4011Z Field Name . . . . Field Data Type. . Field Begin Pos. . Number of Bytes. . Number of Digits . Field Dec Pos. . . Field Description Conversion Rule . F3=Exit

�� ��%� %�� �&#$ # �� %�� ���� ���� ������ !#�$$ �� % !�� %�� ��� ������$�#�!%� �$ � #��

� �%�# * & !#�$$ ��%�#� %�� !# �#�� #�%&#�$ ����� ��� #��%� � % %��

���� ���� (��� * & �)�% %�� � #��

� ��� #�"&�#�� �����$ � # ������ � ����� �#��

�� # � ����� ����� %*!�� �&���# � �*%�$� ��� ��������� ! $�%� �

�� � ����� ����� %*!�� �&���# � �*%�$� ��� ��������� ! $�%� �

��� ��� �&��%� � �$ �'������� % �$$ ���%� � $����� ����� �� %�� # � ���� (�%��&�%�!�� �����$ �� %�� � ���� ��� % �#��� �!�#% � # � ����� ��% �&�%�!�� �����$�

����� ��� �)�$% �� %�� � ���� ��� ��'� � %���� �$$ ���%�� (�%� �% �� %�� # ������ �� %��$ ��$�� %�� � ���� ����� �$ ���%����+�� �$ ��$�#���� �� %�� $��%� � ������

�� ����� �� %�� ���� ���� � � %��$ �&����

Page 512: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

6–22 A8.1 (8/97)

Deleting Records

�� ����� � ����

� #� !$� � � $ ����$� "�� "�# �" � $�� " ## &�" �%��# �����

� ���# ������# $�� �" �)� "���$� �#��! # $��$ � � �&�"#� � $���# !�����

� �� ( % ����� %$ $�� � ���� ����� ����� $�� !" �"�� � �# � $ ����$� $��

"�� "� �" � $�� " ## &�" �%��# ����� �%$ ��( ����"# $�� � ���� �������� "��$� �� ��� � �&�"$�" !" �"�� � �# ��( �$ "�� "�# $��$ ��&� � $� ��" � ��� � ���� ����� �����

���� � % � � $ ���� $ ����$� ����# '�$� ����� ����� �� � ���� ����� ����#�$��( �"� �%$ ��$�����( ��$$���

Page 513: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 6–23

Keywords

��+)!$�% � &�� �! (�$%�! �'�� ����� �� &�� �!�� �$��� &$����$ %"�����"$!��%%� � �!$ � ����� ���!$� &�� ��&� �% &$� %��$$��� !��!)� � �$� &�� ��+)!$�%&��& �$� �(������� � � � �$��� �*"�� �&�! !� )��& "$!��%%� � &��+ &$����$�

��&� &�� �*��"&�! !� &�� ��&� ��+)!$�% ��%&�� ���!)� %"����+ �! (�$%�! $'��%�!$ ��&��$ $!� ����� !$ �! ������ �(�$ �!$ �!&��

�'�& � ���� ����

���� � ��� ����������%� ��+)!$�% ��&�(�&� � ��&� �! (�$%�! ��&)��

&�� $!� ���� ����� � � &�� �! ���� ������ �!' �'%&

&+"� ��+)!$�% � &! �!&� &�� $!� ���� �! (�$%�!

�'�� ����� � � &�� �! ���� �! (�$%�! �'�� ������ ���

��+)!$� ! &�� $!� ����� %"������% �!) &�� ����� �%

%&!$�� � &�� $!� ����� ��� ��+)!$� ! &�� �! �����

�! (�+% &�� !'&"'& �!$��& ! &�� �! ������ ���

���% �!�% !& )!$� ! "����� �����%�

�(&�"�&& �"�' � ����� ���% ��+)!$� ��&�(�&�% &�� �'%� �%% ' �& %�$'� !�

$���& ���'%& � � ��� � ���� &! &�� $!� ���� ����� ���!$�

�!(� � �& &! &�� �! ������

�"�'�� �*� � ������

����������%� ��+)!$�% �!(� ��&��$ ,�$!�% !$ ��� �% &! &��

$!� ���� ����� ���!$� �& �% &$� %��$$��� ��&� &��

� �&����,�&�! $'��%� &��%� ��+)!$�% �$� !& $�#'�$��

' ��%% +!' )� & &! � �&����,� � ��"�� '��$�� ����� &!

,�$!�%�

�'� ��'�#"�%) ���( '

� �����% ��+)!$� $�&$��(�% &�� ��&� ���&�! �$+ ����'�&

�!$ &�� �! ���� ������ '%� � &�� ����$� �� ����� � &��

��&� ���&�! �$+� � � �!��% �& &! &�� $!� ���� �����

���!$� �& �% &$� %��$$���

�&�% ���"�� �#��

�##�($ � ��������

���% ��+)!$� $�&$��(�% &�� ���� �&�! !� &�� '%�$

���� �� �!�� '%�� � � %"������ %+%&�� � � �!��% �&

&! &�� �! ������ ��� &+"� � +!'$ $�#'�%&� ���� �% &��

%+%&�� � � �� �% &�� '%�$ ���� �� �!���

���( ' �#"&'�"' +

���������

���% ��+)!$� �!��% � ����'�& �! %&� & &! &�� �!

������ ��� &+"� � +!'$ $�#'�%&� ������ �% &�� ����'�&

�! %&� &�

��%!�"� � � ��� ���% ��+)!$� �!��% &�� &�$�� �� �� &! &�� �! ������

Page 514: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

6–24 A8.1 (8/97)

���� ����� �

����������

���� � ���� ������ � � �� ��� � �� ���� ��

�� �� �� �� ��� �� � � ���� ��� � �� ��� ���� �� ��

� �� � �� �� �� �� ��� ��

� ��� ��

��������� � �����

���� � ���� � �� �� ��� �� �� ����� ��

�������� ��� � �� ��� �� �� � ����� �� �� ���

����� �� �� ��� ���� ����� � ���� �� � � � �

����� � � � �� ��

Page 515: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 6–25

����� �� ���������� ���� �����

��%���% %"����+� � &�� '%� !� ��+)!$�% � &�� �! (�$%�! $'��� +!' �� %"����+� �*&�$ �� "$!�$�� &��& $' % ���!$� &�� ��&� �% &$� %��$$�� &! &�� �! ���� �������!' �'%& ��� &�� �*&�$ �� "$!�$�� ���� � � )�&� � �� �!$ �*��"��� '%� � -�� "$!�$�� &! ��&�$�� � � $� �� !� (���� (��'�% � � �$!� ���� ������ �*��'�� �$��!$�% ��%�� ! � ��(� ������ �&��$ �*��"��% � ��'�� )$�&� � �'�&�"�� �! ����$��!$�% ��%�� ! � %� ��� �$!� ���� $��!$�� !$ �� �"'��&� � &�� ��&� ���!$� �& �%&$� %��$$���

��� �*&�$ �� "$!�$�� $�#'�$�% ��(� "�$���&�$%

���� ��������� �'%& �� � �+&�% � � �! &�� % &�� (��'� !� &�� �����

��� � "$!��%%��� �%� �& &! "�%% ���� &�� (��'� &! &��

�! (�$&�$ "$!�$�� )�� &�� -�� "$!�$�� �% �! �

)�&� �&�

��� �� ��������� � �.�+&� �$$!$ ����� � &�� �$$!$ ���� $�&'$ % ��� ��

&�� ��&� � "�$���&�$ � �$!� &�� -�� "$!�$�� �%

"����� � &�� �! �����

� � &�� �$$!$ ���� $�&'$ % )�&� �� &�� ���� � "�$���&�$ � �% !& &$� %��$$�� &! &�� �! ����� �%�&��% �$$!$ �� +!' �$� )$�&� � �'�&�"�� �! ����$��!$�% � � �����$� & �$!� ���� �����% �$� '%�� �!$� %� ��� ����� � &�� �! �����

� � &�� �$$!$ ���� $�&'$ % )�&� �� � ������ )��� !&�� )$�&&� &! &�� �! ����� �%� &��% �$$!$ �� +!' �! !& )� & &! )$�&� � $��!$� )�� &�� (��'� !� ���$&�� ����� � "�$���&�$ � �% ��� �� ,�$!� !$ !&(���� �!$ +!'$ "'$"!%�%�

��� ��������� �!'$.�+&� ��"�� '��$�� ����� �!$ &�� '���$ !� &��

�! ���� $��!$�%� ��� ����� ��)�+% ��% '��$��

���$��&�$% � � �% ,�$!.������� ���% ��&% +!'$ -��

"$!�$�� � !) )���� $��!$� &�� �! (�$&�$ "$!�$��

)��� )$�&� )�� +!' �$� )$�&� � �'�&�"�� �! ����

$��!$�%�

� ��� ��������� �� .�+&� ����� �!$ &�� �$!� ���� ����� ���� ���% ��&%

+!'$ -�� "$!�$�� � !) )���� ����� +!' �$�

"$!��%%� � �� �'�&�"�� �����% � &�� �$!� ���� �$�

'"��&� � � %� ��� �! ���� ������

Page 516: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

F6

F8

F9

Advanced Programming Concepts and Skills

6–26 A8.1 (8/97)

���� ��������� �� ,�*&� ����� �!$ &�� �! ���� ����� ���� ���% ��&%

*!'$ +�� "$!�$�� � !) )���� ����� *!' �$�

"$!��%%� � �� �'�&�"�� �����% � &�� �$!� ���� �$�

'"��&� � � %� ��� �! ���� ������

Available Functions and Options

� � ��� �����������

��� �! ��� �����% &! �� �! (�$&��� "$�%% �� &! ����%% &�� �� $!%% �(�$ %&$'�&�! % �!$�� ��� $�#'�$�� �����% �!$ ���� � � ����� �$� �� �� �� �

�� �� �� �� � �� �� � ������� ��������� � � ���� � �� ��� ��

0031 Crossover Rules Action Code. . . . . Form Id. . . . . 00312 Add Cross Over Instructions Version. . . . . To File Name . . From File. . . Skip to . . From Field Name . . . . Field Data Type. . From File . . Field Begin Pos. . Number of Bytes. . Field T Begi Number of Digits . eld ... O Name Pos Field Dec Pos. . . Dig Dec Field Description Conversion Rule . To File. . . . Field Name . . . . Field Data Type. . Field Begin Pos. . Number of Bytes. . Number of Digits . Field Dec Pos. . . Field Description Conversion Rule . OPT: F3=Exit

� � ������� ��� ������ �����

��� ���� !& ��%"��* &�!%� �� �% )�&� ��� ���� (��'�% � &�� ���� �����

� � ������� �� ������ �����

��� ���� !& ��%"��* &�!%� �� �% )�&� ��� ���� (��'�% � &�� � �����

Page 517: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

F13

F14

A8.1 (8/97) 6–27

��� � ���� ����� ��� �������

��� ����� �&#$!# ! � * ��� ���� ����� � � "#�$$ �� %! ��$"��* %�� ��� ���� ��$�#�"%�! �!#��

��� � ���� ������� ����

�� ���$ ���!($ %�)% %! �� � %�#�� ��!&% � �!#��%�! ! %��$ �!#�� �������� (��� ��������% %! � ����%� %��% %��#� �$ �� �#�� %�)% �$$!���%�� (�%� %��$������

� �#�$$ � � %�� %!" �#�� !� %�� �!#� %! � %�# %�)% ��!&% %�� �! '�#$�! �

� �#�$$ � � %�� � �� ��� �#�� ����% $��� !� %�� �!#�� %! � %�# %�)%

��$�#��� � %�� � �� ����

� �#�$$ � � %�� �� ��� �#�� �#���% $��� !� %�� �!#�� %! !�%�� %�)%

��$�#��� � %�� �� ����

� ��� ����� (��� ��������% %! � ����%� %��% %��#� �$ �� �#�� %�)%

�$$!���%�� (�%� %��$ ������

����� � � ������ � ����

�! ����%� #��!#�$ $! %��% ! �! '�#$�! %���$ "����� � %�# �"%�! � �� *!&��� � !&% %�� �� �� ���� ����� %�� "#!�#�� �!�$ !% ����%� %�� #��!#��#!� %�� �#!$$ �'�# �&��$ ���� � ������ �&% ! �* ����#$ %�� �� �� ����� �!#��%�! � ��� �! '�#%�# "#!�#�� (��� ! �* �!!� �% #��!#�$ %��% ��'��!%� � � �� � � �� �� ����� ����

Page 518: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

6–28 A8.1 (8/97)

Page 519: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 6–29

Work with File Conversion

Working with File Conversion

�!� �"#� �&%-�)*"&% ')& )�$ ����**�* +!� �)&**&-�) �,#�* �"#� ������ �%�+)�%*��)* ��+� �"�#�* �)&$ &%� �"#� +& �%&+!�)� �)&$ &%� �"#� +& $,#+"'#� �"#�*� &)�)&$ $,#+"'#� �"#�* +& &%� �"#��

� �� ���� �� ����

�� �)&$ +!� �%"-�)*�# �"#� �&%-�)+�) $�%, ������� �!&&*� �"#� �&%-�)*"&%�

J.D. Edwards & Company G9841 Universal File Converter

... DATA FILE CONVERSION 2. Version Setup 3. Crossover Rules 4. File Conversion 5. Report

Selection or command===> ________________________________________________________________________________________________________________________________________________________________________________________________________________________________________

�!�% �)��+"% �% �/��,+"&% �&)$� �� *,)� +!� ��*�� &% �"#� �%� +!��&)$�+ ��$� �"�#�* �&%+�"% 0&,) ��� ���� %�$�� �% ���"+"&%� +!� ��+���#��+"&% �%� ��+� ��(,�%�� �&)$* *!&,#� �"*'#�0 �"�#�* �)&$ 0&,) ��������

�� �� 0&,) &.% -�)*"&% �)&$ � ��$& -�)*"&% �%� & +& +!� ')&��**"% &'+"&%* &� 0&,) %�. -�)*"&%�

Page 520: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

6–30 A8.1 (8/97)

98312 Processing Options Revisions Form ID. . . . P00111 Version. . . . APCS Execute File Conversion – Sample

This job has various options described below. Enter the desired values and press ENTER to continue.

FILE SPECIFICATION: 1. Enter the name of the Form ID and version containing the conversion specifications. Form ID P00120 Version APCS

2. Enter the name and library of the “from” file, if different than the Form ID and version containing the conversion specifications. From File name From File library ** Caution – file must be the same field format as file used to generate rules. +

F5=Printer Overrides

����� ���������

Enter the name of the FormID and version containingthe Initial Setup step.

Type your Form ID and version from the conversionspecifications.

Enter the name and library of“from” file, if different thanthe Form ID and versionspecified.

Type the name of the From file and library, if it is different thanthe From file and library in the Form ID and version specifiedabove.

Page 521: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 6–31

98312 Processing Options Revisions Form ID. . . . P00111 Version. . . . APCSExecute File Conversion – Sample

This job has various options described below. Enter the desired values andpress ENTER to continue.

3. Enter the name of the file OR files – to convert the data to. Leave blank to convert all files in setup specifications.

File 1 _________________________ File 2 _________________________ File 3 _________________________ File 4 _________________________

4. Enter the library the “to” files are _________________________ in. If left blank, the library list will be searched for the “to” files.

+

F5=Printer Overrides

����� ���������

Enter the name of the fileOR files to convert the datato.

Type the name(s) of the To file(s). Up to four files can bespecified. If these fields are left blank, all files entered in thesetup version are converted.

Enter the library the to filesare in.

Type the name of the library containing the To file(s), or leaveblank to have the library list searched.

98312 Processing Options Revisions Form ID. . . . P00111 Version. . . . APCS Execute File Conversion – Sample

This job has various options described below. Enter the desired values and press ENTER to continue.

File Preparation: – 5. Enter a ’1’ to clear the file data _________________________ is being transferred to.

TO FILE FORMAT: 6. Enter the number of “to” file records to be created for each “from” file record. If left blank, a single “to” file record will be created for each “from” file record. File 1 _________________________ File 2 _________________________ File 3 _________________________ File 4 _________________________ Bottom +

F5=Printer Overrides

Page 522: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

6–32 A8.1 (8/97)

����� ���������

Enter a “1” to clear the filedata is being transferred to.

Enter “1” to clear the To file. The To file will be filled onlywith converted records. If this field is left blank, the converteddata records are added to the To file.

Enter the number of to filerecords to be created for eachfrom file record.

Enter the number of To file records you want to create for eachFrom file record. If this field is left blank, only a single To filerecord will be created for each From file record.

� �� 0', �)� ,*!&� %,$+!($� ���� �!$��*�� )�%�%��) +' �)��+� � "'!&

$'�!��$ '-�) �$$ + � ���� �!$�* 0', .!* +' ,*��

� � �& ���!&� � &�. -�)*!'&� 0', * ',$� � ��# +' *�� + �+ + �

�')%�+ &�%� ,&��) ��!+!'&�$ ��)�%�+�)* !* �'))��+ �') + � ��*�� '&�!$��

�� �&+�) + � �'))��+ -�$,�* '& �)'��**!&� �(+!'&* �&� *,�%!+ 0',) -�)*!'& +'�'%($�+� + � �'&-�)*!'& ()'��**�

What You Should Know About

� �� 0', �)� ,*!&� %,$+!($� )'% �!$�*� )�%�%��) +' �)��+� � "'!& $'�!��$ '-�)

�$$ + � )'% �!$�* 0', .�&+ +' ,*��

� � �& ���!&� � &�. -�)*!'&� � ��# +' *�� + �+ + � �')%�+ &�%� �') + �

��*��1'& �!$� !* �'))��+ �') + � �!$�� � � ����,$+ !* $//// �&� %�0 &'+ ���(()'()!�+��

� � � )'% �!$� &�%� �&� + � �' �!$� &�%�* * ',$� �� + � *�%� �* ,*�� +'

*�+ ,( + � �'&-�)*!'& ),$�* !& �+�( ��

� �', ��& ,*� ���� �)!+�) ��+� *�$��+!'& +' *(��!�0 . !� )��')�* !& + �

)' �!$� �)� +' �� �'&-�)+��� ') �/�%($�� �'&-�)+ '&� �)�&� ') '&��'%(�&0 '&$0�

� ()!&+�� )�(')+ $!*+* �))') �'&�!+!'&* ��+��+�� �0 ��� #�0.')� �&� $!*+*

+ � +'+�$ &,%��) '� )��')�* )��� �&� &,%��) '� )��')�* �'&-�)+��� � �)�(')+ $!*+* + � ��*�)!(+!'& '� + � �))')*� ��(�&�!&� '& + � �))') �'&�!+!'&�0', %�0 &��� +' �'))��+ + � -�$,�* !& + � !&�'%!&� ��+� �&� )�),& + ��'&-�)*!'&�

Page 523: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 6–33

Print a Report

Printing a Report

�� ��� ����� � ������ ���� ������$� ��� ����� !�� � ��� ��� ��$ ����������������� ��#��

�� ��� � ���

�� ���� ���!����� ���� ���!������ ������ ������

98300 Report Form P0031P1 Skip to Version: O Version Description User Chg Date XJDE0001 File Converter Report DEMO 10/25/93 Opt: 1=Run 2=Chg 3=Add 4=Rpt Dist 5=Cover 6=Prt Ovr 8=Repair 9=Dlt

�� ���� ��� ���� ��������� !������� �� ��� ���� ���!����� ������� �� �#��������"� �� ��� ��� ������!� � ������ ���$�

�� � ��� ���� ��������� ����� ������$ $� � ���� � ��� !�������

Page 524: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

6–34 A8.1 (8/97)

98312 Processing Options Revisions Form ID. . . . P0031P1 Version. . . . 0001 File Converter Report

This job has various options described below. Enter the desired values and press ENTER to continue.

1) Enter a “1” to print Data Dictionary 1 Glossary for each item. Leave blank to not print the Data Dict. Glossary. (Prints for “TO” fields only)

2) Enter a “1” to print File Specific 1 Glossary for each data item. Leave blank to not print. (Prints for “TO” fields only)

3) Enter a “1” to print the Generic 1 Text Instructions for each data item. Leave blank to not print the Generic Text. (Prints for both “FROM” and “TO” fields) Bottom +

F5=Printer Overrides

�� ������ �� � �� � �� ��� ���� �� ���

����� ���������

Enter a “1” to print DataDictionary Glossary for eachitem.

Prints Data Dictionary Glossary for each To field.

Enter “1” to print FileSpecific Glossary for eachitem.

Prints file specific glossary from Generic Text file (F00163) foreach To file.

Enter “1” to print generictext instructions for eachitem

Prints any generic text associated with either To fields or Fromfields.

Page 525: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 6–35

Create Conversion Forms

Creating Conversion Forms

��� �"�)�%&� � � #")�%'�% �� $& ,#( �%��'� �#")�%&�#" �#%!& '��' ,#( !�,*�"' '# (&� �#% $ �""�"� $(%$#&�& *��" ,#( �#")�%' ,#(% "#".��� �� �& �"'#��� �� �&�

� �'�%' �, �%��'�"� � �#%! '��' &$������& '�� !��#% �� � �" '�� -#")�%' '#� �� ��

��� "�!� #� '�� �� � ,#( �#")�%' �%#! �& �"'�"'�#"� , ��' � �"�� ���& �'&,#( �%��'� � � �"� &�' #� �#")�%&�#" %( �& *���� ,#( ��" $%�"' (&�"� '����$#%' &� ��'�#"�

� ��� &($$ ��& � &$���� ��'� ���'�#"�%, � #&&�%, %� �'�"� '# &$������ ��� �& �"

&$������ �� �& �" ,#(% ��� ��'� ���'�#"�%, '�+'� �#( ��" � &# �%��'� "�*��� � ��&�%�$'�#"& '��' ��''�% �#%%�&$#"� '# ,#(% &,&'�! �, $%�&&�"� ���#% ��"�%�� '�+' �" '�� �%#&&#)�% %( �& %�)�&�#"&�

� �� ,#( ������ '# (&� '�� � �"� )�%&�#" ���&�%���� ��#)�� �#% ��'(� �� �

�#")�%&�#"� ',$� '�� %#! �� � &$�������'�#"& �#%%�&$#"��"� '# '���$$%#$%��'� �# ��� � (&�"� '�� %#&&#)�% �( �&� � &(%� '# #)�%%��� '�� %#! �� � ���#%� ,#( �+��('� '�� �#")�%&�#" $%#�%�!�

Page 526: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

6–36 A8.1 (8/97)

Creating Conversion Forms

� ���� � � ������ ���

�� #!� %�� � �'�#$�� ��� �! '�#%�# �� &� $����% ��%��# ��#$�! $ ��%&" !#��"!#%�

98312 Processing Options Revisions Form ID. . . . P00120 Version. . . . XJDE0001 Generate Cross Over Instruction – Sample Display Level. 9

This job has various options described below. Enter the desired values and press ENTER to continue.

FILE SPECIFICATION: 1. Enter the name of the file to convert the data from. JDE File? 2. Enter the name of the file OR files to convert the data to. File 1 F92801U JDE File? Y File 2 _________________________ JDE File? _________________________ File 3 _________________________ JDE File? _________________________ File 4 _________________________ JDE File? _________________________ +

F5=Printer Overrides

�� �!�"��%� %�� �#!��$$� � "%�! $ ��'�$�! $ �!#�

� � )!& $����%�� ��#$�! $ ��%&"� �� $&#� %! ���'� %�� ��#$% "#!��$$� �

!"%�! ��� � & ��# ��� �! '�#$�! �

� %�� $��! � !"%�! � %)"� %�� ��� !� %�� ����$ )!& (� % %!

�! '�#%� � � %�� � �� %��) �#� ��� ����$ !# � �� %��) �#� !%�

Page 527: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 6–37

98312 Processing Options Revisions Form ID. . . . P0031P1 Version. . . . XJDE0001 File Converter Report Display Level. 9 This job has various options described below. Enter the desired values and press ENTER to continue. 1) Enter a ”1” to print Data Dictionary 1 Glossary for each item. Leave blank to not print the Data Dict. Glossary. (Prints for ”TO” fields only) 2) Enter a ”1” to print File Specific 1 Glossary for each data item. Leave blank to not print. (Prints for ”TO” fields only) 3) Enter a ”1” to print the Generic 1 Text Instructions for each data item. Leave blank to not print the Generic Text. (Prints for both ”FROM” and ”TO” fields) Bottom + F5=Printer Overrides

� �� ��� ��� ������ ��� � ��� �� ��� ��� ��� ��� �� �����

�����

Page 528: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

6–38 A8.1 (8/97)

Page 529: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 6–39

Work with the Data Dictionary Glossary by File

About Working with the Data Dictionary Glossary by File

���� #!��� "�� ���$� !�� ��� ���$� "� � !���� ��"���! ��"�� ����� �� ���� ������������ "��!� ��"���! ���� � �!�������' %��� "�� ���$� !��� �� � ����" �� #!���' ���"�� ���� "���"� �! � ��"��"��� � ������ �� ����' "��!� ���� ��%� �! ��!���� �" ��!!���� "� �""��� ��"� ���"���� ' ���!!� ' "�&" "� ���� ��"� �"�� "��"�&�����! "�� ��"���! �� "��#�� "� "��" !������� �����

�� %� � %�"� "�� ��"� ���"���� ' ��!!� ' �' ���� �� �� � "�� �����%��� "�!�!�

� ����!! "�� ��"� ���"���� ' ��!!� ' �' ����

� ��� � ���� !������� ���!!� ' �"��

� ��" "�� ��"� ���"���� ' ��!!� ' ���� ��"���

Page 530: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

6–40 A8.1 (8/97)

Accessing the Data Dictionary Glossary by File

�� ������ �� ���� ������ ��� �������� �� ���

�� ��� !�� ���#�� �� ��� ���#��!�� ���"� !%�� �� ��� ��� �!���

� ��� ��!� ���!�����% ���� �!��% ����� ������ �

9201 Data Dictionary Rls Last Chg A61 Action Code. . . . I Item Parent. Data Item. . . . . MCU Glossary Group . . D – – – – – – – – – – – – General Information – – – – – – – – – – – – – Alpha Desc . . . . Business Unit Reporting System . 09 __ System Code. . . . 09 Type . A Size . 12 Data File Decimals __ Data Item Class. . COSTCTRSEC Item Occurrences ___ Display Decimals . _

– – – – – – – – – – – – Descriptions – – – – – – – – – – – – – Row Description. . Business Unit Column Title . . . Business Unit – – – – – – – – – – Default and Display/Edit Rules – – – – – – – – – – – Default Value. . . ________________________________________ Data Display Rules *RAB ________________________________________ Justify. _ Data Edit Rules. . SERVER X0006 ___________________________________ ________________________________________ Search Program . . __________ Next Nbr System. . ____ Next Number Index . . __

F4=Search F8=UDC F9=Prev F10=Glossary F11=Descriptions F15=Where Used

�� �� �� !� �� ���% !�� ��� ��% ������!��� �� !�� ��!� �!�� %�" ����!���

92001 Data Item Glossary Revisions Language . Applic Override Scrn/Rpt . F4102 Action Code. . . . . I Data Item. . . . . . MCU Desc Business Unit System Code. . . . . 09 Reporting System Code. 09 Glossary Group . . . D Identifies a separate entity within a business for which you wish to track costs, for example, a warehouse location, job, project, work center, or branch/plant. The business unit field is alphanumeric. You can assign a business unit to a voucher, invoice, fixed asset, and so forth, for responsibility reporting. The system provides reports of open A/P and A/R by business units, for example, to track equipment by responsible department. Business Unit security can prevent you from inquiring on business units for whichyou have no authority. In the Inventory Management System, MCU represents a branch or plant F4=Search F9=Redisplay Prev F19/F20=Prev/Next Item F24=More

� � !�� ��!� �!�� ��� ��% ��#� ��� ���� !� ������ !�� ��� ��% !�$! ��� � ��!����!�����% �!�� �� !� ��� � ���&�������� ��� ��% �!���

Page 531: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (8/97) 6–41

Adding a File Specific Glossary Item

�� � � � � ��� � � �������� ��

�� �$�� � �� �� �� ��� ���� ������

�� �$�� �� ���� ���� �� �� ������� ������

�� �$�� �� ��" �# ��� ����� � ���

98312 Processing Options Revisions Form ID. . . . P0031P1 Version. . . . XJDE0001 File Converter Report Display Level. 9 This job has various options described below. Enter the desired values and press ENTER to continue. 1) Enter a ”1” to print Data Dictionary 1 Glossary for each item. Leave blank to not print the Data Dict. Glossary. (Prints for ”TO” fields only) 2) Enter a ”1” to print File Specific 1 Glossary for each data item. Leave blank to not print. (Prints for ”TO” fields only) 3) Enter a ”1” to print the Generic 1 Text Instructions for each data item. Leave blank to not print the Generic Text. (Prints for both ”FROM” and ”TO” fields) Bottom + F5=Printer Overrides

Printing the Data Dictionary Glossary Information

�� �� �� �� ���� � �� ����� �������� ������� ��

�� ����� ����� �

�� ������ � �� ��������� �� ���� ��!������ �����

� �$�� � ��# � ��� ���� �� ���� � ���� �� � � �� �����$

�������$�

� �� ��� � ���� � �� ����%�������� �������$ �# �

Page 532: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

6–42 A8.1 (8/97)

Page 533: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Appendices

Page 534: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

6–44 A8.1 (8/97)

Page 535: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (01/98) A–1

Appendix A - Common & Production Library Files

��� ���� �� ����� ��� ����� ��� �� ���������� ����� �� ��� ������ � ��� ������ �������� ����� ��� ���������� ��������

Chart A - Common Library Files Automatically Created by J.D. EdwardsBuild Programs

�� ��������� ���� ������� ����� ���������� ������� � ������ �� ���� ������ ��� ���� � �� � ������ ���� ����� �� �� �������� � ��� ���������� �� ������� �� ���� ������ �������

��� �� ��� ���������� ���� ��

F98FRF@ Field Reference - “@” Data Items ��

F98FRF$ Field Reference - “$” Data Items ��

F98FRFA thru Field Reference - “A” Data Items through ��

F98FRFZ Field Reference - “Z” Data Items ��

Page 536: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

A8.1 (01/98)A–2

Chart B - Physical and Logical Files Created in a Common Library

"-* +3003:.2, (-&68 7-3:7 8-* 4-<7.(&0 &2) 8-* 03,.(&0 +.0*7 8-&8 :*6* (6*&8*) .2& �31132 �.'6&6< .+ 32* :&7 74*(.+.*) +36 8-* �6*&8* #7*6 �&8& �.'6&6.*77*0*(8.32 32 1*29 �� ��� �3,.(&0 �.0*7 (328&.2 23 )&8&� "-*6*+36*� )&8& (34.*) .7��

�� ���� �� ������� � � �� ����

���� �*;8 �91'*67 = �9831&8.( %

����� #7*6 �*+.2*) �3)* "<4*7 %

������ #7*6 �*+.2*) �3)*7 = �08*62&8* �&2,9&,* �*7( %

����� #7*6 �*+.2*) �3)*7 %

������ #7*6 �*+.2*) �3)*7 = �08*62&8* �&2,9&,* �*7( %

������� �� = !<78*1 �3)*� �*7( ".80* "<4*� �*7(�� �*7( ".80* �

���� �*2*6.( "*;8 �.0* �

���� � �*2*6.( "*;8 $.2)3: �*+.2.8.32 �.0* %

���� �*2*6.( "*;8 �*< �*+.2.8.32 �.0* %

���� �*2*6.( "*;8 �*< �2)*; �.0* �

���� �� �*2*6.( "*;8 �*< �2)*; �.0* = �� �< �*< !*6.&0 �91'*6 �

���� � �*2*6.( "*;8 �*< �2)*; �.0* ��� (-&6&(8*6 /*<� �

���� ��� �*2*6.( "*;8 �*< �2)*; �.0* = �� '< �*< !*6.&0 �91'*6 �

���� �*29 �&78*6 %

����� �*29 !*0*(8.32 �*8&.0 %

���� �*29 !*0*(8.32 "*;8 %

����� �*29 !*0*(8.32 �.7836< �

�������� �� = �31'.2*) !*59*2(*7 �

������� �� = �3' "3 �;*(98* �

������� $36) !*&6(- �((966*2(*7 �&78*6 %

�������! $36) !*&6(- �((966*2(*7 �&78*6 = �.78 !9440*1*28&0 �

������� $36) !*&6(- �((966*2(*7 �&78*6 %

������� 9*78.32 � �27:*6 !*&6(- �((966*2(* �&78*6 %

������� 9*78.32 � �27:*6 !*&6(- �((966*2(* �&78*6 %

����� �4*2 �.0* �.6*(836< %

Page 537: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Appendix A - Common & Production Library Files

A8.1 (01/98) A–3

�� ���� � �� ������ ������� �

��� � �(06 "13' �($3&+ �$45(3 #

��� ��� �� ; �: �(: $0' �($3&+ "13' �

��� � �6(45,10 � �048(3 "13' �($3&+ �$45(3 #

��� ��� �� ; �: �(: $0' �($3&+ "13' �

��� � "13' �($3&+ �$45(3 ; �6(45,10 $0' �048(3 �$5$ �$4( �

��� ��� �� ; �: �(: $0' �($3&+ "13' �

��� � � "13' �($3&+ !(3%4 #

��� � ��� �$45(3 �,.( #

��� ��� �� ; �:45(/ �1'(� �1% 51 �9(&65( �

��� ��� �� ; �(.($4(� :2(� �:45(/ �1'( �

����� "� ; � �� #

������� �� ; ���� 5+316*+ ��� �

������� �� ; � �� �1*,&$. �7(3 "13-),.( �

����� � �� �(0(3$. �2(&,),&$5,104 �$45(3 �,.( #

������� �� ; � �� �(0(3$. �2(&,),&$5,104 �$45(3 �,.( �

����� � �� ; �1.6/0 �2(&,),&$5,10 �$45(3 �,.( #

���� � �� ; �18 �2(&,),&$5,104 �$45(3 �,.( #

���� � �� ; �(.. �2(&,),&$5,104 �$45(3 �,.( #

����� � �� ; �18 �3($5,10 �,.( #

����� "� ; � �� ; �$.$0&( �6',513 #

���� � �� ; �3,05 �/$*( �,.( #

��� �� ����� "3,5(3 ; �(3)13/$0&( �5$5,45,&4 �$45(3 #

��� ���� ����� "3,5(3 ; �(3)13/$0&( �5$5,45,&4 �

��� �� ����� "3,5(3 �5$5,45,&4 �(5$,. #

��� ���� �� ; �,.( $0' �(:4 �

��� �� ����� "3,5(3 ; �5$5,45,&4 �(5$,. �&&6/6.$513 #

������� ��� � ; �13/$5 �,.( )13 �2(0 �6(3: �:0$/,& �1,0 #

�������� ��� � ; �13/$5 �,.( )13 �2(0 �6(3: �:0$/,& �1,0 #

�������� ��� � ; �13/$5 �,.( )13 �2(0 �6(3: �:0$/,& �1,0 #

���"��� ��� � ; "13- �,.( �$7( �$5$ #

Page 538: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

A8.1 (01/98)A–4

�� ���� � �� ������ ������� �

� �!���� ��� � : !/1+ �*,& �#5& �#3# "

� ��� !� : ��� � "

� ��� !� : �&5&, /' �&3#*, "

� ��� ��� � �&.&1#, �0&$*'*$#3*/.2 �#23&1 �*,& "

� ����� �� : ��� � �&.&1#, �0&$*'*$#3*/.2 �#23&1 �*,& �

� �� ��� � : �/,4-. �0&$*'*$#3*/.2 �#23&1 �*,& "

� �� ��� � : �/6 �0&$*'*$#3*/.2 �#23&1 �*,& "

� ��� ��� � : �&,, �0&$*'*$#3*/.2 �#23&1 �*,& "

� ��� ��� � : �/6 �1&#3*/. �*,& "

� �� !� : ��� � : �#,#.$& �4%*3/1 "

� ��� ��� � : �1*.3 �-#(& �*,& "

� ��� !� : ��� � : �#,#.$& �4%*3/1 "

� �� ��� � : �/23 �&.3&1 �1(#.*9#3*/.#, �)#13 "

� �� ��� �/43*.( �#23&1 "

� � ��� 1#.2'&1 �*,& �&340 "

����� �#3# �3&- �#23&1 "

������� �� : �#3# �3&- ������ ������ �

������� �� : �#3# �3&- ������ ����� �11/1 �&22#(&2 �.,8 �

������� �� : �#3# �3&- ������ ������ �

������� �� : �#3# � &- ������ ������ �

������� �� : �,/22#18 �1/40� �#3# �3&- �

������� �� : �823&- �/%&� �#3# �3&- �

����� �#3# �*&,% �0&$*'*$#3*/.2 "

������� �� : �#3# �3&- ������ ������ �

������� �� : �#3# �%*3 �4,&� �� �0&$ �� �� �0&$ � �

������� �� : �#3# �3&- �,#22� �#3# �3&- �

����� �#3# �*&,% �*20,#8 &73 "

����� �#3# �3&- �,0)# �&2$1*03*/.2 "

���� �#3# �3&- �,*#2&2 "

������ �� : �,*#2 80&� �,*#2� �#3# �3&- "

Page 539: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Appendix A - Common & Production Library Files

A8.1 (01/98) A–5

�� ���� � �� ������ ������� �

� ��� �$4$ �+&4+/.$28 9 �22/2 �(33$*( �2/*2$- �� #

� ��� �&2((.��(0/24 �(74 �$34(2 #

� ��� �&2((.��(0/24 �(74 �$34(2 #

� ���� �&4+/. �+$*2$--+.* �2$.3,$4+/. �$34(2 #

� ��� �/'(, �2/*2$- �()+.+4+/. �$34(2 #

� ����� �� 9 �/'(, �2/*2$- �()+.+4+/. 9 "��() �

� ��� �/52&( �/'( �.6(.4/28 �$34(2 #

� ����� �� 9 �2+-$28 �/52&( �(8 �

� ��� �''+4+/.$, �(,0��/'+)+&$4+/.3 �$34(2 �

� ����� �� 9 �2+-$28� �(&/.'$28 $.' �(2+$, �5-%(2 �

� �� !� 9 �/52&( �(2*( �/.+4/2 �

� �� 3(2 �()+.(' �.428 �/+.4 �/52&( �/'( �$34(2 #

� ��� �(.(2$, �520/3(��80( �$2$-(4(23 �

� ����� �� 9 �2/*2$- �� %8 �2/*2$- �80( �

� ��� �+,( �0(&+)+&$4+/.3 �

� �� �$4$ �$3( �/2-$4 �$2$-(4(23 �

� ���� �� 9 �2/*2$- ��� �/2-$4 �$-(� �+,( �$-( �

� �� �2/*2$- �7+4 �$2$-(4(23 �

� ��� �(4$+, �2/*2$- �/*+& �$2$-(4(23 �

� ����� �� 9 �2/*2$- ��� �$4$ �+(,' �$-( �

� ����� �� 9 �2/*2$- ��� �+,( �$-(� �(8 �/3+4+/. �

� ����� �� 9 �2/*2$- ��� �,($2 �)4(2� �+(,' �$-( �

� ����� �� 9 �2/*2$- ��� �+(,' �80(� �+(,' �$-( �

� ����� �� 9 �2/*2$- ��� �$4$ �+(,' �$-( �

� ����� �� 9 �2/*2$- ��� �$4$ �+(,' �$-( �

� ����� �� 9 �2/*2$- ��� �$4$ �+(,' �$-( �

� ����� �� 9 �$4$ �+(,' �$2$-(4(23 �� 9 ������� �����# �

� ����� �� 9 �2/*2$- ��� �$2$-(4(2 �(15(.&( �

� ����� �� 9 �2/*2$- ��� �+(,' �$-( �

� ����� �� 9 �2/*2$- ��� �+(,' �$-(� �+,( �$-( �

Page 540: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

A8.1 (01/98)A–6

�� ���� � �� ������ ������� �

������ �� : �31*3$/ ��� �$5$ �5(/ �

����� �651/$5,& �&&1605,0* �04536&5,10 �$3$/(5(34 �

����� �3,05 �10531. �$3$/(5(34 �

���� �2(3$5,10 �1'( 51 �1*,& �1'6.( "��() #

����� 4(3 �(),0(' �31&('63(4 �

����� 4(3 �(),0(' �31&('63(4 �(5$,. �

����� 4(3 �(),0(' �31&('63(4 !13- �,(.' �(),0,5,10 �

����� 4(3 �(),0(' �0539 �1,05 �(),0,5,10 �

����� �(9 �,45 �,.( �$,05(0$0&( #

���� 0$55(0'(' �2(3$5,104 �&+('6.,0* �$45(3 �

������ �� : �945(/� �*/ ��� �,%3$39� 4(3 �

������ �� : �*/ ��� �,%3$39� 4(3 �

������ �� : �,%3$39� �*/ ��� 4(3 �

������ �� : 4(3� �*/ ��� �,%3$39 �

������ �� : �8(&65,10 �$5(� �8(&65,10 �,/( �

����� �60&5,10 �(9 �3$04.$5,10 �$45(3 #

������ �60&5,10 �(9 �(),0,5,104 : �.5(30$5( �$0*6$*( �(4& #

����� �60&5,10 �(9 �3$04.$5,10 �(5$,. #

������� �� : �60&5,10 �(9 �,(.' �$/(� �&3((0 �$/( �

����� �60&5,10 �(9 �(&63,59 �

������� �� : �60&5,10 �(9 �(&63,59 �

����� �63413 �(04,5,7( �10531. �$45(3 #

������� �� : �,.(� �,(.'� $0' �13/$5 �

������� �� : �,.(� �13/$5� $0' �,(.' �

����� �63413 �10531. �13/$5 �$45(3 �$,05(0$0&( #

������� �� : �9 �13/$54 �

����� ��� ��� �0)13/$5,10 �$45(3 �,.( #

�� ���� �(.2 �04536&5,104 �$45(3 �,.( #

�� ����� �� : �(.2 �04536&5,104 �$45(3 �,.( �

�� ��# �$5$ �,&5,10$39 ��,(.' �()(3(0&(� #

Page 541: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Appendix A - Common & Production Library Files

A8.1 (01/98) A–7

�� ���� � �� ������ ������� �

����� �0.118�&'&0&-$& �&+"2*.-1)*/1 �

������� �� 8 �0.118�&'&0&-$& �&+"2*.-1)*/1 �

������� �� 8 �0.118�&'&0&-$& �&+"2*.-1)*/1 �

������� �� 8 �0.118�&'&0&-$& �&+"2*.-1)*/1 �

������� �� 8 �0.118�&'&0&-$& �&+"2*.-1)*/1 �

����� �0.118�&'&0&-$& �*+& �-'.0,"2*.- �

������� �� 8 �0.118�&'&0&-$& �&+"2*.-1)*/1 �

������� �� 8 �0.118�&'&0&-$& �&+"2*.-1)*/1 �

������� �� 8 �0.118�&'&0&-$& �&+"2*.-1)*/1 �

���� �0.118�0.(0", �*&+% �-'.0,"2*.- �

������ �� 8 �0.118�&'&0&-$& �0.(0", �*&+% �-'.0,"2*.- �

������ �� 8 �0.118�&'&0&-$& �0.(0", �*&+% �-'.0,"2*.- �

������ �� 8 �0.118�&'&0&-$& �0.(0", �*&+% �-'.0,"2*.- �

����� ���� �0.'*+&1 �*+& �

���� �.'25"0& &01*.-1 �&/.1*2.07 �"12&0 !

������ �� 8 �&,#&0 �� ������ ����� �

����� �� 8 �3-$2*.-"+ �1"(&��712&,��3-$2*.-��&,#&0 �� �

������ �� 8 �3230& �+"--*-( 8 �.'25"0& �-4&-2.07 �"12&0 �

������ �� 8 �3-$2*.-"+ �1"(&��712&,��3-$2*.-��&,#&0 �� �

������ �.'25"0& �-4&-2.07 �"12&0 �.(*$"+8�71� �"1&� ��� �

������ �� 8 �3-$2*.- �.%&� �&,#&0 �� �

������ �� 8 �*+& �0&'*6� �&,#&0 �� �

������ �� 8 �3-$2*.- �.%&� �712&, �.%&� �&,#&0 �� �

������ �� 8 �&,#&0 �� �

������ �� 8 �&,#&0 �3''*6� �&,#&0 �� �

������ �� 8 �&/.02*-( �712&,� �&,#&0 �3''*6� �&,#&0 �� �

������ �� 8 �&,#&0 �� ��712&, �.%&�� #72&1� �

����� � � �&,#&0 �"2&(.07 �.%&1 �

���� � � �&,#&0 �"0,��&7 �*12 �

���� �.'25"0& &01*.-1 �&/.1*2.07 �&2"*+ !

Page 542: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

A8.1 (01/98)A–8

�� ���� � �� ������ ������� �

������ �� ? #�"���� �

������ �� ? %,67/32�$=4, �

��� 6/28,6 �/0, �6,(8/32 (6(1,8,67 '

��� ",4368 &6/8,6 �31)/2,+ %,67/327 �/78 '

���� �(8( �/*8/32(6= �,2,6/* $,<8 �/0, �

����� �(8( �/*8/32(6= �,2,6/* $,<8 �,= �2+,< �/0, �

������� �� �,2,6/* $,<8 �,= �2+,< �/0, ? �� )= �,= #,6/(0 �91 �

���� ",4368 &6/8,6 %,67/32 #,0,*8/32 �,-/2/8/32 '

���� �"��� &6/8,6 �(78,6 (6(1,8,6 '

������ �� ? ",*36+ $=4,� 63.6(1� %,67/32 (2+ #,59,2*, �3 �

������ �� ? 63.6(1 ��� %,67/32� $=4,� 63148 �/2, ? &/2+3; �

������ �� ? 63.6(1 ��� %,67/32� �48/32 � �

������ �� ? �,= 32 �361 �+ � �0+�(1, �

����� �"��� &6/8,6 ? 63*,77/2. �48/327 ��(2.9(., 6,-� '

������� �"��� &6/8,6 ? 63*,77/2. �48/327 ��(2.9(., 6,-� '

����� �"��� &6/8,6 ? %,67/32 �,(+/2.7 ��(2.9(., 6,-� '

���� �"��� &6/8,6 %(09,7 (6(1,8,6 '

���� �"��� &6/8,6 ? �,(+/2.7 �/0, '

����� �"��� &6/8,6 ? 6/28,6 �:,66/+,7 '

��� �/(03.9, �,7*6/48/32 �(78,6 '

��� �� �� ? �/(03.9, $=4,� �,1),6� �(8( �8,1 �

��� �� �� ? �(8( �8,1� �,1),6 �� �

��� �/(03.9, !9,78/32 �(78,6 '

��� �/(03.9, !9,78/32 ",74327,7 '

��� �� �� ? �,=7� �/+� �8(/� �<87 �

��� � �/(03.9, ���#$ ",74327,7 '

��� � !9/> �/7836= �(78,6 �

��� � !9/> �/7836= �,8(/0 �

Page 543: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Appendix A - Common & Production Library Files

A8.1 (01/98) A–9

Chart C - Physical and Logical Files Created in Production Library withData

!-* +2//2:.1, (-&57 6-2:6 7-* 3-<6.(&/ &1) 7-* /2,.(&/ +./*6 7-&7 :*5* (5*&7*) .1�52)8(7.21 �.'5&5< :.7- )&7&� �2,.(&/ +./*6 (217&.1 12 )&7&� 7-*5*+25* )&7& (23.*).6 ��

�� ���� �� ������� � � �� ����

����� �*1*5&/ �2167&176 %

���� �203&1< �2167&176 %

��� �8720&7.( �((2817.1, �16758(7.216 �&67*5 %

����� �� = *48*1(* �2�� �7*0 �2�� �203&1< �

����� �� = <67*0� *48*1(* �2�� �7*0 �2�� �20 �

��� �&<52// �<(/* #*56.21 �./* %

������ �&<52// �5(-.9* #*56.21 �./* %

����� $= �8).7 �*3257 �./* %

������� $= �8).7 �*3257 �./* �9*56� %

������ !&; �5*& �2167&17 %

������� �� = !&; �5*& �2)* �

������� �� = !&; �5*& �2)* �

������� �� = 7&78725< �2)*� !&; !<3* �

������ !&'/* "1.7 2+ �*&685* �./* %

����� !&; �&<0*17 (-*)8/* �./* %

������ !�� = �2.1 +250&7 +./* +25 �� � �� %

� � �523*57< �&1&,*0*17 �2167&176 %

����� �1*5,< �2167&176 �*9.6.216 %

����� �17*5*67 !<3* �2167&176 %

������ �52)8(7 �2)*6 �2167&176 %

������ �*9*18*��52) !5&16 !<3 �2167&176 %

����� $�! �1+/&7.21 �&(725 �2167&176 %

����� !&; &1) �*)8(7.21 �52+./* �2167&176 %

������ !&; �&7*6 �2167&176 %

������� �� = !&; �2)*� �++*(7.9* �&7* �

Page 544: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

A8.1 (01/98)A–10

�� ���� � �� ������ ������� �

������� �,*%*.( �$",& �"7 �"4&3 �/.34".43 !

����� �&'"5,4 �2*.4 �5&5&3 !

������ �5#3834&- �/.42/, �"2"-&4&23 !

����� �*342*#54*/.��".5'"$452*.( 9 � �"34&2 �*,& !

����� �"4&(/28 �/%& �&8 �/3*4*/. �*,& !

������ /2+ �2%&2 �500,&-&.4", �"4" �80&3 !

����� 6"*,"#,& �"4" �4&-3 !

������ 6"*,"#,& �"4" �4&-3 !

������� 6"*,"#,& �"4" �4&-3 !

���� �&42*&6", �/%& �&'*.*4*/. !

����� �.15*28 �/,5-.3 !

����� �.15*28 �/2-"43 !

����� �.15*28 �"4)3 !

������ /2,% 2*4&2 �5,4*9�522&.$8 �*,& !

������ �5&28 �&"%&2 �*,& !

������ �5&28 �"4" �*,& �&,&$4*/.3 !

������ �5&28 �"4" �*,& �/*. �*&,%3 !

������ �5&28 �54054 �2*.4 �*&,%3 !

������ �5&28 �54054 �2*.4 �*&,% �",$5,"4*/.3 !

������ �5&28 �"4" �&,&$4*/. �*&,%3 !

����� �5&28 �"4" �&,&$4*/. �",5&3 !

����� �5&28 �/24 �*&,%3 !

������ �5&28 �*&,% �5--"28 �5.$4*/.3 !

������ �5&28 �*,& �0%"4& �0&$*'*$"4*/.3 !

Page 545: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (01/98) B–1

Appendix B - Upgrading Customized Source Code

��� �&�!�" �!�%���" (�$ ����"" #� "�%�!�� ���������#�!( �!��$�#"� �� (�$��%� �$"#���)�� ��� �&�!�" "�$!�� ����� #�� �����&��� �!��$�#" &��� ���� (�$$��!��� (�$! "�$!�� �����

S/Compare

%�!���� �������!� �" � %��$���� ��� $"�� #��

� ����#��( �����!����" ��#&��� ��( #&� �!��!��"

� �������( #�� #�"� �� ���$���#��� �!��!�� ������"

� �������( #�� #�"� �� ���"�����#��� (�$! �$"#�� ������" ��#� ��& !����"�"

�� �!��!��"

� ����#��( �����!����" ��#&��� #�� ����" �� #�� �!��!��" �� #&� �����!��#

����" #� $����( ����#� ����� �! ����#�� �!��!��" �� #�� ��& !����"�

��� �������!� $#���#( �" "����������( ��"����� #� �����!� #&� %�!"���" �� "�$!������� �# &��� ����#� ��"�!#��� ����#��� �������� �! ��%�� !���!�" �� � "�$!���!��!��� �!���""��� ��#���" �!� �!�%���� #� ����$�� �! �'��$�� ������# ����"������ ����"� ��� ��!��##��� �����!����"� �������!��" �$#�$# ����!�( ����#����"�����!����" ��#&��� #&� "�$!�� �����!" �� � �����"�#� ��"# �� ��#� �!��!��"��� ��#��� ����&" #�� !���!�" #��# �!� #�� "��� �� #�� �!��!��" #� �� ���##���!�� #�� ��"#��� #� �!��$�� � !���!# �� ���( #�� �����!����" ��#&��� #�� ����"����" ��#��� ��"� ����&" � ��%�� �$���! �� ��#����� !���!�" �� ���� "��� �� ���"��#�� #� �� ��"#�� #� ���� �� ����#��(��� #�� "��#��� �� "�$!�� �����

Page 546: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

A8.1 (01/98)B–2

Features of S/Compare

���� �� ��� ���� ��� ��� ������������ �� ��������� ����

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

�� ���������� ���� ��!� ���� ��������� �������� �� ��!���

� ������� ���� ��� ��!�� ���� ��� �������� �� ��� �������� ���� �� ������� ��

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

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

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

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

�� ���� ��������

� ���� �� � ���������� ������ ���� ��� ��������� ���������� ����� �������

���� �� �� ������� ���"��� "�����

Page 547: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Appendix B - Upgrading Customized Source Code

A8.1 (01/98) B–3

Harmonizer

��*&('#2�* ���+ ,( ,"� ��)��#%#,#�+ ( ��(&)�*� �1 �%%(/#'! ,"� �(&)�*#+(' ( � ,( �� )*(!*�& .�*+#('+� �#$� ��(&)�*�� ,"� �(&)�*#+(' *�+-%,+ �*� /*#,,�' #'� (*&�, ,"�, �%��*%1 ��)#�,+ ,"� �# �*�'��+ ��,/��' +(-*�� &�&��*+� �'���#,#('� ��*&('#2�* "�+ ,"� ��)��#%#,1 ( &�*!#'! )*(!*�& .�*+#('+ ,( !�'�*�,�� �(&)(+#,� +(-*�� &�&��*� �(- ��' �(',*(% /"�, #+ /*#,,�' ,( ,"� �(&)(+#,�+(-*�� &�&��* /"�' )(,�',#�% �(' %#�,+ �*� (-'��

Features and Capabilities of Harmonizer

�(&� ( ,"� ��,-*�+ �'� ��)��#%#,#�+ ( ��*&('#2�* �*��

� �"� �(&)�*#+(' ( � ,( �� .�*+#('+ ( � )*(!*�&�

� �/( *�)(*, (*&�,+ �*� �.�#%��%�� �"� �����3(&)�*� *�)(*, �(&)�*�+ �

,( �� )*(!*�&+� �"� ���3(&)�*� *�)(*, #+ +)��# #��%%1 ��+#!'�� (* �)*(!*�&+�

� �,�,�&�',+ *(& ,"� (*#!#'�% #%� ,"�, "�.� ���' *�)%����� #'+�*,��� (*

��%�,�� �*� '(,�� (' ,"� �(&)�*#+(' *�)(*,+�

� %% ( ,"� ��,-*�+ ( ��(&)�*� �*� +-))(*,�� �1 ��*&('#2�* /"�' �

)*(!*�&+ �*� ��#'! �(&)�*��� �0��), ,"� �*��,#(' ( �' ��#, )*(!*�&/"#�" "�+ ���' *�)%���� �1 ,"� �*��,#(' � �(&)(+#,� (-,)-, )*(!*�&�

� �"� �(&)(+#,� )*(!*�& &�1 �� �(&)#%�� #&&��#�,�%1 (* #, &�1 ��

��#,��� �"� ��&)��#, -,#%#,1 ��' �� -+�� ,( *�&(.� +)��# #�� �(�� #' ,"��(&)(+#,� )*(!*�&�

� �"� ��������� �(&&�'� ��' �� -+�� ,( �0��-,� ��(&)�*� �'�

��*&('#2�* &�$#'! ,"� -,#%#,#�+ ��+#�* ,( -+��

Harmonizer Added to S/Compare

� �(- ��' #'�(*)(*�,� 1(-* )*(!*�& �"�'!�+ #',( '�/ *�%��+�+ ��+#�*�

��*&('#2�* ��' �(&)�*� ,"� ���� ��/�*�+ (*#!#'�% )*(!*�&� ,"� ������/�*�+ '�/ *�%��+�� �'� 1(-* �-+,(&#2�� )*(!*�& ,( )*(�-�� ��(&)(+#,� +(-*�� #%� �'� � �(&)(+#,� *�)(*,� �"� �(&)(+#,� *�)(*,'(,# #�+ 1(- ( �#+�*�)�'�#�+ #' ,"� *�)%���&�',� #'+�*,#('� (* ��%�,#(' ( �(���

� �"� �(-*�� #%� �1'()+#+ *�)(*, )*(�-��+ � �(&)�*#+(' ( ,"� )*(!*�&

'�&�+ #' ,"� ���� ��/�*�+ (*#!#'�% +(-*�� #%��,"� ���� ��/�*�+ '�/+(-*�� #%�� �'� 1(-* +(-*�� #%� ,( ��,�*&#'� �'1 ���#,#('+ (* ��%�,#('+ ( )*(!*�&+�

� �(- ��' &�*!� ,"� ��.�%()&�', /(*$ ( +�.�*�% )*(!*�&&�*+ /(*$#'! ('

,"� +�&� )*(!*�&�

Page 548: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

A8.1 (01/98)B–4

About Harmonizer Plus

��(#%$�0�( �"+) ���) *% *�� ��&���"�*��) %� ���%#&�(� �$� ��(#%$�0�( �/��"&�$� /%+ #�$��� *�� �� � &(%��)) %� �+�"��$� � $�- )%�*-�(� (�"��)��

About the Project Manager Feature

��� �(% ��* ��$���( ���*+(� -�"" ��)&"�/ �$ +&1*%1*��1#�$+*� )*�*+) %� �,�(/&(%�(�# �$ /%+( +&�(��� &(% ��*� * )�%-)�

� ����� #�(��� %� ��*) $��� � &(%�(�##�( (�,��- �+� *% �%$�"��*)

��*-��$ "%��" ���$��) �$� ,�$�%( ���$��)�

� �%������ %� ��*) *��* �(� �"(���/ �(��*�� �$� %$�) *��* $��� *% �� �(��*���

� �� ��*) *��* �(� (���/ �%( &(%�+�*�%$�

� �$#%������ %� ��*) *��* #+)* �� (��(��*�� ����+)� *��/ �(� ��&�$��$* %$

#%������ %� ��*)�

� �� ��*) *��* #+)* �� &(�)�$* ���%(� *�� %� ��* /%+ �(� -%(!�$� -�*� ��$

�� �(��*���

Additional Functions

��(#%$�0�( �"+) &(%,���) � -%(!��$�� �%( &(%�(�##�() *% &�(�%(# � ,�(��*/ %��+$�*�%$)� ��,�$ *�� &(%&�( �+*�%(�*/� � &(%�(�##�( ��$�

� ��(��*"/ ����)) �� �%( ���*�$� &(%�(�#)�

� ��)) �%#&�"� �$*�(� �(%+&) %� &(%�(�#)�

� ��"��*�,�"/ �%#&�"� �$��,��+�" &(%�(�#)�

� ��"��*�,�"/ �(��*� �"" %� ��*) ��&�$��$* %$ � #%������ %� ��*�

� ��� %( ��"�*� &(%�(�#) �(%# *�� $�- &(%�+�*�%$ ,�()�%$�

��(#%$�0�( �"+) ���$*����) +$���$��� #%�+"�) *��* #+)* �� (��%#&�"�� �+� *%���$��) �$ &(�(�'+�)�*� %� ��*)� %( �.�#&"�� �� /%+ ��,� #%������ ������(#%$�0�( �"+) ��$ ���$*��/ &(%�(�#) *��* (���(�$�� *�� (�"�*�� ��"�)� * ��$*��$ (��%#&�"� *�%)� &(%�(�#)� �"" /%+ $��� *% �% �) *�)* �$� #%,� *�� $�-"��(�(��) �$*% &(%�+�*�%$�

Page 549: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

A8.1 (01/98) C–1

Appendix C - CL Models

J98MODEL1 - Interactive Video

9801 Software Versions Repository Action Code. . . I Member ID. . . . J98MODEL1 Description. . . Model CL Program – Interactive Video Function Code. . CLP CL Programs Function Use . . 198 Model Source Member System Code. . . 98 Technical Tools Reporting System 98 Technical Tools Base Member Name J98MODEL1 File Prefix. . . Maint/RSTDSP . . Omit Option. . . O Generation Sev . Copy Data (Y/N). N Optional File. . N Common File. . . N O Source Object Source SAR Version S D User Date P Library Library File Number ID C P ID Modified JDFSRC73 JDFOBJ73 JDESRC 981283 A73 1 BECK 07/07/95 Opt: 1=Browse 2=Edit 3=Copy 5=SAR 8=Print 9=Dlt 10=Design 14=Crt

Page 550: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

A8.1 (01/98)C–2

J98MODEL2 - Batch DREAM Writer without Printer File

9801 Software Versions Repository Action Code. . . I Member ID. . . . J98MODEL2 Description. . . Model CL Program – Batch DREAM Writer without Printer File Function Code. . CLP CL Programs Function Use . . 198 Model Source Member System Code. . . 98 Technical Tools Reporting System 98 Technical Tools Base Member Name J98MODEL2 File Prefix. . . Maint/RSTDSP . . Omit Option. . . O Generation Sev . Copy Data (Y/N). N Optional File. . N Common File. . . N O Source Object Source SAR Version S D User Date P Library Library File Number ID C P ID Modified JDFSRC73 JDFOBJ73 JDESRC 867923 A73 1 BECK 07/07/95 Opt: 1=Browse 2=Edit 3=Copy 5=SAR 8=Print 9=Dlt 10=Design 14=Crt

J98MODEL3 - Interactive Video Prompt

9801 Software Versions Repository Action Code. . . I Member ID. . . . J98MODEL3 Description. . . Model CL Program – Interactive Video Prompt Function Code. . CLP CL Programs Function Use . . 198 Model Source Member System Code. . . 98 Technical Tools Reporting System 98 Technical Tools Base Member Name J98MODEL3 File Prefix. . . Maint/RSTDSP . . Omit Option. . . O Generation Sev . Copy Data (Y/N). N Optional File. . N Common File. . . N O Source Object Source SAR Version S D User Date P Library Library File Number ID C P ID Modified JDFSRC73 JDFOBJ73 JDESRC 867923 A73 1 BECK 07/07/95 Opt: 1=Browse 2=Edit 3=Copy 5=SAR 8=Print 9=Dlt 10=Design 14=Crt

Page 551: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Appendix C - CL Models

A8.1 (01/98) C–3

J98MODEL4 – Interactive/Batch with Processing Options

9801 Software Versions Repository Action Code. . . I Member ID. . . . J98MODEL4 Description. . . Model CL Program – Interactive/Batch with Processing Options Function Code. . CLP CL Programs Function Use . . 198 Model Source Member System Code. . . 98 Technical Tools Reporting System 98 Technical Tools Base Member Name J98MODEL4 File Prefix. . . Maint/RSTDSP . . Omit Option. . . O Generation Sev . Copy Data (Y/N). N Optional File. . N Common File. . . N O Source Object Source SAR Version S D User Date P Library Library File Number ID C P ID Modified JDFSRC73 JDFOBJ73 JDESRC 867923 A73 1 BECK 07/07/95 Opt: 1=Browse 2=Edit 3=Copy 5=SAR 8=Print 9=Dlt 10=Design 14=Crt

J98MODEL5 – Batch Report Writer – No DDS File

9801 Software Versions Repository Action Code. . . I Member ID. . . . J98MODEL5 Description. . . Model CL Program – Batch Report Writer – No DDS File Function Code. . CLP CL Programs Function Use . . 198 Model Source Member System Code. . . 98 Technical Tools Reporting System 98 Technical Tools Base Member Name J98MODEL5 File Prefix. . . Maint/RSTDSP . . Omit Option. . . O Generation Sev . Copy Data (Y/N). N Optional File. . N Common File. . . N O Source Object Source SAR Version S D User Date P Library Library File Number ID C P ID Modified JDFSRC73 JDFOBJ73 JDESRC 867923 A73 1 BECK 07/07/95 Opt: 1=Browse 2=Edit 3=Copy 5=SAR 8=Print 9=Dlt 10=Design 14=Crt

Page 552: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

A8.1 (01/98)C–4

J98MODEL6 – Batch Report Writer OPNQRYF

9801 Software Versions Repository Action Code. . . I Member ID. . . . J98MODEL6 Description. . . Model CL Program – Batch Report Writer OPNQRYF Function Code. . CLP CL Programs Function Use . . 198 Model Source Member System Code. . . 98 Technical Tools Reporting System 98 Technical Tools Base Member Name J98MODEL6 File Prefix. . . Maint/RSTDSP . . Omit Option. . . O Generation Sev . Copy Data (Y/N). N Optional File. . N Common File. . . N O Source Object Source SAR Version S D User Date P Library Library File Number ID C P ID Modified JDFSRC73 JDFOBJ73 JDESRC 867923 A73 1 BECK 07/07/95 Opt: 1=Browse 2=Edit 3=Copy 5=SAR 8=Print 9=Dlt 10=Design 14=Crt

J98MODEL7 – Batch Report Writer OPNQRYF w/OQF Reset

9801 Software Versions Repository Action Code. . . I Member ID. . . . J98MODEL7 Description. . . Model CL Program – Batch Report Writer OPNQRYF w/OQF Reset Function Code. . CLP CL Programs Function Use . . 198 Model Source Member System Code. . . 98 Technical Tools Reporting System 98 Technical Tools Base Member Name J98MODEL7 File Prefix. . . Maint/RSTDSP . . Omit Option. . . O Generation Sev . Copy Data (Y/N). N Optional File. . N Common File. . . N O Source Object Source SAR Version S D User Date P Library Library File Number ID C P ID Modified JDFSRC73 JDFOBJ73 JDESRC 867923 A73 1 BECK 07/07/95 Opt: 1=Browse 2=Edit 3=Copy 5=SAR 8=Print 9=Dlt 10=Design 14=Crt

Page 553: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Appendix C - CL Models

A8.1 (01/98) C–5

J98MODEL8 – Control File Driven Batch Process

9801 Software Versions Repository Action Code. . . I Member ID. . . . J98MODEL8 Description. . . Model CL Program – Control File Driven Batch Process Function Code. . CLP CL Programs Function Use . . 198 Model Source Member System Code. . . 98 Technical Tools Reporting System 98 Technical Tools Base Member Name J98MODEL8 File Prefix. . . Maint/RSTDSP . . Omit Option. . . O Generation Sev . Copy Data (Y/N). N Optional File. . N Common File. . . N O Source Object Source SAR Version S D User Date P Library Library File Number ID C P ID Modified JDFSRC73 JDFOBJ73 JDESRC 867923 A73 1 BECK 07/07/95 Opt: 1=Browse 2=Edit 3=Copy 5=SAR 8=Print 9=Dlt 10=Design 14=Crt

Page 554: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

A8.1 (01/98)C–6

Page 555: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Glossary

Page 556: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

6–8 A8.1 (8/97)

Page 557: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

g–1Release A7.3 (June 1996)

Glossary

�#$. "'*..�-4 � !$) . / -(. $) /# �*)/ 3/ *!

4*0- 0. *! ���� ��2�-�. .4./ (. �)� /#

���*(+�)4$)" 0. - "0$� �

���$� 0/*(�/$� ��*0)/$)"

�)./-0�/$*).�

�������$�* " / /* /# $)!*-(�/$*) *-

!0)�/$*). +-*1$� � �4 /# .4./ ( /#-*0"#

( )0.� .�- ).� �)� - +*-/.�

����!��# ��!����$�# ��/$1$/4 ' 1 ' *! �

./*-�" +**' $. /# )0(� - *! %*�. /#�/ ��)

-0) �/ /# .�( /$( $) � ./*-�" +**'� �#

(��#$) (�)�" . /# �*)/-*' *! /#$. ' 1 '�

�!/ ) �0-$)" +-*� ..$)" $) � %*�� � +-*"-�(

2�$/. !*- � .4./ ( - .*0-� *- � - .+*).

!-*( � 2*-& ./�/$*) 0. -� �0-$)" .0�# 2�$/.�

� %*� "$1 . 0+ $/. 0. *! /# ./*-�" +**'. $)

*-� - /#�/ �)*/# - %*� /#�/ $. - ��4 /* �

+-*� .. � ��) /�& $/. +'�� �

��� �#����$ ++'$��/$*) � 1 '*+( )/

�4�' �

��!����� ��������� �#�����$ .$)"'

$)/ "-�/ � *+ -�/$)" .4./ ( 2#$�# �*)/�$).�

- '�/$*)�' ��/���. � �$.+'�4 (�)�" -�

./*-�" (�)�" -� �*((0)$��/$*) (�)�" -�

2*-& (�)�" -� . �0-$/4 (�)�" - �)� */# -

(�)�" -.�

���$ -�#$/ �/0-�'� �)"$) -$)" �)�

�*)./-0�/$*) "-*0+�

���������� ������$�! /# .4./ ( ��))*/

�''*��/ �'' /# - ,0 ./ � ./*-�" � $/

�''*��/ . �. (0�# ./*-�" �. $. �1�$'��' �)�

�''*��/ . �'' /# */# - �. ./*-�" � �*( .

�1�$'��' �

���������� ����������5� +- . )/. ��/� �4

0.$)" ' // -. �)� */# - .4(�*'. !-*( /#

& 4�*�-� �.0�# �. ����� �*)/-�./ 2$/#

������� � ������

������ ����� ����������5� +- . )/.

��/� $) � �*(�$)�/$*) *! ' // -.� )0(� -.�

�)� */# - .4(�*'. �.0�# �. �����

����5 ( -$��) ��/$*)�' �/�)��-�.

�)./$/0/ �

���"����$� ( (� - /# *)'$) �0��/$*)

.4./ ( *) /# ��� '' 4*0 ) � /*

- ( (� - $. /# �*((�)�� �� �������

� �5 ��*0)/. ��4��' �

� ��$ ++'$��/$*) �-*"-�( �-$1 -�

� �$ ) �++'$��/$*) +-*"-�(($)"

$)/ -!�� � .�-$� . /# ( �). �4 2#$�# �

+-*"-�(( - ��) ��� .. /# ! �/0- .

+-*1$� � �4 /# $)/ -!�� � *�% �/�

� ��$ �1�)� � �-*"-�( /* �-*"-�(

�*((0)$��/$*).�

������������$ �*'' �/$*) *! �*(+0/ -

+-*"-�(. /#�/ �''*2. 4*0 /* + -!*-(

.+ �$!$� �0.$) .. /�.&.� �*( 3�(+' . *!

�++'$��/$*). �- ���*0)/. +�4��' �

$)1 )/*-4� �)� *-� - +-*� ..$)"�

�4)*)4(*0. 2$/# �������

� ��$ �1�)� � � -6/*6� -

� /2*-&$)"�

�������$ ++'$��/$*) �4./ (��

������ �������$ ) ��� 2*-� +-*� ..$)"

+-*"-�(�

����$ ( -$��) �/�)��-� �*� !*-

�)!*-(�/$*) �)/ -�#�)" �

�� ��$ 03$'$�-4 �/*-�" �**'.�

������ ����$�* - "�-� �. � '*)"$)"�

������ �� �#���$�$-./ �#�-��/ - *) � �$.+'�4

!$ '�� �#$. �#�-��/ - �*)/-*'. #*2 /# !$ '�

$. �$.+'�4 ��

� ��� ������$�# � /�$' �� 1 -$!$��' #$./*-4

*! � +-*� .. � /-�).��/$*)� �# #$./*-4

�*).$./. *! /# *-$"$)�' �*�0( )/.�

/-�).��/$*) )/-$ .� �)� +*./$)" *! - �*-�.�

�)� 0.0�''4 �*)�'0� . 2$/# � - +*-/�

� ������#�$�# -$"#/ /* �* .*( /#$)" *)

/# .4./ ( *- /* 0. �) *�% �/ $) /#

.4./ (� .0�# �. � !$' *- � +-*"-�(�

Page 558: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

g–2 Release A7.3 (June 1996)

�%$ ��$�� ��� %�$��� ��#$"%�$� �

������(� �)�� ."�. *)#(.- .) �( ���)/(. #(

."� �"�,. ) ���)/(.-� ���- �� #(� ,/&�- ),

*,)!,�'- ."�. �/.)'�.#��&&3 !�(�,�.�

$)/,(�& �(.,#�-� �"#- #(�&/��- #(.�, ���-

��.1��( ���)/(.- ��3��&�� ���)/(.-

����#0��&�� �(� #(�(�#�& ��*),.#(! �(� ."�

��(�,�& ���)/(.#(! -3-.�'� ���" -3-.�'

."�. #(.�, ���- 1#." ."� ��(�,�& ���)/(.#(!

-3-.�' "�- ���-� ), �2�'*&�� ���- ��(

�#,��. ."� �)-. .) ��(�,�& ���!�, *,)!,�'

.) *)-. � ���#. .) � ��,.�#( �2*�(-� ���)/(.

�(� �( �/.)'�.#� �,��#. .) � ��,.�#(

���)/(.- *�3��&� ���)/(.�

�%$ #$�"$ � � ��$"&�7� $)� #-

�/.)'�.#��&&3 -.�,.�� ���" .#'� ."�

-/�-3-.�' #- -.�,.���

����7�,�� �,�#(#(! )),�#(�.),�

���7���)/(.- ����#0��&��

����%! � !&�7� �)*3 ) ),#!#(�& ��.�

*,�-�,0�� )( � '�!(�.#� .�*� ), �#-%�..� �-

*,).��.#)( �!�#(-. ��-.,/�.#)( ), &)--�

�� ��(�**,)0�� /�!�. #�&�

��-�,#*.#)(�

������(�!#((�,- �**&#��.#)( �) .1�,�

�(.,)�/�.#)( &�--�

��$���7� !,)/* ) &#%� ,��),�- ),

.,�(-��.#)(- ."�. ."� �)'*/.�, .,��.- �- �

-#(!&� /(#. �/,#(! *,)��--#(!� ),

#��(.# #��.#)( */,*)-�-� ."� -3-.�' /-/�&&3

�--#!(- ���" ��.�" � /(#+/� #��(.# #�,�

%()1( �- � 5��.�" (/'��,��

��$�� �����"�7�( ),'�.#)( ."� �)'*/.�,

/-�- �- #��(.# #��.#)( �(� �)(.,)& ), �

!,)/* ) .,�(-��.#)(- ), ,��),�- #( � ��.�"�

��$��'� ��7� .�-% ), !,)/* ) .�-%- 3)/

-/�'#. ), *,)��--#(! ."�. ."� -3-.�' .,��.-

�- � -#(!&� /(#. �/,#(! *,)��--#(!� ),

�2�'*&�� *,#(.#(! ,�*),.- �(� */,!#(! #&�-�

�"� �)'*/.�, *�, ),'- ."�-� .�-%- 1#."

&#..&� ), () /-�, #(.�,��.#)(�

��$�� !" ��##����7� '�.")� �3 1"#�"

."� �)'*/.�, -�&��.- $)�- ,)' ."� $)�

+/�/�� *,)��--�- ."�'� �(� 1,#.�- )/.*/.

.) ."� )/.+/�/�� )(.,�-. 1#." �� ���� ���

���������

��$�� $&!��7� �)�� ."�. ��-#!(�.�- 1"#�"

���� ��1�,�- -3-.�' ."� �--)�#�.��

.,�(-��.#)(- *�,.�#( .)� ."/- �)(.,)&&#(!

1"�. ,��),�- �,� -�&��.�� ), *,)��--#(!�

), �2�'*&�� #( ."� �)-. ��(�,�& �)/,(�&

*,)��--� )(&3 /(*)-.�� .,�(-��.#)( ��.�"�-

1#." � ��.�" .3*� ) � ), ��(�,�&

���)/(.#(! �,� -�&��.�� ), *)-.#(!�

��$�( #(�,3 �#!#.� �#."�, � 4�,) ), � )(� �.

."� �� &�0�&�

� ���7 �#&�

� ���� � ��� !�"����7�( ���� ��1�,�-

����� �,#.�,� ."� *�,�'�.�, ) ."�

��&�.#)(-"#* #�&�� �"� ))&��( &)!#�

)*�,�(� .�&&- ."� -3-.�' .) *�, ),' �

'�."�'�.#��& ��&�/&�.#)( )( ��,.�#( ,��),�-

), *�,�'�.�,-� �0�#&��&� )*�,�(�- �,��

�� �6�+/�& �)

�� �6��-- �"�(

�� �6��-- �"�( ), �+/�& �)

�� �6�,��.�, �"�(

�� �6�,��.�, �"�( ), �+/�& �)

�� �6�). �+/�& �)

�� �6�). ��-- �"�(

�� �6�). �,��.�, �"�(

����(�,#!#(�&��!#((#(! /�!�. #�&�

� �� /�!�. ��..�,( )���

����7��+/�-.�� /�!�. #�&�

��-�,#*.#)(�

����7�&�(�� �"��.�

�%���"�(� ,�-�,0�� '�'),3 �,�� /-�� ),

*�, ),'#(! #(*/.�)/.*/. )*�,�.#)(-�

�%#���## %��$�( ),'�,&3 �)-. ��(.�,�

��������7�� �,- .) ."� /-� ) � .��"(#+/�

.) &)��&&3 -.),� ."� ,�-/&.- ) #(*/. �(�

)/.*/. )*�,�.#)(- .) '#(#'#4� ."� /-� )

-&)1�, ����--�- .) �#-% �,#0�- �(� )."�,

-.),�!� ��0#��-�

Page 559: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Glossary

g–3Release A7.3 (June 1996)

��������'�-+.32#0 �11'12#" �#1'%,

�-+.32#0 �11'12#" �0-%0�++',% � 1#2 -$

�32-+�2#" .0-%0�++',% 2--*1 $-0 "#1'%,',%

�," "#4#*-.',% �..*'!�2'-,1 �&#1# 2--*1

�32-+�2# 1712#+ "#1'%,� %#,#0�2# 1-30!#

!-"# �," "-!3+#,2�2'-,� #,$-0!# "#1'%,

12�,"�0"1� �," &#*. 2- #,130# !-,1'12#,!7

2&0-3%&-32 �** �� �"5�0"1 1712#+1

��#���!& �����'�, 31#0 "#$',#" !-"#1� �

2#+.-0�07 2'2*# $-0 �, 3,"#$',#" !�2#%-07

�-0 #6�+.*#� '$ 7-3 �0# �""',% � !-"# 2&�2

"#1'%,�2#1 "'$$#0#,2 1�*#1 0#%'-,1� 7-3 !-3*"

!&�,%# ������ ��� � 2- ���� ������� �,"

"#$',# � ���12�� � ��#12�� � ��-02&�� �," �

��-32&� �1 2&# 4�*'" !-"#1 ��2#%-07 !-"#1

5#0# $-0+#0*7 ),-5, �1 ��������� ����

���'�-12 !#,2#0 ��� ����� � ��������

�����

�����������'�-12

�#,2#0� (#!2�3 1'"'�07 ��� �"5�0"1

�!!-3,2 �-"# �203!230#�

���!��#�!�9�,7 *#22#0� ,3+ #0� -0 -2&#0

17+ -* 2&�2 � !-+.32#0 !�, 0#�"� 50'2#� �,"

12-0#

���!��#�!� " ������'�#.0#1#,2�2'-, -$ "�2�

', 17+ -*1 2&�2 �0# ,#'2&#0 *#22#01 ,-0

,3+ #01 �-+# #6�+.*#1 �0#� ���

�����9�0�87 �-%'! �,*7 �#0"1 �,(-7

��*" 2#0+ $-0 2&# �0-%0�+ �#,#0�2-0�

������'�-++-, 31',#11 �0'#,2#"

��,%3�%#

���$���'��� ����

��������9� !&�0�!2#0� 5-0"� .&0�1#� -0

!-+ ',�2'-, -$ )#71 7-3 31# 2- 2#** 2&#

!-+.32#0 2- .#0$-0+ � "#$',#" �!2'4'27

��� ����9�- !&�,%# 1-30!# !-"# ',2-

!-+.32#0 0#�"� *# !-"#

���"#��#"�9��0�+#2#01 -0 !-"#1 2&�2 0�0#*7

!&�,%# �&# !-+.32#0 31#1 !-,12�,21 2-

12�,"�0"'8# ',$-0+�2'-, .0-!#11',% 7 �,

�11-!'�2#" 1712#+ �-+# #6�+.*#1 -$

!-,12�,21 �0# �**-5',% -0 "'1�**-5',%

-32:-$: �*�,!# .-12',%1 �," &�4',% 2&#

1712#+ .#0$-0+ !300#,!7 !-,4#01'-,1 -, �**

�+-3,21 �,!# 7-3 1#2 !-,12�,21 13!& �1

2&#1#� 2&# 1712#+ $-**-51 2&#1# 03*#1 3,2'*

7-3 !&�,%# 2&# !-,12�,21

��!��9�&# !#,20�* �," $-3,"�2'-,�*

1712#+1 -$ �� �"5�0"1 1-$25�0#� ',!*3"',%

�#,#0�* �!!-3,2',%� �!!-3,21 ��7� *#�

�!!-3,21 �#!#'4� *#� �""0#11 --)�

�',�,!'�* �#.-02',%� �',�,!'�* �-"#*',% �,"

�**-!�2'-,1� �," �!) �$$'!# �-5 !�**#"

�',�,!'�*1

���'�-+.*#+#,2�07 �0-"3!21 �0-3.

����'��.�!'27 �#/3'0#+#,21 �*�,,',%

����9�-,$#0#,!# �--+ �'*-2 � 1'+3*�2'-,

-$ 2&# !*'#,2�1 31',#11 ', � !-,$#0#,!#

0--+ #,4'0-,+#,2

����9�-++-, �1#0 �!!#11 � ��1

1.#!'$'!�2'-, -$ � 31#0 ',2#0$�!# "#$','2'-,

�!0-11 �..*'!�2'-,1

�� � � 0#.0#1#,2�2'-, -$ !&�,%#1 2- ��

�"5�0"1 1-$25�0#� 5&'!& 7-30 -0%�,'8�2'-,

0#!#'4#1 -, +�%,#2'! 2�.#1 -0 "'1)#22#1

�$!!��# ���!�!&�'�.#!'$'#1 � 1',%*# *' 0�07

2&�2 '1 1#�0!&#" #$-0# �,7 -2&#0 31#0

*' 0�0'#1 ', 2&# *' 0�07 *'12 � !300#,2 *' 0�07

'1 -.2'-,�* �," !�, # "'$$#0#,2 $-0 #�!&

31#0 -0 (- �, "'1.*�71� 2&# !300#,2 *' 0�07

'1 0#.0#1#,2#" 7 2&# 4�*3# ������

�$!"�!�9�&# *',)',% 3,"#01!-0# -0

0#!2�,%*# -, 7-30 1!0##, 2&�2 ',"'!�2#1

5&#0# 2&# ,#62 )#7120-)# �..#�01

�$!"�! "��"�#�%� ��� 9�## ���� �����

��#��'�3+ #01� *#22#01� -0 17+ -*1 2&�2

0#.0#1#,2 $�!21� "#$','2'-,1� !-,"'2'-,1� �,"

1'23�2'-,1� 2&�2 � !-+.32#0 !�, 0#�"� 50'2#�

�," 12-0#

��#� �#���'� !-"# 5&'!& 0#.0#1#,21 �

$'#*"� $'*#� .0-%0�+� +#,3 +#11�%#� #00-0

+#11�%# -0 &#*. 2#62 12-0#" ', 2&# "�2�

"'!2'-,�07 ��!& .'#!# -$ ',$-0+�2'-, 5'2&',

2&# "�2� �1# '1 "#$',#" 7 � "�2� '2#+ ��2�

'2#+ ,�+# "#$','2'-, '1 *'+'2#" 2- $-30

!&�0�!2#01 ', 2&# �� �"5�0"1 1712#+1 2-

�**-5 $-0 .0-%0�+ +�,'.3*�2'-, -$ 2&# '2#+

Page 560: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

g–4 Release A7.3 (June 1996)

��"���!��5 �)(.$(/)/-&3 /*��. �

�)&& �.$)( )! �&& $(!),'�.$)( � -3-. ' /- -

�(� -.), -� �.���- - '�% $. *)--$�& .)

�, �. � -.), � $(� 2� �(� �,)--6, ! , (�

$(!),'�.$)( )(&$( �

��"� ��� ��"� �' *�.. ,( )! �$.-�

��"� ���"���� &�5 ��.���- !$&

�)(-$-.$(" )! .# � !$($.$)(-� -.,/�./, -� �(�

"/$� &$( - !), .# /-�" )! !$ &�-� ' --�" -�

�(� # &* . 2.� �# ��.� �$�.$)(�,3 !$& �) -

(). �)(.�$( .# ��./�& ��.� $.- &!�

��"� ������' �)&& �.$)( )! ��.� �#�,��. ,-�

��"� ��"�� �"&�'� ! ,- .) �# �%$(" .#

, &�.$)(-#$*- � .1 ( ��.� $. '- �!$ &�-�

�(� � $(" -/, .#�. 0�&/ - �),, &�.

�),, �.&3�

��"� $�����"����' . ,'$($(" $! ��.� $-

�),, �. 1# ( �)'*�, � .) � - . )!

�)(�$.$)(-�

����5 3(�'$� �.� �2�#�(" �

���' $-.,$�/. � �.� ��(�" ' (.�

����' $-.,$�/. � �.� �,)� --$("�

����5 �.� -�,$*.$)( �* �$!$��.$)(-�

����#�"�5 �)� � (/'� ,� ), *�,�' . , .#

-3-. ' -/**&$ - 1# ( 3)/ �) (). (. ,

)( � �), 2�'*& � $! �( $(*/. !$ &��- � !�/&.

$- � �(� .# 3)/ �) (). (. , -)' .#$(" $(

.#�. !$ &�� .# -3-. ' -/**&$ - �( ��

��!� ��"�$� "�"���5� ���� ������� �����

��"����'�# $(�$0$�/�& *$ � - )!

$(!),'�.$)( �(� ��.� .#�. '�% /* � , �),�

), .,�(-��.$)(� �)(.,�-. 1$.# ������

����' �.� �$& �.$&$.3� ( ��� *,)�/�.�

����5 �.� �(. ,�#�(" �),'�.�

��!���&�5��� �) ��/- .# �)'*/. , .)

-#)1 $(!),'�.$)( )( � . ,'$(�&�- -�, (� ���

-* �$!$� - . )! !$ &�- �(� $(!),'�.$)( .#�.

� �� � ��1�,�- -3-. ' '$"#. -#)1 )( �

-�, (� �)' -�, (- ��( -#)1 '), .#�(

)( �$-*&�3 1# ( 3)/ *, -- � -* �$!$ �

!/(�.$)( % 3�

��!���& ������5 !$ &� )! $(!),'�.$)( )( �

-�, ( .#�. �)(.�$(- � -3-. '6*,)0$� � �)�

), *�,�' . , .#�. 3)/ ��((). �#�(" �

�)(.,�-. 1$.# �� �� �����

���' $, �. � '),3 �� --�

���' ) �). �*, ���

����' $-% �* ,�.$(" �3-. '�

� �� � �"� �5 �.� � �),� �2.,��.$)(

(� ��(�" ' (. �,$. ,� !& 2$�& ��.�

'�($*/&�.), �(� ��.�&)"$(" .))&� �)/ /-

.#$- .))& .) - & �. �(� - +/ (� .# ��.�

.#�. $- .) �** �, )( � *,)",�'' � , *),.�

� ��' $-.,$�/.$)( � +/$, ' (.- �&�(($("�

�&������'�- �)(-.�(.&3 �#�("$("�

�����5 �.� /2$&$�,3 �.),�" 0$� �

����5�& �.,)($� �/-.)' , �/**),.�

���"�5��� �) '�% �#�(" - .) � !$& �3

���$("� �#�("$("� ), , ')0$(" $(!),'�.$)(�

��� �# *,)",�' !/(�.$)( )! #$"#&$"#.$("

!$ &�- $(.) 1#$�# 3)/ #�0 (. , �

$(�� +/�. ), $(�),, �. ��.��

����5�& �.,)($� �.� �(. ,�#�(" � �#

.,�(-'$--$)( )! �/-$( -- �)�/' (.- �')("

�)'*/. ,- )! $(� * (� (. ),"�($4�.$)(-�

����5�& �.,)($� �/(� �,�(-! ,�

����'�2 �/.$0 �(!),'�.$)( �3-. '�

���������" ��""� �' & .. , $� (.$!3$("

.# '/./�& /(� ,-.�(�$("- �(� $($.$�&

2* �.�.$)( )! .# �&$ (. �(� �� � ��1�,�-�

��$� �����"�'�# &$-. )! !$& - , +/$, � �3

� /- , .) * ,!),' � ,.�$( .�-%-� �),

2�'*& � � *,)",�'' , #�- ��� -- .) � . -.

(0$,)(' (. �(� �( (0$,)(' (. 1#$�#

$(�&/� - &$0 ��.�� ���# (0$,)(' (. /.$&$4 -

� �$!! , (. - . )! !$& -�

�%��#"��5� ����

�%�"�5��� �) $(. ,,/*. ), & �0 � �)'*/. ,

*,)",�' �3 *, --$(" � -* �$!$� % 3 ), �

- +/ (� )! % 3-� ��� ( )*.$)( ), !/(�.$)(

% 3 �$-*&�3 � )( � -�, ( .#�. �&&)1- 3)/

.) ��� -- �().# , -�, (�

Page 561: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Glossary

g–5Release A7.3 (June 1996)

�������!�"� %0--'%4+0/ 0( %0.154'2

-#/)5#)' 34#4'.'/43 02 120)2#.3 4*#4

1206+&'3 # 31'%+#-+:'& (5/%4+0/ 4*205)*054

# 3934'. 02 4*205)*054 #-- +/4')2#4'&

3934'.3� �0.' '8#.1-'3 ����� !2+4'2 #/&

������

���� ��� ���������;� .'4*0& 0(

53+/) # ��� 40 &'(+/' '8'%54+0/ 40 # ����

�&7#2&3 120)2#.�

��� ��;�+/#/%+#- �/#-93+3 �12'#&3*''4

�00- #/& �'1024 !2+4'2� � 2'1024 72+4'2 4*#4

-'43 905 &'3+)/ 9052 07/ 2'1024

31'%+(+%#4+0/3 53+/) 4*' )'/'2#- -'&)'2

&#4#$#3'�

����"�+-' �'3+)/ �+&� � ���� �&7#2&3

&'3+)/ 400-�

������;��� �/ #2'# 0/ # 3%2''/ 7*'2' 905

491' +/ &#4#� 6#-5'3� 02 %*#2#%4'23� �� �

&'(+/'& #2'#� 535#--9 7+4*+/ # 2'%02&� 7*+%*

%#/ %0/4#+/ # 31'%+(+% 1+'%' 0( +/(02.#4+0/

35%* #3 /#.'� &0%5.'/4 491' 02 #.05/4�

�02 '8#.1-'� # 6'/&02 2'%02& %0/3+343 0(

4*' (+'-&3 '/&02 �#.'� '/&02 �&&2'33

#/& �'-'1*0/' �5.$'2� �*' (+'-& '/&02

�#.' %0/4#+/3 0/-9 4*' /#.' 0( 4*'

6'/&02� �'' ����� ��� #/& ������� ����

���� ���� �� �������

����� �����;���� �&7#2&3 0/-+/' �'-1

(5/%4+0/� 7*+%* -'43 905 6+'7 # &'3%2+14+0/

0( # (+'-&� +43 152103' #/&� 7*'/ #11-+%#$-'�

# -+34 0( 4*' 6#-+& %0&'3 4*#4 905 %#/ '/4'2�

"05 #%%'33 4*+3 +/(02.#4+0/ $9 12'33+/) ��

7+4* 4*' %52302 103+4+0/'& +/ 4*' (+'-&�

�����;� %0--'%4+0/ 0( 2'-#4'& &#4# 2'%02&3

02)#/+:'& (02 # 31'%+(+% 53' #/&

'-'%420/+%#--9 3402'& $9 4*' %0.154'2� ����

���� �� �����

��������� �!������"�*' %'/42#- #/&

(05/&#4+0/#- 3934'.3 0( ���� �&7#2&3

30(47#2'� +/%-5&+/) �'/'2#- �%%05/4+/)�

�%%05/43 �#9#$-'� �%%05/43 �'%'+6#$-'�

�&&2'33 00,� �+/#/%+#- �'1024+/)�

�+/#/%+#- �0&'-+/) #/& �--0%#4+0/3� #/&

#%, �((+%'� ��������� ���� �� ����

���� �����;�/ #2'# 0( # 3%2''/� #%%'33'&

$9 12'33+/) ��� 4*#4 &+31-#93 #&&+4+0/#-

+/(02.#4+0/ #330%+#4'& 7+4* 4*' 2'%02&3 02

&#4# +4'.3 &+31-#9'& 0/ 4*' 3%2''/�

� �������;� 3'1#2#4' ('#452' 7+4*+/ #

(#%+-+49 4*#4 #--073 905 40 1'2(02. # 31'%+(+%

4#3,� (02 '8#.1-'� 4*' (+'-& *'-1 (5/%4+0/�

� ������ ��!�;� ,'9 905 12'33 40 1'2(02.

# 3934'. 01'2#4+0/ 02 #%4+0/� �02 '8#.1-'�

905 12'33 �� 40 *#6' 4*' 3934'. &+31-#9 4*'

(0-& #2'# 0( # 3%2''/�

�����;�/' !02-& 4'2. (02 6+&'0�

�������!�;�*' %0--'%4+0/ 0( 4'84 2'-#4'& 40

31'%+(+% &#4# +4'.3� �*' )-033#29 %0/4#+/3

*'-1 4'84 #/& .'33#)' 4'84�

���;�'/'2#- �'&)'2�

���"�'/'2#- �%%05/4+/)�

�� �;�00&3 � �'26+%' �#8�

����;�2#1*+%#- �3'2 �/4'2(#%'�

���� �����;�20)2#. +/3425%4+0/3 7*+%*

%#/ 0/-9 $' #-4'2'& $9 # 120)2#..'2� �*'

#-4'2'& +/3425%4+0/3 .534 4*'/ 2'%0.1+-'& 30

4*' %0.154'2 %#/ 5/&'234#/& 4*'.�

���� ���!�"� 12'3'/4#4+0/ 0( %0.154'2

+/(02.#4+0/ 12+/4'& 0/ 1#1'2� �9/0/9.053

7+4* ���������

�������;�/(02.#4+0/ #4 4*' $')+//+/) 0( #

(+-'� �*+3 +/(02.#4+0/ +3 53'& 40 +&'/4+(9 02

1206+&' %0/420- +/(02.#4+0/ (02 4*' )2051 0(

2'%02&3 4*#4 (0--073�

���� ����� �������;�/-+/' &0%5.'/4#4+0/

02 '81-#/#4+0/3 0( (+'-&3 4*#4 905 #%%'33 $9

12'33+/) 4*' �'-1 ,'9 02 $9 12'33+/) ��

7+4* 9052 %52302 +/ # 1#24+%5-#2 (+'-&�

������;�'' ��� �������������

������ �����������;�'/5 3'-'%4+0/3 905

%#//04 3'' 5/4+- 905 '/4'2 �� +/ # .'/5�3

�'-'%4+0/ (+'-&� �-4*05)* 905 %#//04 3''

4*'3' 3'-'%4+0/3� 4*'9 #2' #6#+-#$-' (20. #/9

.'/5� �*'9 +/%-5&' 35%* +4'.3 #3 �+31-#9

�5$.+44'& �0$3 ��� �+31-#9 �3'2 �0$

�5'5' ���� #/& �+31-#9 �3'2 �2+/4 �5'5'

Page 562: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

g–6 Release A7.3 (June 1996)

����� �*' �+&&'0 �'.'%6+105 9+0&19

&+52.#;5 6*4'' %#6')14+'5 1( 5'.'%6+105�>75'4

611.5� 12'4#614 611.5� #0& 241)4#//'4 611.5�

����(�14+<106#. �+%41%1&'�

���?���� �&9#4&5 �+&&'0 �'.'%6+105�

����(�06'4�1/2#0; �156 �'06'4� ���

���� �� �������� �����

���(�06'45;56'/ �1//70+%#6+10 �70%6+10�

���(�06'4�1/2#0; �7$�

����(�06'4#%6+8' �#6# �'(+0+6+10 6+.+6; �

��� �41&7%6�

���(�06'40#. �+%41241)4#/ �1#&�

���(�06'40#. �+%41241)4#//+0)

�06'4(#%'�

� �����$�$��� ��$�������'�?�+0'

56'25 61 2418+&' ���� �&9#4&5 %1057.6+0)

56#(( 9+6* # )7+&' (14 +/2.'/'06+0) 6*'

51(69#4' +0 # 6*1417)* #0& %105+56'06

/#00'4�

�� %$�?�0(14/#6+10 ;17 '06'4 +0 6*' +0276

(+'.&5 10 # 5%4''0 14 6*#6 6*' %1/276'4

'06'45 (41/ 16*'4 241)4#/5� 6*'0 '&+65 #0&

5614'5 +0 (+.'5�

�� %$ ������?�0 #4'# 10 # 5%4''0�

&+56+0)7+5*'& $; 70&'45%14'5 �="="=�� 9*'4'

;17 6;2' &#6#� 8#.7'5� 14 %*#4#%6'45� � (+'.&

4'24'5'065 # 52'%+(+% 6;2' 1( +0(14/#6+10

57%* #5 0#/'� &1%7/'06 6;2'� 14 #/1706�

�1064#56 9+6* ������� �����

��#$��� #'#$�� �����?�*' (174�%*#4#%6'4

+&'06+(+'4 1( # ���� �&9#4&5 5;56'/� �14

':#/2.'� (14 6*' �&&4'55 �11- 5;56'/�

� (14 6*' �%%17065 �#;#$.' 5;56'/� #0&

(14 6*' �'0'4#. �%%1706+0) 5;56'/� ���

���� �� ������ �����

��$��"�$'�?�170&0'55� %1/2.'6'0'55�

��$�"��$�&� ����(�0 +06'4#%6+8' ,1$ 56#465

9*'0 � 75'4 5+)05 10 � &+52.#; 56#6+10 #0&

'0&5 9*'0 6*' 75'4 5+)05 1((� �74+0) 6*'

,1$� 6*' 75'4 +06'4#%65 9+6* 6*' 5;56'/�

��$�"��$�&� "���##����?� ,1$ 6*'

%1/276'4 2'4(14/5 +0 4'52105' 61

%1//#0&5 ;17 '06'4 (41/ # 6'4/+0#.�

�74+0) +06'4#%6+8' 241%'55+0)� ;17 #4' +0

&+4'%6 %1//70+%#6+10 9+6* 6*' %1/276'4�

#0& +6 /+)*6 241/26 ;17 (14 #&&+6+10#.

+0(14/#6+10 &74+0) 6*' 241%'55+0) 1( ;174

4'37'56� �'' ������� �1064#56 9+6* �����

����������

��$�"�����?� .+0- $'69''0 691 14 /14'

���� �&9#4&5 5;56'/5 6*#6 #..195 6*'5'

5;56'/5 61 5'0& +0(14/#6+10 61 #0& 4'%'+8'

+0(14/#6+10 (41/ 10' #016*'4�

� �?�0276��76276�

���?�0+6+#. �41)4#/ �1#&�

���(�06'4#%6+8' �'4/+0#. �#%+.+6;�

���?�#%-� �#0 #0& �&� �170&'45 1( ��

�&9#4&5 � �1�

��"����?� ���� �&9#4&5 6'4/ (14

5;56'/@52'%+(+% 6':6� !17 $#5' ;174 ,#4)10

*'.2 6':6 10 # 52'%+(+% 4'2146+0) %1&' ;17

&'5+)0#6' +0 6*' �#6# �+%6+10#4; �.155#4;�

!17 %#0 &+52.#; 6*+5 6':6 #5 2#46 1( 10.+0'

*'.2� !17 %4'#6' ;174 ,#4)10 6':6

&'5%4+26+105 #0& 6+6.'5 (14 &#6# +6'/5

6*417)* 6*' �#6# �+%6+10#4;� /'07 #0&

81%#$7.#4; 18'44+&'5 4'%14& 75+0) #

4'2146+0) 5;56'/ %1&'� �#4)10 6':6

&'5%4+26+105 #0& 6+6.'5 (14 &#6# +6'/5 &+52.#;

10 5%4''05 #5 (+'.& 0#/'5�

����?� 5+0).' +&'06+(+#$.' 5'6 1( 241%'55+0)

#%6+105 ;17 6'.. 6*' %1/276'4 61 2'4(14/�

!17 56#46 ,1$5 $; %*115+0) /'07 5'.'%6+105�

'06'4+0) %1//#0&5� 14 24'55+0) &'5+)0#6'&

(70%6+10 -';5� �0 ':#/2.' 1( # %1/276'4

,1$ +5 %*'%- 24+06+0) +0 6*' �%%17065

�#;#$.' 5;56'/�

��� ��#�"� $����?�0 1$,'%6 %105+56+0) 1( #

5'6 1( 52'%+(+%#6+105 #$176 # %1/276'4 ,1$

#0& +65 ':'%76+0) '08+410/'06�

��� ����?� ,1$ .1) +5 # 4'%14& 1( 4'37'565

�57%* #5 %1//#0&5� 57$/+66'& $; 6*'

5;56'/ $; # ,1$� 6*' /'55#)'5 4'.#6'& 61 6*'

4'37+4'/'065 #0& 6*' #%6+105 2'4(14/'& $;

6*' 5;56'/ 10 6*' ,1$�

��� !%�%��?� )4172 1( ,1$5 9#+6+0) 61

'06'4 # 57$5;56'/�

Page 563: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Glossary

g–7Release A7.3 (June 1996)

���� ������� �����@!6)7)287 '31437-8)

6)'36(7 '327-78-2+ 3* *-)0(7 )<86%'8)( *631

8;3 36 136) 4,=7-'%0 6)'36(7 *631 8;3 36

136) 4,=7-'%0 *-0)7�

�#!"��%�@#3 7,-*8 -2*361%8-32 =39 )28)6 -2

%2 -2498 *-)0( 83 8,) 6-+,8 36 0)*8 7-() 3* 8,)

*-)0(� �%2= 3* 8,) *%'-0-8-)7 ;-8,-2 ����

�(;%6(7 7=78)17 .978-*= -2*361%8-32� #,)

7=78)1 (3)7 8,-7 320= %*8)6 =39 46)77 �28)6�

���'�23;0)(+)A�%7)( �)2)6%836� "))

�� ���� ������� ��

��% ������@� 7)6-)7 3* -()28-*=-2+ 36

'3286300-2+ ',%6%'8)67 % '31498)6 97)7 83

6)86-):) 6)0%8)( -2*361%8-32 8-)( 83 8,) /)=�

�2 )1403=)) 291&)6� *36 )<%140)� -7 % /)=

*-)0( '327-78-2+ 3* 6)*)6)2')7 83 38,)6 *-0)7

-2 8,) 7=78)1 8,%8 '328%-2 -2*361%8-32 %&398

8,) +-:)2 )1403=))�

��% ��� �� ���� ����#�" ���%

� ��@")) ��� ���� ��� �����

������� ���

���@�3'%0 �6)% �)8;36/�

������� &� �!�@� 7)6-)7 3* >)637 8,%8

')68%-2 *%'-0-8-)7 -2 ���� �(;%6(7 7=78)17

40%') -2 *6328 3* % :%09) =39 )28)6� #,-7

2361%00= 3''967 ;,)2 =39 )28)6 % :%09)

8,%8 -7 71%00)6 8,%2 8,) 74)'-*-)( 0)2+8, 3*

8,) *-)0(� �36 )<%140)� -* =39 )28)6 � �� -2

% *-)0( 8,%8 %''3113(%8)7 )-+,8 291&)67�

8,) *%'-0-8= 40%')7 *396 >)637 -2 *6328 3* 8,)

*396 291&)67 =39 )28)6� #,) 6)7908 ;390(

033/ 0-/) 8,-7�?����� ���

��$�� ������@� 1)',%2-71 3* 8,) "����

8,%8 %7796)7 8,%8 % *-0) :)67-32 %2( 463+6%1

97-2+ 8,%8 *-0) %6) -2 7=2' ;-8, 32) %238,)6�

��$�� �� ��"����@�� #,) ()+6)) 3*

(-**-'908= 3* % 1)29 -2 ���� �(;%6(7

73*8;%6)� #,) 0):)07 3* ()8%-0 *36 1)297 %6)

%7 *3003;7�

���%.36 !63(9'8 �-6)'836-)7

��!63(9'8 �63947

��%-0= 4)6%8-327

�!)6-3(-' 4)6%8-327

���(:�#)', 4)6%8-327

���31498)6 4)6%8-327

�!63+6%11)67

���(:%2')( !63+6%11)67

�073 /23;2 %7 ���� ����� �� #,) ()+6))

83 ;,-', %''3928 -2*361%8-32 -2 8,)

�)2)6%0 �''3928-2+ 7=78)1 -7 7911%6->)(�

#,) ,-+,)78 0):)0 3* ()8%-0 -7 �0)%78

()8%-0)(� %2( 8,) 03;)78 0):)0 3* ()8%-0 -7 �

�1378 ()8%-0)(��

��� � %�@� 0-&6%6= +63947 3&.)'87� � 0-&6%6=

-7 %2 3&.)'8 -87)0*� "-1-0%6 83 (-6)'836= 32 %

!��

��� � % ��!"�@�2 36()6)( 0-78 3* 0-&6%6-)7

97)( *36 03'%8-2+ 3&.)'87� "-1-0%6 83 4%8, 32

% !��

���'�-2) �2498� 98498 �%2%+)6�

���'�):)0 3* �)8%-0�

������� �����@�328%-27 23 (%8%� &98

463:-()7 % :-); 3* 32) 36 136) 4,=7-'%0

*-0)7 9432 ;,-', -8 -7 &%7)(�

��!"� �����@� '31498)6 *-0) 8,%8 % 7=78)1

97)7 83 7836) (%8% %2( -2*361%8-32 ;,-', -7

4)61%2)28 %2( 2)')77%6= 83 8,) 7=78)1�7

34)6%8-32� �%78)6 *-0)7 1-+,8 '328%-2 (%8% 36

-2*361%8-32 79', %7 4%-( 8%< %139287 %2(

:)2(36 2%1)7 %2( %((6)77)7�

����'�)29 �)7-+2 �-(� � ���� �(;%6(7

()7-+2 8330�

���#�@� 7'6))2 8,%8 (-740%=7 291&)6)(

7)0)'8-327� �%', 3* 8,)7) 7)0)'8-327

6)46)7)287 % 463+6%1� #3 %'')77 % 7)0)'8-32

*631 % 1)29� 8=4) 8,) 7)0)'8-32 291&)6

%2( 8,)2 46)77 �28)6�

���# ��$��!�@")) ��� � �����

���# ��!�����@� 7)'96-8= *)%896) 3* ����

�(;%6(7 7=78)17 8,%8 %003;7 =39 83 46):)28

-2(-:-(9%0 97)67 *631 %'')77-2+ 74)'-*-)(

1)297 36 1)29 7)0)'8-327� $,)2 8,-7

7)'96-8= -7 -2 )**)'8 *36 % 97)6� 8,) 7)0)'8-327

8,%8 ,%:) &))2 7)'96)( (3 238 %44)%6 32

8,) 7'6))2�

���# ��!!����@#)<8 8,%8 %44)%67 32 %

7'6))2 %*8)6 =39 1%/) % 1)29 7)0)'8-32� �8

(-740%=7 % ;%62-2+� '%98-32� 36 -2*361%8-32

%&398 8,) 6)59)78)( 7)0)'8-32�

Page 564: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

g–8 Release A7.3 (June 1996)

���" !��#������4� '�.")� ) ')0#(!

��.1��( '�(/- �3 .3*#(! ."� '�(/

#��(.# #�, #( ."� -�&��.#)( #�&� ) ."� -�,��(�

��4���"#(� �(.�, ����

���4��(/ ��./,#(! ��-)/,�� �&�((#(!�

��$�4���� ��1�,�- ��(/ ��./,#(!

�) .1�,��

� �4�/&.#*&� �#,./�& �.),�!��

��$! �"���� ������!%�4� ���� ��1�,�-

-) .1�,� ��#&#.3 3)/ /-� .) �)(.,)& ."�

�/.)'�.#� (/'��,#(! ) -/�" #.�'- �- (�1

��� ���)/(.-� 0)/�"�,-� �(� ���,�--�-� �.

&�.- 3)/ -*��# 3 3)/, ��-#,�� (/'��,#(!

-3-.�' �(� *,)0#��- � '�.")� .) #(�,�'�(.

(/'��,- .) ,��/�� .,�(-*)-#.#)( �(� .3*#(!

�,,),-�

���'���� ������� �����&�,�-�(.- ,��),�-

."�. �,� �)'*)-�� ) #�&�- �2.,��.�� ,)'

$/-. )(� *"3-#��& ,��),�� �/. ��( � ��.#0�&3

'�,!� .1) ), '),� *"3-#��& #&�-�

�"����� ������!���&��*,�-�(.- ��.�

/-#(! ."� (/'��,- � .",)/!" �� )(.,�-.

1#." � �������� ��������� �(�

� ���������� ����������

�����!�&� �#-�,�.� �(.#.3�

�����! �$� !�����&�"� ,#!". .) ��&�.� �(

)�$��. ,)' ."� -3-.�'�

�����! ���������!�&�"� ,#!". .) �"�(!�

."� (�'� ), &#�,�,3 ) �( )�$��.� ),

*"3-#��& #&�-� ."� ,#!". .) �,��.� � &)!#��&

#&� )0�, #.�

�����! �����!������&�"� ,#!". .) �#-*&�3

."� ��-�,#*.#)( ) �( )�$��. �(� ."� ,#!". .)

."� !�(�,�& /-� ) ."�. )�$��.�

�����! �����!�!����4�0�,3."#(! )( ."�

������ -3-.�' ."�. ��( �� -.),�� ),

,�.,#�0�� #- �)(.�#(�� #( �( )�$��.�

��������4)'*/.�, /(�.#)(- ."�. �,� ().

/(��, ."� �)(.#(/)/- �)(.,)& ) ."� -3-.�'�

), �2�'*&�� # 3)/ 1�,� .) ,/( � ��,.�#(

$)� )( � *�,-)(�& �)'*/.�, �(� ."�(

.,�(- �, ."� ,�-/&.- .) � ")-. �)'*/.�,� ."�.

$)� 1)/&� �� �)(-#��,�� �( ) &#(�

/(�.#)(� )(.,�-. 1#." �� ����

�� !�� �� !����4� '�.")� ��0�&)*�� .)

'�%� )/, -) .1�,� ��-#�, .) #(-.�&&�

�������4)'*/.�, /(�.#)(- )0�, 1"#�"

."� -3-.�' "�- �)(.#(/)/- �)(.,)&� ���"

.#'� 3)/ 1),% 1#." � ���� ��1�,�-

-3-.�'5*,)0#��� -�,��(� 3)/ �,� )(&#(�

1#." ."� -3-.�'� )(.,�-. 1#." � ���� ���

����������� ����������

������ �������!����&�( ),'�.#)( ."�

-3-.�' ,�.,#�0�-� /-/�&&3 �. 3)/, ,�+/�-.�

�(� #''��#�.�&3 �#-*&�3- )( ."� -�,��(�

�"#- #( ),'�.#)( #(�&/��- #.�'- -/�" �-

��.���-� #( ),'�.#)(� �)�/'�(.�.#)(� �(�

'�--�!�-�

��� �������!��� �����!��!"���&�(

�,�"#.��./,�- ."�. /-�- � /(�.#)(�& -�,0�, .)

�&&)1 ."� 0�,#)/- �&)�%- ) /-�, #(.�, ���

&)!#� .) ���� ."� -�'� �&)�% ) ��.�

#(.�!,#.3 &)!#��

��������4��� ��� ��� ��� ��������

��!����4� (/'��,�� -�&��.#)( ,)' � ����

��1�,�- -�,��( ."�. *�, ),'- � *�,.#�/&�,

/(�.#)( ), .�-%� �) -�&��. �( )*.#)(� 3)/

�(.�, #.- (/'��, #( ."� �*.#)( #�&� (�2. .)

."� #.�' 3)/ 1�(. ."� /(�.#)( *�, ),'��

)(� �"�( �0�#&��&�� ), �2�'*&�� )*.#)( �

&�.- 3)/ ,�./,( .) � *,#), -�,��( 1#." �

0�&/� ,)' ."� �/,,�(. -�,��(�

�����4�*�,�.#(! -3-.�' ), ."� �������

���4�*�,�.#(! -3-.�' ), ."� ��

*�,-)(�& �)'*/.�,�

��&�*�( �3-.�'- �(.�,�)((��.#)(�

�"!�"!�4�( ),'�.#)( ."� �)'*/.�,

.,�(- �,- ,)' #(.�,(�& -.),�!� .) �( �2.�,(�&

��0#��� -/�" �- � *,#(.�, ), � �)'*/.�,

-�,��(�

�"!�"! �"�"��4� !,)/* ) -*))& #&�-

1�#.#(! .) �� �..��"�� .) � 1,#.�,�

Page 565: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Glossary

g–9Release A7.3 (June 1996)

�$� ����>",) 352')66 2* )17)5-1+ % '2()

25 3%5%0)7)5 27,)5 7,%1 7,) 21) 3529-()(

&< 7,) 6<67)0 �%1< �� �(:%5(6 6<67)06

2**)5 6'5))16 7,%7 3529-() ()*%8/7 *-)/(

9%/8)6 :,)1 7,)< %33)%5 �< 7<3-1+ % 1):

9%/8) 29)5 7,) ()*%8/7 '2()� <28 '%1

���� 7,) ()*%8/7 !)) �����

��� �>�267)( �*7)5 �872**

�� ���"� �>� 180&)5� '2()� 25 ',%5%'7)5

675-1+ <28 63)'-*< -1 %662'-%7-21 :-7, %

'200%1( 25 352+5%0 ",) '20387)5 86)6

3%5%0)7)56 %6 %((-7-21%/ -1387 25 72 '21752/

7,) %'7-216 2* 7,) '200%1( 25 352+5%0

��!!%� ��>� 81-48) +5283 2* ',%5%'7)56

7,%7 <28 )17)5 :,)1 <28 6-+1 21 72 7,)

6<67)0 7,%7 7,) '20387)5 86)6 72 -()17-*<

<28 %6 % 9%/-( 86)5

��� �(�267)( �)*25) �872**

���>�)5621%/ '20387)5

����(�52+5%0 �)9)/230)17 �%1%+)5

��� ()6-+1 722/

����>�52(8'7 �%7% �%1%+)0)17 � %

02(8/) 2* �� �(:%5(6 62*7:%5)

��'!���� �����>� *-/) 7,%7 '217%-16 %'78%/

(%7% 5)'25(6 �%6 % 0%;-080 5)'25( /)1+7,

2* � �� 0%;-080 *-)/(6 3)5 5)'25( -6 ����

��#�)�)��(� ��� %11281')0)17

:,)5) �� �(:%5(6 6)/)'76 � �� �!! 72

()9)/23 '/-)17 %33/-'%7-216 *25 7,) �!���

",) 3/8+���+2 *250%7 2**)56 '/-)176 7,) ��

�(:%5(6 �25) *-1%1'-%/ 62/87-216 21 7,)

��� �!��� � 6)5-)6 02()/

�����>�)23/)� �/%')6 %1( ",-1+6

� ��"�#"�>� 35)6)17%7-21 2* '20387)5

-1*250%7-21 35-17)( 21 3%3)5 !<121<0286

:-7, ��� ����

� ��" �#�#��>� +5283 2* -7)06 :%-7-1+ 72

&) 35-17)( !)) ������ ���

� ���!!��� ��"���!�>� *)%785) 2* 7,) ��

�(:%5(6 � ��� #5-7)5 7,%7 /)76 <28 6833/<

3%5%0)7)56 72 (-5)'7 7,) *81'7-216 2* %

352+5%0 �25 );%03/)� 352')66-1+ 237-216

%//2: <28 72 63)'-*< ()*%8/76 *25 ')57%-1

6'5))1 (-63/%<6� '21752/ 7,) *250%7 -1 :,-',

-1*250%7-21 +)76 35-17)( 21 5)32576� ',%1+)

7,) :%< % 6'5))1 (-63/%<6 -1*250%7-21� %1(

)17)5 =%6 2*� (%7)6

� ��#�" ��� � '�(� /-&5%5< '217%-1-1+

352+5%06 %1( 5)/%7)( (%7% 1))()( *25 ���

/-')16)( 352+5%06 7,%7 %5) -167%//)( 21 <285

6<67)0

� ��#�"��� ��� � '�(� 352(8'7-21 /-&5%5<

-6 % /-&5%5< <28 '5)%7) 72 '217%-1 <285 /-9)

�� �(:%5(6 (%7% *-/)6

� ��#�"��� ��$� �����"� � /-67 2*

/-&5%5-)6 7,%7 '217%-16 =/-9)� 352+5%06 %1(

(%7%

� �� ���>� '2//)'7-21 2* '20387)5

67%7)0)176 7,%7 7)//6 7,) '20387)5 72

3)5*250 % 63)'-*-' 7%6. 25 +5283 2* 7%6.6

� �� �!!�(� 62*7:%5) '25325%7-21 7,%7 -6 %

3%571)5 :-7, �� �(:%5(6 ",)< %5) %

/)%(-1+ 6833/-)5 2* �7, +)1)5%7-21

%33/-'%7-21 ()9)/230)17 6<67)06

� �� �� ���� �"� � ",) #25/( ��!�

6<67)0 2* 352+5%06 :,-', '5)%7) % 1):

352+5%0 &%6)( 8321 86)5 63)'-*-'%7-216

� �� �� �����>�� �(:%5(6 21/-1)

*%'-/-7< :,-', (-63/%<6 -1*250%7-21 %&287 %

352+5%0�6 86) %1( *81'7-21%/-7<

� �� ��)!������� ���� "�&"�>�/266%5<

7);7 :5-77)1 72 ()6'5-&) 7,) *81'7-21 2* %

*-)/( :-7,-1 7,) '217);7 2* 7,) 352+5%0

� ���"�>��� � 5)0-1()5 25 5)48)67 *25

-1*250%7-21 (-63/%<)( &< 7,) 6<67)0 #,)1

% 352037 %33)%56� <28 0867 5)6321( -1

25()5 72 352'))( � � � /-67 2* '2()6 25

3%5%0)7)56 25 % 5)48)67 *25 -1*250%7-21

3529-()( &< 7,) 6<67)0 %6 % 5)0-1()5 2* 7,)

7<3) 2* -1*250%7-21 <28 6,28/( )17)5 25

%'7-21 <28 6,28/( 7%.)

���>� ����

�# ���>",) 352')66 2* 5)029-1+ 5)'25(6

25 (%7% *520 % *-/)

�����(�267 $)%5 �1( �%/%1')

����>�52*-7 %1( �266 !7%7)0)176

��>�52+5%0 �)1)5%725

Page 566: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

g–10 Release A7.3 (June 1996)

���)�1�(%05 �//1.�*�!�

��� ��%� �#���6� /,��! 3%0$%* 0$!

/5/0!) 0+ $+( 0$! /5/0!) 2�(1!/

%*"+.)�0%+* "+. 0$! ���� � 3�. / /+"03�.!�

�$%/ �.!� %/ .!"!.!*�! �0 /%#*7+* �*

1.%*# %*/0�((/ �* .!%*/0�((/ "+. �.%0%��(

/5/0!) %*"+.)�0%+*� /1�$ �/ /!�1.%05 �+ !/

�* %*%0%�( (%�.�.%!/�

������� �$! /!�1.%05 +""%�!. +" 0$!

����

"&�#(�6� "�/0 )!�*/ 0+ /!(!�0 �* %/,(�5

�+. ,.%*0� %*"+.)�0%+* ".+) � �0���/!� �*

��� 10%(%05 "+. �0���/!/�

"&�&��6� (%/0 +" 0$%*#/ 0+ �! 1/! %* �*

+. !.� �!! ��� ������ ������ ������ �*

�� �� ������

�����6�! 1* �*0 �..�5 +" %*!4,!*/%2!

%/'/�

�� �6��* +) ���!// �!)+.5�

����)�!,+.0 �!/%#* �% � � ���� � 3�. /

!/%#* 0++(�

#��� ��(�)� 05,! +" ���!// 0+ �0� 0$�0

�((+3/ %0 0+ �! .!� �10 *+0 �+,%! � ,.%*0!

+. )+ %"%! �

#��&����6�$! ,.+�!// +" /!-1!*�%*# "%(!/�

%*0!#.�0%*# .!�!*0(5 � ! �0��

#�� #��6� �+((!�0%+* +" .!(�0! �

�+*/!�10%2! "%!( / +" �0� 0$! /5/0!) 0.!�0/

�/ � /%*#(! 1*%0 +" %*"+.)�0%+*� �+. !4�),(!�

� 2!* +. .!�+. �+*/%/0/ +" %*"+.)�0%+*

/1�$ �/ 0$! 2!* +.�/ *�)!� � .!//� �*

0!(!,$+*! *1)�!.� ���� ����� �� ����

#�� #� � #��%�)�$! !"%*%0%+* +" $+3

�0� %/ /0.1�01.! %* 0$! .!�+. / �+*0�%*!

%* � "%(!�

#�� #� ��'�� � ������)�.!2!*0/ 03+

,!+,(! ".+) /%)1(0�*!+1/(5 1, �0%*# 0$!

/�)! �0� ��/! %*"+.)�0%+*�

����)��,% (5� ��+*+)%��((5 �*

�.! %�0��(5�

#�!�( ��$%�)� /5/0!) 3% ! �10+)�0%�

)!//�#! $�* (!. "+. 0$! /5/0!)�

#��&#$�'�� �* ����� �.%0!.� 0$! ��%(%05 0+

�.!�0! � 1*%-1! 2!./%+* ".+) 0$! +.%#%*�(�

,.+�!// 0$! *!3 2!./%+* �* !(!0! %0�

(!�2%*# 0$! +.%#%*�( %*0��0�

#���������#��� � �&��$�6�.+#.�)/

3.%00!* "+. 0$! ,1.,+/! +" �$�*#%*# )�*5

!4%/0%*# ,.+#.�)/ %* )�//�

#�! #%��� $($%�� � ���6�$!

"+1.��$�.��0!. % !*0%"%!. +" � ���� � 3�. /

/5/0!) 0$�0 1/!/ �* +�&!�0 "+. .!,+.0%*#�

������)�!-1!/0 �*,10��10,10�

#�'�#$� ������6��.!!* 0!40 0$�0 %/,(�5/

%* 0$! +,,+/%0! �+(+. �+)�%*�0%+* +"

�$�.��0!./ �* ���'#.+1* ".+) 3$�0 0$!

/�.!!* 05,%��((5 %/,(�5/ �"+. !4�),(!� �(��'

+* #.!!* %*/0!� +" #.!!* +* �(��'��

�����)�%�!210� ��*��.%� �(!00.+*%�� ��

�+))+* 3�5 "+. 2!* +./ 0+ .!�!%2!

,�5)!*0/ ".+) 0$!%. �1/0+)!./ %* �0�(5�

�� �6�!� �*(5 �!)+.5�

����6��� �����

���)�!,+.0 �.+#.�) �!*!.�0+.� �

,.+#.�))%*# (�*#1�#! !2!(+,! �5 ����

�&����6� � �)1(�0+. "+. 0$! ����

#&��6�+ ��1/! 0$! �+),10!. 0+ ,!."+.) �

.+10%*!� ,.+�!// � ��0�$ +" 0.�*/��0%+*/� +.

��..5 +10 �+),10!. ,.+#.�) %*/0.1�0%+*/�

����6�5/0!)/ �,,(%��0%+* �.�$%0!�01.!�

����6�!! �������� �� �� ��������

$�#'�#�6� ,.+#.�) 0$�0 /,!! / 0$! "(+3 +"

�0� �!03!!* /�.!!*/� .!,+.0/ �* 0$! �0�

"%(!/� �$!/! ,.+#.�)/ ��* �(/+ �! 1/! 0+

! %0 �0� "%!( /�

$�# ���6�+ 1/! 0$! .+(( '!5/ 0+ )+2!

/�.!!* %*"+.)�0%+* 1, +. +3* � /�.!!* �0

� 0%)!� �$!* 5+1 ,.!// 0$! �+((1, '!5� "+.

%*/0�*�!� 0$! /5/0!) .!,(��!/ 0$! �1..!*0(5

%/,(�5! 0!40 3%0$ 0$! *!40 /�.!!* +" 0!40 %"

)+.! 0!40 %/ �2�%(��(!�

����6��.!!* �!/%#* �% �0%(%05� �* ���

,.+ 1�0�

Page 567: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Glossary

g–11Release A7.3 (June 1996)

&����'�"!�7�,1+! ,+ ���� !3�.!/ *"+1/�

/")" 0&,+/ ."-."/"+0 #1+ 0&,+/ 0%�0 5,1 �+

� "// #.,* � $&2"+ *"+1� �, *�(" �

/")" 0&,+� 5,1 05-" &0/ �//, &�0"! +1*�". &+

0%" �")" 0&,+ #&")! �+! -."// +0".�

����7�,1. " +0.5 �0&)&05�

���7�0�+!�.! �+!1/0.5 �,!"�

� ��7�0�0&,+ �+-10��10-10 ��+�$".�

��� ��"#��+�"#)" 0/ 0%" �+�),$5 �"03""+

0%" !&2"./" +�01." ,# � /(& /),-" �+! 0%"

!&2"./" +�01." ,# ,1. /,#03�."� � )"2")/�

�/& � �+0".*"!&�0"� !2�+ "!� �,*-10".

�-".�0&,+/ �+! �.,$.�* �,!&#& �0&,+/�

����7�5/0"*/ �"03,.( . %&0" 01."�

������+�5/0"*/ �"03,.( . %&0" 01."

�&/0.&�10&,+ �".2& "/�

����#�%�7 /1�/5/0"* 3%& % � 0&2�0"/ ',�/

/"0 0, .1+ !1.&+$ ,##8-"�( %,1./�

&"�'�"��!��7 ���� !3�.!/ 0".* 0%�0

!"/ .&�"/ �+ "+0&." #�*&)5 ,# #"�01."/ 0%�0

)"0/ 5,1 1/0,*&6" �+! �!�-0 ���� !3�.!/

/,#03�." 0, 5,1. �1/&+"// "+2&.,+*"+0�

�%"/" #"�01."/ )"//"+ 0%" +""! #,. 5,1 0,

1/" ,*-10". -.,$.�**"./ 3%"+ 5,1. !�0�

-., "//&+$ +""!/ %�+$"�

&"�')�%��7�%" ,-".�0&+$ /5/0"* �+!

�--)& �0&,+ -.,$.�*/ 0%�0 0")) 0%" ,*-10".

%,3 �+! 3%�0 0�/(/ 0, -".#,.*�

�"�')�%� ��'�"! ��$(�&'�+ ." ,.!

3%& % &!"+0&#&"/ �+ � 0&2&05� /1 % �/ 0%"

!"2"),-*"+0 ,# � +"3 -.,$.�* ,.

*�&+0"+�+ " ,# �+ "4&/0&+$ -.,$.�*�

�"�')�%� ���(%�'* �"���+ ,!" 0%�0

."/0.& 0/ 1/". � "// 0, /,#03�."�

&#����� ���%��'�%�+�"-."/"+0�0&,+ ,# !�0�

&+ /5*�,)/ 0%�0 �." +"&0%". )"00"./ +,.

+1*�"./� �,*" "4�*-)"/ �." � � � ��

&#""��7�&*1)0�+",1/ �".&-%".�)

�-".�0&,+/ �+ �&+"� �%" #1+ 0&,+ �5 3%& %

0%" /5/0"* -10/ $"+".�0"! ,10-10 &+0, �

/0,.�$" �."� 0, �3�&0 -.&+0&+$ ,. -., "//&+$�

&#""��� �����7 %,)!&+$ #&)" #,. ,10-10

!�0� 3�&0&+$ 0, �" -.&+0"! ,. &+-10 !�0�

3�&0&+$ 0, �" -., "//"!�

���7�0.1 01." �1".5 ��+$1�$"�

�����+�-."�!/%""0 �,,) #,. //"0

�"-,.0&+$�

&(������7+ �."� ,+ 0%" / .""+ 3%"." 0%"

/5/0"* !&/-)�5/ !"0�&)"! &+#,.*�0&,+ .")�0"!

0, 0%" %"�!". &+#,.*�0&,+ �0 0%" 0,- ,# 0%"

/ .""+� �1�#&)"/ *&$%0 ,+0�&+ *,."

&+#,.*�0&,+ 0%�+ 0%" / .""+ �+ !&/-)�5 &+

0%" /1�#&)" �."�� �# /,� 1/" 0%" .,)) ("5/ 0,

!&/-)�5 0%" +"40 / .""+ ,# &+#,.*�0&,+� �""

������

&(� �'�7�"" ����

&(�&*&'� �++ ,-".�0&+$ "+2&.,+*"+0

3%"." ',�/ �." .1+�

&( �%*�7�%" -."/"+0�0&,+ ,# !�0� ,.

&+#,.*�0&,+ &+ � 1*1)�0&2" ,. 0,0�)"!

*�++". &+ 3%& % *,/0 ,# 0%" !"0�&)/ %�2"

�""+ ."*,2"!� ��+5 ,# 0%" ���� !3�.!/

/5/0"*/ ,##". / .""+/ �+! ."-,.0/ 0%�0 �."

/1**�.&"/ ,# 0%" &+#,.*�0&,+ /0,."! &+

".0�&+ #&)"/�

����+�,#03�." �"./&,+/ �"-,/&0,.5�

&*&'� �7 ,))" 0&,+ ,# ,*-10".

-.,$.�*/ 0%�0 )"0/ 5,1 -".#,.* � /-" &#&

�1/&+"// #1+ 0&,+� /1 % �/ ,1+0/

��5��)"� �+2"+0,.5� ,. �.!". �., "//&+$�

�5+,+5*,1/ 3&0% �����������

&*&'� ���%�%*�+�&/0/ )&�.�.&"/ ,+0�&+&+$

,�'" 0/� /1 % �/ 1/". -.,#&)"/� 0%�0 �." 1/"!

�5 0%" /5/0"*� �%&/ -�.0 ,# � )&�.�.5 )&/0 &/

!"#&+"! �5 0%" /5/0"* 2�)1" ������� �+!

&/ 1/1�))5 0%" /�*" #,. �)) ',�/�

�� #������ !&'����+���� !3�.!/ +"3 3�5

0, &+/0�)) ���� !3�.!/ /,#03�."� )/, �))"!

,+" /0"- �+/0�))�

����7�1�'" 0 ��00". 4-".0�

����7�.&�) �)�+ "�

������7�+" �,.)! 0".* #,. � #&)"�

����+ *1)0&81/".� *1)0&80�/(&+$

,-".�0&+$ /5/0"*�

Page 568: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

g–12 Release A7.3 (June 1996)

�!%����' �� ���5� !*-( *! ��� /#�/

$)�'0� . !$3 � !*- � +�-/$�0'�- .4./ (�

����,�)$)/ --0+/$�' +*2 - .*0-� �

'%�$ � �%%��$"'#�,�'�� /* )/ - "-*0+

+-*!$' . �..*�$�/ � 2$/# ���� ��2�-�. �. -.�

'%�$ ����!�� �"���5�# $)�$1$�0�' �*� .

4*0 �- �/ �)� � !$) 2$/#$) � 0. - � !$) �

�*� /4+ � *� /4+ . �- 0. � �4

+-*"-�(. /* �$/ ��/� �)� �''*2 *)'4

� !$) � �*� .� �# . �*� . ($"#/ �*).$./ *!

� .$)"' �#�-��/ - *- � . / *! �#�-��/ -. /#�/

- +- . )/. � 2*-�� +#-�. � *- � !$)$/$*)�

�# . �#�-��/ -. ��) � �'+#�� /$��

�'+#�)0( -$�� *- )0( -$�� �*- 3�(+' � $)

/# 0. - � !$) � �*� /4+ /��' �� �� �-�#

�4+ �� � ! 2 �*� . �- !*- 0./*( -.� �

!*- �(+'*4 .� �)� � !*- � )�*-.�

'%�$ ����!�� �"�� �&+#���,�# $� )/$!$ -

!*- � /��' *! �*� . 2$/# � ( �)$)" 4*0

� !$) !*- /# .4./ ( �!*- 3�(+' � �� !*-

/# � �-�# �4+ �*� . /��' $) ���- ..

�**&�� ���� ��2�-�. .4./ (. +-*1$� �

)0(� - *! /# . /��' . �)� �''*2 4*0 /*

�- �/ �)� � !$) /��' . *! 4*0- *2)� �. -

� !$) � �*� . 2 - !*-( -'4 &)*2) �.

������� � �������

'%�$ �!��*�5�) *�% �/ /#�/ ./*- . ��/��

�''*2. . �-�# !0)�/$*).� �)� �0/*(�/$��''4

.*-/. ��/� ��. � 0+*) � & 4 1�'0 �

'%�$ ���!&�����&�"! �'%�$ ����5�#

0)$,0 )�( 4*0 )/ - 2# ) 4*0 .$") *)

/* � ���� ��2�-�. .4./ ( /* $� )/$!4 4*0-. '!

/* /# .4./ (� �#$. �� ��) � 0+ /* �

�#�-��/ -. '*)" �)� ��) �*).$./ *!

�'+#�� /$�� �'+#�)0( -$�� �)� )0( -$�

�#�-��/ -.�

'%�$ ��$�$+�,� '$�-�-$ . /#�/ �*)/�$).

*�% �/.� .0�# �. !$' . �)� +-*"-�(. 0. � �4

/# 0. -�

'%�$ #$"�� �� � !$' *! $)!*-(�/$*) 2#$�#

$� )/$!$ . /# 0. - /* /# ���� ��2�-�.

.4./ (� �#$. !$' $. 0. � /* 1�'$��/ /# 0. -.

�0/#*-$/4 2$/#$) /# .4./ (�

'%�$ %#����,�) *�% �/ (�� 0+ *! �

�*'' �/$*) *! �4/ . 0. � !*- ./*-$)"

0. -6� !$) � $)!*-(�/$*)�

'%�$ &+#��,� �*� 2#$�# $� )/$!$ . � '$./

*! !$' . 2#$�# - (�$) *+ ) 2#$' /# 0. - $.

.$") � *) /* /# .4./ (�

(� �� �"��%�5�# �''*2 � �*� .� �(*0)/.�

*- /4+ . *! ��/� /#�/ 4*0 ��) )/ - $) �

.+ �$!$� $)+0/ !$ '�� �# .4./ ( �# �&.� *-

�$/.� 0. - � !$) � �*� !$ '�. !*- ���0-��4

�"�$)./ /# '$./ *! 1�'$� �*� .�

(�$%�"!�5� .+ �$!$� - ' �. *! .*!/2�- �

�.0�''4 )0(� - � $) �.� )�$)" *-� -�

����,� -.$*) *)/-*' �4./ (�

��$&�*�, �''��' -*0/$) . �)� /��' . /#�/

��'�0'�/ �� ��� /�3 .�

(���"�5�# �$.+'�4 *! $)!*-(�/$*) *) 4*0-

(*)$/*- .�- )� �*-(�''4 - ! -- � /* �. /#

������

���5�$-/0�' ���#$) �

����5� -/$��' �$�-*�*� �

("���' �$+ "(�$$���%�5� ���� ��2�-�.

!��$'$/4 /#�/ ' /. 4*0 *1 --$� !$ '�� -*2� *-

�*'0() /$/' / 3/ *) � .�- )6�46.�- ) *-

- +*-/6 �46- +*-/ ��.$.�

�����,��4 �!/ - 0/*!!�

�� �5�$� �- � � /2*-&�

)�!�")�5� .*!/2�- ! �/0- /#�/ �''*2. �

+�-/ *! 4*0- .�- ) /* !0)�/$*) �. $! $/ 2 -

� .�- ) $) $/. '!� �$)�*2. . -1 �

� �$��/ � +0-+*. 2$/#$) � !��$'$/4� .0�# �.

. �-�#$)" !*- � .+ �$!$� 1�'$� �*� !*- �

!$ '��

)$�&�$�5� ���� ��2�-�. +-$)/ - �//��# � /*

�) *0/,0 0 �

�"$ � ��%�"!�,� �*(+' ( )/�-4 +-*�0�/

/#�/ �*)1 -/. "-�+#$��' 0. - $)/ -!�� . /*

���� ��2�-�. �0.$) .. �++'$��/$*). !*- /#

�����

�"$ � ������,� 2$)�*2.���. � �$- �/

��� .. /* ���� ��2�-�. ��/� *) /# ������

���,�*-'� �-$/ -� � ���� ��2�-�.

.*!/2�- +-*�0�/�

���, -*.. - ! - )� /**' !*- ����

��2�-�. .*!/2�- �

Page 569: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Glossary

g–13Release A7.3 (June 1996)

��������� � ����

Page 570: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

g–14 Release A7.3 (June 1996)

Page 571: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Index

Page 572: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

g–16 Release A7.3 (June 1996)

Page 573: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Release A7.3 (June 1996) index–1

Index

Symbols

����� 64*/(� ����

��� �� 64*/(� ���

��� � "/% ���� '&"563&4� 64*/(� ���

A

�#065 "55&/5*0/ ���! 8*/%08� �

�#065 ���� 130'*-&4� ��

�#065 $0..0/ 46#3065*/&4� ���

�#065 $3&"5*/( -*#3"3*&4� ��

�#065 %"5" %*$5*0/"3: 3&104*503:� ��

�#065 %&4*(/*/( 5)& 3&1035� ����

�#065 %&7&-01.&/5 &/7*30/.&/54� ��

�#065 '*-& 4&37&34� ����

�#065 '6/$5*0/"- 4&37&34� ���

�#065 (3061 +0#4� �

�#065 1&3'03."/$& *446&4� ���

�#065 130(3". 41&$*'*$"5*0/4� ���

�#065 130(3"..*/( 500-4� ��

�#065 3&$03% '03."54� ����

�#065 3&1035 %&4*(/ "*%� ���

�#065 ��� -0(� ���

�#065 ��� 4:45&. 4&561� ��

��� ���� �&'*/*/( " 130.05*0/ 1"5)

�#065 4$3&&/ %&4*(/ "*%� ����

�#065 4&55*/( 61 6/*7&34"- '*-& $0/7&35&3�

���

�#065 40'58"3& 4$"/ "/% 3&1-"$&� ����

�#065 4063$& %&#6((&3� �� �

�#065 45"/%"3% 46#3065*/&4� ��

�#065 46#3065*/&4� ��

�#065 5)& $0/7&34*0/ 36-& 130(3".� ��

�#065 5)& %"5" '*-& %&4*(/ "*%� ����

"650."5*$ 3&'&3&/$& 50 '*&-% 3&'&3&/$&

'*-&4� ����

%"5" %*$5*0/"3: 7"-*%"5*0/� ����

&/'03$&% /".*/( $0/7&/5*0/4� ����

&/'03$&% 13&'*9&4� ����

3&4&26&/$*/(� ����

�#065 5)& '*&-% 3&'&3&/$& '*-&� ����

�#065 5)& �� �� �%8"3%4 .&44"(& '*-&� ����

�#065 5)& 130(3". 07&37*&8� ��

�#065 6/*7&34"- '*-& $0/7&35&3� ��

�#065 64&3 */%&9&4� ���

�#065 64&3 41"$&4� ����

�#065 64*/( ��� 1"44;5)306() 8*5) (3061

+0#4� ��

�#065 7&34*0/ $0/530-� �

�#065 803,*/( 8*5) 5)& �� �� �%8"3%4

(3061 +0# 8*/%08� ��

�$$&44*/(� %"5" .0%&-*/(� ���

�$$&44*/( ���� 130'*-&4� ���

�$$&44*/( 3&1035 %&4*(/ "*%� ���

�$$&44*/( ��� -0( */26*3:� ���

�$$&44*/( 5)& ���� �%8"3%4 "55&/5*0/ ���!

8*/%08� ��

�$$&44*/( 5)& ���� �%8"3%4 (3061 +0#

8*/%08� �

�$$&44*/( 5)& 40'58"3& 7&34*0/4 3&104*503:�

���

�$$&44*/( 5)& 64&3 */%&9� ����

�$$&44*/( 5)& 64&3 41"$&� ����

�$$&44*/( 7&34*0/4 4&561� ���

�$5*7"5*/( 4641&/%&% (3061 +0#4� ��

�%%

" 130+&$5� ��

130.05*0/ 1"5)� ��

�%% �3044 �7&3 �/4536$5*0/4 '03. ������

���

�%%*/( " -*5&3"- 7*%&0 '*&-%� "%%*/(� ����

�%%*/( '*&-%4� ���

��� ���� �1&$*"- 130$&44*/(

�%%*/( '*&-%4 8*5)065 64*/( " 1*$, -*45� ���

�%%*/( 3&$03% 5:1&4� ���

�%%3&44 /6.#&34� 4&"3$)*/( '03� ���

�%7"/$&% '6/$5*0/4 0' 5)& ���� �%8"3%4

(3061 +0# 8*/%08� ��

&/5&3*/( $0.."/%4� ��

)*%%&/ 4&-&$5*0/4� ��

�11-*$"5*0/ %&7&-01.&/5 $:$-&� ��

�3$)*5&$563&� &/(*/&&3*/(� $0/4536$5*0/� "/%

3&"- &45"5&� ���� �%8"3%4 130%6$5 -*/&� ��

�44*(/

130+&$5 ���4� ���

130.05*0/ 1"5)4� ��

�44*(/*/( 5)& '*-& 13&'*9� ����

Page 574: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

index–2 Release A7.3 (June 1996)

�::,5:065 ���# =05+6=� ����

(**,9905.� ����

-;5*:0659 9;44(8?� ����

�""� 2,? 786.8(4� 9,::05.� ���

�<(03()3, -;5*:065(3 9,8<,89� �����

�<(03()3, -;5*:0659 (5+ 67:0659� �

B

�(90* (**6;5:05. :8(59(*:0659� .8(7/0*�

����

�;03+ "8(59-,8 �0)8(8? -684 ������� ����

�;03+05. )36*29� ���� �+=(8+9 96-:=(8,�

����

C

���� ��� �647;:,8 �9909:,+ �,90.5

�(3*;3(:065 97,*0-0*(:0659� ���

�(33 �86.8(4 -684 ������� ���

��!� 786-03,9� ���

(**,9905.� ��

9;44(8?� ���

��!� �86-03,9 -684 ��������� ���� ���

��!� 786-03,9 786.8(4� -;5*:065 2,? ,>0:9�

���

�/(5., �0)8(8? �09: -684 ���������� ����

�/(5.05. *64703, 67:065 +,-(;3:9 -68

8,768:9� ���

�/(5.05. 8,*68+ :?7,9� ���

�/(5.05. 9;)-03, )6;5+(80,9� ��

:6 4(2, 3(8.,8� ��

:6 4(2, 94(33,8� ��

�/(5.05. :6 [email protected];7 46+,� ���

�63;45 "0:3, � � & �� );03+� +,-05,+� ��

�644653? ;9,+ -03, 9,8<,89� ���

�64703, 67:065 +,-(;3:9 -68 8,768:9�

*/(5.05.� ���

�6470305. ( 8,768:� ����

�6470305. ?6;8 <0+,6� ���

�647;:,8 �9909:,+ �,90.5� ��� ���

�647;:,8 �9909:,+ �,90.5 ����� -684

����� ��

�65+;*:05. ( 9,(8*/� ��

�65:05;, ,>,*;:065� 96;8*, +,);..,8�

��� �

�65:863 -0,3+9� ;9,8 97(*,� �����

�65:863 -0,3+9 =0:/05 :/, ;9,8 97(*,� �����

�65:863 �03,9 �67? -684 �������� ���

�65:863 7(8(4,:,89� �����

�65:863 97,*0-0*(:0659� ���

�65:863 :()3, 8,*68+9� :8(59-,8805.

05+0<0+;(3� ���

�65<,5:0659� 5(405.� ���

�65<,89065 �6849� �805:05.� �

�65<,89065 -6849� *8,(:05.� ��

�65<,89065 8;3, 786.8(4� �

-0-:/ 7(8(4,:,8� �

-089: 7(8(4,:,8� �

-6;8:/ 7(8(4,:,8� �

9,*65+ 7(8(4,:,8� �

:/08+ 7(8(4,:,8� �

�67? �(:( �03,9 -684 ��������� ��

�67? ��� $�� �%� #��� !$ � �,5;9 -684

���� ��� ��� ���

�67? �03, -684 ���'��� ���� ��

���' 46+;3,9� -;5*:065(3 9,8<,89� ����

�67? 46+;3,9� � �

�67?05. ( -03,� ��

�67?05. ( 30)8(8?� �

�67?05. ( 8,*68+� ��

�67?05. +(:( :6 ?6;8 +,<,3674,5:

,5<08654,5:� �

�67?05. ���� �+=(8+9 8,*68+ :?7,9� ��

�8,(:, �0)8(8? -684 �� "����� ��

�8,(:, �,= !*8,,5 -684 �������� ���

�8,(:, !6;8*, �/?90*(3 �03, -684

�� "! ����� ���

�8,(:, #9,8 �(:( �0)8(80,9 -684 �������

��

�8,(:05. ( +,<,3674,5: ,5<0864,5:� ��

�8,(:05. ( +,<,3674,5: 96;8*, 30)8(8?�

��

�8,(:05. ( ;9,8 05+,>� ����

�8,(:05. ( ;9,8 97(*,� �� �

�8,(:05. *64465 30)8(80,9� ��

�8,(:05. *65<,89065 -6849� ��� �

�8,(:05. +,<,3674,5: 6)1,*: 30)8(80,9� ���

�8,(:05. ���! � =0:/ ���� �+=(8+9

786.8(4 .,5,8(:68� ���

�8,(:05. ���! � =0:/6;: :/, 786.8(4

.,5,8(:68� ���

�8,(:05. 30)8(80,9� ��

�8,(:05. 5,= 16) .86;79� ��

�8,(:05. 8,*68+ :?7, *6+,9� ��

Page 575: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Release A7.3 (June 1996) index–3

�4($6,1* 6+( 64$15)(4 /,%4$4;� ��

��� ���� �(),1( $ 342-(&6� �(),1(

342026,21 3$6+5� �4(3$4( 6+( ��

5;56(0� �42026( 6+( 342-(&6 ,1 �42026( $

��� "3'$6( 6+( ��5 ,1 �42026( $ ���

#$/,'$6( 6+( 342026,21 3$6+ ,1 �42026(

$ ��

�4($6,1* 75(4 53$&( $1' 75(4 ,1'(:� ����

�4255 �()(4(1&( )240 ��������� ��� ���

�425528(4 47/(5� 924.,1* 9,6+� ���

�425528(4 �7/(5 )240 ������ ���� ����

���� ���� ���

D

�$6$ %$5( 8,'(2 ),(/' �#��� $'',1*� ���

�$6$ ',&6,21$4;

5(&74,6;� ���

75(4 '(),1(' +(/3 ,15647&6,215� ���

924.,1* 9,6+� ���

�$6$ �,&6,21$4; )240 ������ ���� ����

�$6$ ',&6,21$4; */255$4;

*42735� ��

924.,1* 9,6+� ��

924.,1* 9,6+ %; ),/(� ����

�$6$ ',&6,21$4; 4(325,624;� ��

�$6$ ',&6,21$4; 5647&674(

'$6$ ),(/' ',53/$; 6(:6� ���

'$6$ ),(/' 53(&,),&$6,215� ���

'$6$ ,6(0 $/,$5(5� ���

'$6$ ,6(0 $/3+$ '(5&4,36,21� ���

'$6$ ,6(0 0$56(4� ���

(4424 0(55$*( 342*4$0 ��� ���

*/255$4; 6(:6 ),/(� ���

.(; ,1'(: ),/(� ���

71'(456$1',1*� ���

�$6$ �,53/$; �(&,0$/5� '(),1('� ��

�$6$ �,53/$; �7/(5� '(),1('� ��

�$6$ �',6 �7/(5� '(),1('� ��

�$6$ �,(/' � �$4(16� '(),1('� ���

�$6$ �,(/' �/,$5 )240 ������� ���

�$6$ ),(/' '(5&4,36,215� 924.,1* 9,6+� ����

�$6$ �,(/' �(5&4,36,215 )240 ������ ����

�$6$ �,/( �(&,0$/5� '(),1('� ��

�$6$ ),/( '(5,*1 $,'� ����

(16(4,1*� ����

�$6$ �,/( �(5,*1 �,' )240 ������ �����

����� ����

�$6$ ),/( '(5,*1 $,' 56$1'$4'5� ����

�$6$ ),/( '(5,*1 $,' 5700$4;� ����

�$6$ ),/(5 4(/$6,215+,35� *4$3+,&� ���

�$6$ ,16(*4,6; /2*,&� ����

�$6$ �6(0� '(),1('� ���� ���

�$6$ ,6(0 $/,$5� 4(8,5,215� ���

�$6$ �6(0 �/$55� '(),1('� ��

�$6$ �6(0 �/255$4; �(8,5,215 )240

������� ���� ���� ����

�$6$ ,6(0 1$0(� /2&$6,1*� ���

�$6$ �6(0 ,<(� '(),1('� ��

�$6$ �6(0 !;3(� '(),1('� ���

�$6$ 02'(/,1*

$&&(55,1*� ���

)71&6,21 .(; (:,65� ���

5(/(&6,21 (:,65� ���

924.,1* 9,6+� ���

�$6$ �2'(/,1* )240 �������� �� � ����

���

�$6$%$5( &215,'(4$6,215� ��

�$6$%$5( ),(/'5� 5(/(&6,1*� ����

�(%7**(4

75,1* 9,6+ ,16(4$&6,8( 342*4$0� �� �

9,6+ %$6&+ 342*4$0� �� �

�(),1(

342-(&6� ��

342026,21 3$6+� ��

342026,21 3$6+ )24 &21642/ 6$%/(5� ���

342026,21 3$6+ )24 5274&( &2'(

0(0%(45� ���

�(),1( 2)6 �2',1* �,(/'5 )240 ���������

���

�(),1,1* $ 342-(&6� ���

�(),1,1* $ 342026,21 3$6+� ���

�(),1,1* $&&(55 )24 $ 75(4 342),/( 75,1*

������!� �

�(),1,1* $&&(55 )24 $ 75(4 342),/( 75,1*

������!�� ��

�(),1,1* 4(&24' 6;3( 6,6/(5� ���

��� ���� �4($6,1* 4(&24' 6;3( &2'(5

�(/(6,1* 4(&24'5� ���

�(5&4,36,21� '(),1('� ��

�(5&4,36,21��/3+$� '(),1('� ���

�(5,*1 �,' �:,6� $8( )240 ��� ���� ����

�(5,*1,1* 6+( 4(3246� ����

�(6$,/ 3(&� �8(4 !,6/(5 )240 ��������

���

Page 576: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

index–4 Release A7.3 (June 1996)

�,9(02 #6,*� $>6,8 -573 �!��� ����

�,9(02,+ ,=62(4(9054 5- ( 204,� ���

�,9,730404.� 675.7(3 ,4;07543,49� �� �

���

�,;,256,7�8 &571),4*/ -573 �������� ����

�,;,2563,49 *>*2,� �

�,;,2563,49 ,4;07543,49� *56>04. +(9(

95� ����

�,;,2563,49 ,4;07543,498� ���

7:2,8 -57 *7,(904.� ���

�0862(>04. -0,2+ +,8*70690548� ���

�08970):9054�25.0890*8� ���� �+<(7+8 675+:*9

204,� ��

+5*:3,49(9054� ��

E

�+09 (4+ !75359, -573 �!�� ��� ���

�+0904. *533(4+8� ���

�4+ +,):. ��������� ���

������ �,4+ +,):.�� ���

�4,7.> (4+ */,30*(2� ���� �+<(7+8 675+:*9

204,� ��

�49,704. �(9( -02, +,80.4 (0+� ��

�497> 675.7(3� 8,9904. :6 ):804,88 7:2,8�

���

�7757 /(4+204.� ��

�7757 3,88(.,� 04+,= 204, �� "�'�� � �

�7757 3,88(., 04+,= 204, �� "�'�� � �

�=(362,8� 675+:*9054 (4+ +,;,2563,49�

��

�=,*:904.

675.7(3 ),04. +,):..,+� ���

85:7*, +,):..,7� ���

�=08904. -0,2+� :6+(904.� ����

�=098� -:4*9054 1,>� ���

�=9,48054 86,*0-0*(90548� ��

F

�(89 6(9/ *7,(9,� (**,8804. -57 ( 4,< -573�

����

�,(9:7,8� 8>89,3 049,.7(9054� ��

�0,2+ +,-0409054� 7,;0804.� ����

�0,2+ �,-0409054 7,6579 �!��� �� ���

���� ��

�0,2+ +,-0409054 <04+5<� 7,6579 +,80.4 (0+

;8� 8*7,,4 +,80.4 (0+� ���

�0,2+ +,8*70690548� +0862(>04.� ���

�0,2+ 04 "��� :6+(904.� ��

�0,2+ 4(3, 89(4+(7+8� ����

:6+(904.�(++04. -0,2+8 9/75:./ #���

����

�0,2+ 7,-,7,4*, -02,� ����

7,):02+� ����

�0,2+ #,2,*9054 �089 -573 �!���� �� ����

����

�0,2+8

(++ /0++,4� ���

(++04.� ���

(++04. <09/5:9 :804. 60*1 2089� ���

�52:34 $092, � '"�� ):02+� ���

*5;,7 6(.,� .7(6/0*� ��

�(9( �0862(> �,*03(28� ���

�(9( �0862(> ":2,8� ����

�(9( �+09 ":2,8� ����

�(9( �0,2+ � !(7,49� ���

�(9( �02, �,*03(28� ���

�(9( �9,3� ���� ����

�(9( �9,3 �2(88� ���

�(9( �9,3 #0?,� ���

�(9( �9,3 $>6,� ���

�,8*7069054� ���

�,8*7069054��26/(� ���

+0862(>04.� ��� �+;(4*,+ �:4*90548

",-,7,4*, �:0+,� �536:9,7 �88089,+

�,80.4 ",-,7,4*, .:0+,

�2588(7> �75:6� ���� ����

�,26 $,=9 !75.7(3� ����

�,=9 �:3),704. �4+,= �:3),7� ����

�:3),7 5- �77(> �2,3,498� ���

",2,(8, �:3),7� ���

7,6579 /,(+,7� .7(6/0*� ���

#>89,3 �5+,� ���

#>89,3 �5+, � �,=9 �:3),78� ����

#>89,3 �5+,�",657904.� ���

%(2:, -57 �497> � �,-(:29� ����

<571� ���

�02, *54;,78054� <57104. <09/� ����

�02, +,8*7069054 86,*0-0*(90548� ��

�02, +,80.4 (0+� -:4*9054 1,>8 -753� ��

�02, 67,-0=� ����

�02, #,2,*9054 �089 -573 �!������� ����

�02, 8,7;,78� ��

(+;(49(.,8� ��

*533542> :8,+� ���

Page 577: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Release A7.3 (June 1996) index–5

.3=+.@+8>+1/=� ����

29A .9/= 3> 0?8->398� ����

37:6/7/8>381� �����

>3:= A2/8 ?=381� �����

>C:/=� ����

A2+> 3= +� ����

�36/=� -9:C381� ����

�38+8-3+6=� ���� �.A+<.= :<9.?-> 638/� ���

�69A 90 >C:3-+6 :<91<+7� 1<+:23-� �����

�9<7+> �/CA9<. +38>/8+8-/ 09<7

�#��� ��� ���

�9<7=

�.. �<9== "@/< �8=><?->398=� ����

�?36. &<+8=0/< �3,<+<C� �����

�+66 #<91<+7� ����

��%� #<9036/=� ����� ����

�2+81/ �3,<+<C �3=>� ����

�97:?>/< �==3=>/. �/=318 ������ ����

�98><96 �36/= �9:C� �����

�9:C �+>+ �36/=� ����

�9:C ��� ("� �)� '��� %($� /8?=�

����� �����

�9:C �36/� ����

�9:C �36/ ��#*��� ����

�</+>/ �3,<+<C ��$&����� ����

�</+>/ !/A %-<//8� ���

�</+>/ %9?<-/ #2C=3-+6 �36/ ��$&%$�#���

����

�</+>/ '=/< �+>+ �3,<+<3/=� ���

�<9== $/0/</8-/� ��

�<9== </0/</8-/� ����

�<9==9@/< $?6/=� ��� � ����� ����� �����

���

�+>+ �3->398+<C� ���� �� �

�+>+ �3/6. �63+=� ���

�+>+ �3/6. �/=-<3:>398=� �

�+>+ 036/ ./=318 �3.� ��

�+>+ �36/ '83>� �� � ���

�+>+ �>/7 �69==+<C $/@3=398=� ���� ���

�+>+ �>/7 �69==+<C $/@3=398=� �� �

�+>+ 9./6381� ��� ��� ��

�/=318 �3. �B3>%+@/� ���

�/>+36 %:/-� "@/< &3>6/=� ���

�/>+36 %:/-� &C:/=� �� �

�/@/69:/<�= )9<5,/8-2� ����

�.3> +8. #<979>/� ����

03/6. %/6/->398 �3=>� ���� ��

�36/ %/6/->398 �3=>� ��

�9<7+> �/CA9<. +38>/8+8-/� ���

�$� � ��� =1 �36/� � �

�?8->398 �/C":> �/0383>398� ���

�8.3-+>9< �98><96� ����

�>/7 +38>/8+8-/� ���� ��

�>/7 +=>/< �809<7+>398� ���� ����

�� � ���� ���� ���� ���� ���� ����

���� ���� ���� ���� ���

�>/7 %/+<-2� ���� ���� ���

��� #+==>2<? !/>A9<5� ����

��� (3=?+6 �/,?1� ������ ������ �����

�����

�3,<+<C �3=> $/@3=398=� ���

�3=> 90 �/038/. �3/6.=� ��� ����

�9+. &<+8=0/<</. �3,<+<C� �����

+38>+38 '=/< �/0+?6> %�$ �809� ����

7+38>+38 @9-+,?6+<C 9@/<<3./ 03/6.=�

����

+8+1/ #<91<+7 #+>2=� ����

+8+1/ #<94/->=� ���

!/B> !?7,/<=� � �

!/B> !?7,/<= ,C �97:+8C�3=-+6� � �

",4/-> �<9== $/0/</8-/ $/:9=3>9<C� ����

���

":>398+6 �36/= )9<5,/8-2� ����

#</ #<979>398 �.3> �/>+36=� �����

#</ #<979>398 �.3> �3=>9<C� �����

#<38> &<+8=0/< $/:9<>� �����

#<9-/==381 ":>398= $/@3=398=� ����� ����

����� �� � �� �� �� �

#<94/-> �6/7/8>=� ����

#<94/-> #<979>398 #+>2=� ����� ����

#<979>398 #+>2� ����

#<979>398 #+>2 �98><96 �36/=� ����

#<979>398 #+>2 /7,/<=� ����

$/-9<. �9<7+>= �3=>� ���� ��� ���

$/-9<. &C:/ &3>6/=� ����

$/79@/ /7,/< �$ ( �� ����

$/=>9</ �3,<+<C� �����

%�$ �91 �8;?3<C� ����

%�$ �91 &<+8=0/<� ����

%+@/ �3,<+<C� ����

%3816/ �� $/6+>398 �8><C� �� � ���

%90>A+</ �/@/69:7/8> #<94/->� ����

%90>A+</ %-+8 +8. $/:6+-/� �����

%90>A+</ &<+8=0/<� �����

%90>A+</ (/<=398= $/:9=3>9<C� ����� �����

����� ����� ����� ����� ����� ����� �����

� �� ��� ���� ����� �����

%>+<> #+==D&2<9?12� ����

'83@/<=+6 �36/ �98@/<>/<� ���� ����

'=/< �/038/. �9./ $/@3=398=� ����

Page 578: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

index–6 Release A7.3 (June 1996)

"7*6 �*+.2*) �3)*7 $.2)3;� �� � ���

"7*6 �2+361&8.32� ����� �� � ���

"7*6 !.,232 �.78 *:.7.327� ���

#*67.32 �328630� ���

#*67.327 �.78� ���

#*67.327 !*894� ���

�6*59*280= 97*) -.))*2 7*0*(8.327� �

� � � ��� �7, �.0* +361 ����� ��� ���

�92(8.32 /*=

*<.87 +631 7(6**2 )*7.,2 &.)� ����

.2).(&836 (328630� ����

�92(8.32 /*= *<.87� ���

.278&00�6*4368.2,� ���

0.78 3+ )*+.2*) +.*0)7� ���

6*'9.0) & +.0* 6*0&8.327-.4� ���

6*8962 83 46*:.397 4&2*0� ���

�92(8.32 /*= *<.87 +631 7(6**2 )*7.,2 &.)�

����

�92(8.32 /*= *<.87 +631 8-* ��!� 463+.0*7

463,6&1� ���

�92(8.32 /*= *<.87 +631 8-* !� 03,

.259.6=� ���

�92(8.32 �*=��48 �*+.2.8.32 +361 ������

����

�92(8.32 /*=7� ���

&((*77 6*437.836= 7*6:.(*7� ����

&9831&8.( 6*.259.6=� ����

(-*(/0.787� ���

)&8& ).(8.32&6=� ����

)&8& .8*1 (6377 6*+*6*2(*� ����

)&8& .8*1 7*&6(-� ����

)*+.2* 73+8 (3).2, �:3(&'90&6= 3:*66.)*7�

+.*0)7� ���

+03; 463,6&1�.009786&8* +.0* 13)*07� ���

+361&8 ).740&= (328630 ;.2)3;� ����

+361&8 /*=;36) 1&.28*2&2(*� ����

+92(8.32 /*=�348 )*+.2.8.32� ����

���� �);&6)7 (311&2) 0.2*� ���� ����

1*1'*6 4&6&1*8*6�/*= 0.78� ���

348.32&0 +.0*7� ���

6*437.836= 7*6:.(*7� ����

7(6**2 &2) ).740&= +361&8 (328630�

,6&4-.(� ����

79'+.0* )634� ����

83,,0* 1323(-631*�(3036 ).740&=� ����

97*6 )*+.2*) (3)* 8&'0*7� ����

;-*6* 97*) +&(.0.8=� ���

;.2)3; 0*+8� ����

;.2)3; 6.,-8� ����

�92(8.32 /*=7 +631 +.0* )*7.,2 &.)

&((*77 6*437.836= 7*6:.(*7� �� �

*<.8.2, )&8& +.0* )*7.,2 &.)� �� �

+.*0) -*04 32 )&8& .8*1� ��

���� �);&6)7 (311&2) 0.2*� ��

7*&6(- '= +.0*� �� �

�92(8.32&0 7*6:*6� .28*6&(8.:* 463,6&1

(=(0*� �

�92(8.32&0 7*6:*6 *6636 1*77&,*7� ,6&4-.(�

���

�92(8.32&0 7*6:*6 -.,-0.,-87� ���

'&7.( &((3928.2, 86&27&(8.327� ���

�92(8.32&0 7*6:*6 .28*6+&(*� ���

,6&4-.(� ���

�92(8.32&0 7*6:*6 4&6&1*8*67� ���

�92(8.32&0 7*6:*6 463,6&1 7*(8.327�

,6&4-.(� � �

�92(8.32&0 7*6:*6 86&27&(8.32 )&8&� ,6&4-.(�

���

�92(8.32&0 7*6:*6 97*6 .2)*<� ���

�92(8.32&0 7*6:*6 97*6 74&(*� ���

�92(8.32&0 7*6:*6����% 13)90*7� ���

�92(8.32&0 7*6:*67� ���

&):&28&,*7� ���

&:&.0&'0*� ��

(&00 4&6&1*8*67� �

���% 13)90*7� ���

).7&):&28&,*7� ���

-.,-0.,-87� ���

-3; 8-*= +92(8.32� ���

4&6&1*8*67� ���

97*6 .2)*<*7� ���

97*6 74&(*� ���

;-&8 &6* 8-*=� ��

�92(8.327� 2&:.,&8.32� ����

�92(8.327 &2) 348.327� ����

&)) .27869(8.327� ����

)*0*8* 6*(36)7� ���

+.0* +.*0) )*7(6.48.32� ���

79446*77 +631� ����

79446*77 83� ����

97*6 )*+.2*) 8*<8� ���

G

�*2*6&0 &*78-*8.(7� ����

&0.,21*28� ����

,6394.2, +.*0)7� ���

Page 579: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Release A7.3 (June 1996) index–7

64%'-2+� ����

�0366%5< �5384� ()*-2)(� ���� ���

�5%4,-'6

0-&5%5< 2%1-2+ '329)27-326� �

453.)'7 %775-&87)6� ���

"�! 03+� ���

9)56-32 '327530� �� �

9)56-32 '327530 1)28 39)59-):� �

9)56-32 '327530 453')66 *03:� ��

�5384 .3& :-2(3:

%'')66-2+� �

%(9%2')( *82'7-326� ��

)27)5-2+ '311%2(6� ��

,-(()2 6)0)'7-326� ��

:35/-2+ :-7,� ��

�5384 .3& :-2(3: 6811%5<� ��

�5384 .3&6� �

%'7-9%7-2+ 6864)2()(� ��

6-+2-2+ 3** :-7, 6864)2()(� ��

7)51-2%7-2+� ��

:35/-2+ :-7, 232=���� �(:%5(6� �

�8-()0-2)6� ���� ���

6'%2 %2( 5)40%')� ����

H

�)04 #);7 53+5%1� ()*-2)(� ��

�-(()2 *-)0(6� ����

�-(()2 6)0)'7-326� ��

�3: (3)6 % *-0) 6)59)5 *82'7-32�� ���

�3: (3)6 % *82'7-32%0 6)59)5 *82'7-32��

���

�3: (3)6 % 86)5 -2(); *82'7-32�� ����

�3: (3)6 % 86)5 64%') *82'7-32�� ����

I

��� 4%66=7,538+,

6)77-2+ 84 %'')66 73 5)137) 03'%7-326�

��

86-2+ :-7, +5384 .3&6� �

:35/-2+ :-7,� ��

�()27-*-)56

*-0) -2*351%7-32� � �

1%-27)2%2') 32 % 03+-'%0 *-0)� �

1)1&)5� � �

1)1&)5 5)0%7-326,-4 %2( '314-0-2+

-2*351%7-32� �

453')66-2+ % 6'5))2� � �

7<4)� 86)� %2( %663'-%7)( 6<67)16� �

:,)5) 1)1&)56 %5) 1%-27%-2)(� � �

�140)1)27-2+ % *-0) 6)59)5� ���

�2(); 0-2) ����!�$�� )5535 1)66%+)� ���

�2(-'%735 �327530 *351 � ������� ���

�2(-'%735 86%+)� ���

�2-7-%7-2+� 6385') ()&8++)5� �� � �� �

�2487 64)'-*-'%7-326� ���

�267%00�5)4357-2+� *82'7-32 /)< );-76� ���

�27)5%'7-9) 232=68&*-0) 453+5%1� +5%4,-'�

���

�27)5%'7-9) 453+5%1 '<'0) 86-2+ % *82'7-32%0

6)59)5� ����

�27)52%0 ! � 68&5387-2)6 :-7,-2 ����

�(:%5(6 453+5%16� ���

�7)1 ()6'5-47-32� +5%4,-'� ����

�7)1 �%-27)2%2') *351 � ������ �� ��

����

�7)1 �%67)5 �2*351%7-32 *351 � �����

���� ���� ����� ����� ��� � ����� �����

����� ����� ��� � ����� ���� ����� ���

�7)1 ")%5', *351 � ������ �� �� �� �

����

J

���� �(:%5(6 +5384 .3& :-2(3: 6811%5<�

��

���� �(:%5(6 453(8'7 0-2)� �

%5',-7)'785)� )2+-2))5-2+� '326758'7-32�

%2( 5)%0 )67%7)� ��

(-675-&87-32�03+-67-'6� �

)2)5+< %2( ',)1-'%0� ��

*-2%2'-%06� �

1%28*%'785-2+� ��

37,)5 -27)+5%7)( 63087-326� ��

48&0-' 6)59-')6� 67%7) %2( 03'%0

+39)521)276� )(8'%7-32� %2( 87-0-7-)6�

��

���� �(:%5(6 5)+-32%0 3**-')6 %2(

:350(:-() 3**-')6� ��

���� �(:%5(6 75%-2-2+ )29-5321)27� �

������#� ()*-2-2+ %'')66 *35 % 86)5 453*-0)�

Page 580: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

index–8 Release A7.3 (June 1996)

������"�� ()*-2-2+ %'')66 *35 % 86)5 453*-0)�

��

��� 34)2 %440-'%7-32 %5',-7)'785)� +5%4,-'�

����

��� �%667,58 �)7:35/ *351 ������� �

��� $-68%0 �)&8+ *351 ������� �� �

��� $-68%0 �)&8+ *351 �������� �� ��

����� ���

�3& +53846� '5)%7-2+ 2):� ��

�3-2 03+-'%0 *-0)6� ���

K

�)< 0-676� 6)%5',-2+ *35� ��

�)<:35(6� ���

&86-2)66 82-7� ���

',)'/ (%7% (-'7-32%5<� ��

(%7% (-'7-32%5< ()*%807� ���

(%7)6� ���

()*%807 '3267%27� ���

-2-7-%0-=)� ���

2);7 281&)5� ��

7)51-2%0 ��� ���

86)5 ()*-2)( '3() 033/84� ���

L

�-&5%5-)6

��"!��� ��

'34<-2+� ��

'5)%7-2+� ��� �

'5)%7-2+ % ()9)0341)27 6385')� ��

'5)%7-2+ '31132� ��

'5)%7-2+ ()9)0341)27 3&.)'7� ��

(%7%� ��

-267%00� ��

���� �(:%5(6� ��

�����!"��� ��

�����"�� ��

�����!� ��

������� ��

���! �� ��

3&.)'7� ��

40%26� ��

6)'85-7<� ��

6385')� ��

82()567%2(-2+ ()9)0341)27 6385')� �

�-&5%5< �-67 )9-6-326 *351 �������� ��

�-67 3* �)*-2)( �-)0(6 *351 ��� ���� �����

���

�-7)5%0 *-)0(� %((-2+� ����

�3%( "5%26*)55)( �-&5%5< *351 �������

�3%(-2+ 7,) 75%26*)5 0-&5%5<� ��

�3'%7)

% 453.)'7� ���

453137-32 4%7,� ��

�3'%7-2+ % (%7% -7)1 2%1)� ���

�3'%7-2+ 7,) 2);7 281&)56 *%'-0-7<� ���

�3'%7-2+ 7,) 5)&8-0( � � %2( ��� �6+ *-0)

*351� ����

�3+-'

(%7% -27)+5-7<� ����

86)5 -27)5*%')� ����

�3+-'%0 *-0)� 6%140)� ����

�3+-'%0 *-0)6� ��

.3-2� ���

�3+-'%0 *-0)6 :-7, 31-76� 6%140)� ����

�3+-'%0 *-0)6 :-7, 6)0)'76� 6%140)� ����

M

�%-27%-2 #6)5 �)*%807 !� �2*3 *351

������ ��

�%2%+) �53.)'76 *351 ������� ���

�%2%+) �53137-32 �%7,6 *351 ��������

���

�%28*%'785-2+� ���� �(:%5(6 453(8'7 0-2)�

��

�)1&)5 -()27-*-)56� � �

�)28 *03:� ����

�)5+) *82'7-326 *35 �"�6 %2( 5)-267%006�

����

�)66%+) *-0)

���� �(:%5(6� ����

03'%7-2+ 5)&8-0( � � � ��� �6+� ����

5)&8-0(-2+� ����

�-6')00%2)386 -7)16� ��

/)< 0-67 ����!"�� ��

2%1-2+ '329)27-326� ��

�3(80)6� '34<� ���

Page 581: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Release A7.3 (June 1996) index–9

N

�#/+0) %108'06+105� ����

�#/+0) %108'06+105 (14 1$,'%65� ����

�#8+)#6+10 (70%6+105� ����

#%%'55 4'215+614; 5'48+%'5� ����

#761/#6+% 4'+037+4;� ����

0':6 /'/$'4� ���

215+6+10 %74514 61 #%6+10 %1&'� ����

24'8+175 /'/$'4� ����

�':6 �7/$'4+0) �0&': �7/$'4� &'(+0'&�

����

�':6 �7/$'45 $; �1/2#0;��+5%#. (14/

����� ����

�':6 07/$'45 (#%+.+6;

.1%#6+0)� ���

914-+0) 9+6*� ���

914-+0) 9+6* $; %1/2#0; � (+5%#. ;'#4�

����

�':6 �7/$'45 (14/ ����� ���

�10<)4172 /1&'� %*#0)+0) 61� ���

�7/$'4 1( �44#; �.'/'065� &'(+0'&� ���

O

�$,'%6 %4155 4'('4'0%' 4'215+614;� 914-+0)

9+6*� ��

�$,'%6 �4155 �'('4'0%' �'215+614; (14/

���� �� ���� ��

�2'0 #22.+%#6+10 #4%*+6'%674'� )4#2*+%�

��

�26+10#. (+.'5 914-$'0%*� ���

�26+10#. �+.'5 "14-$'0%* (14/ ��������

���

�6*'4 +06')4#6'& 51.76+105� ���� �&9#4&5

241&7%6 .+0'� ��

�76276 52'%+(+%#6+105� ��

P

�#4#/'6'45

%#..� (14 6*' (70%6+10#. 5'48'4� �

%10641.� �

(70%6+10#. 5'48'45� ���

4'6740'&� ��

�'4(14/#0%' +557'5� ��

�+%- .+56� 2.#%+0) (+'.&5 10 # (14/ 75+0)�

���

�.#%+0) (+'.&5 10 # (14/ 75+0) # 2+%- .+56�

���

�4' �41/16+10 �&+6 �'6#+.5 (14/ ���� ���

��

�4' �41/16+10 �&+6 �+5614; (14/ ���� ���

��

�4'(+: 56#0&#4&5� ���

�4'2#4'� �� 5;56'/� ���

�4+06 !4#05('4 �'2146 (14/ �������� ����

�4+06+0) # 4'2146� ����

�4+06+0) 6*' 64#05('4 .+$4#4; 4'2146� ����

�41%'55 18'48+'9� 4'8+5+0) 81%#$7.#4; #0&

(70%6+10 -';5� )4#2*+%� ����

�41%'55 18'48+'9 � 2.#%+0) 5'.'%6'& (+'.&5�

���

�41%'55 18'48+'9 � 4'8+5+0) 6*' (+'.&

&'(+0+6+10� ����

�41%'55+0) �26+105 �'8+5+105 (14/

�������� ���� ���� ����� ���� ����� ����

�41&7%6+10 #0& &'8'.12/'06 ':#/2.'5�

��

$#5+% &'8'.12/'06 '08+410/'06� ��

$#5+% 241&7%6+10 '08+410/'06� ��

%1//10 5*#4'& .+$4#4;� ��

01 5174%' +0 241&7%6+10 '08+410/'06�

��

10' 5174%' #0& 1$,'%6 .+$4#4;� ��

�41(+.'5

&'(+0+0) #%%'55 (14 75+0) ������!� ����

&'(+0+0) #%%'55 (14 75+0) ������!�� ���

70&'456#0&+0) 75'4� ���

�41)4#/ #0& (+.' 0#/'5� ����

�41)4#/ $'+0) &'$7))'&� ':'%76+0)� ���

�41)4#/ '08+410/'06� &'6'4/+0+0)� �� �

���

�41)4#/ )'0'4#614

%4'#6+0) ��� ��� ���

%4'#6+0) ��� �� 9+6*176� ���

�41)4#/ 18'48+'9� �

�41)4#/ 52'%+(+%#6+105� ��

�41)4#/ 647%674'� ���

�41)4#//+0) 56#0&#4&5� �

�41)4#//+0) 611.5� ��

�41)4#/5 #0& ��5

� �%415518'4 47.'5�� ���� �� � ����

���� ����

�� �#&& %4155 18'4 +05647%6+105�� ���

���� ���� 2#556*47 0'6914-�� ����

Page 582: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

index–10 Release A7.3 (June 1996)

���� �+)44 8:7/:)5�� ���

������� �+0)6/- 41*:):A 41;<�� ��

� (� �+78A .14-�� ���� ����

�"$��� �+:-)<- 41*:):A�� ���

�"$#"� � �+:-)<- ;7=:+- 80A;1+)4 .14-��

���

��� �+758=<-: );;1;<-, ,-;1/6�� ����

���� �>-:;176 +76<:74 5-6=�� ���

����� �,->-478-:�; ?7:3*-6+0�� ����

��� �=61>-:;)4 .14- +76>-:<-:�� ����

����

� �6-@< 6=5*-:;�� ���

� �6-@< 6=5*-:; *A

+758)6A�.1;+)4�� ����

� �,-<)14 ;8-+� <A8-;�� ����

� �=;-: ,-.16-, +7,- :->1;176;��

�� �

�� �=;-: 16.7:5)<176�� ����� �� � ���

�� �=;-: ;1/676 41;< :->1;176;�� ���

� �41*:):A 41;< :->1;176;�� ���

���� �;16/4- ,�* :-4)<176 -6<:A�� �����

���

�� ���� >1;=)4 ,-*=/�� ���

�� �,-<)14 ;8-+� 7>-: <1<4-;�� ��

�� �:-+7:, <A8- <1<4-;�� ��

�!� �=;-: ,-.16-, +7,-; ?16,7?��

�� � ���

��� ��78A ��� &�� �'� %��� #&"�

�-6=;�� ����

�� �,)<) 1<-5 /47;;):A :->1;176;��

����� ����� ����

�� �,)<) ,1+<176):A�� ���� ����

��� �,)<) .1-4, ,-;+:18<176;�� ���

�� �,)<) .1-4, )41);�� ���

��� �,)<) .14- ,-;1/6 )1,�� �� � �� ��

��

�� �8:757<176 8)<0�� ����

�� �8:757<176 8)<0 5-5*-:;�� ����

�� � �8:757<176 8)<0 +76<:74 .14-;��

����

�� � �5)6)/- 8:7/:)5 8)<0;�� ���

�� �;7.<?):- ,->-4785-6< 8:72-+<��

��

�� � 8:72-+< 8:757<176 8)<0;�� ���

�� ' � 8:72-+< 8:757<176 8)<0;��

��

�� � � 8:72-+< -4-5-6<;�� ��

�� � �-,1< )6, 8:757<-�� ���

�� � �;7.<?):- <:)6;.-:�� ���

�� �� �+76<:74 .14-; +78A�� ���

�� � �5)6)/- 8:72-+<;�� ��

�� � �#�" 47/ <:)6;.-:�� ���

�� � �8:- 8:757<176 -,1< 01;<7:A��

��

�� � �8:- 8:757<176 -,1< ,-<)14;��

��

��� �+:-)<- 6-? ;+:--6�� ����

���� �:-+7:, .7:5)<; 41;<�� ����� ����

����� ��

����� �.14- ;-4-+<176 41;<�� ����

���� �.1-4, ;-4-+<176 41;<�� ���� ����

����� �.7:5)< 3-A?7:, 5)16<-6)6+-��

����

��� �41;< 7. ,-.16-, .1-4,;�� ����

���

���� �,-;1/6 )1, -@1<�;)>-�� ����

��� �1<-5 5)16<-6)6+-�� ����� ���

��� �1<-5 5);<-: 16.7:5)<176�� ����

����� ����� ��� � ����� ����� ����� �����

��� � ����� ����� ���� ��� � ����

���� �1<-5 ;-):+0�� ��� � ����� ����

��� �.1-4, ,-.161<176 :-87:<�� ���

���� ��

��� �16,1+)<7: +76<:74�� ���

��� �5)16<)16 >7+)*=4):A 7>-::1,-

.1-4,;�� ���

��� ���� >1;=)4 ,-*=/�� ���� ���

���

�� �.=6+<176 3-A�78< ,-.161<176�� ����

�� �+:7;; :-.-:-6+-�� ���� ���

�� ��*2-+< �:7;; "-.-:-6+-

"-87;1<7:A�� ���� ��

��� ���#� :7.14-;�� ����

��� ���#� 8:7.14-;�� ���

�� �;7.<?):- >-:;176; :-87;1<7:A��

�� �� ����� ����� ����� ����� ����� �����

����� ����� ����� ���� ��� ����

��

�� � �,)<) 57,-416/�� ���� ���� ��

�� �#�" 47/ 169=1:A�� ����

�� �+78A ,)<) .14-;�� ���

��� �5)16<)16 =;-: ,-.)=4< #�" 16.7��

����

���� �78<176)4 .14-; ?7:3*-6+0�� ���

��� �>-:;176; 41;<�� ���

��� �>-:;176; ;-<=8�� ���

���� �*=14, <:)6;.-: 41*:):A�� ���

���� �+:-)<- =;-: ,)<) 41*:):1-;�� ���

���� �47), <:)6;.-::-, 41*:):A�� ����

���� �8:16< <:)6.-: :-87:<�� ����

Page 583: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Release A7.3 (June 1996) index–11

��� �675)+88/4- 569/548 7+;/8/548��

�� ���� �� � ����� ���� ����

���� �85,9<'7+ 8)'4 '4* 7+62')+��

����

���!� ��!� � ��� �8- ,/2+�� ����

����� �)56> ��� %�� �&� $��� "%!�

�+4:8�� ��

!�%� �7+35;+ 3+3(+7�� ��

!"#��� �7+8957+ 2/(7'7>�� �

"�%��� �8';+ 2/(7'7>�� ��

"#! �"#�! �89'79 6'88?9.75:-.�� �

750+)9

*+,/4+� ��

*+,/4/4-� ���

675359+� ��

675359/4-� ���� ��

95 '**� ��

95 25)'9+� ���

95 675359+� ��

750+)9 �2+3+498 ,573 � ���� ���

750+)9 75359/54 '9.8 ,573 � ����

��

750+)9 75359/54 '9.8 ,573 � ��&��

��

750+)9 "��8� 95 '88/-4� ���

750+)9 :6*'9+8� 675359/4-� ��

75359+� 6750+)9� ��� ��

75359/4- ' 6750+)9� ���� ��

��� ���� �+,/4/4- ' 675359/54 6'9.

75359/4- 6750+)9 :6*'9+8� ��

75359/54 6'9.

*+,/4+� ��

;'2/*'9+� ��

;'2/*'9/4-� ��

75359/54 '9. �549752 �/2+8 ,573

� ����� ���

75359/54 '9. ,573 � ����� ��

75359/54 '9. �+3(+78 ,573 � �����

���

75359/54 6'9.8

*+,/4/4-� ���

95 '**� ��

95 '88/-4� ��

95 *+,/4+ ,57 )549752 9'(2+8� ���

95 *+,/4+ ,57 85:7)+ )5*+ 3+3(+78� ���

95 25)'9+� ��

95 ;'2/*'9+� ��

:4*+789'4*/4-� ��

75359/54 6'9.8 '4* 6750+)98� <571/4-

</9.� ��

#�8� 3+7-+ ,:4)9/548� ����

:(2/) 8+7;/)+8� 89'9+ '4* 25)'2

-5;+743+498� +*:)'9/54� '4* :9/2/9/+8� ����

�*<'7*8 675*:)9 2/4+� ��

R

!�� '4* �!��� &7/9+7� -7'6./)� ���

!+'*/4- ,753 ' :8+7 86')+� ����

!+(:/2* ' ,/2+ 7+2'9/548./6� ,:4)9/54 1+>

+=/98� ���

!+)57* ,573'98� ����

!+)57* �573'98 �/89 � � ��� ���

!+)57* �573'98 �/89 ,573 � � ��� �����

����� ���

!+)57* 9>6+ )5*+8� )7+'9/4-� ��

!+)57* 9>6+ 9/92+8

*+,/4/4-� ���

;+7/,>/4-� ���

��� ���� �7+'9/4- "�!8

!+)57* #>6+ #/92+8 ,573 � ������ ���

!+)57* 9>6+8

'**/4-� ���

).'4/4-� ���

)56>/4-� ��

!+)57*8

)56>/4-� �

*+2+9/4-� ���

!+/489'228� 3+7-+ ,:4)9/548� ����

!+2+'8+ �:3(+7� *+,/4+*� ���

!+35;+ �+3(+7 ,573 �!�%��� ��

!+6579

)536/2/4-� ���

67/49/4-� ���

8)'4 '4* 7+62')+� ����

!+6579 *+8/-4 '/*� ���

'))+88/4-� ���

!+6579 *+8/-4 '/* ,:4)9/54 1+>8

*/862'> '22 *+,/4+* ,/+2*8� ���

,573'9 */862'> )549752� ���

/4*/)'957 )549752 </4*5<� ���

3'/49'/4 ;5)'(:2'7> 5;+77/*+ ,/+2*8�

���

7+)57* ,573'98 2/89� ���

7+658/957> 8+7;/)+8� ���

:4*+789'4*/4-� ���

</4*5< 2+,9� ���

</4*5< 7/-.9� ���

Page 584: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

index–12 Release A7.3 (June 1996)

�'2146 &'5+)0 56#0&#4&5� ���

)'0'4#. #'56*'6+%5� ���

���� �&9#4&5 56#0&#4&5�4'%14& (14/#65�

���

��� ('#674'5� ���

�'2146 (14/#65� ���

�'2146 241)4#/ 9+6*176 57$*'#&+0)5�

)4#2*+%� ��

�'21465

�+'.& �'(+0+6+10� ��� ���� ��

�4+06 �056#.. �'%14&5� ���

�'%14& �14/#65 �+56� ��

�1(69#4' �%#0 #0& �'2.#%'� ��

!0+8'45#. �+.' �108'46'4� ����

�'5614' �+$4#4; (14/ ��� ����� ���

�'5614+0) 6*' 64#05('4 .+$4#4; (41/ 6#2'�

���

�'64+'8+0) &#6# (41/ # 75'4 +0&':� ��

�'6740'& 2#4#/'6'45� ��

�'8+'9 #0 ��� 241)4#/�5 5174%'� ���

��� 241)4#/�5 5174%'� 4'8+'9� ���

�7.'5 (14 %4'#6+0) &'8'.12/'06

'08+41/'065� ���

S

��� +0(14/#6+10� 5'.'%6+0) 6;2'5 61 .1)�

����

��� .1)� ����

��� .1) +037+4;

#%%'55+0)� ����

(70%6+10 -'; ':+65� ���

5'.'%6+10 ':+65� ����

57//#4;� ���

��� �1) �037+4; (14/ ������ ����

��� �1) 4#05('4 (14/ ���� ��� ���

��� .1))+0)� 5'6+0) 72 75'4 +0276 126+105�

���

��� 5;56'/

5'672� ��

61 24'2#4'� ���

���5� 72&#6+0)� ���

�#8' �+$4#4; (14/ ���"����� ���

�#8+0) 6*' 64#05('4 .+$4#4; 61 6#2'� ���

�%#0 #0& 4'2.#%'� ���

)7+&'.+0'5� ��

4'2146� ��

914-+0) 9+6*� ���

�%4''0 &'5+)0 #+&� �� �

57//#4;� ����

914-+0) 9+6*� ���

�%4''0 &'5+)0 56#0&#4&5 #0& 6+25� ���

#.2*# (+'.&5� ����

&'(#7.6 %74514� ����

&'5%4+26+10 (+'.&5� ����

(1.& #4'#� ����

.+0' � � ���

6+6.'� ���

9+0&19� ���

����:+6�5#8' (70%6+10 -';� ����

�'#4%*� %10&7%6+0)� ��� ���

�'#4%*+0) (14 -'; .+565� ��

�'.'%6 #.. (70%6+10 -';� 70&'456#0&+0)� ����

�'.'%6'& (+'.&5� 2.#%+0)� ���

�'.'%6+0) &#6#$#5' (+'.&5� ���

�'.'%6+0) 6;2'5 1( ��� +0(14/#6+10 61 .1)�

����

�'.'%6+10 ':+65

&#6# /1&'.+0)� ���

&+52.#;� ���

(+'.&5� ��

/18' 612� ���

51(69#4' 8'45+105 4'215+614;� ����

9*'4' 75'&� ���

�'.'%6+10 ':+65 (41/ 6*' 5%*'&7.+0)

914-$'0%*� ����

241%'55+0) 126+105� ����

�'66+0) 6*' $4'#- 21+06� 5174%' &'$7))'4�

��

�'66+0) 72 70+8'45#. (+.' %108'46'4� ���

�'66+0) 72 75'4 +0276 126+105 (14 ���

.1))+0)� ���

�+)0+0) 1(( 9+6* 5752'0&'& )4172 ,1$5�

��

�+)0+0) 10 #0& 1((� �

�+0).' ��� �'.#6+10 �064; (14/ ��������

����� ���

�1(649#4' "'45+105 �'215+614; (14/

������ ����

�1(69#4' �'8'.12/'06 �41,'%6 (14/

���� �� ��

�1(69#4' �%#0 #0& �'2.#%' (14/ �������

���

�1(69#4' �%#0 #0& �'2.#%' 4'2146 �������

��

�1(69#4' 4#05('4 (14/ ���� � �� ���

�1(69#4' "'45+105 �'215+614;

��� ���� �"�

Page 585: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Release A7.3 (June 1996) index–13

7/2+).' 7)4(� ���

�/&47!2% 6%23)/.3 2%0/3)4/29

!##%33).'� ���

3%,%#4)/. %8)43� ��

�/&47!2% %23)/.3 �%0/3)4/29 &/2- �������

���� � �� �� � ���� ���� ���� ����

���� ����� ����� ���� ���� �� �

�/52#% $%"5''%2� �� �

!$$ "2%!+0/).4� ���

!$$ "2%!+0/).4 7)4( 02/-04� ����

#(!.'% 02/'2!- 6!2)!",%� ���

#/--!.$ ,).% 7).$/7� ���� ����

#/.4).5% %8%#54)/.� ����

#/.4).5% 02/#%33).'� ���

$)30,!9 ).$)#!4/2 6!,5%3� ����

$)30,!9 02/'2!- 6!2)!",%� ����

%8%#54% 4(% 02/'2!-� �� �

&%!452%3� ���

).)4)!4).'� �� � �� �

-/6% ,).% 4/ 4/0 /& 0!'%� ���

2%-/6% #522%.4 "2%!+0/).4� ���

3#!. "!#+7!2$� ����

3#!. &/27!2$� ����

3%4 4(% "2%!+ 0/).4� ����

�4!.$!2$ 3#2%%. &5.#4)/. +%93� ��

�4!.$!2$3

&)%,$ .!-%� ��

02%&)8%3� ��

3#2%%. $%3)'.� ���

�4!24 �!33:�(2/5'( &/2- ������������

�5"&),% "/5.$!2)%3� #(!.').'� ����

�5"&),% 02/'2!- 7)4( 3%,%#4)/. %8)43�

'2!0()#� ���

�5"2/54).%3� ��

#/--/.� ���

).4%2.!, ���� 7)4(). ���� �$7!2$3

02/'2!-3� ���

34!.$!2$� ��

�5--!29 /& ���� 02/&),%3� ��

�5--!29 /& ���� �$7!2$3 !44%.4)/. ����

7).$/7 &5.#4)/.3� ��

�5--!29 /& 3#2%%. $%3)'. !)$� ����

�5--!29 /& 4(% ��� ,/' ).15)29� ���

�530%.$%$ '2/50 */"3� 3)'.).' /&& 7)4(�

��

� �� ��� �/&47!2% %23)/.3 �%0/3)4/29

�934%- �/$%� $%&).%$� ���

�934%- �/$% � �%84 �5-"%23� $%&).%$�

���

�934%- �/$%��%0/24).'� $%&).%$� ���

�934%- ).4%'2!4)/.� �

&%!452%3� �

T

�%2-).!4).' '2/50 */"3� ��

�(% #!,, 0!2!-%4%23 &/2 4(% &5.#4)/.!,

3%26%2� ���

�(% &5.#4)/. +%93 &/2 4(% $!4! $)#4)/.!29�

���

�)03 7(%. 53).' &),% 3%26%23� ���

�/ 7/2+ 7)4( 3/&47!2% 3#!. !.$ 2%0,!#%�

����

�2!#+).' ).&/2-!4)/. )& 72)4).' 6!2)!",%

,%.'4( 2%#/2$3� ����

�2!$)4)/.!, !2#()4%#452%� '2!0()#� ����

���

�2!).).' %.6)2/.-%.4� �

#,!33%3� ��

,)"2!29 .!-).' #/.6%.4)/.3� �

3)'./. .!-).' #/.6%.4)/.3� �

345$%.4 ,)"2!29 3%450� �

�2!.3&%2 ,)"2!29

#2%!4).'� ��

,/!$).'� ��

2%34/2).' &2/- 4!0%� �

3!6).' 4/ 4!0%� ��

�2!.3&%2 ,)"2!29 2%0/24� 02).4).'� �

�2!.3&%22).' ).$)6)$5!, #/.42/, 4!",%

2%#/2$3� ��

�90%3 /& &),% 3%26%23� ����

U

�.$%234!.$).' $%6%,/0-%.4 3/52#%

,)"2!2)%3� �

�.$%234!.$).' 02/-/4)/. 0!4(3� ��

�.$%234!.$).' 4(% $!4! $)#4)/.!29

3425#4$52%� ���

�.$%234!.$).' 4(% 2%0/24 $%3)'. !)$

&5.#4)/. +%93� ���

�.$%234!.$).' 4(% ��� %8)4�3!6% &5.#4)/.

+%9� ����

�.$%234!.$).' 4(% 3%,%#4 !,, &5.#4)/. +%9�

���

Page 586: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

index–14 Release A7.3 (June 1996)

&6,-9:;)6,16/ ;0- <61=-9:)4 .14- +76=-9;-9

:-;<8� ���

&6,-9:;)6,16/ <:-9 897.14-:� ���

&61=-9:)4 *<14,16/ *47+3: 7. ���� �,>)9,:

:7.;>)9-� �

&61=-9:)4 .14- +76=-9;-9� ��

*<:16-:: <61;� ��

+0-+3 ,);) ,1+;176)9@� ��

,);) ,1+;176)9@ ,-.)<4;� ��

,);)*):- +76:1,-9);176:� ���

,);-:� ��

,-.)<4; +76:;)6;� ���

/9)801+� ���� ���

161;1)41A);176� ��

6-?; 6<5*-9� ��

6<5-91+ .1-4,:� ��

:-;;16/ <8� ���� ���

:8-+1)4 897+-::16/� ��

<6,-9:;)6,16/ :-; <8� ���

<:-9 ,-.16-, +7,- 4773<8� ��

<:-9 9-:876:1*141;1-:� ���

&61=-9:)4 �14- �76=-9;-9 .795 ���� �� ����

����

&61=-9:)4 �14- �76=-9;-9 9-879; �!�����

����

&8,);16/ ) .1-4, 16 #��� ��

&8,);16/ )6 -?1:;16/ .1-4,� ����

&8,);16/ ;0- $�#:� ���

&8,);16/�),,16/ .1-4,: ;097</0 $��� ����

&:)/-� 16,1+);79� ��

&:-9 �-.16-, �7,- #-=1:176: .795

�!��� �� �

&:-9 ,-.16-, +7,- >16,7>� ��

&:-9 �-.16-, �7,-: (16,7> .795

�!�"��� �� � ���

&:-9 ,-.16-, 0-48 16:;9<+;176:� ,);)

,1+;176)9@� ����

&:-9 16,-?-:� ���

)++-::16/� �

),=)6;)/-:� ���

+9-);16/� ���� ���� ���

.<6+;176)4 :-9=-9:� ���

07> ,7-: 1; .<6+;176� ���

9-;91-=16/ ,);) .975� ��

>91;16/ ;7� ��

&:-9 �6.795);176 .795 �!���� ����� �� �

���

&:-9 16;-9.)+- 47/1+� ��

&:-9 9-:876:1*141;1-:� ���

&:-9 $1/676 �1:; #-=1:176: .795 �!� ��

���

&:-9 :8)+-� ���� ���

)++-::16/� ���

),=)6;)/-:� ���

+76;974 .1-4,:� �

+9-);16/� ���� ���

.<6+;176)4 :-9=-9:� ���

07> 1; .<6+;176:� ���

9-),16/ .975� ��

>91;16/ ;7� ���

&:16/ ����� ����

&:16/ �� %�� ����

&:16/ ,-*<//-9 >1;0 ) *);+0 897/9)5�

���

&:16/ ,-*<//-9 >1;0 )6 16;-9)+;1=-

897/9)5� ��

&:16/ ��� 8)::B;097</0 >1;0 /97<8 27*:�

���

V

')41,);-� 89757;176 8);0� ��� ���

')41,);16/ ) 89757;176 8);0� ��

')4<- .79 �6;9@ � �-.)<4;� ,-.16-,� ����

')91)*4- 4-6/;0 9-+79,:� ;9)+316/

16.795);176� ���

'-9:176 +76;974� ��

'-9:176 +76;974 5-6<� ���

'-9:176 �76;974 �-6< .795 ������� ���

'-9:176 +76;974 5-6< 7=-9=1->� ���

'-9:176: �1:; .795 �!����� ���

'-9:176: $-;<8 .795 �!����� ���

'1,-7� +7581416/� ���

'1,-7 +76:;)6; .1-4, �'� �� ),,16/� ����

'1,-7 .1-4,:

),,16/� ����

9-+79, .795);: 41:;� ����

W

(� � �-;)14 .795� )++-::16/� ���

(0); )9- +)4+<4);176 :8-+1.1+);176:�� ��

(0); )9- +76;974 8)9)5-;-9:�� �

(0); )9- +76;974 :8-+1.1+);176:�� �

(0); )9- -?;-6:176 :8-+1.1+);176:�� ��

(0); )9- .14- ,-:+918;176 :8-+1.1+);176:�� ��

Page 587: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Release A7.3 (June 1996) index–15

���) �'� �*$�)�%$�" (�'+�'(�� ���

���) �'� �$&*) (&�������)�%$(�� ��

���) �'� %*)&*) (&�������)�%$(�� ��

���) �'� '�)*'$�� &�'�#�)�'(�� ����

���) �'� )�� ��+�$)���( %� *(�$� � ��"�

(�'+�'�� ����

���) �'� )�� ��+�$)���( %� *(�$� �

�*$�)�%$�" (�'+�'�� ���

���) �'� )�� ��+�$)���( %� *(�$� � *(�'

�$��-�� ���

���) �'� )�� ��+�$)���( %� *(�$� � *(�'

(&����� ��

���) �'� )�� ��)� ��"� ��(��$ ��� ()�$��'�(�

��

���) �'� )�� ��(��+�$)���( %� *(�$� � ��"�

(�'+�'�� ����

���) �'� )�� ��(��+�$)���( %� *(�$� �

�*$�)�%$�" (�'+�'�� ����

���) �'� )�� '�&%') ��(��$ ()�$��'�(� ����

���) �'� )�� '�&%') �%'#�)(�� �����

���) �( � ��"� (�'+�'�� ���

���) �( � *(�' (&����� ��

��$�%,(� ���

�%'! ���"�(� ���

%&)�%$ ��"�(� ���

�%'! ,�)� $%$/���� ��,�'�( �'%*& %�(�

���

�%'!��$��� %&)�%$�" ��"�(� ���

�%'!�$� ,�)� ��)� ���"� ��(�'�&)�%$(� ����

�%'!�$� ,�)� ��)� �)�# �"��( '�+�(�%$(� ���

�%'!�$� ,�)� ��)� #%��"�$�� ���

�%'!�$� ,�)� ��"� �%$+�'(�%$� ���

�%'!�$� ,�)� $�-) $*#��' �. �%#&�$.

�$� ��(��" .��'� ����

�%'!�$� ,�)� %� ��) �'%(( '���'�$��

'�&%(�)%'.� ����

�%'!�$� ,�)� &'%#%)�%$ &�)�( �$�

&'% ��)(� ����

�%'!�$� ,�)� (�'��$ ��(��$ ���� ��

�%'!�$� ,�)� �%�),�'� ��'(�%$( ��&%(�)%'.�

���

�%'!�$� ,�)� )�� �'%((%+�' '*"�( �%'#�

����

�%'!�$� ,�)� )�� ��)� ���)�%$�'.� ����

�%'!�$� ,�)� )�� ��)� ���)�%$�'. �"%((�'.�

���

�%'!�$� ,�)� )�� ��)� ���)�%$�'. �"%((�'.

�. ��"�� ����

�%'!�$� ,�)� )�� $�-) $*#��'( ����"�).�

����

�%'!�$� ,�)� *(�' ����$�� ��"&

�$()'*�)�%$(� ����

�'�)�$� )% � *(�' �$��-�(� � �

�'�)�$� )% � *(�' (&���� ���

Page 588: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

index–16 Release A7.3 (June 1996)

Page 589: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Exercises

Page 590: Advanced Programming Concepts and Skills - Oracle · Advanced Programming Concepts and Skills A8.1 (8/97) ")51-2%7-2+ 5384ˇ3&6 ,%2+-2+73˛32> 5384˝3() !-+2-2+˚**:-7,!864)2()( 5384ˇ3&6

Advanced Programming Concepts and Skills

index–18 Release A7.3 (June 1996)