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

Can an individual step be restricted from using all the jobs allowed cpu time?

1012


What is the function of the steplib dd statement?

746


What methodology can be adapted to transfer data to a program that is coded using the exec statement?

616


How can a jobs execution priority be modified?

803


What happens if both JOBLIB & STEPLIB is specified ?

616






What is jcl in mainframe?

692


What is the syntax of JCL statement?

700


When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?

751


What are the utility programs in jcl?

653


What are the jcl procedures?

649


How can a fb file convert to vb file using sort program?

809


List the various advantages of using jcl language?

856


what is “Cond= even” and “Cond=only”?

746


Explain the function of job statement in jcl?

655


Explain how can a jobs execution priority be modified?

746