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
How does the jcl specify the job to os?
i want to store 20 digits . how will u do it in cobol ?
Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC
Brief description of inline procedure of jcl.
What is the difference between the positional and keyword parameters? Give examples.
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
Explain the purpose of the dd keylen parameter?
which utility is used to run a cobol-db2 program?
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
what is use of space parameter in dd statement?
What is the significance of addrspc parameter in the exec statement?
What is the purpose of dd?
What is the motivation behind coding class parameter in job statement?
Explain the function of the dd dcb keyword?
What do you know about jcl?