View previous topic :: View next topic
|
Author |
Message |
ksivapradeep
New User
Joined: 30 Jul 2004 Posts: 95
|
|
|
|
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 |
|
|
badri
New User
Joined: 03 Sep 2004 Posts: 9
|
|
|
|
is comp-4, comp-5 exists?
maximum occurs clauses are 7
no limit for redefines, after |
|
Back to top |
|
|
karthi_ind
Active User
Joined: 24 Feb 2004 Posts: 131 Location: Chennai
|
|
|
|
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 |
|
|
|