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
 
low-values and high-values, About POINTER string

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
karthi_ind

Active User


Joined: 24 Feb 2004
Posts: 131
Location: Chennai

PostPosted: Sun Jun 06, 2004 3:01 pm    Post subject: low-values and high-values, About POINTER string
Reply with quote

my question is

1. Why picture clause should not be specified for
comp1 and comp2?
i know they hve predefined picture clause but
i need exact reason.

2. whatz the use of pointer option in string command?

3. what are low-values and high-values mean in
figurative constants?

thank u

anbudan
karthi G.
Back to top
View user's profile Send private message

mcmillan

Site Admin


Joined: 18 May 2003
Posts: 1200
Location: India

PostPosted: Mon Jun 07, 2004 4:46 pm    Post subject: Re
Reply with quote

Quote:
1. Why picture clause should not be specified for
comp1 and comp2?


The use of PICTURE Clause is to specify the data type, size & format. If you kniow the things already (float, 4&8B, Hex) then there is no need to specify PIC clause.


Quote:
2. whatz the use of pointer option in string command?


To specify the starting position of the receiving string. (also to count the no of receiving characters)

Quote:
3. what are low-values and high-values mean in
figurative constants?


Low-Values refers the lowest value in collating sequence (ASCII / EBCDIC). It's usually B'0000000 in ASCII and B'00000000' in EBCDIC. AND High values refers the highest value of collating seq. It's B'11111111' in EBCDIC AND SO ON... (You can also say as x'00' and X'FF' respectively.[/quote]
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 Need all records with high key kalidasvs SYNCSORT 14 Fri Feb 09, 2018 10:38 pm
No new posts attchmvs from rexx subroutine that re... harisukumaran CLIST & REXX 1 Fri Jan 19, 2018 5:29 am
No new posts line 52: Name or string > 250 char... Ashishpanpaliya CLIST & REXX 5 Sat Oct 14, 2017 2:29 am
No new posts Extend the decimal values in DIVISION Balaryan DFSORT/ICETOOL 3 Thu Oct 05, 2017 4:05 pm
No new posts Working with hex values in Filemanage... Emile Straker IBM Tools 1 Tue Sep 12, 2017 1:42 am

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