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
Explain dfsort utility?
What is the significance of addrspc parameter in exec statement?
how to compare two datasets without using superce because output is limited to 133 bytes
List in order the hierarchical levels of jcl?
What happens if both JOBLIB & STEPLIB is specified ?
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
When space is allocated for an output dataset, what units can be used?
How to pass data to a program that is coded in an exec statement?
Which dd parameters are required?
How can the attributes of one sms dataset be copied to another dataset?
What do you understand by jcl?
How can a stopped job be started again?
what are JCLLIB and STEPLIB in JCL?
how you can direct the data to spool using SYSOUT option?
what is a jcl?