UDS/SQL V2.8 Ready Reference
Total Page:16
File Type:pdf, Size:1020Kb
Deutsch FUJITSU Software BS2000 UDS/SQL V2.8 Ready Reference © Siemens© NixdorfInformationssysteme AG 1995 Pfad: P:\FTS-BS\DB\UDS\UDSV28\Docs\1501707_UDS_TBB\en\udstab.vor Ready Reference Edition March 2016 Comments… Suggestions… Corrections… The User Documentation Department would like to know your opinion on this manual. Your feedback helps us to optimize our documentation to suit your individual needs. Feel free to send us your comments by e-mail to: [email protected] Certified documentation according to DIN EN ISO 9001:2008 To ensure a consistently high quality standard and user-friendliness, this documentation was created to meet the regulations of a quality management system which complies with the requirements of the standard DIN EN ISO 9001:2008. cognitas. Gesellschaft für Technik-Dokumentation mbH www.cognitas.de Copyright and Trademarks Copyright © 2016 Fujitsu Technology Solutions GmbH. All rights reserved. Delivery subject to availability; right of technical modifications reserved. All hardware and software names used are trademarks of their respective manufacturers. This manual is printed on paper treated with chlorine-free bleach. Contents 1 Preface . 9 1.1 Structure of the UDS/SQL documentation . 9 21. März2016 Stand 09:33.07 Pfad: P:\FTS-BS\DB\UDS\UDSV28\Docs\1501707_UDS_TBB\en\udstab.ivz 1.2 Objectives and target groups of this manual . 14 1.3 Summary of contents . 15 1.4 Changes since the last edition of the manuals . 16 1.5 Notational conventions . 18 1.5.1 Warnings and notes . 18 1.5.2 Non-SDF notational conventions . 18 1.5.3 SDF syntax representation . 20 1.5.4 Column conventions for Schema DDL, SSL, Subschema DDL and COBOL-DML . 25 2 Schema DDL . 27 2.1 Structure of the Schema DDL . 27 2.2 Schema entry . 28 2.3 Realm entry . 28 2.4 Record entry . 29 2.4.1 Clauses of record entry . 31 2.5 Set entry . 32 2.5.1 Clauses of set entry . 33 3 SSL . 35 3.1 Structure of SSL . 35 3.2 Schema entry . 36 Dokuschablonen 19x24 Version 7.4de fürFrameMaker V7.x vom 09.02.2010 © cognitas GmbH 2001-2010 U934-J-Z125-17-76 Contents 3.3 Record entry . 36 3.3.1 Clauses of record entry . 37 3.4 Set entry . 38 3.4.1 Clauses of set entry . 39 4 Subschema DDL . 41 4.1 Structure of Subschema DDL . 41 4.2 IDENTIFICATION DIVISION . 42 4.3 AREA SECTION . 42 4.4 RECORD SECTION . 43 4.5 SET SECTION . 44 5 COBOL DML . 45 5.1 Structure of a COBOL program . 45 5.2 Statements . 47 5.3 Application program generation . 53 6 CALL DML . 57 6.1 Parameter definitions . 57 6.2 Format table . 58 6.3 User information area . 60 6.4 Overview of the CALL DML functions . 61 6.5 LOOKC . 76 6.6 CALL DML assembler macros . 92 6.7 Application program generation . 93 U934-J-Z125-17-76 Contents 7 COBOL and CALL DML statement codes and status codes . 95 7.1 Statement codes . 96 7.2 Meaning of the status codes . 97 7.3 Combinations of statement codes and status codes . 98 FIND/FETCH status codes . 100 7.4 DML status codes . 102 7.5 CALL DML status codes . 115 8 DMLTEST . 121 © Siemens Nixdorf Informationssysteme AG 1995 Pfad:P:\FTS-BS\DB\UDS\UDSV28\Docs\1501707_UDS_TBB\en\udstab.ivz 8.1 Testing DML functions . 121 8.2 Keyword parameters . 122 8.3 Keywords . .123 8.4 Overview of the DMLTEST commands . 124 8.5 Overview of the differences between DMLTEST DML and COBOL DML statements . 127 9 Compiling the Schema DDL, SSL and Subschema DDL . 129 9.1 Command sequence for compiling the Schema DDL . 129 9.2 Command sequence for compiling the SSL . 130 9.3 Command sequence for compiling the Subschema DDL . 131 9.4 DDL compiler statements/SSL compiler statements . 132 10 Database operation . 137 10.1 Database operation using the independent DBH . 137 10.1.1 UDSADM . 151 10.2 Database operation using the linked-in DBH . 153 10.3 UDSMON . .158 10.4 Using pubsets in UDS/SQL . 166 U934-J-Z125-17-76 Contents 10.5 Using job variables in UDS/SQL . 167 10.5.1 Pubset declaration job variable . 168 10.5.2 Session job variable . 170 10.5.3 Database job variable . 173 11 Utility routines . 177 11.1 START commands for the UDS/SQL programs . 177 11.2 BALTER . 179 11.3 BCALLSI . 183 11.4 BCHANGE . 185 11.5 BCHECK . 186 11.6 BCREATE . 189 11.7 BFORMAT . 190 11.8 BGSIA . 192 11.9 BGSSIA . 194 11.10 BINILOAD . 195 11.11 BMEND . 202 11.12 BMODTT . 205 11.13 BOUTLOAD . 207 11.14 BPGSIZE . 210 11.15 BPRECORD . 212 11.16 BPRIVACY . 215 11.17 BPSIA . 218 11.18 BPSQLSIA . 219 11.19 BRENAME . 220 11.20 BREORG . ..