how to remove leading spaces and zeroes in a cobol
variable.is there any easy way to do it
Answers were Sorted based on User's Feedback
Answer / 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 |
What should be the sorting order for SEARCH ALL?
Can we move X(9) to 9(9). If yes what are the ways for doing this?
How do you reference the following file formats from cobol programs?
Can we call a CICS program from a batch program or viceversa?If so, how?
diffrence between renames and redifnes with examples
What is tne need to use sub programs 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?
I encountered an error when I move spaces to a numeric field?What should I do to move spaces on that field?help please.
How can we know that cobol program is using report file or simple file....?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
What is the reference modification.
1.What is the default print format in cobol?