how can count the number of character in feild ?? suppose
for instance i have a feild with value ' rajesh sarkar'
then how can v count the number of characters whitout
spaces...........
Answer Posted / dk
Declare an array with PIC X.
check for every subscript whether it is not SPACES.
Count the occurrences for non space values.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
) how do u code after getting data?
How many bytes S(8) comp field occupy and its maximum value?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
how do you reference the ksds vsam file formats from cobol programs
How do you differentiate between cobol and cobol-ii?
how do you reference the variable unblock file formats from cobol programs
How to know whether the module is dynamical or statistical?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
) How do u handle errors in BMS macro
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
Write down the divisions of cobol program?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
What is redefines clause in COBOL?
Describe the cobol database components?
how do you define single dimensional array and multidimensional array in your cobol?