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

LOW-VALUES and HIGH-VALUES, PERFORM wih AFTER


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

New User


Joined: 30 Jul 2004
Posts: 95

PostPosted: Sat Aug 28, 2004 11:47 am
Reply with quote

1.I find out in mkroy book that comp-2 is equal to comp-4 and comp-3 is equal to comp-5 thats fine but why we are usinf comp-3 and comp-2 instead of comp-4 and comp-5

2.can any body tell me purpose of LOW-VALUES and HIGH-VALUES.giving an example will be clear

3.suppose we used the sort syntax in the cobol actually which sort it will take internally

4.how many redefine declarations and occurs clause declarations we can be nested

5.PERFORM with AFTER options how many AFTER statements we can nest
Back to top
View user's profile Send private message
badri

New User


Joined: 03 Sep 2004
Posts: 9

PostPosted: Fri Sep 03, 2004 12:38 pm
Reply with quote

is comp-4, comp-5 exists?


maximum occurs clauses are 7


no limit for redefines, after
Back to top
View user's profile Send private message
karthi_ind

Active User


Joined: 24 Feb 2004
Posts: 131
Location: Chennai

PostPosted: Mon Sep 06, 2004 5:10 pm
Reply with quote

1) Comp4 and comp5 are two's complement binary, but the diff between these two is comp4 is machine dependant and comp5 is machine independent.

Comp6 is equal to comp3 but it is unsigned, no space allocated for sign.

2) low-values - low-values in the collating sequence

high-values - high values in the collating sequence

Collating seqence - it finds equivalent values of each characters typed in the keyboard and precedence between characters.

In Pc ascii is the default collating and in mainframe ebcdic is the default collating.

5) if perform after is specified condn is tested at the end of execution.

Ex-
perform para-name with test after until knt > 10
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 INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Null values are considered in Total c... DFSORT/ICETOOL 6
No new posts Use of Perform Thru Exit COBOL Programming 6
No new posts ISRSUPC search utility - using high l... TSO/ISPF 2
Search our Forums:

Back to Top