PIC S9(9) BINARY 相当于 PIC S9(9) COMP 都是二进制储存, 所谓的长度,如果是指BYTE数的话,应该是四个BYTE(注:COMP型算法) 如果是指BIT数,那就是32个BIT, 也就是相当于定义成 PIC 1(32) BIT 分析总结。 所谓的长度如果是指byte数的话应该是四个byte注结果...
01 WK3 PIC S9(11) COMP-3. //实际占6位 ,11/2 + 1 =6 1. 01 WK1 PIC 9(1) COMP-3. 01 WK2 PIC 9(1)V9(1) COMP-3. 01 WK3 PIC S9(1) COMP-3. 01 WK4 PIC S9(1)V9(1) COMP-3. 01 WK5 PIC S9(8) COMP-3. 01 WK6. 03 WK7 PIC 9(7) COMP-3. 03 WK8 PIC S9(...
答案解析 查看更多优质解析 解答一 举报 PIC S9(9) BINARY 相当于 PIC S9(9) COMP 都是二进制储存,所谓的长度,如果是指BYTE数的话,应该是四个BYTE(注:COMP型算法)如果是指BIT数,那就是32个BIT,也就是相当于定义成 PIC 1(32) BIT 解析看不懂?免费查看同类题视频解析查看解答 ...
PIC S9(9) BINARY 相当于 PIC S9(9) COMP 都是二进制储存,所谓的长度,如果是指BYTE数的话,应该是四个BYTE(注:COMP型算法)如果是指BIT数,那就是32个BIT,也就是相当于定义成 PIC 1(32) BIT
PIC 1(32) BIT,表示位(BIT)长32,即4个字节,SYNC表示按机器字边界对齐,比如一般机器一个字长为4个字节,那么这个初等项要从字的边界处开始,这样可以避免这个4字节初等项的存储跨越两个字,因为机器从内存中取数据时一般一次取一个字,这样可以避免取两次,从而提高效率,在这个程序片断中,这样...
05 BTS-PASS-REQUEST PIC X(1). 88 BTS-PASS-TOBYTES VALUE 'Y'. 88 BTS-PASS-TOBIT VALUE 'I'. 05 BTS-PASS-RESULT PIC S9(9) BINARY. 88 BTS-PASS-SUCCESS VALUE 0. 05 BTS-PASS-RECORD. 10 BTS-PASS-BIT PIC X. 10 BTS-PASS-BYTES PIC X(8). ...
PICDCL YY PIC'Z9',编辑用字符 PTRDCL EX1 PTR;指针 *FUNCTION ,EXTERNAL ENTRY,BIT 在COBOL里面已经废止或者使用其他方法实现 *数据部中出现的INCLUDE有可能是数据结构,有可能是初始化程序!这个需要通过外部的COPY句情报文件来确定. 数据类型别转换说明 ...
05 CUST-NUMBER PIC X(12). col A 05 CUST-DATA. 10 CUST-STATUS PIC X. col B 10 CUST-NAME. 15 CUST-LAST-NAME PIC X(28). col C 15 CUST-FIRST-NAME PIC X(20). col D 15 CUST-MID-NAME PIC X(20). col E 10 CUST-ADDRESS-1 PIC X(48). col F ...
TRUNC: specifies whether truncation to the given PIC size occurs when assigning a value to a BINARY variable (or COMP, or COMP-4). This is similar to the TRUNC(STD) option of the IBM compiler. However, with the present specification of the ART COBOL converter, all such variables are tran...
01 BITS PIC 1(8). that is: eight bits. So the migration to IBM was not as cheap as expected :-) what made our support more painful was the use of polish variable names throughout the programs ... nobody of us knew Polish, only one of them knew ...