where do u use low-value and high value in cobol

Answers were Sorted based on User's Feedback



where do u use low-value and high value in cobol..

Answer / mehdee

When you need a data field to have value less than any
other data INITIALZE or MOVE LOW-VALUES to that filed. same
for HIGH-VALUES when you need that field to have valuue
more that any other data.

Is This Answer Correct ?    21 Yes 2 No

where do u use low-value and high value in cobol..

Answer / aditya

it depends upon the logic we are writing.if we dont know the lowest value record.we can move the low values and can write a logic as read next in the case of files concept.its just an example

Is This Answer Correct ?    0 Yes 2 No

where do u use low-value and high value in cobol..

Answer / mahesh

when we a small integer then we have to use low value
otherwise go for high-value

Is This Answer Correct ?    3 Yes 16 No

Post New Answer

More COBOL Interview Questions

Suppose, file A has 100 records and file B has 500 records. We want to write records common to both A and B into file C and records which are present only in either A or B into another file D. What should be the logic of Cobol program to achieve this?

7 Answers   Bank Of America, Mind Tree,


How To Separate The Numerics From An Alphanumric Data Item Which Contains Both Alphabates And Numerics ?

4 Answers  


01 a pic x(4) value 'abcd' 01 b pic 9(3) can we move from a to b.if possible what would be stored in b.

15 Answers   ACS,


is it possible to rename 01 level?

4 Answers  


what is difference between the sysabend and userabend?

2 Answers  






what happens when a copybook variables are declared using include statement ?

3 Answers   IBM,


I have 2 dimensional array with having 100 elements. So how to find the 11th item in an array?

6 Answers   IBM,


How do you get the data to code the BMS macro?

0 Answers   IBM,


What are 77 levels used for?

0 Answers  


Are you comfortable in cobol or jcl?

0 Answers  


ID DIVISION. PROGRAM-ID. PLO. DATA DIVISION. WORKING-STORAGE SECTION. 01 VAR1 PIC 9(2). 01 VAR2 PIC X(2). PROCEDURE DIVISION. ACCEPT VAR2. MOVE VAR2 TO VAR1. STOP RUN. if i give 'PI' in var2 then what will b output of progr. any abend?????

6 Answers   TCS,


what modification we need to do in jcl if we use sort in cobol? I mean whether we need to include tempary file used for sorting in assign statement?

3 Answers   TCS,


Categories