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

Answers were Sorted based on User's Feedback



Which of the following EDITind and PICTURE symbols is to be used if a minus(-) is to appear b..

Answer / ad

+

Is This Answer Correct ?    2 Yes 0 No

Which of the following EDITind and PICTURE symbols is to be used if a minus(-) is to appear b..

Answer / guest

Correct answer is +. If we used + than it will print + for
positive value and - for negative value.

Is This Answer Correct ?    2 Yes 0 No

Which of the following EDITind and PICTURE symbols is to be used if a minus(-) is to appear b..

Answer / guest

+

Is This Answer Correct ?    2 Yes 0 No

Which of the following EDITind and PICTURE symbols is to be used if a minus(-) is to appear b..

Answer / dev

only option (a) is correct as per the requirement

Is This Answer Correct ?    1 Yes 0 No

Which of the following EDITind and PICTURE symbols is to be used if a minus(-) is to appear b..

Answer / swappy

Answers #1 and #3 are correct. "+" is used to display +ve
as well as -ve sign. "-" is used to display a -ve sign when
the no. is -ve.

Is This Answer Correct ?    1 Yes 1 No

Which of the following EDITind and PICTURE symbols is to be used if a minus(-) is to appear b..

Answer / islam

correct answer is (b) -

Is This Answer Correct ?    0 Yes 2 No

Which of the following EDITind and PICTURE symbols is to be used if a minus(-) is to appear b..

Answer / saikat

+ and - both are correct.

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More COBOL Interview Questions

Extract only those records from a PS file which are having word 'TEXT' in the records using COBOL? The word TEXT is not present in a particular position in all the records.

2 Answers   RBS,


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

1 Answers  


C1 C2 C3 are three conditions whose TRUTH values are as folloes. C1-TRUE C2-FALSE C3-TRUE A,B,C are defined as given below A:C1 AND(NOT C2) OR C3 B.(NOT C1) OR (NOT C2 AND NOT C3) C.(C1 OR C2)AND C3 D.C1 AND C2 OR C3 given the above information which of the following statements are valid? a.only A,B and C are TRUE b.only A,C and D are TRUE c.A,B,C and D are TRUE d.only C and D are TRUE

1 Answers   TCS,


have in 100 records in a file i want to move only matched records to one output_file1 and nonmathed records are moved to another output_file2 ... any one can provide logic code

3 Answers  


how we can reverse the string in the cobol for example satheesh can be reveresed as hseehtas

3 Answers   IBM,


How do pass the values to the parameters in cobol

2 Answers  


What is the use of EVALUATE statement?

4 Answers   Tesco,


How arrays can be defined in COBOL?

1 Answers  


Define cobol?

1 Answers  


Difference between array and sub-script ?

1 Answers   HCL,


i want to use only first 100 records from a file.plz tell me how to write JCL for this(for read,copy,write operations).plz give me details of all posible JCL utilities?

7 Answers   CTS,


What will happen if we move SPACES to numeric field and ZEROES to alphabetic field?

7 Answers   T systems,


Categories