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 |
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.
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
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
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
how we can reverse the string in the cobol for example satheesh can be reveresed as hseehtas
How do pass the values to the parameters in cobol
What is the use of EVALUATE statement?
How arrays can be defined in COBOL?
Define cobol?
Difference between array and sub-script ?
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?
What will happen if we move SPACES to numeric field and ZEROES to alphabetic field?