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

Answer Posted / garry

@Jagan.

Good Reply.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different rules for performing sort operation?

753


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

1639


How do you differentiate between cobol and cobol-ii?

646


What are the different rules to perform a Search?

611


What is the Purpose of Pointer in the string?

635






What the difference is between continue and next sentence?

651


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

920


how can i see junk values in dclgen or in hostvariable of comp ?

2533


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

807


1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?

5355


Can a Search can be done on a table with or without Index?

796


How arrays can be defined in COBOL?

658


How to remove 2 duplicate records and copy only one using job control language?

730


I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.

1103


What are the different open modes available in cobol?

713