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
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 |
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 |
S9(5)V9(2) occupies how many bytes memory ?
How to use the same cobol program in Batch and CICS onlines ? Please expalin with an example. Thanks in advance.
What are the ways you can generate a copybook?
Hi Guys, I have faced one interview question if I have requirement to add 5 new columns to existing table what are prerequisite do i need to take.
How to declare if emp-name = AAAAA""BBB in working-storage section. After display emp-name should print like AAAAA""BB
What will happen if a variable is declared as below.. Explain with an example? Working storage section:- 01 WS-VARX PIC X(10) VALUE 'ABCDEFGHIJ'. 01 WS-VARN REDEFINES WS-VARX PIC 9(5) VALUE '12345'. What will happen I want Display WS-VARX and WS-VARN?
How many sections are there in data division?.
what is ASRA, AEY9?
I've one string with spaces ( I N D I A ). My question is I want remove the spaces & combine in to single string without space (INDIA).How we can write the cobol program & wich options we need to use. Please let me know.
How can you display the SPOOL information ?
How to convert bunch of words in a line to relvant ASCII values?
how to code in cobol while using variable block file?