Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref

Author Message
jinal_mca

New User

Joined: 05 Jan 2007
Posts: 23
Location: Pune, India

 Posted: Fri Feb 16, 2007 3:20 pm    Post subject: Concept of Collating sequence? I know EBCDIC and ASCII both collating seq.. but i wanna know how it works and what does it mean...what does it do... how IBM collating seq is differ thn other.. thnx

dick scherrer

Site Director

Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

 Posted: Sat Feb 17, 2007 12:01 am    Post subject: Hello, It doesn't "work" - it just is. When you see the numbers 1,2,3,4,5,6,7,8,etc you might consider that a "collating sequence". If you had 4,3,6,8,2,1,9 there is no "order" just some values. The collating sequence determines the order (ascending or descending) you will get if you sort the values. It is also the basis for comparing "greater than" and "less than". You need to get a list of the ASCII and EBCDIC values from x'00' to x'FF' and see how they represent letters, numbers, special chatacters, etc. If memory serves an x'31' is the number one in ASCII while x"F1" is the number one in EBCDIC - x'20' is a space in ASCII and x'40' is a space in EBCDIC. The IBM collating sequence is different from most others in that it is EBCDIC based while most unix and windows platforms are ASCII based.
 All times are GMT + 6 Hours
 Page 1 of 1

Search our Forum:

 Topic Author Forum Replies Posted Similar Topics Question about dataset sequence numbe... harisukumaran JCL & VSAM 23 Tue May 29, 2018 9:31 am Repeat Sequence Number Until change i... rahulabvp DFSORT/ICETOOL 6 Thu Mar 29, 2018 12:51 pm Detect break in the sequence tuxama DFSORT/ICETOOL 6 Tue Mar 20, 2018 1:35 pm add sequence number for duplicate rec... SRUTHI DRAVIDAMANI COBOL Programming 11 Thu Feb 22, 2018 5:37 pm Sequence number add in SORT pshongal SYNCSORT 3 Fri Sep 02, 2016 3:32 pm

 © 2003-2017 IBM MAINFRAME Software Support Division
 Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us