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
 
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: 8165
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: 2504
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: 8165
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: 2504
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: 2442
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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts HEX value search in a DB2 query maxsubrat DB2 2 Wed Oct 04, 2017 3:04 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts Create procedure issues -628 when add... chandraBE DB2 1 Mon Sep 18, 2017 12:16 pm
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am

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