Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

COBOL Query

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: COBOL Query
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: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Thu Dec 17, 2009 6:05 pm    Post subject:
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    Post subject: COBOL Query
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Thu Dec 17, 2009 6:56 pm    Post subject: Reply to: COBOL Query
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: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Thu Dec 17, 2009 6:57 pm    Post subject:
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    Post subject: COBOL Query
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Thu Dec 17, 2009 7:26 pm    Post subject: Re: COBOL Query
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: 2433
Location: Netherlands, Amstelveen

PostPosted: Thu Dec 17, 2009 7:27 pm    Post subject: Re: Reply to: COBOL Query
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    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
This topic is locked: you cannot edit posts or make replies. Cobol GUI (like Editor) Kala Mainframe COBOL Programming 14 Wed May 10, 2017 12:30 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm
No new posts COBOL Programming Sandpit? jodrisco COBOL Programming 6 Wed Apr 12, 2017 3:47 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us