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: 8124
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: 8124
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: 2435
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
No new posts XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts Search utility(3.14) using JCl and Cobol RKS3 COBOL Programming 12 Sat Jun 10, 2017 10:24 pm
No new posts Need DB2 query to fetch previous row ! Chandan1993 DB2 10 Sat Jun 03, 2017 10:43 am
No new posts COBOL DB2 program - zIIP eligible vasanthz COBOL Programming 7 Wed May 31, 2017 5:12 am


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