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


Please Help Members By Posting Answers For Below Questions

Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

816


What is comp-1 and comp-2?

756


if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

851


) how do u code after getting data?

1578


What guidelines should be followed to write a structured cobol prgm?

666






What is the difference between goback, stop run and exit program in cobol?

918


What is link edit in cobol?

743


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

6805


what is amode(24), amode(31), rmode(24) and rmode(any)?

690


what are decleratives in cobol?

1827


how to access the file from prodution from changeman tool and to submit a file to production

6678


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

5051


Explain about different table spaces.

642


What is a SSRANGE and NOSSRANGE?

818


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

624