how to remove leading spaces and zeroes in a cobol
variable.is there any easy way to do it
Answer Posted / surendra
find the lenght of the leading spaces then move the actual
value of the variables using reference modification to
another working storage variable.
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
How to print 10 to 1 if the input have only 10 digit number?
how do you reference the variable block file formats from cobol programs
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
Differentiate between structured cobol programming and object-oriented cobol programming.
What are the different rules for performing sort operation?
What is the difference between comp and comp-3?
Which division and paragraphs are mandatory for a COBOL program?
Which is not true about evaluate statement
HOw can I get the negative sign while deduct high value from low value
What is the utilization of copybook in cobol?
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?
For rewrite, why is it mandatory that file needs to be opened?