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


Please Help Members By Posting Answers For Below Questions

Explain how can the submitting users racf authority be overridden in a job stream?

666


What are the rules employed while naming the steps in a job?

649


How is the record format of an output dataset specified?

735


how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?

789


For what purpose steplib and joblib are used ?

679






which parameter is used to check the syntax of a jcl without executing it?

791


what is SOC4 error?

730


what is the use of IEBGENER utility?

649


Can I share my data with other jobs? How?

663


Is automatic restart possible in jcl? If yes, how?

649


Explain the function of the steplib dd statement?

630


How to override loadlib?

1409


How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?

664


How can the submitting users racf authority be overridden in a job stream?

736


How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?

706