IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

COBOL Query


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
arun nehra

New User


Joined: 29 Nov 2008
Posts: 62
Location: mumbai

PostPosted: Thu Dec 17, 2009 6:03 pm
Reply with quote

Hi ,

Can any one tell if we can compare between variable values like Low Values, High Values and Spaces. If yes then what is the order of these i.e. Low Value < High Value etc.

Regards
Arun
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Dec 17, 2009 6:05 pm
Reply with quote

What does the manual (link at the top of the page) tell you?
Back to top
View user's profile Send private message
arun nehra

New User


Joined: 29 Nov 2008
Posts: 62
Location: mumbai

PostPosted: Thu Dec 17, 2009 6:45 pm
Reply with quote

I didn't get what you are actually referncing for.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Thu Dec 17, 2009 6:56 pm
Reply with quote

The EBCDIC collating sequence begins with X'00' (LOW-VALUE) and ends with X'FF' (HIGH-VALUE). A value of SPACE is left as a research exercise for the reader.

Hint: It's somewhere between X'00' and X'FF' icon_eek.gif
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Dec 17, 2009 6:57 pm
Reply with quote

The COBOL Language Reference and Application Programming Guide manuals can be found in the manuals page which is linked from the top of this page. They will tell you all about LOW-VALUES, HIGH-VALUES, the collating sequence, and so forth. You need to consult the manuals first to determine the answer to this type of question since there's no reason for us to read the manual and regurgitate it to you.
Back to top
View user's profile Send private message
arun nehra

New User


Joined: 29 Nov 2008
Posts: 62
Location: mumbai

PostPosted: Thu Dec 17, 2009 7:21 pm
Reply with quote

Thanks a lot Boyle..
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Thu Dec 17, 2009 7:26 pm
Reply with quote

arun nehra wrote:
Thanks a lot Boyle..


Just so you know, I don't have a sister named Susan.... icon_wink.gif
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Thu Dec 17, 2009 7:27 pm
Reply with quote

Bill O'Boyle wrote:
The EBCDIC collating sequence begins with X'00' (LOW-VALUE) and ends with X'FF' (HIGH-VALUE). A value of SPACE is left as a research exercise for the reader.

Hint: It's somewhere between X'00' and X'FF' icon_eek.gif


I guess "SPACE" in EBCDIC is something like : E2D7C1C3C5

icon_cool.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Generate random number from range of ... COBOL Programming 3
Search our Forums:

Back to Top