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


Please Help Members By Posting Answers For Below Questions

How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?

1887


How does jcl act on a cobol code?

731


How do you overcome this limitation ?

786


what is the use of JCL?

763


Must tape dataset definitions include vol=ser specifications?

1138






Explain the function of dd disp parameter?

687


Explain the function of //jcllib statement?

818


How to pass data to a program that is coded in an exec statement?

926


Name what parameter directs the output of the job log dataset?

638


I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?

931


What is the purpose of dd dummy statement?

1044


How can a stopped job be started again?

795


Immediate Job opening for mainframe professionals in Keane Bangalore. Please find the below details: Organization: Keane India Location: Bangalore Skill: COBOL, JCL,VSAM,DB2,CICS,IMS,REXX,CLIST Exp: 1 to 4 years only Employment Type: Permenant Employee Note: If you have attended keane interview in past 6 months please ignore this job opening. Please respond to email id keanemfjob@gmail.com OR keanemfjob@yahoo.in with your latest resume and following details, We will contact you within 24 hours: Total IT Exp: Exp in Mainframe: Current CTC: Expected CTC: Notice Period:

3635


What is multithreading in jcl?

1038


what sort card you will use to copy the data from one dataset to another dataset?

836