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 / lu
//EXAMP JOB A400,PROGRAMMER
//STEP1 EXEC PGM=SORT
//SORTIN DD DSN=INP1,DISP=old
//SORTOUT DD DSN=OUTPUT,DISP=(,PASS),UNIT=3390,
// SPACE=(CYL,(5,1)),DCB=(LRECL=??)
//SYSIN DD *
OMIT COND=(44,4,CH,EQ,C'WIPO')
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
How can a fb file convert to vb file using sort program?
How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you
In sms datasets, what is the function of the dd mgmtclas keyword?
How to run cobol program using jcl?
what are the statements that are not valid to be included in an include statement?
How dummy is used in jcl?
What are the difference between jcl and jes?
which utility is used to sort a file in jcl?
what is use of disp parameter in dd statement?
Which dd parameters are required?
Explain the function of //jcllib statement?
If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
Are there any set of rules for the names of the steps used in a job? What are they?
Explain the function of dd name parameter with a 2 part structure; audit.report?