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 |
What is the difference between goback, stop run and exit program in cobol?
In COBOL CALL-CALLING,if a program A is calling 3 sub- programs, dynamically, then it is said sub-programs will always will always in Initial Mode. My question is : Do we need to code CANCEL or (IS INITIAL) for dynamically called sub-programs or it is the property of Dynamically called pgms so every time sub-pgms are called they will be in initial mode. ***This question is only Dynamic call****, Please reply. Thank you in advance.
How to read records in reverse order in flat file? I know we can do it by reading all records into an array.... Then read records in reverse order by using subscript or index but can any body give me the exact code.
i have the job which has written updated 100 records into the table and for 101th record it got abended and i want to start the job again and should wirte from 101th record not from 1st record..how to do it..?
Can we change the password using ALTER? anyone tried and changed?
What is the maximum data length for Numeric DataType ?
Explain call by context by comparing it to other calls.
A cobol program to read a file , match it with other if. If match occurs then write it to an output file. If no match then no need to write it.Error log created by program to track any error.
I have one column say 'X' defined as VARCHAR Can anyone tell me What are the different ways to update this column thru COBOL-DB2 program?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
How may divisions are there in JCL-COBOL?
9(2).99 how many bytes take? Why . consider as a byte?