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
Name a few IBM utility programs, and explain its function.
What dd statement is used to supply the name of a dataset?
What is the purpose of the dd keylen parameter?
Is condition checking possible in jcl?
which utility is used to sort a file in jcl?
Explain how can the disposition of sysout datasets be set for an entire jobstream?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
Mention the types of job control statements?
What is the function of the dd dcb keyword?
how you can access an uncataloged dataset in a JCL?
What is the difference between run mode and addressing mode?
Is it possible to left uncode disp?
Is condition checking possible in jcl? If yes, how?
What is the purpose of dd dummy statement?
Name what parameter directs the output of the job log dataset?