Collating Sequence
Posted: Fri Jul 29, 2016 11:58 am
Hi all,
Could you please anyone tell me, How the comparison done based on collating sequence. I have gone through the Collating sequence, Got some idea and came to know that it is representation of alphabets into machine understandable language. But still confused.
It would be helpful, if you tell me how the comparisons can be done . Since I will be moved to Migration(Mainframe to UNIX) Project in next three months, I am learning my self about all the related things to migration.
I know that the UNIX(data is ASCII format) collating sequence is different and in Mainframe( data is in EBCDIC format) . Each and every alphabet will have different control characters to be understood by Computer.
In EBCDIC:
For Supoose A = 123NASIR
IF A < SPACE or A > 9
then
Display "Print something"
END-IF
why this statement will not work in ASCII environment. I tried lot to understand it, but could not get it. Please help.
I know the ASCII collating sequence is like - NUMBERS,ALPHABETS LOWER,ALPHABETS UPPER,SPACE,SPECIAL CHARACTERS
EBCDIC collating sequence is like - ALPHABETS LOWER,ALPHABETS UPPER,NUMBERS,SPACE,SPECIAL CHARACTERS
How the in mainframe or Unix , the bit by bit comparison will be done. Is it like it internally sort in the order mentioned above for the respective environments(ASCII, EBCDIC) and then it will start comparing??
I am new to Mainframe and Migration. help me to understand the collating sequence to boost my knowledge in Migration .
Thanks,
Nasir
Could you please anyone tell me, How the comparison done based on collating sequence. I have gone through the Collating sequence, Got some idea and came to know that it is representation of alphabets into machine understandable language. But still confused.
It would be helpful, if you tell me how the comparisons can be done . Since I will be moved to Migration(Mainframe to UNIX) Project in next three months, I am learning my self about all the related things to migration.
I know that the UNIX(data is ASCII format) collating sequence is different and in Mainframe( data is in EBCDIC format) . Each and every alphabet will have different control characters to be understood by Computer.
In EBCDIC:
For Supoose A = 123NASIR
IF A < SPACE or A > 9
then
Display "Print something"
END-IF
why this statement will not work in ASCII environment. I tried lot to understand it, but could not get it. Please help.
I know the ASCII collating sequence is like - NUMBERS,ALPHABETS LOWER,ALPHABETS UPPER,SPACE,SPECIAL CHARACTERS
EBCDIC collating sequence is like - ALPHABETS LOWER,ALPHABETS UPPER,NUMBERS,SPACE,SPECIAL CHARACTERS
How the in mainframe or Unix , the bit by bit comparison will be done. Is it like it internally sort in the order mentioned above for the respective environments(ASCII, EBCDIC) and then it will start comparing??
I am new to Mainframe and Migration. help me to understand the collating sequence to boost my knowledge in Migration .
Thanks,
Nasir