HELLO FRIENDS,
THIS IS JANARDHAN.GADIRAJU, I FACED ONE INTERESTING
QUESTION IN COBOL, THAT IS WHAT ARE THE VALUES WE CAN SEE
IN HIGHVALUES AND LOWVALUES, CAN U PLEASE GIVE ME THE ANSWER
Answer Posted / sejacoemor
I agree with Nikhil that our aim is to provide correct answers.
For Answer #4 (Nihar Ranjan Karan)
to compute for number of bytes for COMP-3:
count the total number of digits, divide it by 2 (disregard any fraction) then add 1. So, in the example if number is positive 5893.
it will be stored in 3 bytes only (not 4)
083
59C
---------------------------------------------
For Answer #5 (which actually a question from Prasenjit_in)
moving LOW-VALUES to a KEY-FIELD will point to 1st record while moving HIGH-VALUES to KEY-FIELD points to last record.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
explain sorting techniques in cobol program?
Define cobol?
Write the code to count the sum of n natural numbers.
What is cobol?
what is the use of outrecord?
) what is the difference between AID and HANDLE AID?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
Why occurs cannot be used in 01 level in COBOL?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
What is the difference between PIC 9.99 and PIC9v99?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
Give some examples of command terminators?
What is rmode(24)
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc