**************************************************************** * * COMMENT SECTION * * DATE 1988/11/29 EMBEDDED COBOL LANGUAGE * NIST SQL VALIDATION TEST SUITE V6.0 * DISCLAIMER: * This program was written by employees of NIST to test SQL * implementations for conformance to the SQL standards. * NIST assumes no responsibility for any party's use of * this program. * * DML047.PCO * WRITTEN BY: HU YANPING * TRANSLATED AUTOMATICALLY FROM EMBEDDED C BY CHRIS SCHANZLE * * THIS ROUTINE TESTS THE LIMIT ON A CHARACTER STRING. THIS * LIMIT IS NOT LESS THAN TWO HUNDRED AND FORTY (240). * * REFERENCES * AMERICAN NATIONAL STANDARD database language - SQL * X3.135-1989 * * FIPS PUB 127-1, Section 13.5 * Sizing for database constructs * ****************************************************************
MOVE"HU"TO uid CALL"AUTHID"USING uid MOVE"not logged in, not"TO uidx EXECSQLSELECT
USER INTO :uidx FROM HU.ECCO END-EXEC if (uid NOT = uidx) then DISPLAY"ERROR: User " uid " expected." DISPLAY"User " uidx " connected." DISPLAY" " STOPRUN END-IF
MOVE 0 TO errcnt DISPLAY "SQL Test Suite, V6.0, Embedded COBOL, dml047.pco" DISPLAY" " DISPLAY "59-byte ID" DISPLAY"TEd Version #" DISPLAY" " * date_time print * ACCEPT TO-DAY FROMDATE ACCEPT THE-TIME FROMTIME DISPLAY"Date run YYMMDD: " TO-DAY " at hhmmssff: " THE-TIME
******************** BEGIN TEST0222 *******************
DISPLAY" FIPS sizing TEST0222 " DISPLAY" This routine tests the length (240) of" DISPLAY" a character string" DISPLAY" - - - - - - - - - - - - - - - - - - -"
MOVE "NOTE: Additional SQL language is planned for later addenda
- ""TO part1 MOVE "to this standard. Major topics under consideration for such
- ""TO part2 MOVE " addenda include referential integrity, enhanced transaction
- ""TO part3 MOVE " management, specification of certain implementor defined ru
- ""TO part4 MOVE parts4 TO str240
******************** END TEST0222 *******************
**** TESTER MAY CHOOSE TO INSERT CODE FOR errcnt > 0 STOPRUN.
* **** Procedures for PERFORM statements
Messung V0.5 in Prozent
¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.10Angebot
(Wie Sie bei der Firma Beratungs- und Dienstleistungen beauftragen können 2026-04-26)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.