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 / srinivas yadav

//SYSIN DD *
SORT FIELDS = COPY
EXCLUDE=(44,4,CH,EQ,C'WIPR')
/*
//

Is This Answer Correct ?    13 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?

2327


Explain the purpose of dd * statement in jcl?

722


What is the purpose of the dd keylen parameter?

820


Describe the various parameters utilized in the creation of a gdg?

777


How jcl is used for testing batch programs?

824






Explain about LMFREE�free data set from its association with data ID

1116


How do you overcome this limitation ?

786


What does a disposition of (new,catlg,keep) for a dsn mean?

702


when can a job time-out occur? How to overcome that?

843


I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK

1592


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

922


Explain the function of dd disp parameter?

687


I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?

1455


What are the jcl procedures?

735


which utility is used a dummy utility?

927