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
What is the purpose of dd dummy statement?
Where can program checkpoints be stored for use in a restart?
is there any way to execute more than one proc in the same exec statement at the same time..?
Must tape dataset definitions include vol=ser specifications?
How to run cobol program using jcl?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
what is use of dcb parameter in dd statement?
What is jcl in mainframe, and how many types of jcl statements are there for a job?
How can the submitting users racf authority be overridden in a job stream?
What is the motivation behind coding class parameter in job statement?
What dd statement is used to supply the name of a dataset?
Give the syntax of job specifying jcl statement.
What is the use of disp parameter?
what are the various stages of job processing?
What is the purpose of the dd keylen parameter?