01 a pic s9(5) value -12345,
if we disply a , the sign will overpunched with last digit
but i need to get the miuns sign in the result?
Answer Posted / anil prajapati
For displaying sign in the result we have to declare a
variable with negative sign symbol
e.g. 01 b pic -9(5).
in this variable we will this value
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
How are the next sentence and continue different from each other?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
) How do u handle errors in BMS macro
How you can read the file from bottom?
Write a cobol program making use of the redefine clause.
What is inspect in cobol ?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
In COBOL programming, what is PERFORM? What is VARYING?
Define cobol?
What is the difference between Call and a Link?
Write the code to count the sum of n natural numbers.