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
Explain the function of //jcllib statement?
In sms datasets, what is the function of the dd avgrec keyword?
How can an in-stream dataset be terminated?
Is it possible to define dd statements as you want?
List in order the hierarchical levels of jcl?
I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?
in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?
how can the same proc be re-used and called by many jobs?
a dd statement has 2 types of parameters. Name them?
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?
What is notcat 2 - gs?
How to pass data to a program that is coded in an exec statement?
What are the jcl procedures?
What happens if both JOBLIB & STEPLIB is specified ?
What are the 4 fields in dd statement?