why do u need inspect verb?

Answer Posted / uttam

INSPECT verb
The INSPECT verb can be used for two purposes.
1. Count the number of occurrences of a given character in
a field.
2. Replace specific occurrences of a given character with
another character.

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do we get current date from system with century in COBOL?

807


Explain the configuration section of a cobol program with examples of syntax.

660


Write the code to count the sum of n natural numbers.

701


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

423


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

1657






What is the difference between structured cobol programming and object alternativelyiented cobol programming?

711


What are the different types of condition in cobol and write their forms.

659


What is report-item in COBOL?

711


how do you reference the variable block file formats from cobol programs

688


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

681


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

6834


In which area will you utilize 88 level items in cobol?

722


What is the difference between comp and comp-3?

704


What is Pic 9v99 Indicates in COBOL?

729


What is the Purpose of Pointer in the string?

643