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
 

 

LOW-VALUES and HIGH-VALUES, PERFORM wih AFTER

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: LOW-VALUES and HIGH-VALUES, PERFORM wih AFTER
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    Post subject:
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    Post subject:
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    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 Sorting of hex values Saurabh_mi DFSORT/ICETOOL 11 Thu May 25, 2017 3:49 pm
No new posts Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts Compare two files and subtract values ameetmund DFSORT/ICETOOL 7 Fri Mar 31, 2017 3:35 pm
No new posts Check Binary Values for symbols gandikk CA Products 3 Tue Mar 21, 2017 5:11 am
No new posts To display values of multiple rows in... vinu78 DB2 2 Thu Mar 09, 2017 1:20 pm


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