Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Concept of Collating sequence?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
jinal_mca

New User


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

PostPosted: Fri Feb 16, 2007 3:20 pm    Post subject: Concept of Collating sequence?
Reply with quote

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
Back to top
View user's profile Send private message

dick scherrer

Site Director


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

PostPosted: Sat Feb 17, 2007 12:01 am    Post subject:
Reply with quote

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.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

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

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us