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

How will 128 be saved in s9 (3) comp-3 How will 12 be saved in s9 (2) comp

3 Answers   CTS,


What is the difference between COMP & COMP-3 ?

2 Answers  


What is a SSRANGE and NOSSRANGE?

0 Answers  


write a program to eliminate duplicate records in a input file and send them to output file.

2 Answers   IBM,


is it possible to rename 01 level?

4 Answers  






What is comp-1 and comp-2?

0 Answers  


what happens of we dont give time stamp in precompilation process

2 Answers  


Differentiate between structured cobol programming and object-oriented cobol programming.

0 Answers  


What is the difference between Perform para and perform asaection in cobol?

3 Answers   TCS,


BY seeing a program how can we say that it is static call or dynamic call

5 Answers   CGI,


how many bytes does s9(7)COMP-3 field occupies?

6 Answers   ADP,


I have two sequential files, FILE-1 and FILE-2. FILE-1 contains 2 columns(A,B) and FILE-2 contains 3 columns (C,D,E).I want an output file, FILE-3 which has all five columns with duplicates eliminated from column A.

3 Answers  


Categories