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 |
How many bytes will be allocated for the following record description entries? 01 REC-A. 05 A PIC S9(4). 05 B PIC XXXBXXX. 05 C PIC ____9.99. 05 D PIC S9(5) COMP-3. 05 E PIC 9(3) COMP.
16 Answers IBM, TCS,
what is the use of filler in cobol programing?
How you can characterize tables in cobol?
Why we are using comp and comp-3 in real time projects?
How can you pass values from COBOL program to non-COBOL programs?
How do you define a sort file in JCL that runs the COBOL program?
what is MSGLEVEL?
what are the diferences b/w sub-script and index?
record length in spool?
I want ALL jcl ERROR cods
How many variables can be declared in w-s section.?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning