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 |
I have dataset DS1 which has records say 1 2 3 4 5 ... ... etc And also I have second dataset DS2 whcih has records 1 3 4 5 6 8 .. ... Both the files are sorted and now I want to compare these files and write it into the third files if the records are matching.
What is the Importance of GLOBAL clause According to new standards of COBOL?
can we use 77 level no for Redefines?if we use give an example?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
Which of the following characters is NOT valid in column 7? a. - b. \ c. * d. # e. $
S9(5)V9(2) occupies how many bytes memory ?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
What is the difference between PIC 9.99 and PIC9v99?
Please let me know at which Scenarios we will go for STATIC call or DYNAMIC
What is the difference between SEARCH and SEARCH ALL?
what happens if we wont give timestamp in precompilation process ?
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records...
2 Answers ITC Indian Tobacco Company, PNP, TCS,