首页> 外国专利> System and method for accessing cobol data with a cobol compatible structured query language

System and method for accessing cobol data with a cobol compatible structured query language

机译:使用与cobol兼容的结构化查询语言访问cobol数据的系统和方法

摘要

A system (10) and method enabling use of a COBOL compatible structured query language (CCSQL) to manipulate data stored in a COBOL data file (90), which is in a non-first normal, hierarchical format. Initially, a dictionary generator subsystem (68) creates a corresponding dictionary (74) for each COBOL data file (90). In the dictionary (74), the NF2 hierarchical logical relationship between the items and attributes (hierarchical nature) of each item of a COBOL data file are defined. Thereafter, whenever a new COBOL data file is produced, a corresponding dictionary is generated. When a user enters a request in the CCSQL format to query a COBOL data file, the request is parsed. The definitions in the dictionary are used by the CCSQL kernel (78) to manipulate the data in response to the user's query. A command interpreter (64) processes the request to determine the appropriate data manipulation to apply and initiates a CCSQL kernel request that carries out the intended action, with reference to the corresponding dictionary (74). For example, the request may require that certain items from a COBOL data file be extracted to produce a report (82). Because the hierarchical logical relationships between the items in the COBOL data are defined in the corresponding dictionary, a CCSQL report generator subsystem can produce the report using data extracted from the COBOL data file in accordance with criteria provided by the user, but without converting the data in the COBOL data files to a 1NF. COBOL programs with embedded CCSQL commands are preprocessed to convert the CCSQL commands to a COBOL compatible structured language that uses the dictionaries to access data referenced in the COBOL data files.
机译:一种能够使用兼容COBOL的结构化查询语言(CCSQL)来操作存储在COBOL数据文件(90)中的数据的系统(10)和方法,该数据具有非第一常规的分层格式。最初,字典生成器子系统(68)为每个COBOL数据文件(90)创建一个对应的字典(74)。在字典(74)中,定义了项目与COBOL数据文件的每个项目的属性(分层性质)之间的NF2分层逻辑关系。此后,每当生成新的COBOL数据文件时,就会生成相应的字典。当用户输入CCSQL格式的请求以查询COBOL数据文件时,将解析该请求。 CCSQL内核(78)使用字典中的定义来响应用户的查询来操作数据。命令解释器(64)处理该请求以确定要应用的适当数据操作,并参考相应的字典(74)来发起执行预期动作的CCSQL内核请求。例如,该请求可能要求从COBOL数据文件中提取某些项目以生成报告(82)。因为在相应的字典中定义了COBOL数据中项目之间的层次逻辑关系,所以CCSQL报告生成器子系统可以根据用户提供的标准使用从COBOL数据文件中提取的数据来生成报告,而无需转换数据在COBOL数据文件中将其转换为1NF。会对带有嵌入式CCSQL命令的COBOL程序进行预处理,以将CCSQL命令转换为与COBOL兼容的结构化语言,该结构化语言使用词典来访问COBOL数据文件中引用的数据。

著录项

  • 公开/公告号EP0753819A1

    专利类型

  • 公开/公告日1997-01-15

    原文格式PDF

  • 申请/专利权人 UNIMARK HOLDINGS LIMITED;

    申请/专利号EP19950304837

  • 发明设计人 SONG ZHI YONG;

    申请日1995-07-11

  • 分类号G06F17/30;

  • 国家 EP

  • 入库时间 2022-08-22 03:20:10

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号