当前位置:编程学习 > JAVA >>

JCL SORT 详解

1. SYSIN
a. Fields
b. Format
c. Order

2. Format
SORT FIELDS=(loc,len,format,seq...)
SORT FIELDS=(loc,len,seq...) FORMAT=format

CH - Character
ZD - Zoned Decimal  -1234 F1F2F3D4
PD - Packed Decimal  -1234 01234D
BI  - Binary     1234 4D2

A - Ascending
D - Descending

eg.
SORT FIELDS=(10,5,PD,D,20,5,PD,A)
SORT FIELDS=(10,5,D,20,5,A),FORMAT=PD

补充:软件开发 , Java ,
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,