1、BRITISH STANDARD BS ISO/IEC 13238-3:1998 Information technology DataManagement Part 3: IRDS export/import facility ICS 35.100.70BSISO/IEC13238-3:1998 This British Standard, having been prepared under the directionof the DISC Board, waspublished under the authorityof the Standards Committee and comes
2、 intoeffecton 15June1999 BSI 05-2000 ISBN 0 580 32649 7 National foreword This British Standard reproduces verbatim ISO/IEC13238-3:1998 and implements it as the UK national standard. The UK participation in its preparation was entrusted to Technical Committee IST/40, Data management and interchange,
3、 which has the responsibility to: aid enquirers to understand the text; present to the responsible international/European committee any enquiries on the interpretation, or proposals for change, and keep the UK interests informed; monitor related international and European developments and promulgate
4、 them in the UK. A list of organizations represented on this committee can be obtained on request to its secretary. Cross-references The British Standards which implement international or European publications referred to in this document may be found in the BSI Standards Catalogue under the section
5、 entitled “International Standards Correspondence Index”, or by using the “Find” facility of the BSI Standards Electronic Catalogue. A British Standard does not purport to include all the necessary provisions of a contract. Users of British Standards are responsible for their correct application. Co
6、mpliance with a British Standard does not of itself confer immunity from legal obligations. Summary of pages This document comprises a front cover, an inside front cover, pages i and ii, theISO/IEC title page, pages ii to vi, pages 1 to 149 and aback cover. This standard has been updated (see copyri
7、ght date) and may have had amendments incorporated. This will be indicated in the amendment table on the inside front cover. Amendments issued since publication Amd. No. Date CommentsBSISO/IEC13238-3:1998 BSI 05-2000 i Contents Page National foreword Inside front cover Foreword v Text of ISO/IEC 132
8、38-3 1ii blankBSISO/IEC13238-3:1998 ii BSI 05-2000 Contents Page Foreword v Introduction vi 1 Scope 1 2 Normative references 1 3 Definitions 2 3.1 Terms from ISO/IEC 10027 IRDS Framework 2 3.2 Terms from ISO/IEC 10646-1 Universal Multiple-Octet Coded Character Set (UCS) 2 3.3 Terms from ISO/IEC 1072
9、8 IRDS Services Interface 2 3.4 Additional definitions 2 4 Abbreviations 3 5 Conventions 4 5.1 Definition of Data in the Transfer File 4 5.2 Definition of Services 4 6 Concepts and facilities 4 6.1 Overview 4 6.2 Transfer File 4 6.3 Export/import services 6 6.4 Working Sets 6 6.5 Import Control Tabl
10、es 7 6.6 Content Modules 7BSISO/IEC13238-3:1998 BSI 05-2000 iii Page 7 Specification of the Transfer File 7 7.1 Character Set 7 7.2 Character Coding 7 7.3 Tokens 7 7.4 White Space 9 7.5 IRDS Transfer File Structure 10 7.6 Transfer File Header 11 7.7 Transfer File IRD definition 13 7.8 Transfer File
11、IRD content 16 7.9 Transfer File Table Transfer Syntax 17 8 Specification of the Import Control Tables 20 8.1 Table IRDS Dictionary Import Control 20 8.2 Table IRD Object Import Control 20 8.3 Table IRD Working Set Import Control 21 9 Specification of the export/import services 23 9.1 Relationship t
12、o the IRDS Services Interface 23 9.2 Services provided 23 9.3 Selection of data to be exported 23 9.4 Service Data Types and Data Structures 24 9.5 Open IRDS Export File 25 9.6 Select For Export Service 27 9.7 Clear Export Selection Service 29 9.8 Export Working Set 30 9.9 Close IRDS Export File 33
13、9.10 Open IRDS Import File 34 9.11 Retrieve Import File Working Set Details 36 9.12 Import Working Set 37 9.13 Import Complete File 41BSISO/IEC13238-3:1998 iv BSI 05-2000 Page 9.14 Close IRDS Import File 43 10 Conformance 44 10.1 File Format Conformance 44 10.2 File Format and Services Conformance 4
14、4 Annex A (normative) State Classes and Subclasses 45 Annex B (informative) Business Requirement 50 Annex C (informative) Example Use Of the BNF syntax for transferring columns 51 Annex D (informative) Sample Transfer File Format 53 Annex E (informative) Informative illustrations of the file structu
15、re 143 Index 147 Figure 1 File Syntax 10 Figure 2 Header Syntax 11 Figure 3 IRD Definition Export Syntax 14 Figure 4 IRD Tables 15 Figure 5 IRD Content Syntax 16 Figure 6 Table Transfer Syntax 18 Figure 7 Business Data Model 54 Figure 8 Implementation Data Model 56 Figure 9 An example screen layout
16、to be represented in the IRD 56 Figure 10 File Structure as an Indented List 143 Figure 11 Overall File Structure Diagram 145 Figure 12 Header File Structure Diagram 145 Figure 13 Definition and Content File Structure Diagram 146BSISO/IEC13238-3:1998 BSI 05-2000 v Foreword ISO (the International Org
17、anization for Standardization) and IEC (the International Electrotechnical Commission) form the specialized system for worldwide standardization. National bodies that are members of ISO or IEC participate in the development of International Standards through technical committees established by the r
18、espective organization to deal with particular fields of technical activity. ISO and IEC technical committees collaborate in fields of mutual interest. Other international organizations, governmental and non-governmental, in liaison with ISO and IEC, also take part in the work. In the field of infor
19、mation technology, ISO and IEC have established a joint technical committee, ISO/IEC JTC1. Draft International Standards adopted by the joint technical committee are circulated to national bodies for voting. Publication as an International Standard requires approval by at least75% of the national bo
20、dies casting a vote. International Standard ISO/IEC13238-3 was prepared by Joint Technical Committee ISO/IEC JTC1, Information technology, Subcommittee SC32, Datamanagement services. ISO/IEC13238 consists of the following parts, under the general title Information technology Data Management: Part 1:
21、 Export/import framework; Part 2: SQL import/export; Part 3: IRDS export/import facility. Annex A forms an integral part of this part of ISO/IEC13238. Annex B to Annex E are for information only.BSISO/IEC13238-3:1998 vi BSI 05-2000 Introduction ISO/IEC13238 is a three part standard. Part1 defines an
22、 overall framework for Export/Import facilities. Part 2 defines facilities for export from and import to SQL databases that conform to ISO/IEC9075. This part, Part3, defines facilities for export from and import to an IRD and or an IRD Definition that conform to ISO/IEC10728.BSISO/IEC13238-3:1998 BS
23、I 05-2000 1 1 Scope This part of ISO/IEC13238 enables the bulk transfer of all or part of the data contained in an Information Resource Dictionary (IRD) or in an Information Resource Dictionary Definition conforming to ISO/IEC10728:1993 IRDS Services Interface. This part of ISO/IEC13238 defines a fo
24、rmat for such a transfer and also services to generate the export file and services to import the file. These services are additional to the existing services defined in the IRDS Services Interface. This version of this part of ISO/IEC13238 defines a limited set of Export and Import services. It is
25、expected that implementations will also provide more sophisticated services based on the use of the Transfer File structure defined in this part of ISO/IEC13238. The physical way in which the transfer takes place is outside the scope of this part of ISO/IEC13238. Each transfer may be effected in one
26、 of several ways including the physical transfer of the data using a transportable storage device. 2 Normative references The following standards contain provisions which, through reference in this text, constitute provisions of this part of ISO/IEC13238. At the time of publication, the editions ind
27、icated were valid. All standards are subject to revision, and parties to agreements based on this part of ISO/IEC13238 are encouraged to investigate the possibility of applying the most recent editions of the standards indicated below. Members of IEC and ISO maintain registers of currently valid Int
28、ernational Standards. ISO/IEC 6429:1992, Information technology Control functions for coded character sets. ISO/IEC 9075:1992, Information technology Database languages SQL. ISO/IEC 10027:1990, Information technology Information Resource Dictionary System (IRDS) framework. ISO/IEC 10646-1:1993, Info
29、rmation technology Universal Multiple-Octet Coded Character Set (UCS) Part 1: Architecture and Basic Multilingual Plane. ISO/IEC 10728:1993, Information technology Information Resource Dictionary System (IRDS) Services Interface. ISO/IEC 13238-1: 1) , Information technology Data Management Part 1: E
30、xport/import framework. 1) To be published.BSISO/IEC13238-3:1998 2 BSI 05-2000 3 Definitions For the purposes of this part of ISO/IEC13238, the following definitions apply. 3.1 Terms from ISO/IEC 10027 IRDS Framework 3.1.1 Application level 3.1.2 IRD 3.1.3 IRD definition level 3.1.4 IRD definition s
31、chema level 3.1.5 IRD level 3.1.6 IRD schema 3.1.7 IRDS 3.2 Terms from ISO/IEC 10646-1 Universal Multiple-Octet Coded Character Set (UCS) 3.2.1 Basic Multilingual Plane (BMP) 3.2.2 Character 3.3 Terms from ISO/IEC 10728 IRDS Services Interface 3.3.1 IRD Object 3.3.2 Name 3.3.3 Object 3.3.4 Object Ve
32、rsion 3.3.5 Variation Name 3.4 Additional definitions 3.4.1 clear text file encoding a class of techniques for representing data based on first defining a human readable representation using some specific character repertoire and then defining an encoding for that repertoire 3.4.2 export IRD the exp
33、ort of data from an origin or source IRDS into a Transfer File 3.4.3 export process the process of generating a Transfer File from a source environmentBSISO/IEC13238-3:1998 BSI 05-2000 3 3.4.4 exporter the agent of the export process 3.4.5 import IRD the import of data to a destination or target IRD
34、S from an Transfer File 3.4.6 import process the process of incorporating the content of a Transfer File into a target environment 3.4.7 importer the agent of the import process 3.4.8 IRDS-data a collection of data comprising the content of all or part of an IRD Definition and/or an IRD. This is a g
35、eneric term used for convenience to describe the content of a Transfer File 3.4.9 IRDS transfer file a Transfer File containing data which defines and describes the content of an IRD or a subset of an IRD. It is made up of three components: Transfer File Header component, Transfer File IRD Definitio
36、n component, and Transfer File IRD Content component 3.4.10 transfer file a file containing data to be interchanged. It is made up of a header, and a number of components. Components contain either data, or data definition data 3.4.11 transfer file header the first component of a Transfer File. This
37、 component contains data that uniquely defines the Transfer File. It contains details of the export IRD identification and time stamp 3.4.12 transfer file IRD definition the second (and optional) component of a Transfer File. This component contains the IRD definition that defines the following IRD
38、content 3.4.13 transfer file IRD content the third (and optional) component of a Transfer File. This component contains the IRD content to be interchanged 4 Abbreviations Abbreviations used in this part of ISO/IEC13238 are: a) BMP Basic Multilingual Plane; b) BNF Bachus Naur Form; c) IRDS Informatio
39、n Resource Dictionary System; d) IRD Information Resource Dictionary; e) TF Transfer File; f) UTC Co-ordinated Universal Time.BSISO/IEC13238-3:1998 4 BSI 05-2000 5 Conventions 5.1 Definition of Data in the Transfer File An extended Bachus Naur Form (BNF) is used to describe the sequence of data in t
40、he Transfer File. The form of BNF used is that defined in ISO/IEC9075, 3.2. The names of the syntax units start with a lower case alphabetic character and intermediate characters are capitalised when they start a word. 5.2 Definition of Services The conventions used to define services in clause8 are
41、 those used in ISO/IEC10728:1993 and where operations on the abstract data structure are defined, they are in terms of the data structure defined in Clause6 of ISO/IEC10728. 6 Concepts and facilities 6.1 Overview This clause describes the Transfer File format and the services which are used to expor
42、t and import IRDSdata. The services specified provide for the creation of an operating system file of characters of a specified encoding and in a defined sequence and its subsequent use in the same or a different real system. The physical transfer of an Transfer File from one real system to another
43、may take place by any appropriate means. The character encoding to be used is specified by this International Standard and hence no translation of the Transfer File is required or permitted when the file is transferred from one real system to another. 6.2 Transfer File 6.2.1 Structure An IRDS Transf
44、er File may contain an IRD Definition (which contains information which defines the content of an IRD) or a subset of an IRD Definition and/or an IRD or a subset of an IRD. For ease of reference each of these combinations is referred to in this part of this International Standard as IRDS-data. An IR
45、DS Transfer File is made up of three components as follows: a) Transfer File Header; b) Transfer File IRD Definition; c) Transfer File IRD Content.BSISO/IEC13238-3:1998 BSI 05-2000 5 The Transfer File header is a mandatory component. Both the Transfer File IRD Definition data and the Transfer File I
46、RD Content are optional. However, one of the two must be present. The presence or absence of each is indicated in the Transfer File Header. There may be many Transfer File IRD Definition Data components and/or Transfer File IRD Content components. This standard requires one component per IRD Working
47、 Set. The reason for the optionality of the IRD Definition Data component is to allow it to be omitted in situations where data conforming to the same IRD Definition is being transferred frequently between the same exporter and importer. Optionality of the IRD Content component allows an IRD Definit
48、ion to be exported without any conforming IRD Content. This facility may be used prior to a set of Transfer Files being created using the same IRD Definition, but containing different IRD Content. The IRD Definition Data and the IRD Content are each composed of a number of sets of rows. Each set of
49、rows represents selected data from a single working set. All IRD Definition and IRD level tables can be exported. In the data for a working set, all the IRD Object and IRD Object Version rows are included that are referenced by any other rows selected from the working set. In the data for a working set, rows from the IRD_REFERENCE_PATH table are included to describe all of the reference paths used by foreign keys in the rows selected from the working set. 6.2.2 Transfer File Header The Transfer File header c