I've one sequential file, That file contains millians of
Junk & CHAR recoreds example

File 1
,,,,,...,,,.....,.,.INFOSYS.....,,,,,,,,,,,WIPRO...........,
,...,..,.

My questions is : I want omit the 44th posstion to 4 CHAR
(WIPRO) remaining things I want output file (including Junk
CHAR also)...
How can we slove this problem & give me a syntax.
Please provide the result as soon as possible.

Answer Posted / naga

i think , WIPRO is 5 chars not 4 chars.

pls check the blow syntax.

SORT FIELDS = COPY
OMIT COND=(44,5,CH,EQ,C'WIPRO')

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does the jcl specify the job to os?

680


i want to store 20 digits . how will u do it in cobol ?

853


Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC

424


Brief description of inline procedure of jcl.

674


What is the difference between the positional and keyword parameters? Give examples.

695






Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?

713


Explain the purpose of the dd keylen parameter?

663


which utility is used to run a cobol-db2 program?

797


what EXEC statement is and what is the syntax of EXEC statement used in JCL?

623


what is use of space parameter in dd statement?

744


What is the significance of addrspc parameter in the exec statement?

613


What is the purpose of dd?

720


What is the motivation behind coding class parameter in job statement?

676


Explain the function of the dd dcb keyword?

690


What do you know about jcl?

643