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 / vs kumar
HI LU,
YOU HAVE MISSED THE SORT FIELDS = COPY
I HAVE CORRECTED IT. PLEASE LET ME KNOW IF I AM WRONG
//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 *
SORT FIELDS = COPY
OMIT COND=(44,4,CH,EQ,C'WIPO')
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
what is the purpose of coding notify parameter in job statement?
what is JCL?
how you can access an uncataloged dataset in a JCL?
How does the jcl specify the job to os?
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
what happens in execution stage in job processing?
Why block size is multiple of lrecl in jcl?
How to execute 2nd and 4th steps among 5 steps in jcl proc?
I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one
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?
How can a stopped job be started again?
Is their any limit for data sets?
How to override loadlib?
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
What is concatenating?