Suppose i have a Cobol field of 10 byte. it contains a
decimal sign.How to know where is the point location?



Suppose i have a Cobol field of 10 byte. it contains a decimal sign.How to know where is the point..

Answer / chinmay

Suppose we have a amount
01 amt pic s9(5)v99
we denote the point location in v position

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More COBOL Interview Questions

Suppose i want to declare a binary comp fild of 7 byte .how to write?

6 Answers   IBM,


input:- 12233344445555566666... output:- 1=1,2=4,3=9... Here firstno i.e 1 should be displayed and after that the alikeno.s should be added n displayed.i.e 2+2=4 like tat it goeson.

1 Answers  


1.Can we define condition-name conditions in FD entry.

11 Answers  


can we redefine 77 level item is it possible

4 Answers   HCL,


there is a file whose ORGANISATION is INDEXED.you want to read the records from the file in RANDOM fashion as well as sequentially.then which of the access mode would you specify? a.SEQUENTIAL b.RANDOM c.DYNAMIC D.ACCESS MODE has nothing to do with it

3 Answers   TCS,






When is inspect verb is used in cobol?

0 Answers  


Which of the following EDITind and PICTURE symbols is to be used if a minus(-) is to appear before the value if the value is -ve and a plus(+) is to appear before the value if the value is +ve? (a) + (b) - (c) + OR (d) It is not possible

7 Answers   TCS,


Hi all, I have a following requirement to write the cobol program. I have to load the 129 variables from input sequential file which are in excel sheet to the cobol inernal table. and after loading into table i have to compare this data with the business file. here compare means controlling the data whether the format(numeric,alpha) is same in the business file and in the table??? i have the same data in input and business file. could anyone please give me any idea of the logic?// i have all the 129 different variables(129rows,1 column)is there .

4 Answers   IBM, Syntel, TCS,


how we rectify soc7 and soc4 errors in project?

1 Answers   Anaxis, TCS,


What is COMP-1? COMP-2?

4 Answers   CitiGroup,


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

0 Answers  


If my program receives input feed from program in other system.. if the receiving field size is less than the sending field.. what abend will be happening.

1 Answers   HCL,


Categories