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 ESQA overflow - high ECSA utilization vasanthz All Other Mainframe Topics 1 Thu Dec 29, 2016 7:06 am
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
No new posts High CPU consumption Job using IAM fi... aswinir JCL & VSAM 15 Thu Dec 01, 2016 8:28 pm
No new posts Overlaying one set of charater values... Kevin Lindsley SYNCSORT 7 Sat Nov 05, 2016 3:21 am
No new posts Low values Results from VARCHAR FORMAT balaji81_k DB2 10 Thu Oct 20, 2016 1:18 am


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