why do u need inspect verb?
Answers were Sorted based on User's Feedback
Answer / sundar
Inspect verb is for counting, replacing and converting the
string.
| Is This Answer Correct ? | 21 Yes | 1 No |
Answer / adithya
1)inspect verb is used for counting repeated occurences and
storing repeated occurences in a variable.
2)we can replace character
3)we can count leading characters
| Is This Answer Correct ? | 1 Yes | 0 No |
I need to compare two VSAM files, both having 'number' as key. If there is a matching record, write the data into another VSAM file. How will it be possible.
I have a seq file with different fields one field is address with pic x(50) as input in a cobol program. In address there is 'PUNE' at any different positions in the address field ( form 1 t0 50) . My requirement is select the fields with address 'PUNE' by using cobol. Please suggest
how do you reference the variable block file formats from cobol programs
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
what is the difference between occurs and occurs depending on? i dont think so there is the difference in storage..then why we should use occurs depending on?
How would the number +1234 be stored if a PIC clause of PICTUREs9(4) comp-3 were used?
is it possible to pass an SQL query inside a jcl which is inside a cobol program?
give the examples for strings and unstrings in cobol
Re: 01 NAME1 PIC X(13) VALUE "COBOL PROGRAMMING". 01 NAME2 PIC X(13). now I want to display the value of NAME1 in reverse order i.e value should be displayed as "GNIMMARGORP LOBOC" HOW can I do that ??? please let me know if any one knows it.
What is the output generated by the following code? 01 GRP-I. 05 SUBFLD1 PIC XX VALUE "AB". 05 FILTER PIC X(6) VALUE SPACES. 01 GRP-2 REDEFINED GRP-1. 05 SUB-FLD2 PIC XX. 05 SUB-FLD3 PIC XX. 05 FILTER PIC X(4). IF SUB-FLD1 NOT = SPACES DISPLAY "SUBFLD1" MOVE "ABBCCD" TO GRP-1 IF SUB-FLD3 = SPACES DISPLAY "SPACES" ELSE DISPLAY "SUBFLD3" DISPLAY "END" ELSE DISPLAY "SPACES" DISPLAY "END". (a) SUBFLD1 SUBFLD3 END (b) SPACES END (c) SUBFLD1 END (d) SUBFLD1 SPACES
) What is the use of IGNORE?
can u plz expain me how to declare dynamic array? what is the meaning of depending on clause in dynamic array?