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
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?
Explain the purpose of dd * statement in jcl?
What is the purpose of the dd keylen parameter?
Describe the various parameters utilized in the creation of a gdg?
How jcl is used for testing batch programs?
Explain about LMFREE�free data set from its association with data ID
How do you overcome this limitation ?
What does a disposition of (new,catlg,keep) for a dsn mean?
when can a job time-out occur? How to overcome that?
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
How can a fb file convert to vb file using sort program?
Explain the function of dd disp parameter?
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
What are the jcl procedures?
which utility is used a dummy utility?