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 Sequence number add in SORT pshongal SYNCSORT 3 Fri Sep 02, 2016 3:32 pm
No new posts alphanumeric sequence generation sivaprasad.gadhi COBOL Programming 6 Wed Mar 30, 2016 3:03 am
No new posts alphanumeric sequence generation sivaprasad.gadhi DFSORT/ICETOOL 8 Mon Mar 21, 2016 1:09 am
No new posts Jobs from iseries not running in sequ... lyd All Other Mainframe Topics 4 Mon Jan 18, 2016 1:17 am
No new posts JCL overriding concept s.saranya srinivasan JCL & VSAM 14 Wed Oct 07, 2015 4:07 pm

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