- 浏览: 1544500 次
- 性别:
- 来自: 上海
文章分类
- 全部博客 (532)
- 软件设计师 (7)
- PSP (5)
- NET MD (9)
- Hibernate (8)
- DIY (51)
- Work (43)
- GAME (24)
- 未分类 (44)
- iPod (6)
- MySQL (39)
- JSP (7)
- 日语能力考试 (36)
- 小说 (4)
- 豆包网 (23)
- 家用电脑 (7)
- DB2 (36)
- C/C++ (18)
- baby (9)
- Linux (13)
- thinkpad (23)
- OA (1)
- UML (6)
- oracle (24)
- 系统集成 (27)
- 脑梗塞 (6)
- 车 (8)
- MainFrame (8)
- Windows 7 (13)
- 手机 (8)
- git (12)
- AHK (2)
- COBOL (2)
- Java (9)
最新评论
-
安静听歌:
... ...
UUID做主键,好还是不好?这是个问题。 -
lehehe:
http://www.haoservice.com/docs/ ...
天气预报 -
lehehe:
[url http://www.haoservice.com/ ...
天气预报 -
liubang201010:
监控TUXEDO 的软件推荐用这个,专业,权威.并能提供报警和 ...
(转载)Tuxedo中间件简介 -
tinkame:
Next[j] =-1 当j=0时;=Max{k|0<k ...
KMP字符串模式匹配详解
Determining equivalent SQL and COBOL data types
The precompiler determines the base SQLTYPE and SQLLEN of host variables based on this table. If a host variable appears with an indicator variable, the SQLTYPE is the base SQLTYPE plus one.
S9(i)V9(d) COMP-3 or S9(i)V9(d) COMP or S9(i)V9(d) PACKED-DECIMAL | 484 | i+d in byte 1, d in byte 2 | DECIMAL(i+d,d) |
S9(i)V9(d) DISPLAY SIGN LEADING SEPARATE | 504 | i+d in byte 1, d in byte 2 | No exact equivalent use DECIMAL(i+d,d) or NUMERIC (i+d,d) |
S9(i)V9(d)DISPLAY | 488 | i+d in byte 1, d in byte 2 | NUMERIC(i+d,d) |
S9(i) BINARY or S9(i) COMP-4 where i is from 1 to 4 | 500 | 2 | SMALLINT |
S9(i) BINARY or S9(i) COMP-4 where i is from 5 to 9 | 496 | 4 | INTEGER |
S9(i) BINARY or S9(i) COMP-4 where i is from 10 to 18.
Not supported by OPM COBOL. |
492 | 8 | BIGINT |
S9(i)V9(d) BINARY or S9(i)V9(d) COMP-4 where i+d ≤ 4 | 500 | i+d in byte 1, d in byte 2 | No exact equivalent use DECIMAL(i+d,d) or NUMERIC (i+d,d) |
S9(i)V9(d) BINARY or S9(i)V9(d) COMP-4 where 4 < i+d ≤ 9 | 496 | i+d in byte 1, d in byte 2 | No exact equivalent use DECIMAL(i+d,d) or NUMERIC (i+d,d) |
COMP-1
Not supported by OPM COBOL. |
480 | 4 | FLOAT(single precision) |
COMP-2
Not supported by OPM COBOL. |
480 | 8 | FLOAT(double precision) |
Fixed-length character data | 452 | m | CHAR(m) |
Varying-length character data | 448 | m | VARCHAR(m) |
Fixed-length graphic data
Not supported by OPM COBOL. |
468 | m | GRAPHIC(m) |
Varying-length graphic data
Not supported by OPM COBOL. |
464 | m | VARGRAPHIC(m) |
DATE
Not supported by OPM COBOL. |
384 | DATE | |
TIME
Not supported by OPM COBOL. |
388 | TIME | |
TIMESTAMP
Not supported by OPM COBOL. |
392 | 26 | TIMESTAMP |
The following table can be used to determine the COBOL data type that is equivalent to a given SQL data type.
SMALLINT | S9(m) COMP-4 | m is from 1 to 4 |
INTEGER | S9(m) COMP-4 | m is from 5 to 9 |
BIGINT | S9(m) COMP-4 for ILE COBOL.
Not supported by OPM COBOL. |
m is from 10 to 18 |
DECIMAL(p,s) | If p<64: S9(p-s)V9(s) PACKED-DECIMAL or S9(p-s)V9(s) COMP or S9(p-s)V9(s) COMP-3. If p>63: Not supported | p is precision; s is scale. 0<=s<=p<=63. If s=0, use S9(p) or S9(p)V. If s=p, use SV9(s). |
NUMERIC(p,s) | If p<19: S9(p-s)V9(s) DISPLAY If p>18: Not supported | p is precision; s is scale. 0<=s<=p<=18. If s=0, use S9(p) or S9(p)V. If s=p, use SV9(s). |
FLOAT(single precision) | COMP-1 for ILE COBOL.
Not supported by OPM COBOL. |
|
FLOAT(double precision) | COMP-2 for ILE COBOL.
Not supported by OPM COBOL. |
|
CHAR(n) | Fixed-length character string | 32766≥n≥1 |
VARCHAR(n) | Varying-length character string | 32740≥n≥1 |
CLOB | None | Use SQL TYPE IS to declare a CLOB for ILE COBOL.
Not supported by OPM COBOL. |
GRAPHIC(n) | Fixed-length graphic string for ILE COBOL.
Not supported by OPM COBOL. |
16383≥n≥1 |
VARGRAPHIC(n) | Varying-length graphic string for ILE COBOL.
Not supported by OPM COBOL. |
16370≥n≥1 |
DBCLOB | None
Not supported by OPM COBOL. |
Use SQL TYPE IS to declare a DBCLOB for ILE COBOL.
|
BINARY | None | Use SQL TYPE IS to declare a BINARY.
|
VARBINARY | None | Use SQL TYPE IS to declare a VARBINARY.
|
BLOB | None
Not supported by OPM COBOL. |
Use SQL TYPE IS to declare a BLOB.
|
DATE | Fixed-length character string or DATE for ILE COBOL. | If the format is *USA, *JIS, *EUR, or *ISO, allow at least 10 characters. If the format is *YMD, *DMY, or *MDY, allow at least 8 characters. If the format is *JUL, allow at least 6 characters. |
TIME | Fixed-length character string or TIME for ILE COBOL. | Allow at least 6 characters; 8 to include seconds. |
TIMESTAMP | Fixed-length character string or TIMESTAMP for ILE COBOL. | n must be at least 19. To include microseconds at full precision, n must be 26. If n is less than 26, truncation occurs on the microseconds part. |
DATALINK | Not supported | |
ROWID | None | Use SQL TYPE IS to declare a ROWID. |
-
Notes on COBOL variable declaration and usage
Any level 77 data description entry can be followed by one or more REDEFINES entries. However, the names in these entries cannot be used in SQL statements.
Parent topic: Coding SQL statements in COBOL applications
发表评论
-
(转)SQLデータ型
2011-08-24 18:09 2154https://www.microfocus. ... -
(转)grep Programs and Regular expressions
2011-08-10 13:10 1218http://ss64.com/bash/grep-r ... -
(转)find:根据指定条件查找文件
2011-08-10 11:34 1030http://man.ddvip.com/ ... -
(转)[红旗] 手动可以执行,加入crontab 就不行了
2011-07-05 13:07 1806http://bbs.chinaunix.net ... -
(转)Linux——计划任务管理
2011-07-04 15:02 1570http://hi.baidu.com/%BA%CE%B4 ... -
(转)CentOS的计划任务,Crontab安装及使用方法
2011-07-04 15:01 3105http://www.hitsword.org/re ... -
(转)Windows如何压缩tar.gz格式
2011-05-11 10:34 1271http://www.viosem.com/2008/ ... -
(转)日语的文字编码
2011-03-02 10:23 1648http://blog.csdn.net/jackyren ... -
(转)《软件工程的事实与谬论》
2010-11-04 09:57 1690http://book.group.iteye.com ... -
(转)VB6迁移到VB.NET的一些问题汇总
2010-11-03 15:02 1814http://www.cnblogs.com/ols/ar ... -
(转)《张冰Java视频教程》(struts Hibernate spring jsp J2SE)长期更新
2010-07-14 20:51 0http://www.verycd.com/topics/ ... -
(转)使用httpclient4登录百度
2010-02-26 14:45 0http://legend30g-4/article/h ... -
(转)如何一次性从Outlook Express中导出邮件
2010-01-06 13:23 5670http://hi.baidu.com/grape17/b ... -
Top Ten TPC-E by Performance
2009-10-21 14:50 1042http://www.tpc.org/tpc ... -
IBM DB2 UDB 和 SQL Server 2000
2009-10-21 14:49 1359http://www.microsoft.com/chin ... -
TCP/IP環境のPCからメインフレームを使用する
2009-10-16 11:51 0http://cap-l.sakushin-u.ac.jp:8 ... -
JP1名词解释
2009-10-10 15:17 3555http://soft.yesky.com/0/30685 ... -
Java 内存溢出的可能性汇总
2009-02-18 13:42 15691 分配的内存太小, 请使用 JVM 参数设置更大的可用内存 ... -
Java web应用内存溢出 [已结帖,结帖人:pengble]
2009-02-18 13:40 2277加为好友发送私信在线聊天 -
Of non-static ThreadLocals and memory leaks …
2009-02-05 17:06 1531Of non-static ThreadLocals and ...
相关推荐
A rapid overview of data types, applications for each type, best practices and high-level variations between platforms Review the most common data structures and build working examples in the ...
Examine the problem of maintaining the quality of big data and discover novel solutions. You will learn the four V’s of big data, including veracity, and study the problem from various angles. The ...
Before we look at how SQL Server uses and manages its memory, we need to ensure a full understanding of the more common memory related terms. The following definitions will help you understand how SQL...
In a nonclustered index, the leaf level contains each index key, plus a bookmark that tells SQL Server where to find the data row corresponding to the key in the index. A bookmark can take one of two ...
1. **Abstract Data Types (ADTs)**: ADTs are a way of defining and implementing data structures in a way that separates their behavior from their implementation details. This chapter introduces the ...
Determining the required stack sizes for a software project is a crucial part of the development process. The developer aims to create a stable application, while not wasting resources. This ...
#### 六、COBOL与VSAM(COBOL and VSAM) **VSAM数据集的特点(Characteristics of a VSAM Dataset):** - VSAM数据集通常具有高吞吐量和低延迟的特点,非常适合事务处理系统。 **在程序中定义VSAM数据集(Defining a ...
### 新快速迭代法确定一般侧向抛物方程表面温度与热流 #### 概述 本文献发表在《非线性分析:真实世界应用》上,主要介绍了一种新颖的快速迭代方法来解决逆热传导问题(IHCP),特别针对一般侧向抛物方程。...
Connect to various data sources such as relational databases (Microsoft SQL Server, MySQL), non-relational databases (NoSQL such as MongoDB, Cassandra), write your own custom SQL, join and blend data ...
Connect to various data sources such as relational databases (Microsoft SQL Server, MySQL), non-relational databases (NoSQL such as MongoDB, Cassandra), write your own custom SQL, join and blend data ...
- **八点算法及扩展**(8-point algorithm and beyond): - **线性最小二乘技术**:基于8个或更多匹配点的线性组合来估计基本矩阵。 - **特征分析**:通过特征值分解来求解基本矩阵。 - **秩约束**:确保基本...
因此,研究数据的时效性(Currency of Data),以识别数据库中实体的当前值,并在没有可靠时戳的情况下,以当前值回答查询,变得尤为重要。 本文提出了一种模型,该模型以简单的约束条件来指定部分时效性顺序,并...
1. **Types of InfoCubes**: An overview of different types of InfoCubes, including physical data stores and virtual data stores. 2. **Partitioned E-Fact Table**: Benefits and techniques for ...
* Avoiding hidden portability pitfalls associated with floating point, char types, data serialization, and types in C++ * Utilizing platform abstraction libraries such as the Netscape Portable ...
Linux是一套免费使用和自由传播的类Unix操作系统,由林纳斯·托瓦兹于1991年首次发布。 Linux不仅是一个强大的操作系统,也是一个庞大的技术生态系统,涵盖了从服务器到个人电脑的各种应用场景。...
- **Change Data Capture (CDC)**: A method for capturing and tracking changes made to data in a database. ##### Chapter 5: Remote Call-In **Pattern Summary**: This pattern enables Salesforce to ...
Replica creation strategies involve determining the appropriate time and location to generate data replicas. By analyzing user-driven and profit-driven dynamic replica creation policies, the study ...
《投资估值:工具与技术确定任何资产的价值》第二版,由Aswath Damodaran撰写,是MBA投资课程中的经典教材。这本书深入探讨了资产估值的理论与实践,为读者提供了全面而深刻的见解。以下是对书中部分章节的详细解析...
To that end, this publication provides guidelines for incident handling, particularly for analyzing incident-related data and determining the appropriate response to each incident. The guidelines can...